Introduction: Python With PyScripter
Sick of using IDLE? Want to code in a fancy new IDE? These steps will help you in downloading Python 2.7.1 or Python 3.8 and PyScripter so you can start learning and have fun with Python.
- PC - (Windows) With Internet Connection.
- Some Time.
- That's it!
Step 1: Find Out What Version of Windows You Have.
If you have 64 bit or 32 bit Windows installed you should get the version of Python that supports this.
To do this:
1. Go to Start button and then click on Settings.
2. Then go to System and then About.
3. Your System Type will display 64 bit or 32. (See image.)
4. Make sure you remember what version you have and download all the same versions through all the steps! Or things might not work.
Step 2: Download Python.
Next, you should download Python. Now you have a choice here. A lot of older code requires 2.7.1 to work but the new version is 3.8. If you are required to use 2.7.1 then you should download that version. Otherwise I would recommend to get the 3.8 version and learn on that. Remember to download the correct version (64 or 32) for your Windows version.
If this doesn't work you can follow the steps below
1. Go to Python Download.
2. Select 2.7.1 or 3.8
3. Scroll down until you see files.
4. Select Windows x86-64 installer for 64 bit machines or
Select Windows x86 installer for 32 bit machines.
Step 3: Installing Python
After you have downloaded Python in your flavor, lets go ahead and install it.
1. Launch the .exe and click on the check mark that says "add Python to PATH." (see above image.)
2. Then click "Install Now."
3. When finished you may click "disable path length limit."
4. You now have Python installed. YAY! You can now close the installer.
Step 4: Downloading PyScripter
Now it's time to get your IDE. IDE also known as Integrated Development Environment is what you will be writing your code and running your interpreter in. If this sounds confusing, it really isn't once you start working with it. To get PyScripter follow the steps below.
1. Go to sourceforge and click the files tab.
2. Click the one on the top of the list. (As of time of writing this it was PyScripter-v3.6)
3. Click on x64-setup (for 64 bit machines) or x86-setup (for 32 bit machines.)
4. Let it download. Then run it.
Step 5: Installing PyScripter
1. Select your language.
2. Click "Next."
3. Select your install location. (The default is fine here.) Select "Next."
4. Click "Next" again on the Start Menu Folder screen.
5. If you'd like to have an icon on your desktop you can select that on this screen. (See image above)
6. Click "Next" until install is finished.
Step 6: Write Your First Program
Once you have successfully installed PyScripter you can now open it and write your first program.
1. Go to Desktop and double click on the PyScripter icon.
2. It should open without errors. If not, you probably installed 64 bit Python with 32 bit PyScripter (or vise-versa.)
Now lets write your first program.
3. Go ahead and erase
if __name__ == '__main__':
4. Type print("Hello World!")
5. Hit the green play button in the top row to run your program (see image.)
6. You'll see that the interpreter has printed your text below.
7. That's it! If you would like to learn more LearnPython.org has an awesome beginners tutorial on getting started with Python.