Created
September 26, 2018 15:53
-
-
Save rajacsp/c10dbb12a63eef9088ef8c7f4b92d466 to your computer and use it in GitHub Desktop.
Python 3.6 Setup - Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
Anaconda Installation | |
https://www.anaconda.com/download/ | |
https://snag.gy/034BZU.jpg | |
# | |
Create an environment in Python | |
https://snag.gy/Erbk1M.jpg | |
# | |
Download Eclipse Oxygen / Photon: | |
64 Bit: | |
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/photon/R/eclipse-php-photon-R-win32-x86_64.zip | |
32 Bit: | |
http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/photon/M6/eclipse-php-photon-M6-win32.zip | |
verify Photon: | |
https://snag.gy/j0LVbl.jpg | |
verify Oxygen | |
https://snag.gy/pZPHEe.jpg | |
# | |
Open with default workspace on Eclipse. Make sure Eclipse is running fine | |
# | |
PyDev installation: | |
Go to Help -> Eclipse Marketplace (https://snag.gy/jzw6qD.jpg) | |
and then type "PyDev" and search | |
You will see PyDev plugin. Just install it. | |
verify: | |
https://snag.gy/qVm4l5.jpg | |
https://snag.gy/L89GBb.jpg | |
https://snag.gy/91r4OR.jpg | |
https://snag.gy/hL8FeN.jpg | |
# | |
Test python with simple project: | |
python-simple-project | |
1. Download or clone the project (https://github.com/teamtact/python-simple-project) | |
2. Import the project in Eclipse. | |
2.1. How to import a project: | |
https://snag.gy/Ard6U5.jpg | |
2.2. Import project: | |
https://snag.gy/FkbNai.jpg | |
You should see the projects section like in the screenshot | |
3. Just click finish. | |
4. If it says "Python not configured" (https://snag.gy/heHRCN.jpg), just click Manual config | |
5. It will open preferences automatically. | |
6. Select PyDev -> Interpreters -> Python Interpreter (https://snag.gy/o7seOf.jpg) | |
7. Set the python location you previously created environment. | |
Verify: | |
https://snag.gy/kLYXbw.jpg (7 sub steps) | |
Verify after you set up: | |
https://snag.gy/PQFwNo.jpg | |
8. It will ask for System path like here: https://snag.gy/K29nxi.jpg | |
Just click "OK" and they "Apply" | |
9. Click "Apply and Close" | |
10. You can see the progress bar with updating details like here: https://snag.gy/epB0Vf.jpg | |
Verify project setup with Python 3.6: | |
https://snag.gy/D9PCc6.jpg | |
# Run your first Python File: | |
1. Open the test.py file in the simple folder. | |
2. Click Run -> Run (or Ctrl + F11) to run the Python file. | |
3. You should see the version in the console like here : https://snag.gy/Bk0yK6.jpg | |
# Run another Python project (Play Cricket with Python) | |
1. Download or clone this project: | |
https://github.com/teamtact/python-simple-cricket | |
2. Setup python path like here: https://snag.gy/pXyNgx.jpg | |
Right click the project folder and then select properties and follow like in the pic | |
Verify the setup: | |
https://snag.gy/0VUv7u.jpg | |
3. Open the T20.py file and run the file (Ctrl + F11) | |
3.1. You should see something like this: | |
https://snag.gy/nVbKpE.jpg | |
# | |
Learn python basics | |
https://www.programiz.com/python-programming/first-program |
jassim90
commented
Sep 26, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment