Upload
harvey-logan-moore
View
231
Download
0
Embed Size (px)
Citation preview
Python Day @ MSFTA one day crash course on Python
Agenda
Morning • Python, Python in VS (lightning talks)
Afternoon• IPython, numpy/scipy/pandas,
debugging, machine learning
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
Usage scenarios
Scripting &
DevOpsWeb
Data/Scientific
Misc: Mobile, Games, etc.
Who uses Python?
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
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
Libraries(beyond numpy/scipy/IPython/pandas/scikit-learn, …)
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)
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
IDEs and REPLs
Python Tools for Visual Studio *
PyCharm PyDev (Eclipse)
Wing Komodo IPython notebook(Browser based)
* Windows only
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)
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
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
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