Python is optimized for quality, productivity, portability, and integration. Hundreds of thousands of Python developers around the world rely on Python for Internet scripting, systems programming, user interfaces, and product customization. Python is available on all major computing platforms, including commercial versions of Unix, Linux, Windows, and Mac OS. It's portable, powerful, and remarkably easy to use. It's also an interpreted language, designed for rapid application development and deployment. Python Pocket Reference, 2nd Editionis a companion volume to two O'Reilly Animal Guides,Programming Python, 2nd EditionandLearning Python. It summarizes Python statements and types, built-in functions, commonly used library modules, and other prominent Python language features. This pocket reference covers the latest Python release 2.2, and provides quick access to just what you're looking for. It is a short, concise reference for the most commonly used libraries and tools. The new edition also includes new summary material for Python's GUI, Internet, and database programming tools. The author, Mark Lutz, is a Python luminary-who has been on the Python scene since its inception.
Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on author Mark Lutz’s popular training course, this updated fifth edition will help you quickly write efficient, high-quality code with Python. It’s an ideal way to begin, whether you’re new to programming or a professional developer versed in other languages. Complete with quizzes, exercises, and helpful illustrations, this easy-to-follow, self-paced tutorial gets you started with both Python 2.7 and 3.3— the latest releases in the 3.X and 2.X lines—plus all other releases in common use today. You’ll also learn some advanced language features that recently have become more common in Python code. Explore Python’s major built-in object types such as numbers, lists, and dictionaries Create and process objects with Python statements, and learn Python’s general syntax model Use functions to avoid code redundancy and package code for reuse Organize statements, functions, and other tools into larger components with modules Dive into classes: Python’s object-oriented programming tool for structuring code Write large programs with Python’s exception-handling model and development tools Learn advanced Python tools, including decorators, descriptors, metaclasses, and Unicode processing
C is one of the oldest programming languages and still one of the most widely used. Whether you're an experienced C programmer or you're new to the language, you know how frustrating it can be to hunt through hundreds of pages in your reference books to find that bit of information on a certain function, type or other syntax element. Or even worse, you may not have your books with you. Your answer is the C Pocket Reference. Concise and easy to use, this handy pocket guide to C is a must-have quick reference for any C programmer. It's the only C reference that fits in your pocket and is an excellent companion to O'Reilly's other C books.Ideal as an introduction for beginners and a quick reference for advanced programmers, the C Pocket Reference consists of two parts: a compact description of the C language and a thematically structured reference to the standard library. The representation of the language is based on the ANSI standard and includes extensions introduced in 1999. An index is included to help you quickly find the information you need.This small book covers the following: C language fundamentals Data types Expressions and operators C statements Declarations Functions Preprocessor directives The standard library O'Reilly's Pocket References have become a favorite among programmers everywhere. By providing a wealth of important details in a concise, well-organized format, these handy books deliver just what you need to complete the task at hand. When you've reached a sticking point in your work and need to get to a solution quickly, the new C Pocket Reference is the book you'll want to have.
Updated for both Python 3.4 and 2.7, this convenient pocket guide is the perfect on-the-job quick reference. You’ll find concise, need-to-know information on Python types and statements, special method names, built-in functions and exceptions, commonly used standard library modules, and other prominent Python tools. The handy index lets you pinpoint exactly what you need. Written by Mark Lutz—widely recognized as the world’s leading Python trainer—Python Pocket Reference is an ideal companion to O’Reilly’s classic Python tutorials, Learning Python and Programming Python, also written by Mark. This fifth edition covers: Built-in object types, including numbers, lists, dictionaries, and more Statements and syntax for creating and processing objects Functions and modules for structuring and reusing code Python’s object-oriented programming tools Built-in functions, exceptions, and attributes Special operator overloading methods Widely used standard library modules and extensions Command-line options and development tools Python idioms and hints The Python SQL Database API
A guide to Python, the object-oriented scripting language, discusses the use of Python in Internet and web programming; address Python's C intergration tools; and features many examples that expand as new topics are introduced. Original. (Intermediate/Advanced)
Simple, to the point, and compact--in fact, exactly what you've come to expect in an O'Reilly Pocket Reference--the second edition of PHP Pocket Reference is thoroughly updated to include the specifics of PHP 4.Written by the founder of the PHP Project, Rasmus Lerdorf, PHP Pocket Reference is both a handy introduction to PHP syntax and structure, and a quick reference to the vast array of functions provided by PHP. The quick reference section organizes all the core functions of PHP alphabetically so you can find what you need easily; the slim size means you can keep it handy beside your keyboard for those times when you want to look up a function quickly without closing what you're doing.This valuable little book provides an authoritative overview of PHP packed into a pocket-sized guide that's easy to take anywhere. It is also the ideal companion for O'Reilly's comprehensive book on PHP, Programming PHP.The PHP Pocket Reference an indispensable (and inexpensive) tool for any serious PHP coder.
It’s simple: if you want to interact deeply with Mac OS X, Linux, and other Unix-like systems, you need to know how to work with the Bash shell. This concise little book puts all of the essential information about Bash right at your fingertips. You’ll quickly find answers to the annoying questions that generally come up when you’re writing shell scripts: What characters do you need to quote? How do you get variable substitution to do exactly what you want? How do you use arrays? Updated for Bash version 4.4, this book has the answers to these and other problems in a format that makes browsing quick and easy. Topics include: Invoking the shell Syntax Functions and variables Arithmetic expressions Command history Programmable completion Job control Shell options Command execution Coprocesses Restricted shells Built-in commands
After years of using spacer GIFs, layers of nested tables, and other improvised solutions for building your web sites, getting used to the more stringent standards-compliant design can be intimidating. HTML and XHTML Pocket Reference is the perfect little book when you need answers immediately. Jennifer Niederst-Robbins, author Web Design in a Nutshell, has revised and updated the fourth edition of this pocket guide by taking the top 20% of vital reference information from her Nutshell book, augmenting it judiciously, cross-referencing everything, and organizing it according to the most common needs of web developers. The result is a handy book that offers the bare essentials on web standards in a small, concise format that you can use carry anywhere for quick reference. HTML and XHTML Pocket Reference features easy-to-find listings of every HTML and XHTML tag, and every Cascading Style Sheet value. It's an indispensable reference for any serious web designer, author, or programmer who needs a fast on-the-job resource when working with established web standards.
Rails 2.1 brings a new level of stability and power to this acclaimed web development framework, but keeping track of its numerous moving parts is still a chore. Rails Pocket Reference offers you a painless alternative to hunting for resources online, with brief yet thorough explanations of the most frequently used methods and structures supported by Rails 2.1, along with key concepts you need to work through the framework's most tangled corners. Organized to help you quickly find what you need, this book will not only get you up to speed on how Rails works, it also provides a handy reference you can use anywhere, anytime. Inside, you'll find essential information on how to: Install Rails with RubyGems Build, compile, and process files with Rake Test Rails applications using assertions and fixtures Use Rails with Ajax Connect objects to a database using ActiveRecord Make web requests with the Action Controller framework Use REST web service APIs And much more. Save yourself hours of frustration: If you use Rails daily and just want the facts -- fast -- this is your book.