programming:python
This is an old revision of the document!
Table of Contents
Python
Install on Wndows
Installing python
Python (instead of Active Python, which adds enterprise support)
# install python from here https://www.python.org/downloads/windows/
INstalling package manager PIP
# download get-pip.py from here https://pip.pypa.io/en/stable/installing/#do-i-need-to-install-pip # execute to install pip python get-pip.py
Then add the following location to the environment variable Path. There “pip” is located.
<PATH-TO-PYTHON>/Scripts
Use package maanger to install plugins
# restart the shell after updating the PATH and execute for example pip install boto3
Configure IDE
Istall Intelij community edition:
https://www.jetbrains.com/idea/download/#section=windows
Install the Python plugin: https://stackoverflow.com/documentation/intellij-idea/8069/how-to-install-plugins#t=201708040815183841111
Start a new Python Project.
Validate your Project uses Interpreter from your Python installation.
https://www.jetbrains.com/help/idea/configuring-python-interpreter-for-a-project.html
Create a new *.py file
<sxh python> import json import logging
import boto3
… <sxh>
programming/python.1501837307.txt.gz · Last modified: (external edit)