2014-05-22 04:53:15 +00:00
2014-06-01 16:59:24 +00:00
< div align = "center" >
2013-10-29 22:04:12 +00:00
2014-06-01 16:59:24 +00:00
< h3 > A collection of useful scripts, tutorials, and other Python-related things< / h3 >
< br >
< img src = "./Images/logo.png" alt = "" > < / div >
2014-04-13 23:22:30 +00:00
2014-05-22 03:47:27 +00:00
< br >
2014-05-22 04:53:15 +00:00
2014-05-22 03:47:27 +00:00
2014-05-12 19:25:31 +00:00
< br >
< br >
< br >
2014-05-14 02:43:03 +00:00
2014-05-23 04:51:01 +00:00
###// Python tips and tutorials
2014-05-12 19:25:31 +00:00
2014-06-01 16:59:24 +00:00
- A collection of not so obvious Python stuff you should know! [[IPython nb ](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/tutorials/not_so_obvious_python_stuff.ipynb?create=1 )]
2014-05-23 04:56:23 +00:00
- Python's scope resolution for variable names and the LEGB rule [[IPython nb ](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/tutorials/scope_resolution_legb_rule.ipynb?create=1 )]
2014-05-24 23:48:52 +00:00
- Key differences between Python 2.x and Python 3.x [[IPython nb ](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/tutorials/key_differences_between_python_2_and_3.ipynb?create=1 )]
2014-05-23 04:56:23 +00:00
- A thorough guide to SQLite database operations in Python [[Markdown ](./sqlite3_howto/README.md )]
- Unit testing in Python - Why we want to make it a habit [[Markdown ](./tutorials/unit_testing.md )]
- Installing Scientific Packages for Python3 on MacOS 10.9 Mavericks [[Markdown ](./tutorials/installing_scientific_packages.md )]
2014-05-14 02:44:46 +00:00
- Sorting CSV files using the Python csv module [[IPython nb ](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/tutorials/sorting_csvs.ipynb )]
2014-05-14 02:43:03 +00:00
2014-06-12 13:52:01 +00:00
- Using Cython with and without IPython magic [[IPython nb ](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/tutorials/running_cython.ipynb )]
2014-05-14 02:43:03 +00:00
2014-05-28 17:32:07 +00:00
< br >
###// Python and the web
2014-06-01 16:59:24 +00:00
- Creating internal links in IPython Notebooks and Markdown docs [[IPython nb ](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/tutorials/table_of_contents_ipython.ipynb )]
- Converting Markdown to HTML and adding Python syntax highlighting [[Markdown ](./tutorials/markdown_syntax_highlighting/README.md )]
2014-05-28 17:32:07 +00:00
2014-06-01 16:59:24 +00:00
< br >
###// Algorithms
- Sequential Selection Algorithms [[IPython nb ](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/tutorials/sorting_csvs.ipynb )]
2014-05-28 17:32:07 +00:00
2014-05-23 04:51:01 +00:00
< br >
2014-06-01 16:59:24 +00:00
###// Benchmarks
2014-05-12 19:25:31 +00:00
2014-05-23 04:56:23 +00:00
*For more recent benchmarks, please also see my separate
GitHub repository [One-Python-benchmark-per-day ](https://github.com/rasbt/One-Python-benchmark-per-day )*
2014-05-12 19:25:31 +00:00
2014-05-23 04:56:23 +00:00
- Python benchmarks via `timeit` [[IPython nb ](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/benchmarks/timeit_tests.ipynb?create=1 )]
2014-06-01 16:59:24 +00:00
- Least squares fit method for linear regression sped up via Cython [[IPython nb ](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/benchmarks/cython_least_squares.ipynb?create=1 )]
2014-05-23 04:56:23 +00:00
- Benchmarks of different palindrome functions [[IPython nb ](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/benchmarks/palindrome_timeit.ipynb?create=1 )]
2014-05-14 02:43:03 +00:00
2014-05-23 04:51:01 +00:00
< br >
2014-05-12 19:25:31 +00:00
2014-05-28 17:32:07 +00:00
2014-06-01 16:59:24 +00:00
###// Other
2014-05-23 04:56:23 +00:00
2014-06-01 16:59:24 +00:00
- Happy Mother's Day [[IPython nb ](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/other/happy_mothers_day.ipynb?create=1 )]
2014-05-12 19:25:31 +00:00
2014-06-06 03:40:21 +00:00
- Numeric matrix manipulation - The cheat sheet for MATLAB, Python NumPy, R, and Julia [[Markdown ](./tutorials/matrix_cheatsheet.md )]
2014-05-23 04:51:01 +00:00
< br >
2014-05-12 19:25:31 +00:00
2014-06-01 16:59:24 +00:00
###// Useful scripts and snippets
2014-05-21 21:17:45 +00:00
2014-06-01 16:59:24 +00:00
- [Shell script ](./useful_scripts/prepend_python_shebang.sh ) for prepending Python-shebangs to .py files.
2014-05-12 19:25:31 +00:00
2014-05-23 04:56:23 +00:00
- convert 'tab-delimited' to 'comma-separated' CSV files [[IPython nb ](http://nbviewer.ipython.org/github/rasbt/python_reference/blob/master/useful_scripts/fix_tab_csv.ipynb?create=1 )]