+ 4

I am using terminal in Ubuntu, for me is it best to run the file using a nano buffer or directly in python itself?

How to run in Ubuntu?

29th Oct 2016, 4:00 AM
Kurian Benoy
Kurian Benoy - avatar
3 Réponses
+ 3
I just meant, I usually execute my programming as nano filename.py But the text doesn't work by this method
29th Oct 2016, 5:18 PM
Kurian Benoy
Kurian Benoy - avatar
+ 1
Clarify what you mean by 'nano buffer'.
29th Oct 2016, 1:10 PM
Brian
0
nano is just a console text editor. when you execute "nano file.py" the file just opens and you can write something. to run your script you must type "python file.py" after you write your code and save it, and it will run the script right in the same console.
29th Oct 2016, 10:02 PM
Demeth
Demeth - avatar