A collection of useful scripts, tutorials, and other Python-related things
Go to file
2014-05-25 11:46:20 -04:00
benchmarks upd cython article 2014-05-10 12:05:43 -04:00
Data moved csv files to the correct location 2014-05-18 19:24:32 -04:00
funstuff link upd. 2014-05-11 13:13:47 -04:00
howtos_as_py_files new dir for py files 2014-04-29 22:28:50 -04:00
Images logo 2014-05-21 23:47:27 -04:00
sqlite3_howto sqlite tutorial 2014-04-29 22:52:05 -04:00
tutorials compared python 2 and 3 speeds 2014-05-25 11:46:20 -04:00
useful_scripts Added a shebang to the shebang adding script 2014-05-24 00:13:20 +01:00
.gitignore removed temp files 2014-05-06 14:45:03 -04:00
not_so_obvious_python_stuff.ipynb unorderable types update and separate python 2.x vs. 3.x section 2014-05-24 12:02:03 -04:00
README.md completely overworked key differences between python 2 and 3 2014-05-24 19:48:52 -04:00

logo

A collection of useful scripts, tutorials, and other Python-related things





###// Python tips and tutorials

  • A collection of not so obvious Python stuff you should know! [IPython nb]

  • Python's scope resolution for variable names and the LEGB rule [IPython nb]

  • Key differences between Python 2.x and Python 3.x [IPython nb]

  • A thorough guide to SQLite database operations in Python [Markdown]

  • Unit testing in Python - Why we want to make it a habit [Markdown]

  • Installing Scientific Packages for Python3 on MacOS 10.9 Mavericks [Markdown]

  • Sorting CSV files using the Python csv module [IPython nb]


###// benchmarks

For more recent benchmarks, please also see my separate
GitHub repository One-Python-benchmark-per-day

  • Python benchmarks via timeit [IPython nb]

  • Implementing the least squares fit method for linear regression and speeding it up via Cython [IPython nb]

  • Benchmarks of different palindrome functions [IPython nb]


###// other

  • Creating a table of contents with internal links in IPython Notebooks and Markdown documents [IPython nb]

  • Happy Mother's Day [IPython nb]


###// useful scripts and snippets

  • Shell script for prepending Python-shebangs to all .py files in a current directory.

  • convert 'tab-delimited' to 'comma-separated' CSV files [IPython nb]