background preloader

Python 101 cheat sheet

Python 101 cheat sheet

http://www.ibm.com/us/en/

ctypes tutorial Note: The code samples in this tutorial uses doctest to make sure that they actually work. Since some code samples behave differently under Linux, Windows, or Mac OS X, they contain doctest directives in comments. Note: Quite some code samples references the ctypes c_int type. English Idioms and Idiomatic Expressions Idioms and idiomatic expressions are used frequently in spoken and written English and so this is a useful area of the language to learn. Since idioms are phrases where the words together have a meaning that is different from the dictionary definitions of the individual words, this can make idioms hard for ESL students and learners to understand. However, learning idioms can be fun and rewarding since their meanings are often surprising. Our idiom dictionary contains clear definitions and examples of 7,234 English idioms and idiomatic expressions, categorised by topic and country of origin. Members Get More! Sign up for free and gain access to 3,303 member-only definitions of English idioms and slang expressions.

The S stands for Simple There has been a long running debate in the Application Platform Services Group here at Burton Group between the REST people on one side and the SOAP people on the other. For the most part it mirrors the external debate. In one recent exchange, while discussing the complexity of SOAP and the web services framework, the SOAP side said, “Before all of the WS-* stuff, SOAP was actually simple. That’s what the ‘S’ stood for.” And now a history lesson. The B-List: Django tips: extending the User model One of Django‘s great strengths is its built-in user and authentication system; the bundled application django.contrib.auth includes models for users, user groups and permissions and views for logging users in and out and changing and resetting their passwords. This is enough to cover the needs of a huge number of sites and, after the admin, the auth system is probably the most popular bundled application Django ships (or maybe the other way around, since the admin requires the auth system to be installed). Because of the auth system’s popularity, though, one of the most common questions people ask about Django is “how do I extend the User model?”

Distutils-SIG Charter The Distutils-SIG exists to discuss the design, implementation, and maintenance of a suite of module distribution utilities for Python. These utilities are grouped in the 'distutils' package in Python. General Terms and Conditions - Numius Thank you for your interest in Deloitte. Unfortunately, the page you have selected cannot be found. If you received this error when you clicked on a URL from another web site, please inform the web site manager that the URL is incorrect or no longer valid. If you received this error when you click on a URL from our web site, please contact us to report the problem. Please include the URL of the web page that contained the hyperlink with this incorrect URL.

The 50 Best Blogs for Future Teachers The Modern Definition Of College Readiness 3.54K Views 0 Likes The modern definition of learning, school, and college is an evolving mix of education and technology jargon. Richardson Maturity Model A model (developed by Leonard Richardson) that breaks down the principal elements of a REST approach into three steps. These introduce resources, http verbs, and hypermedia controls. Recently I've been reading drafts of Rest In Practice : a book that a couple of my colleagues have been working on. Their aim is to explain how to use Restful web services to handle many of the integration problems that enterprises face. At the heart of the book is the notion that the web is an existence proof of a massively scalable distributed system that works really well, and we can take ideas from that to build integrated systems more easily.

The B-List: Django tips: A simple AJAX example, part 1 One thing that’s come up over and over again in the Django IRC channel and on the mailing lists is the need for good examples of “how to do AJAX with Django”. Now, one of my goals in life at the moment is to try to fill in the gaps in Django’s documentation, so… Over the next couple of entries we’re going to walk through a very simple form, which will submit via AJAX to a Django view and handle the result without a page refresh. Essential Python Reading List Here’s my essential Python reading list. I’ve tried to order the items so you can pause or stop reading at any point: at every stage you’ll have learned about as much possible about Python for the effort you’ve put in. The Zen of Python The Zen of Python is so short I can include it here in its entirety. Typing import this in an interpreted session gives a pythonic spin on “Hello, world”. >>> import this The Zen of Python, by Tim Peters Beautiful is better than ugly.

Related:  network-securitysocial software devComputer ManufacturersReferencelibraryrestWWWviktorkulik