Python Koans virtualenvwrapper 2.9 — virtualenvwrapper v2.9 documentation virtualenvwrapper is a set of extensions to Ian Bicking’s virtualenv tool. The extensions include wrappers for creating and deleting virtual environments and otherwise managing your development workflow, making it easier to work on more than one project at a time without introducing conflicts in their dependencies. Features¶ Organizes all of your virtual environments in one place.Wrappers for managing your virtual environments (create, delete, copy).Use a single command to switch between environments.Tab completion for commands that take a virtual environment as argument.User-configurable hooks for all operations (see Per-User Customization).Plugin system for more creating sharable extensions (see Extending Virtualenvwrapper). Introduction¶ The best way to explain the features virtualenvwrapper gives you is to show it in use. First, some initialization steps. Now we can install some software into the environment. We can see the new package with lssitepackages: Support¶ Shell Aliases¶ License¶
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. In the tutorial I presented at PyCon 2006 (called Text & Data Processing), I was surprised at the reaction to some techniques I used that I had thought were common knowledge. Many of you will have seen some of these techniques and idioms before. These are the guiding principles of Python, but are open to interpretation. import this
Understanding Python decorators Overview — NetworkX 1.7 documentation (the eff-bot guide to) The Standard Python Library Overviews (15) Core Modules [core-modules-index]Data Representation [data-representation-index]Data Storage [data-storage-index]File Formats [file-formats-index]Implementation Support Modules [implementation-support-modules-index]Internationalization [internationalization-index]Mail and News Message Processing [mail-and-news-message-processing-index]More Standard Modules [more-standard-modules-index]Multimedia Modules [multimedia-modules-index]Network Protocols [network-protocols-index]Other Modules [other-modules-index]Platform Specific Modules [platform-specific-modules-index]Preface [preface-index]Threads and Processes [threads-and-processes-index]Tools and Utilities [tools-and-utilities-index] Articles (249) The aifc module [aifc]The anydbm module [anydbm]The array module [array]The asynchat module [asynchat]The asyncore module [asyncore]The atexit module [atexit]The audiodev module [audiodev] The keyword module [keyword]The knee module [knee]
ronnix/fabtools - GitHub Dev Explorer - Developing Console Interfaces Using Python and ... Date Published: 18/05/2009 14:39 In general I spend quite a lot of time building python applications and scripts for home and office use. These vary from scripts at home for cleaning up my music library to decent sized applications implementing business logic. One thing that can be quite difficult when carrying out these tasks is interacting with the code I am writing without building a fully fledged interface. When programming this way I use the python curses library to allow me to build a quick temporary command line interface to use and test my application/script. When I first started using curses I found it difficult understand how it worked. In this article I am going to document the basics of python curses programming to help readers understand the concept and curses' benefits. Note Just a quick note to say this is a basic introduction to curses designed to familiarise people who have never used the library before. About Curses The Basics import curses screen = curses.initscr() #!
BeginnersGuide/Programmers Please Note Because this is a Wiki page, users can edit it. You are therefore free to add details of material that other Python users will find useful. It is not an advertising page, and is here to serve the whole Python community. Python for Programmers The tutorials on this page are aimed at people who have previous experience with other programming languages (C, Perl, Lisp, Visual Basic, etc.). Books, Websites, Tutorials (non-interactive) Reviews Learn Python - Best Python Tutorials and Courses Python tutorials & courses recommended by the programming community. Resources Learn Python Step by Step - Start learning python from the basics to pro level and attain proficiency. Interactive Tools and Lessons Python Video Tutorials CategoryPythonWebsite CategoryPythonWebsite CategoryPythonWebsite CategoryPythonWebsite
TestingToolsTaxonomy Join the Testing In Python (TIP) mailing list for Python testing tools discussions! This wiki page is originated from PyCheeseCake and it was originally created by Grig Gheorghiu Unit Testing Tools The following tools are not currently being developed or maintained as far as we can see. They are here for completeness, with last activity date and an indication of what documentation there is. Mock Testing Tools See also here for a side-by-side syntax comparison between some of the more popular tools in this space. Fuzz Testing Tools According to Wikipedia, "fuzz testing" (or "fuzzing") is a software testing technique whose basic idea is to attach the inputs of a program to a source of random data ("fuzz"). Web Testing Tools First, let's define some categories of Web testing tools: Acceptance/Business Logic Testing Tools GUI Testing Tools The following tools were being actively developed and maintained when this page was last edited, and have usable documentation. Source Code Checking Tools
Snake Wrangling for Kids Learning to Program with Python. Copyright (C) 2007. All Rights Reserved. SWFK has been completely rewritten and updated, with new chapters (including developing graphical games), and new code examples. It also includes lots of fun programming puzzles to help cement the learning. Published by No Starch Press, and available here: Python for Kids @ Amazon.com. "Snake Wrangling for Kids" is a printable electronic book, for children 8 years and older, who would like to learn computer programming. There are 3 different versions of the book (one for Mac, one for Linux and one for Windows), and the printable 1.4MB PDFs can be downloaded from the Google Code project for free (zipped size is about 1MB): There have been over 50,000 downloads, as of 2012.
Parser Combinators Made Simple April 18, 2011 # Parsing theory has been around for quite a long time, but it is often thought of as magic by the swarms of people who haven't bothered to read about it, and see how plain and dry it actually is. Algorithms for parsing LR(k) grammars (meaning Left-to-right, Right-most derivation, k tokens lookahead) for instance, normally just traverse a state machine that was computed before hand (either by hand, or by using a parser generator such as bison or yacc). Sure, there are many things to trip on, tedious to track down ambiguities, and other issues, but the general theory of parsing has remained unchanged for years—one might say, it is a solved problem. When learning about parsing for the first time though, the idea of a recursive descent parser is often taught first. Recursive descent parsers, are relatively simple to reason about, to write and to shoot yourself in the foot with. This sounds boring and tedious, and in fact is. Why don't we return None here? Success!