starting Python IDLE from command line to edit scripts

后端 未结 7 1714
北荒
北荒 2021-01-12 02:25

I\'ve tried many variations of this command: idle.py -e filepath, but it simply starts IDLE like normal, not opening any extra windows for editing, and not thro

相关标签:
7条回答
  • 2021-01-12 03:05

    first make sure you have location of idle in path
    I am using "python3.5".So mine looks like this: C:\Program Files\Python35\Lib\idlelib.Yours may differ.
    use this following command:idle -r file_name.py to run the file or just idle file_name.py to edit


    or start idle -r file_name.py ^&exit

    0 讨论(0)
提交回复
热议问题