Hey Team,

So basically I am a noob to python programming. Wanted suggestions on running programs on which python compilers: offline or online are preferable.? I have windows 10, how do I understand the offline compiler's compatibility with my laptop?

Any help would be appreciated, TIA!!
To run a python program, save your python program with the .py extension. Open your terminal, type in python, type in the path to your python program, and click enter. This uses your computer's default python interpreter (always offline). If you have python3 installed, then you can type in python3 instead of python. If you named your program main.py and stored it in your desktop, then this is what the script should look like:

Code:

python ~/desktop/main.py
Refer to the official beginner's guide. Python runs on basically all PCs (unless you have something very weird).
  
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement