background preloader

Python 2.6 Quick Reference

Python 2.6 Quick Reference
Style chooser: Modern, Modern B&W, Modern Colored, Classic, High contrast or Printing [Hint: Use styles Modern B&W or Printing to print. If you get problems, try printing the PDF versions instead] Contents Front matter Version 2.6 (What's new?) Creative Commons License. Last updated on July 31, 2010. Feb 10, 2009 upgraded by Richard Gruet and Josh Stone for Python 2.6 Dec 14, 2006 upgraded by Richard Gruet for Python 2.5 Feb 17, 2005, upgraded by Richard Gruet for Python 2.4 Oct 3, 2003 upgraded by Richard Gruet for Python 2.3 May 11, 2003, rev 4 upgraded by Richard Gruet for Python 2.2 (restyled by Andrei) Aug 7, 2001 upgraded by Simon Brunning for Python 2.1 May 16, 2001 upgraded by Richard Gruet and Simon Brunning for Python 2.0 Jun 18, 2000 upgraded by Richard Gruet for Python 1.5.2 Oct 20, 1995 created by Chris Hoffmann for Python 1.3 Color coding: Features added in 2.6 since 2.5 Features added in 2.5 since 2.4 Features added in 2.4 since 2.3 A link Invocation Options python[w] [-BdEhimOQsStuUvVWxX3?]

Table of Contents Hey there, it appears your Javascript is disabled. That's fine, the site works without it. However, you might prefer reading it with syntax highlighting, which requires Javascript! Introduction Starting Out Starting Out (for real) Modules Syntax in Functions Types (or lack thereof) Recursion Higher Order Functions Errors and Exceptions Functionally Solving Problems A Short Visit to Common Data Structures The Hitchhiker's Guide to Concurrency More On Multiprocessing Errors and Processes Designing a Concurrent Application What is OTP? Clients and Servers Rage Against The Finite-State Machines Event Handlers Who Supervises The Supervisors? Building an Application With OTP Building OTP Applications The Count of Applications Release is the Word Leveling Up in The Process Quest Buckets Of Sockets EUnited Nations Council Bears, ETS, Beets Distribunomicon Distributed OTP Applications Common Test for Uncommon Tests Mnesia And The Art of Remembering Type Specifications and Erlang Conclusion Postscript: Maps

BeginnersGuide/NonProgrammers Python for Non-Programmers If you've never programmed before, the tutorials on this page are recommended for you; they don't assume that you have previous experience. If you have programming experience, also check out the BeginnersGuide/Programmers page. Books Each of these books can be purchased online but is also available as free textual, website, or video content. Automate the Boring Stuff with Python - Practical Programming for Total Beginners by Al Sweigart is "written for office workers, students, administrators, and anyone who uses a computer to learn how to code small, practical programs to automate tasks on their computer." You can find many free Python books online. Interactive Courses These sites give you instant feedback on programming problems that you can solve in your browser. CheckiO is a gamified website containing programming tasks that can be solved in Python 3. Resources for Younger Learners Tutorials and Websites Tutorial Aggregators / lists Apps Videos Email Academies Tools

jQuery 1.4 iPhone reference app - O! Mr Speaker! Thursday, January 14, 2010 [English got you down? Try this post in Belorussian!] Welcome to the year twenty hundred and ten! As a very early christmas present, the jQuery team have announced they'll be dropping the 1.4 release on us in the next couple of days. To help you get your head around the reams of new information, I've created a neat-o reference app for your iPhone - so now you've got no excuse not to know what jQuery.noop, .nextUntil(), or .unwrap() does! To install it, go here on your iPhone then click "+" and "Add to Home Screen" for fullscreen app-y goodness.Please note! The application uses the jQuery touch plugin to appear all native-y, and the offline abilities of HTML5 to store the data for when you feel like reading jQuery docs on the bus. I'm sure that at the moment some methods that will be missing or incomplete - because of my dodgy parsing, changing docs, and poor QA skills... fixed in the next version fo' sure ;)

Invent Your Own Computer Games with Python - Chapters Chapter 1 Read online: Chapter 1 - Installing Python Videos: Chapter 2 Read online: Chapter 2 - The Interactive Shell Chapter 3 Read online: Chapter 3 - Strings Download source: Copy source to clipboard: Use the online diff tool to find typos in your code: Chapter 4 Read online: Chapter 4 - Guess the Number Download source: Use the online diff tool to find typos in your code: Chapter 5 Read online: Chapter 5 - Jokes Download source: Use the online diff tool to find typos in your code: Chapter 6 Read online: Chapter 6 - Dragon Realm Download source: Use the online diff tool to find typos in your code: Chapter 7 Read online: Chapter 7 - Using the Debugger Chapter 8 Read online: Chapter 8 - Flow Charts Chapter 9 Read online: Chapter 9 - Hangman Download source: Use the online diff tool to find typos in your code: Chapter 10 Read online: Chapter 10 - Tic Tac Toe Download source: Chapter 11 Download source:

CouchDB: The Definitive Guide Documentation Index Notice: While JavaScript is not essential for this website, your interaction with the content will be limited. Please turn JavaScript on for the full experience. Beginner Moderate Advanced General Python 3.x Resources Porting from Python 2 to Python 3 Can’t find what you’re looking for? >>> Python Needs You Open source software is made better when users can easily contribute code and documentation to fix bugs and add features. Contribute to Python Bug Tracker

JavaScript Reference - MDC This part of the JavaScript section on MDN serves as a repository of facts about the JavaScript language. Read more about this reference. Global objects This chapter documents all the JavaScript standard built-in objects, along with their methods and properties. Value properties These global properties return a simple value. Function properties These global functions—functions which are called globally, rather than on an object—directly return their results to the caller. Fundamental objects These are the fundamental, basic objects upon which all other objects are based. Numbers and dates These are the base objects representing numbers, dates, and mathematical calculations. Text processing These objects represent strings and support manipulating them. Indexed collections These objects represent collections of data which are ordered by an index value. Keyed collections Structured data Control abstraction objects Reflection Internationalization WebAssembly Other arguments Statements Control flow Block break var

10 Best Sites to Learn How to Code Quickly Web development has become a very important topic on the web these days and the internet has become the best source for developers to learn more about code. It is a very easy way and a very popular one and the developers can find important information related to anything on the internet very easily and do not have to face any kind of difficulty to lean new development ways. Web application development has some of its own unique features. Through the medium of the internet website developers can get a lot of information about the already existing applications and can very easily get to know about all the new tools very easily. Its our pleasure to share best and useful resources for web developers and designers. 1) Codecademy Codecademy is the easiest way to learn to code. 2) PHP Academy This site provide free PHP tutorials and other web development tutorials, including tutorials for MySQL, JavaScript (including jQuery) and CSS. 3) Code School 4) Code Google 5) School of Webcraft 6) jQuery Air

The GNU C Reference Manual The GNU C Reference Manual This is the GNU C reference manual. Preface This is a reference manual for the C programming language as implemented by the GNU Compiler Collection (GCC). The 1989 ANSI C standard, commonly known as “C89” The 1999 ISO C standard, commonly known as “C99”, to the extent that C99 is implemented by GCC The current state of GNU extensions to standard C This manual describes C89 as its baseline. By default, GCC will compile code as C89 plus GNU-specific extensions. The C language includes a set of preprocessor directives, which are used for things such as macro text replacement, conditional compilation, and file inclusion. Credits Contributors who have helped with writing, editing, proofreading, ideas, typesetting, or administrative details include: Diego Andres Alvarez Marin, Nelson H. Some example programs are based on algorithms in Donald Knuth's The Art of Computer Programming. Please send bug reports and suggestions to 1 Lexical Elements tokens .

JavaScript Guide - MDC Doc Center The JavaScript Guide shows you how to use JavaScript and gives an overview of the language. If you need exhaustive information about a language feature, have a look at the JavaScript reference. This Guide is divided into the following chapters. Introduction Grammar and types Control flow and error handling Loops and iteration Functions Expressions and operators Numbers and dates Text formatting Indexed collections Keyed collections Working with objects Details of the object model Promises Iterators and generators

PEP 3143 -- Standard daemon process library Interface A new package, daemon, is added to the standard library. A class, DaemonContext, is defined to represent the settings and process context for the program running as a daemon process. DaemonContext objects A DaemonContext instance represents the behaviour settings and process context for the program when it becomes a daemon. The behaviour and environment is customised by setting options on the instance, before calling the open method. Each option can be passed as a keyword argument to the DaemonContext constructor, or subsequently altered by assigning to an attribute on the instance at any time prior to calling open. foo = daemon.DaemonContext(wibble=bar, wubble=baz) is equivalent to: foo = daemon.DaemonContext() foo.wibble = bar foo.wubble = baz The following options are defined. files_preserve List of files that should not be closed when starting the daemon. chroot_directory Full path to a directory to set as the effective root directory of the process. umask uid