Where do i save a text editor document on ubuntu linux so it can run on python | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

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

Basic

24th Feb 2019, 11:06 PM
Lingedzani Rampamba
2 ответов
+ 5
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.
24th Feb 2019, 11:32 PM
Fermi
Fermi - avatar
+ 2
After saving the script in the desired location, remember to change its permissions so that you can execute it.
25th Feb 2019, 5:20 AM
Lambda_Driver
Lambda_Driver - avatar