简体   繁体   中英

Error while using iPython for executing a python script

I am using iPython 5.5.0, when i run my script which takes input for input.csv I get the following error:

In [1]: %run "C:\\myrootFolder\\pythoncode\\testfile.py input.csv"

ERROR:root:File `u'In [1]: %run "C:\\myrootFolder\\pythoncode\\testfile.py input.csv.py' not found.

Same way I am unable to execute.. %run "C:\\Python27\\Scripts\\mysite\\manage.py runserver"

Similar error occurs, What am I doing wrong.

TIA.

发现问题应为%run“ C:\\ myrootFolder \\ pythoncode \\ testfile.py” \\ input.csv

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM