Setting up The language Python nice libraries Python common surprises Excersize Reading Web development

Python for engineers

Fedor Baart

November 19, 2013

Fedor Baart Python for engineers Setting up The language Python nice libraries Python common surprises Excersize Reading Web development

Introduction

Fedor Baart Python for engineers Setting up The language Python nice libraries Python common surprises Excersize Reading Web development

1 Setting up Working environment Where to get help? Stuff that’s easy in python 2 The language Data types Reflection and namespaces Performance 3 Python nice libraries Glue Plotting Gis 4 Python common surprises 5 Excersize 6 Reading 7 Web development

Fedor Baart Python for engineers Setting up The language Python nice libraries Python common surprises Excersize Reading Web development

Agenda

Python 16:00 Overview 17:00 General excercises 18:00 Your examples 20:00 Done

Fedor Baart Python for engineers Setting up The language Python nice libraries Python common surprises Excersize Reading Web development

Outline 1 Setting up Working environment Where to get help? Stuff that’s easy in python 2 The language Data types Reflection and namespaces Performance 3 Python nice libraries Glue Plotting Gis 4 Python common surprises 5 Excersize Fedor Baart6 Reading Python for engineers 7 Web development new ipython notebook 1 vim 2 PyDev 3 emacs 4 PyCharm

Setting up The language Python nice libraries Python common surprises Excersize Reading Web development

Working environment

Most popular python IDE (@SO) Screenshot

15

Fedor Baart Python for engineers new ipython notebook 1 vim 2 PyDev 3 emacs

Setting up The language Python nice libraries Python common surprises Excersize Reading Web development

Working environment

Most popular python IDE (@SO) Screenshot

4 PyCharm 15 Spyder

Fedor Baart Python for engineers new ipython notebook 1 vim 2 PyDev

Setting up The language Python nice libraries Python common surprises Excersize Reading Web development

Working environment

Most popular python IDE (@SO) Screenshot

3 emacs 4 PyCharm 15 Spyder

Fedor Baart Python for engineers new ipython notebook 1 vim

Setting up The language Python nice libraries Python common surprises Excersize Reading Web development

Working environment

Most popular python IDE (@SO) Screenshot

2 PyDev 3 emacs 4 PyCharm 15 Spyder

Fedor Baart Python for engineers new ipython notebook

Setting up The language Python nice libraries Python common surprises Excersize Reading Web development

Working environment

Screenshot Most popular python IDE (@SO)

1 vim 2 PyDev 3 emacs 4 PyCharm 15 Spyder

Fedor Baart Python for engineers Setting up The language Python nice libraries Python common surprises Excersize Reading Web development

Working environment

Screenshot Most popular python IDE (@SO) new ipython notebook 1 vim 2 PyDev 3 emacs 4 PyCharm 15 Spyder

Fedor Baart Python for engineers Setting up The language Python nice libraries Python common surprises Excersize Reading Web development

Working environment Which version?

Python Python 2.7, current default in python xy, python. Python 3.x, use this when all your packages are available

Fedor Baart Python for engineers Setting up The language Python nice libraries Python common surprises Excersize Reading Web development

Working environment How to install?

Windows Python x,y Enthought Python Distribution

Linux -get (some extra ppd) emerge

Fedor Baart Python for engineers Setting up The language Python nice libraries Python common surprises Excersize Reading Web development

Working environment How to install?