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:
If you want it to run in the background (returning control to the terminal so you can type other commands), add '&'
If you want it to continue running even if you close the terminal you can 'disown' it
You do not need to use the 'open' term. The help says:
You can just do this:
If the file doesn't exist then it will be created.
If you want to get your command prompt back after executing
or if the file is in your current directory:
Of course the last one will work if you are in the current directory, if the file do not exist IDLE will create one.
To install and use latest idle,
Go to synaptic package manager and install idle-python3.2
Then go to terminal and just type
This will open idle-python3.2.
Installation location => idle-python3.2 in SPM->(select)->idle-python3.2->(right-click)->properties->Installed Files.