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?
2 Antworten
+ 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!