Python Programming: Start Your Python Scripts in Pycharm
Python Programming: Start Your Python Scripts in Pycharm
Harry Lee
1/10/2018
CEE 696 & Stanford CEE 268
Automation
1
Table of Contents
1. PyCharm Setup
2
PyCharm Setup
Python execution
3
Terminal - Python
4
Terminal - IPython
5
Python execution
6
Start PyCharm (1)
1. Start PyCharm
7
Start PyCharm (2)
1. Start PyCharm
2. Create new project
8
Start PyCharm (3)
1. Start PyCharm
2. Create new project - choose your directory - create a new folder
if needed
9
Start PyCharm (4)
1. Start PyCharm
2. Create new project - choose your directory
10
Start PyCharm (5)
1. Start PyCharm
2. Create new project - choose your directory
3. Project Interpreter- New environment using Virtualenv - Inherit
global site-packages unless you want to build everything from
scratch
11
Start PyCharm (6)
12
Start Pycharm
13
Installation of Python packages
Package installation:
14
Virtual Environment (virtualenv)
15
Package installation (1)
Install numpy, scipy, matplotlib and flopy (and jupyter if you want) 17
Package installation (3)
18
Write your first script
19
my_first_python_script.py
20
Jupyter Notebook (not required!)
21
numpy and matplotlib
22