Friday, May 3, 2024
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 97785  / 3 Years ago, sat, october 9, 2021, 7:09:49

How can I open python file (from desktop) with IDLE, using Terminal on Ubuntu 12.04?



I have tried to do this way:



$ idle open python_file.py


Instead of open my file it's create two more files: open and python_file.py.


More From » command-line

 Answers
0

It's just



idle python_file.py


If you want it to run in the background (returning control to the terminal so you can type other commands), add '&'



idle python_file.py &


If you want it to continue running even if you close the terminal you can 'disown' it



idle python_file.py & disown

[#29770] Sunday, October 10, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kroapathe

Total Points: 445
Total Questions: 117
Total Answers: 99

Location: Botswana
Member since Sun, Sep 19, 2021
3 Years ago
;