python day @ msft a one day crash course on python
TRANSCRIPT
![Page 1: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/1.jpg)
Python Day @ MSFTA one day crash course on Python
![Page 2: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/2.jpg)
Agenda
Morning • Python, Python in VS (lightning talks)
Afternoon• IPython, numpy/scipy/pandas,
debugging, machine learning
![Page 3: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/3.jpg)
History90 95 00 05 10 now
Pyt
hon
is b
orn
Pyth
on 1
.0
Pyth
on 2
.0
Pyth
on 3
.0
Pyth
on 3
.3
Dja
ngo
Zope
num
py
SciP
y
Iron
Pyt
hon
1.0
PTVS
1.0
Pyt
hon
in N
T
PTV
S 2
.1
Pyt
hon
2.7
IPyt
hon
on A
zure
Pyt
hon
3.4
![Page 4: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/4.jpg)
Usage scenarios
Scripting &
DevOpsWeb
Data/Scientific
Misc: Mobile, Games, etc.
![Page 5: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/5.jpg)
Who uses Python?
![Page 6: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/6.jpg)
Stats
35,000,000 (python.org, 2013)CPython DL’s for Windows
PTVS: ¼ million downloads for v2.0PTVS
#1 teaching language @ top US Unis
Academia
#4 “most popular” (C# @ #5)Popularity
“Python is the official language of Science”
Data /Scientific
![Page 7: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/7.jpg)
But why?The Language
The Libraries
Being OSS & Free
Academia
The LicenseBuilt-in
The Community Cross Platform
print(‘hi!’)
Icons made by Freepik, Icomoon from www.flaticon.com
![Page 8: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/8.jpg)
Libraries(beyond numpy/scipy/IPython/pandas/scikit-learn, …)
![Page 9: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/9.jpg)
Distro, pkgs, pkg managers
Major Distros
Anaconda
Canopy
WinPython
ActivePython
Python(x,y)
Installers
pip
easy_install
conda
“py2exe”
Pkg Repos
PyPI
binstar /Anaconda
Canopy / Enthought
Gohlke(windows)
![Page 10: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/10.jpg)
Interpreters
CPython • Reference, max
library compat• Best for C
interop
IronPython• Runs on .Net• Best for C#
interop
Jython• Runs on JVM• Best for Java
interop
Pypy
• Tracing JIT• Good for
numerics
Misc
• Numba• Pyston• Stackless
![Page 11: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/11.jpg)
IDEs and REPLs
Python Tools for Visual Studio *
PyCharm PyDev (Eclipse)
Wing Komodo IPython notebook(Browser based)
* Windows only
![Page 12: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/12.jpg)
Summary
Python’s a great addition to your toolbox
It has a Microsoft friendly license It’s available in VS and on AzureAzure Website supportAzure ML support (coming soon)
![Page 13: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/13.jpg)
TOMORROW
One day crash course on ML
ML tutorial on scikit-learn by Olivier Grisel
10am-4pm
Link/info will be on Python Day website soon
![Page 14: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/14.jpg)
Call To Action
Tools & learning
1. Install Anaconda distro (includes IPython)
2. Install Python Tools for Visual Studio & Python Azure SDK
3. Learn/brush up on Python
Product
4. Please provide Python interfaces for your product/service
5. Build xplat commands/tools/etc. in Python
6. Please provide Python runtime support in your products
![Page 15: Python Day @ MSFT A one day crash course on Python](https://reader036.vdocuments.us/reader036/viewer/2022081504/56649e2d5503460f94b1c640/html5/thumbnails/15.jpg)
Resources
https://store.continuum.io/cshop/anaconda/
http://pytools.codeplex.com
www.IPython.org
A Crash Course in Python for Scientistshttp://nbviewer.ipython.org/gist/rpmuller/5920182
Exploratory computing with Pythonhttp://mbakker7.github.io/exploratory_computing_with_python/
Lectures on scientific computing with Pythonhttps://github.com/jrjohansson/scientific-python-lectures/blob/master/README.md
Machine learning/sklearn intro https://github.com/temporaer/tutorial_ml_gkbionics/blob/master/README.md