How do I setup python so that I can be able to save any of the code I write? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do I setup python so that I can be able to save any of the code I write?

I am a beginner,intrested in learning Python but when I downloaded the python software, I noticed I can't save any code that I write. After many research I get to know that i needed to type "pip install pyinstaller"to command prompt but still yet I am not getting positive answer. Please what is the solution and how can I download another python software?

8th Apr 2020, 2:51 PM
Adediji Babatunde
Adediji Babatunde - avatar
1 Answer
+ 4
You can create a new Python file in any IDE or Text Editor. Write your code there, save it as “yourName.py”. Most IDEs let you run the file by CTRL+B, F5, or CTRL+F5. If you’re not using an IDE (notepad for example), open your command prompt and type “python /path/to/your/file/yourName.py”. Hit enter and your code should run!
8th Apr 2020, 3:06 PM
Jax
Jax - avatar