An open API service indexing awesome lists of open source software.

https://github.com/hughp/learning-python

This is a repository of notes I have taken while learning Python
https://github.com/hughp/learning-python

Last synced: about 1 month ago
JSON representation

This is a repository of notes I have taken while learning Python

Awesome Lists containing this project

README

        

# Notes about things I learn while trying to do tasks in Python
_This is a repository of notes I have taken while learning Python._

## Helpful web tutorials
* How to think like a computer scientist http://interactivepython.org/runestone/static/thinkcspy/toc.html - This has been great to get my head around data management. I started off with code academy, but the suff there was just mundane.
* http://introtopython.org/visualization_earthquakes.html - this really helped me get my head around reading CSV files and plotting data with matplotlib
* http://matplotlib.org/api/markers_api.html#matplotlib.markers.MarkerStyle
* http://matplotlib.org/api/markers_api.html#module-matplotlib.markers - some really helpful notes about scatter plot for matplotlib
* It seems that matplot uses html color names but I can never rememeber them as I always want to use hex digits: http://www.w3schools.com/html/html_colornames.asp

## Intersting tutorials to look at

### Formal learning enviroments
* https://www.datacamp.com/courses/intro-to-python-for-data-science
* CodeAcademy: http://www.codecademy.com/tracks/python
* Udacity: https://www.udacity.com/
* Coursera: https://www.coursera.org/course/pythonlearn

### General Python

* basic syntax - http://www.codecademy.com/en/tracks/python
* http://www.e-booksdirectory.com/listing.php?category=265
* Interactie Python http://interactivepython.org/courselib/static/diveintopython3/index.html
* Learn Python: http://www.learnpython.org/en/Welcome
* Learn Python the Hard Way: http://learnpythonthehardway.org/book/
* Coursera: https://www.coursera.org/course/pythonlearn
* Python-Course: http://www.python-course.eu/input.php
* Thinking in Python: http://www.mindview.net/Books/Python/ThinkingInPython.html

### Specific Tasks in Python
* Pandas - http://nbviewer.ipython.org/github/pybokeh/ipython_notebooks/blob/master/pandas/intro-to-pandas.ipynb
* http://www.compileonline.com/execute_python_online.php
* http://programminghistorian.org/lessons/
* https://github.com/ehmatthes/intro_programming
* http://all-geo.org/volcan01010/2012/11/change-coordinates-with-pyproj/
* 3D plotting: https://www.wakari.io/nb/urls///wakari.io/static/notebooks/Lecture_4_Matplotlib.ipynb?has_login=False
* https://joernhees.de/blog/2014/02/25/scientific-python-on-mac-os-x-10-9-with-homebrew/
* https://wakari.io/gallery Other iPython notebooks.
* Other python resources: http://continuum.io/
* An example of Ethnologue data https://github.com/metasyn/langstats
* Maps: http://nbviewer.ipython.org/github/pp-mo/iris_example_code/blob/cartopy_scalebar/map_scalebar.ipynb
* Geo Processing: http://www.jianshu.com/p/a710e7656ddb

#### copy this over to python
* http://www.diveintopython.net/xml_processing/parsing_xml.html
* http://infohost.nmt.edu/tcc/help/pubs/pyparsing/web/index.html
* http://nbviewer.ipython.org/url/jakevdp.github.com/downloads/notebooks/XKCD_plots.ipynb
* http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/tutorials/key_differences_between_python_2_and_3.ipynb
* http://stackoverflow.com/questions/21149920/pandas-import-multiple-csv-files-into-dataframe-using-a-loop-and-hierarchical-i?rq=1
* http://pandas.pydata.org/pandas-docs/dev/generated/pandas.DataFrame.html
* http://stackoverflow.com/questions/20637439/skip-rows-during-csv-import-pandas
* http://pandas.pydata.org/pandas-docs/stable/index.html
* http://pandas.pydata.org/pandas-docs/dev/categorical.html

#### Write to a file.
* How to write to a file: https://www.daniweb.com/software-development/python/threads/278729/python-write-new-line-to-file

#### LEAP Motion API
* Working with LEAP Motion controler: https://developer.leapmotion.com/documentation/python/devguide/Intro_Skeleton_API.html

## Issues to deal with in Python
### Character Encoding
* Character encoding: http://nbviewer.ipython.org/github/gmonce/datascience/blob/master/src/1%20-%20Yet%20Another%20Python%20Encoding%20Tutorial.ipynb
* https://bugs.python.org/issue1571184
* Pythonn 3 Character Encoding: https://docs.python.org/3/library/unicodedata.html#module-unicodedata
* Python 2.7: https://docs.python.org/3/whatsnew/2.7.html
* Consistent character width: http://bugs.python.org/issue12568
* Python returning the wrong length of string when using special characters http://stackoverflow.com/questions/2247205/python-returning-the-wrong-length-of-string-when-using-special-characters
* Unicode::GCString python https://www.google.com/search?q=Unicode%3A%3AGCString+python&oq=Unicode%3A%3AGCString+python&aqs=chrome..69i57j69i58.4901j0j7&sourceid=chrome&es_sm=91&ie=UTF-8

### Working with Strings
* General Counting:
* http://pymotw.com/2/collections/counter.html
* http://www.pythonforbeginners.com/basics/string-manipulation-in-python
* Counting Letters in a String:
* http://codereview.stackexchange.com/questions/27781/counting-letters-in-a-string-python-optimisation
* http://stackoverflow.com/questions/2932511/letter-count-on-a-string
* Without Spaces: http://stackoverflow.com/questions/18455222/how-to-count-the-number-of-letters-in-a-string-without-the-spaces
* Word Counts:
* http://vasanthexperiments.wordpress.com/2010/10/13/word-count-program-in-python/
* http://www.dreamincode.net/forums/topic/265081-counting-words-in-a-txt-file/
* http://www.yasyf.com/coding/simple-python-word-frequency-count/
* http://www.daniweb.com/software-development/python/code/216495/wordcount-of-a-text-file-python
* http://stackoverflow.com/questions/19674336/how-to-write-a-wordcount-program-using-python-without-using-map-reduce
* http://stackoverflow.com/questions/21107505/python-word-count-from-a-txt-file-program

### Recording Keys
* Key Actions/Keystroke events: http://www.java2s.com/Code/Python/Event/Key-Action.htm
* http://www.java2s.com/Code/Python/Event/KeyactionShiftPressedandReleased.htm

## Not helpful tutorials
*
## Little things I have done
* http://pastebin.com/kWyDaTeA

# Python Enviroments:
http://www.continuum.io/blog/conda

## Python and Perl
* http://www.fastcolabs.com/3026446/the-fall-of-perl-the-webs-most-promising-language
* http://muse.jhu.edu/login?auth=0&type=summary&url=/journals/canadian_journal_of_linguistics/v051/51.1cobb.pdf

### Just Perl
_I know this is a Python repo, but I have these links from learning about Perl, so I thought I would add them._
* http://stackoverflow.com/questions/16678272/perl-script-to-count-words-lines
* http://perlbrew.pl/Perlbrew-and-Friends.html
* http://learn.perl.org/tutorials/
* http://learn.perl.org/

## Python Modules
* Kartograph: http://kartograph.org/showcase/animated-symbols/
* Cartopy: http://scitools.org.uk/cartopy/
* Scrappy: http://doc.scrapy.org/en/0.24/intro/tutorial.html
* Media Goblin: http://mediagoblin.org/
* OCR: https://github.com/tmbdev/ocropy
* DOAP: https://pypi.python.org/pypi/doapfiend/0.3.3
* Stochastic Programing: http://openopt.org/StochasticProgramming

### Lingusitics and Language Data Specific
* NLTK: http://www.nltk.org/
* Babel: http://babel.pocoo.org/
* poio: http://media.cidles.eu/poio/
* FoLiA: https://pypi.python.org/pypi/FoLiA-tools

### Playing with github
* https://github.com/copitux/python-github3
* https://github.com/kadirpekel/hammock
* http://github3py.readthedocs.org/en/master/api.html
* https://developer.github.com/libraries/

## RegEx
* http://txt2re.com/index-python.php3?s=on%20some%20day&1
* http://www.regexr.com/
* Counting words in a toolbox corpus: http://kiluv.de/irregularexpressions/?cat=10

## Playing with GIS data
* https://www.e-education.psu.edu/geog485/node/141

## various links from Chrome
_These links were collected while trying to do the word count task for keyboard analysis. However, so they are not strictly python / perl but they are usually relating to one of the two._
http://pypi.python.org/pypi/python-wordpress/0.1.2
https://github.com/maxcutler/python-wordpress-xmlrpc
https://github.com/eyeseast/python-wordpress
http://python-wordpress-xmlrpc.readthedocs.org/en/latest/ref/wordpress.html#wordpressposttype
http://wordpress.org/extend/plugins/wordcounternet-word-and-character-counter/
http://wordpress.org/extend/plugins/word-and-character-counter/changelog/
http://scripts.sil.org/cms/scripts/page.php?item_id=UnicodeCharacterCount
http://markmaunder.com/2009/10/24/how-to-integrate-php-and-perl-or-any-other-languages-on-apache/
http://www.perlmonks.org/?node_id=651544
http://search.cpan.org/~leocharre/WordPress-XMLRPC-1.15/lib/WordPress/XMLRPC.pm
http://perl.about.com/od/perltutorials/a/perlmysql_3.htm