-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 09f9a14
Showing
5 changed files
with
473 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
<!doctype html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="chrome=1"> | ||
<title>Python-Sp15 by uiuc-cse</title> | ||
|
||
<link rel="stylesheet" href="stylesheets/styles.css"> | ||
<link rel="stylesheet" href="stylesheets/pygment_trac.css"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | ||
<!--[if lt IE 9]> | ||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script> | ||
<![endif]--> | ||
</head> | ||
<body> | ||
<div class="wrapper"> | ||
<header> | ||
<h1>Python-Sp15</h1> | ||
<p>CSE Training Workshops in Python, Spring 2015</p> | ||
|
||
<p class="view"><a href="https://github.com/uiuc-cse/python-sp15">View the Project on GitHub <small>uiuc-cse/python-sp15</small></a></p> | ||
|
||
|
||
<ul> | ||
<li><a href="https://github.com/uiuc-cse/python-sp15/zipball/master">Download <strong>ZIP File</strong></a></li> | ||
<li><a href="https://github.com/uiuc-cse/python-sp15/tarball/master">Download <strong>TAR Ball</strong></a></li> | ||
<li><a href="https://github.com/uiuc-cse/python-sp15">View On <strong>GitHub</strong></a></li> | ||
</ul> | ||
</header> | ||
<section> | ||
<p>All workshops will be held in an EWS computer laboratory. There is no sign-up for this series—walk-ins are welcome and encouraged!</p> | ||
|
||
<h1> | ||
<a id="setup-canopy-python-and-i-python-notebook" class="anchor" href="#setup-canopy-python-and-i-python-notebook" aria-hidden="true"><span class="octicon octicon-link"></span></a>Setup (Canopy Python and I-Python Notebook)</h1> | ||
|
||
<p>For most of the lessons, we will require outside modules. While several methods for managing your own library of modules exists, we will use <a href="https://www.enthought.com/products/canopy/">Enthought Canopy</a>, which is installed on your EWS machines already. However, it works best when you are logged in with a Canopy user account, and <a href="https://store.enthought.com/accounts/login/?next=/licenses/academic/request/">free academic accounts</a> are available and recommended.</p> | ||
|
||
<p>To load Canopy, please input the following at a terminal window:</p> | ||
|
||
<pre><code>module load canopy | ||
</code></pre> | ||
|
||
<p>In many cases, we will also use <a href="http://ipython.org/">I-Python</a> notebooks, which are interactive workbooks for code. To open these, please navigate on the command line to your home directory (or wherever your downloaded <code>ipynb</code> files are located), and open the I-Python notebook interface:</p> | ||
|
||
<pre><code>cd | ||
module load canopy | ||
ipython notebook & | ||
</code></pre> | ||
|
||
<h1> | ||
<a id="introduction-to-python" class="anchor" href="#introduction-to-python" aria-hidden="true"><span class="octicon octicon-link"></span></a><a href="#intro">Introduction to Python</a> | ||
</h1> | ||
|
||
<h1> | ||
<a id="numerical-programming-with-python" class="anchor" href="#numerical-programming-with-python" aria-hidden="true"><span class="octicon octicon-link"></span></a><a href="#numpy">Numerical Programming with Python</a> | ||
</h1> | ||
|
||
<h1> | ||
<a id="pandas-python-data-analysis-library" class="anchor" href="#pandas-python-data-analysis-library" aria-hidden="true"><span class="octicon octicon-link"></span></a><a href="#pandas">Pandas (Python Data Analysis) Library</a> | ||
</h1> | ||
|
||
<h1> | ||
<a id="object-oriented--advanced-programming-in-python" class="anchor" href="#object-oriented--advanced-programming-in-python" aria-hidden="true"><span class="octicon octicon-link"></span></a><a href="#oop">Object-Oriented & Advanced Programming in Python</a> | ||
</h1> | ||
|
||
<h1> | ||
<a id="the-ipython-environment--notebooks" class="anchor" href="#the-ipython-environment--notebooks" aria-hidden="true"><span class="octicon octicon-link"></span></a><a href="#ipython">The IPython Environment & Notebooks</a> | ||
</h1> | ||
|
||
<h1> | ||
<a id="mpi4py" class="anchor" href="#mpi4py" aria-hidden="true"><span class="octicon octicon-link"></span></a><a href="#mpi4py">MPI4Py</a> | ||
</h1> | ||
|
||
<h1> | ||
<a id="pyopencl" class="anchor" href="#pyopencl" aria-hidden="true"><span class="octicon octicon-link"></span></a><a href="#pyopencl">PyOpenCL</a> | ||
</h1> | ||
|
||
<h1> | ||
<a id="machine-learning-in-python" class="anchor" href="#machine-learning-in-python" aria-hidden="true"><span class="octicon octicon-link"></span></a><a href="#sklearn">Machine Learning in Python</a> | ||
</h1> | ||
|
||
<h1> | ||
<a id="debugging-python-pdb" class="anchor" href="#debugging-python-pdb" aria-hidden="true"><span class="octicon octicon-link"></span></a><a href="#pdb">Debugging Python (PDB)</a> | ||
</h1> | ||
|
||
<h1> | ||
<a id="c--fortran-interfaces" class="anchor" href="#c--fortran-interfaces" aria-hidden="true"><span class="octicon octicon-link"></span></a><a href="#api">C & Fortran Interfaces</a> | ||
</h1> | ||
|
||
<h1> | ||
<a id="numba--optimization-in-python" class="anchor" href="#numba--optimization-in-python" aria-hidden="true"><span class="octicon octicon-link"></span></a><a href="#numba">Numba & Optimization in Python</a> | ||
</h1> | ||
|
||
<h1> | ||
<a id="symbolic-manipulation-with-sympy" class="anchor" href="#symbolic-manipulation-with-sympy" aria-hidden="true"><span class="octicon octicon-link"></span></a><a href="#sympy">Symbolic Manipulation with SymPy</a> | ||
</h1> | ||
|
||
<h1> | ||
<a id="about-these-workshops" class="anchor" href="#about-these-workshops" aria-hidden="true"><span class="octicon octicon-link"></span></a>About These Workshops</h1> | ||
|
||
<h3> | ||
<a id="contributors" class="anchor" href="#contributors" aria-hidden="true"><span class="octicon octicon-link"></span></a>Contributors</h3> | ||
|
||
<p>Neal Davis and Lakshmi Rao developed these materials. This content is available under a Creative Commons Attribution 3.0 Unported License.</p> | ||
|
||
<p><img src="https://i.creativecommons.org/l/by/4.0/88x31.png" alt="CC-BY-4.0"></p> | ||
|
||
<h1> | ||
<a id="contact" class="anchor" href="#contact" aria-hidden="true"><span class="octicon octicon-link"></span></a>Contact</h1> | ||
|
||
<p>If you have any questions about course availability, concepts, or content, please contact Neal Davis, Training Coördinator for Computational Science & Engineering, at training at cse dot illinois dot edu.</p> | ||
</section> | ||
<footer> | ||
<p>This project is maintained by <a href="https://github.com/uiuc-cse">uiuc-cse</a></p> | ||
<p><small>Hosted on GitHub Pages — Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p> | ||
</footer> | ||
</div> | ||
<script src="javascripts/scale.fix.js"></script> | ||
<script type="text/javascript"> | ||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); | ||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); | ||
</script> | ||
<script type="text/javascript"> | ||
try { | ||
var pageTracker = _gat._getTracker("UA-53962544-7"); | ||
pageTracker._trackPageview(); | ||
} catch(err) {} | ||
</script> | ||
|
||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
var metas = document.getElementsByTagName('meta'); | ||
var i; | ||
if (navigator.userAgent.match(/iPhone/i)) { | ||
for (i=0; i<metas.length; i++) { | ||
if (metas[i].name == "viewport") { | ||
metas[i].content = "width=device-width, minimum-scale=1.0, maximum-scale=1.0"; | ||
} | ||
} | ||
document.addEventListener("gesturestart", gestureStart, false); | ||
} | ||
function gestureStart() { | ||
for (i=0; i<metas.length; i++) { | ||
if (metas[i].name == "viewport") { | ||
metas[i].content = "width=device-width, minimum-scale=0.25, maximum-scale=1.6"; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"name":"Python-Sp15","tagline":"CSE Training Workshops in Python, Spring 2015","body":"All workshops will be held in an EWS computer laboratory. There is no sign-up for this series—walk-ins are welcome and encouraged!\r\n\r\n# Setup (Canopy Python and I-Python Notebook)\r\n\r\nFor most of the lessons, we will require outside modules. While several methods for managing your own library of modules exists, we will use [Enthought Canopy](https://www.enthought.com/products/canopy/), which is installed on your EWS machines already. However, it works best when you are logged in with a Canopy user account, and [free academic accounts](https://store.enthought.com/accounts/login/?next=/licenses/academic/request/) are available and recommended.\r\n\r\nTo load Canopy, please input the following at a terminal window:\r\n\r\n module load canopy\r\n\r\nIn many cases, we will also use [I-Python](http://ipython.org/) notebooks, which are interactive workbooks for code. To open these, please navigate on the command line to your home directory (or wherever your downloaded `ipynb` files are located), and open the I-Python notebook interface:\r\n\r\n cd\r\n module load canopy\r\n ipython notebook &\r\n\r\n# [Introduction to Python](#intro)\r\n\r\n# [Numerical Programming with Python](#numpy)\r\n\r\n# [Pandas (Python Data Analysis) Library](#pandas)\r\n\r\n# [Object-Oriented & Advanced Programming in Python](#oop)\r\n\r\n# [The IPython Environment & Notebooks](#ipython)\r\n\r\n# [MPI4Py](#mpi4py)\r\n\r\n# [PyOpenCL](#pyopencl)\r\n\r\n# [Machine Learning in Python](#sklearn)\r\n\r\n# [Debugging Python (PDB)](#pdb)\r\n\r\n# [C & Fortran Interfaces](#api)\r\n\r\n# [Numba & Optimization in Python](#numba)\r\n\r\n# [Symbolic Manipulation with SymPy](#sympy)\r\n\r\n# About These Workshops\r\n### Contributors\r\n\r\nNeal Davis and Lakshmi Rao developed these materials. This content is available under a Creative Commons Attribution 3.0 Unported License.\r\n\r\n\r\n\r\n# Contact\r\nIf you have any questions about course availability, concepts, or content, please contact Neal Davis, Training Coördinator for Computational Science & Engineering, at training at cse dot illinois dot edu.\r\n","google":"UA-53962544-7","note":"Don't delete this file! It's used internally to help with page regeneration."} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
.highlight { background: #ffffff; } | ||
.highlight .c { color: #999988; font-style: italic } /* Comment */ | ||
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */ | ||
.highlight .k { font-weight: bold } /* Keyword */ | ||
.highlight .o { font-weight: bold } /* Operator */ | ||
.highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */ | ||
.highlight .cp { color: #999999; font-weight: bold } /* Comment.Preproc */ | ||
.highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */ | ||
.highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */ | ||
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */ | ||
.highlight .gd .x { color: #000000; background-color: #ffaaaa } /* Generic.Deleted.Specific */ | ||
.highlight .ge { font-style: italic } /* Generic.Emph */ | ||
.highlight .gr { color: #aa0000 } /* Generic.Error */ | ||
.highlight .gh { color: #999999 } /* Generic.Heading */ | ||
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */ | ||
.highlight .gi .x { color: #000000; background-color: #aaffaa } /* Generic.Inserted.Specific */ | ||
.highlight .go { color: #888888 } /* Generic.Output */ | ||
.highlight .gp { color: #555555 } /* Generic.Prompt */ | ||
.highlight .gs { font-weight: bold } /* Generic.Strong */ | ||
.highlight .gu { color: #800080; font-weight: bold; } /* Generic.Subheading */ | ||
.highlight .gt { color: #aa0000 } /* Generic.Traceback */ | ||
.highlight .kc { font-weight: bold } /* Keyword.Constant */ | ||
.highlight .kd { font-weight: bold } /* Keyword.Declaration */ | ||
.highlight .kn { font-weight: bold } /* Keyword.Namespace */ | ||
.highlight .kp { font-weight: bold } /* Keyword.Pseudo */ | ||
.highlight .kr { font-weight: bold } /* Keyword.Reserved */ | ||
.highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */ | ||
.highlight .m { color: #009999 } /* Literal.Number */ | ||
.highlight .s { color: #d14 } /* Literal.String */ | ||
.highlight .na { color: #008080 } /* Name.Attribute */ | ||
.highlight .nb { color: #0086B3 } /* Name.Builtin */ | ||
.highlight .nc { color: #445588; font-weight: bold } /* Name.Class */ | ||
.highlight .no { color: #008080 } /* Name.Constant */ | ||
.highlight .ni { color: #800080 } /* Name.Entity */ | ||
.highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */ | ||
.highlight .nf { color: #990000; font-weight: bold } /* Name.Function */ | ||
.highlight .nn { color: #555555 } /* Name.Namespace */ | ||
.highlight .nt { color: #000080 } /* Name.Tag */ | ||
.highlight .nv { color: #008080 } /* Name.Variable */ | ||
.highlight .ow { font-weight: bold } /* Operator.Word */ | ||
.highlight .w { color: #bbbbbb } /* Text.Whitespace */ | ||
.highlight .mf { color: #009999 } /* Literal.Number.Float */ | ||
.highlight .mh { color: #009999 } /* Literal.Number.Hex */ | ||
.highlight .mi { color: #009999 } /* Literal.Number.Integer */ | ||
.highlight .mo { color: #009999 } /* Literal.Number.Oct */ | ||
.highlight .sb { color: #d14 } /* Literal.String.Backtick */ | ||
.highlight .sc { color: #d14 } /* Literal.String.Char */ | ||
.highlight .sd { color: #d14 } /* Literal.String.Doc */ | ||
.highlight .s2 { color: #d14 } /* Literal.String.Double */ | ||
.highlight .se { color: #d14 } /* Literal.String.Escape */ | ||
.highlight .sh { color: #d14 } /* Literal.String.Heredoc */ | ||
.highlight .si { color: #d14 } /* Literal.String.Interpol */ | ||
.highlight .sx { color: #d14 } /* Literal.String.Other */ | ||
.highlight .sr { color: #009926 } /* Literal.String.Regex */ | ||
.highlight .s1 { color: #d14 } /* Literal.String.Single */ | ||
.highlight .ss { color: #990073 } /* Literal.String.Symbol */ | ||
.highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */ | ||
.highlight .vc { color: #008080 } /* Name.Variable.Class */ | ||
.highlight .vg { color: #008080 } /* Name.Variable.Global */ | ||
.highlight .vi { color: #008080 } /* Name.Variable.Instance */ | ||
.highlight .il { color: #009999 } /* Literal.Number.Integer.Long */ | ||
|
||
.type-csharp .highlight .k { color: #0000FF } | ||
.type-csharp .highlight .kt { color: #0000FF } | ||
.type-csharp .highlight .nf { color: #000000; font-weight: normal } | ||
.type-csharp .highlight .nc { color: #2B91AF } | ||
.type-csharp .highlight .nn { color: #000000 } | ||
.type-csharp .highlight .s { color: #A31515 } | ||
.type-csharp .highlight .sc { color: #A31515 } |
Oops, something went wrong.