[英]I am getting fixture error when running python selenium scripts from command line
[英]How should I accept this text file when I am running Python from command line?
這是程序將運行的方式: Python LinkState < test1.txt
Linkstate
是 .py 文件的名稱。 test1.txt 是 python 代碼中接受的文本文件的名稱。 所以我的問題是我應該如何處理代碼中的 txt 文件才能使其正常工作?
我假設這是 Windows 格式。 我是 mac 用戶,我沒有安裝 bootcamp,我也不想要它。 無論如何我可以在我的mac上測試以確保它可以在 windows 環境中工作嗎?
謝謝
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.