Where do i save a text editor document on ubuntu linux so it can run on python



2/24/2019 11:06:35 PM

Lingedzani Rampamba

2 Answers

New Answer


You can save your .py scripts anywhere on your filesystem (granted that you have permission to write and run files there). You can then launch the terminal/shell and navigate to the folder you saved your scripts in, and execute the scripts. You can also specify the absolute path of your script if you do not prefer to navigate through the filesystem.


After saving the script in the desired location, remember to change its permissions so that you can execute it.