python_reference/README.md
2014-05-23 00:56:23 -04:00

2.5 KiB
Executable File

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]

  • 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]