background preloader

Welcome to Problem Solving with Algorithms and Data Structures — Problem Solving with Algorithms and Data Structures

Welcome to Problem Solving with Algorithms and Data Structures — Problem Solving with Algorithms and Data Structures

http://interactivepython.org/courselib/static/pythonds/index.html

Anaconda Anaconda is a completely free Python distribution (including for commercial use and redistribution). It includes over 195 of the most popular Python packages for science, math, engineering, data analysis. You can find MD5 information for Anaconda installers here. *Anaconda comes with installers for Python 2.7 and 3.4.

Python Cost Model - 6.006 Wiki From 6.006 Wiki Python is a high-level programming language, with many powerful primitives. Analyzing the running time of a Python program requires an understanding of the cost of the various Python primitives. For example, in Python, you can write: where L, L1, and L2 are lists; the given statement computes L as the concatenation of the two input lists L1 and L2. How to Think Like a Computer Scientist Learning with Python by Allen Downey, Jeff Elkner and Chris Meyers. This book is now available for sale at Lulu.com. Hardcopies are no longer available from Green Tea Press. How to Think... is an introduction to programming using Python, one of the best languages for beginners.

Google Python Style Guide No whitespace inside parentheses, brackets or braces. No whitespace before a comma, semicolon, or colon. Do use whitespace after a comma, semicolon, or colon except at the end of the line. Talks and Tutorials Here are links to selected talks and tutorials given at user-group meetings and conferences. Most of these talks can also be found on SlideShare. I also have a YouTube Channel where you can find videos. Most of these talks can also be found on pyvideo.org. Builtin Superheroes. Code Like a Pythonista: Idiomatic Python In this interactive tutorial, we'll cover many essential Python idioms and techniques in depth, adding immediately useful tools to your belt. There are 3 versions of this presentation: ©2006-2008, licensed under a Creative Commons Attribution/Share-Alike (BY-SA) license. My credentials: I am a resident of Montreal,father of two great kids, husband of one special woman,a full-time Python programmer,author of the Docutils project and reStructuredText,an editor of the Python Enhancement Proposals (or PEPs),an organizer of PyCon 2007, and chair of PyCon 2008,a member of the Python Software Foundation,a Director of the Foundation for the past year, and its Secretary.

How to Write a Spelling Corrector In the past week, two friends (Dean and Bill) independently told me they were amazed at how Google does spelling correction so well and quickly. Type in a search like [speling] and Google comes back in 0.1 seconds or so with Did you mean: spelling. (Yahoo and Microsoft are similar.) What surprised me is that I thought Dean and Bill, being highly accomplished engineers and mathematicians, would have good intuitions about statistical language processing problems such as spelling correction. But they didn't, and come to think of it, there's no reason they should: it was my expectations that were faulty, not their knowledge. I figured they and many others could benefit from an explanation.

How to Install MySQL with Fabric — muhuk I just want to share a small fabfile snipplet that installs mysql-server package on a Debian machine if it’s not already installed. Actually it should have been quite straightforward; just issue an apt-get command, right? But during configuration it displays a curses dialog for MySQL root password.

Related: