CSE 415 Introduction to Artificial Intelligence
Sprint Quarter 2014

Quick Links

  1. Python: https://www.python.org/ 
  2. PyCharm: http://www.jetbrains.com/pycharm/
  3. Anaconda: https://store.continuum.io/cshop/anaconda/
  4. PyCharm Educational License for UW: License

Getting Started

Here is a simple approach to fast Python development. We are using PyCharm + Anaconda in this course. PyCharm is a cross-platform IDE for Python which has most popular programming features. Anaconda is a rich set of most useful Python packages (contains Python compiler already). Both of them are free and easy to install. You can choose the OS you are familiar with. Here we provide brief instruction on Windows, Mac or Linux.

Windows:

  1. Download and install PyCharm.
    Download link.
  2. Download and Install Anaconda.
    Windows 32-bit
    Windows 64-bit

Mac:

  1. Install PyCharm.
    Download link.
  2. Install Anaconda.
    Mac OS X (10.7 or higher - GUI installer) 64-bit
    Mac OS X (10.5 or higher - bash installer) 64-bit

Linux:

  1. Install PyCharm.
    Download link.
  2. Install Anaconda.
    Linux 32-bit
    Linux 64-bit

Configuring environment:

After installation of PyCharm and Anaconda, the next step is to configure the environment and link between the IDE and Python. The user interface for PyCharm is similar under three different OS and we illustrate the Windows version.

  1. Open PyCharm.
  2. Import educational licence.
  3. Menu->File->New Project:
    Press the button below:

    Press the green add button and select $\anaconda\python.exe and then OK. The IDE will configure automatically.
  4. Create new Python script file:
  5. Right click on the .py file to run:
  6. Have Fun!

Hello World Python

  1. Create helloworld.py
  2. code:
    print('Hello World!')
  3. To run: Right click on .py and select 'Run'.

    To debug: insert break point similar with Eclipse or Visual Studio. Right click on .py and select 'Debug'
Spring 2014 maintenance by Yao Lu (contact info on personnel page) CSE 415 Introduction to Artificial Intelligence
Spring Quarter 2014
 
  Last modified: Tuesday, 25-Mar-2014 4:47:37 PST