This repository has been archived by the owner on Jan 3, 2018. It is now read-only.
Python motivation #623
Closed
Closed
Python motivation #623
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
2bd5f4f
working on a python pitch
snacktavish 5ee9d07
ipython image
snacktavish 2d75aab
python pitch, cribbed from sritchie73's R motivational slides
snacktavish e48b1bf
typos
snacktavish 4940d03
re-organized alternatives
snacktavish 6f3deaf
put image in the correct place
snacktavish 8f7a454
Merge branch 'master' of github.com:swcarpentry/bc into python-motiva…
snacktavish 8d6f96e
Merge remote-tracking branch 'upstream/master' into python-motivation
snacktavish 7e35356
incorporated comments from pull request (finally)
snacktavish d49d8ec
fixed some sloppy formatting
snacktavish b0bdc45
changed R content
snacktavish 82ff885
updated PyPI numbers
snacktavish File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,144 @@ | ||
--- | ||
layout: slides | ||
title: Why should I use Python? | ||
root: .. | ||
--- | ||
<section> | ||
<h1>{{page.title}}</h1> | ||
<aside class="notes"> | ||
Hello, and welcome to the Python section of the Software Carpentry bootcamp. | ||
</aside> | ||
</section> | ||
|
||
<section> | ||
<h2>Python is...</h2> | ||
<p class="fragment"> | ||
a popular, | ||
</p> | ||
<p class="fragment"> | ||
powerful, | ||
</p> | ||
<p class="fragment"> | ||
easy to learn, | ||
</p> | ||
<p class="fragment"> | ||
programming language, | ||
</p> | ||
<p class="fragment"> | ||
that is human readable, | ||
</p> | ||
<p class="fragment"> | ||
whitespace delimited, | ||
</p> | ||
<p class="fragment"> | ||
free, | ||
</p> | ||
<p class="fragment"> | ||
and open source | ||
</p> | ||
<aside class="notes"> | ||
So what is Python anyway? Python is a programming language which is used to: | ||
- develop analysis pipelines | ||
- process and analyse data | ||
- visualize data, and generate publication-quality graphics | ||
- develop new statistical methods | ||
It is also a free open-source project, making it completely free to download and extend. | ||
</aside> | ||
</section> | ||
|
||
<section> | ||
It has a number of excellent libraries for | ||
<p class="fragment"> | ||
mathematics, | ||
</p> | ||
<p class="fragment"> | ||
plotting, | ||
</p> | ||
<p class="fragment"> | ||
and domain sciences. | ||
</p> | ||
</section>> | ||
<section> | ||
<h2>Tasks that Python could help you do:</h2> | ||
<p class="fragment"> | ||
Transform your data files from one arbitrary format to another. | ||
</p> | ||
<p class="fragment"> | ||
Analyze image files. | ||
</p> | ||
<p class="fragment"> | ||
Loop through all the files in a directory, perform an analysis on them, and plot the results. | ||
</p> | ||
<p class="fragment"> | ||
<strong>Almost anything!</strong> | ||
</p> | ||
<aside class="notes"> | ||
</aside> | ||
</section> | ||
|
||
<section> | ||
<h1>Packages</h1> | ||
<p>Contain extensions to the language for specific tasks</p> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The Python Package Index has 46537 packages that includes some for
|
||
<ul class="fragment"> | ||
<li>The Python Package Index has more than 48k packages including some for: | ||
</li> | ||
<p class="fragment"> | ||
analyzing biological sequence data, | ||
</p> | ||
<p class="fragment"> | ||
numerical analyses, | ||
</p> | ||
<p class="fragment"> | ||
plotting and much more | ||
</p> | ||
</ul> | ||
</p> | ||
<aside class="notes"> | ||
</aside> | ||
</section> | ||
|
||
<section> | ||
<h2>Why Python and not ...</h2> | ||
<p class="fragment"> | ||
Perl? <br> | ||
It is easier to read and easier to learn. Also, popularity matters! If Python is what your collaborators are using, it may be a good idea for you to learn it too. | ||
</p> | ||
<p class="fragment"> | ||
Javascript or Ruby? <br> | ||
Python has more good numerical libraries. | ||
</p> | ||
<p class="fragment"> | ||
MATLAB or SAS? <br> | ||
It's free. | ||
</p> | ||
<p class="fragment"> | ||
R? <br> | ||
Depends on the task at hand. R has some advantages in statistics and visualization, Python is better at manipulating text. It is a more flexible option that can perform many different tasks well. | ||
</p> | ||
<aside class="notes"> | ||
</aside> | ||
</section> | ||
|
||
<section> | ||
<h1>IPython Notebook</h1> | ||
<p> An interactive shell for using Python</p> | ||
<ul class="fragment"> | ||
<li>Browser based notebooks to organize and display code </li> | ||
<li>Simplifies data visualization</li> | ||
<li>Makes it easy to share whole analysis pipelines</li> | ||
</ul> | ||
<img src="ipython-notebook.png"> | ||
</p> | ||
<aside class="notes"> | ||
</aside> | ||
</section> | ||
|
||
<section> | ||
<h1>Learn More</h1> | ||
<a href="https://www.python.org/" alt="python.org">https://www.python.org/</a> | ||
<br /> | ||
<a href="http://ipython.org/" alt="Link to IPython" class="fragment">http://ipython.org/</a> | ||
<aside class="notes"> | ||
</aside> | ||
</section> | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! So, having a list like this is great. But, I wonder if a different order or a different breakdown might allow it to read more like a sentence, and therefore make more sense. Something like:
It has a number of excellent libraries for
Something like that maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe:
It has a number of excellent libraries for
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good ideas! I incorporated them.