Developers: Learn a New Programming Language or App Development with Deitel LiveLessons Videos!
Login  |  Register  |  Media Kit  |  Press  |  Contact Us  |   Twitter Become a Deitel Fan on Facebook  
Custom Search
Resource Center

Python Resource Center
Python Extensions In C++ Using SWIG
Article: "Python Extensions In C++ Using SWIG," by Michael Fotsch. Discusses he process of writing a Python extension module in C++, converting between C++ and Python data types, setting up an extension module project that uses SWIG,, using the SWIG interface definition files, exporting functions and classes, exporting STL containers, the Python/C API, SWIG basics, building extensions on GUI/Linux, building extensions on Windows and a case study on pymfg.
Mix and Match Web Components with Python WSGI
Article: "Mix and Match Web Components with Python WSGI," by Uche Ogbuji. Discusses how to create and reuse components in your web server using Python, the Web Server Gateway Interface (WSGI), the basic architecture of WSGI, code in the middle and XHTML.
Python & Service Component Architecture
Article: "Using Python, Ruby and Web Services with the Service Component Architecture," by Andrew Borley. Discusses the development and deployment of Python and Ruby service components, how to expose service components as web services using the Apache Tuscany C++ runtime, starting with a Python component, testing the new component, connecting up a Ruby component and exposing the composite as a web service.
All About Python and Unicode
Article: "All About Python and Unicode," by Frank McIngvale. Discusses Unicode text in Python, converting Unicode symbols to Python literals, why "print" doesn't work, codecs (from Unicode to binary and from binary to Unicode), string operators, Python as a "universal recoder," Unicode and the real world, Unicode filenames, Unicode and HTML, Unicode and XML and Unicode and network shares (Samba).
Python Insights
Website: "Python Insights" from Eli Bendersky. A collection of Python 2.5 insights including xrange vs. range, initializing a 2D list, read-only attributes, string reverse, dynamic code evaluation, turning a callable into an iterator and default values for a dictionary.
The What, Why, Who, and Where of Python
Article: "The What, Why, Who, and Where of Python," by Aaron P. Watters. Discusses why Python is a good language, a history of Python, the Python core, object classes and object orientation, ashing, dictionaries, lexical scoping, standard libraries, extensions, contributions, extending Python, required extensions, reference counting, a Python development strategy and scheme.
Why is Python More Fun Than Java?
Article: "Why is Python more fun than Java?" by Brian M. Clapper. Discusses some observations about Python, function objects, factories, closures, callbacks, array and string support, string or array slicing, dictionary syntax, dynamic typing, compiler-time checks, syntax-based introspection and the interactive shell.
Wrapping Your Brain Around Oracle + Python
Article: "Wrapping Your Brain Around Oracle + Python," by Catherine Devlin. Discusses the aspects of Python that are most important for Oracle users, working with a text file, introspection, variables and assignment, writing scripts, nesting, SQL from Python, object-relational mapping tools for Python and web publishing.
Network Programming with the Twisted Framework
Article: "Network Programming with the Twisted Framework, Part 1," by David Mertz. Discusses the pure-Python framework Twisted, a simple server, the parts of a Twisted server, an enhanced server and persistence and scheduling.
Concurrency with Python, Twisted, and Flex
Article: "Concurrency with Python, Twisted, and Flex," by Bruce Eckel. Discusses an example of parallel programming using all the CPUs on a computer or cluster and how to add a Flex user interface, dividing a problem into subprocesses, using easy_install, understanding the Twisted library, what asynchronous programming is, code organization, long calls, parallelism, the reactor pattern, the solver/worker process, the controller, adding a Flex user interface, the PyAMF interface and the Flex client.
The State of the Python-XML Art
Article: "The State of the Python-XML Art," from Discusses the world of Python-XML, Python and XML software, and XML processing software for Python (including XML parsing, XPath, XSLT and XPointer, schema languages, protocols, RDF and topic maps, DOM, and more).
Python Decorators
Article: “Python Decorators Don’t Have to be (That) Scary,” by David at Discusses what decorators are, whether decorator function need to return a function, run-time transformations, the wrapper function, getting arguments, dynamic decorators, passing options to the decorator and function signatures.
Python Elegance and Warts, Part 1
Article: “Charming Python: Python Elegance and Warts, Part 1,” by David Mertz. Discusses the features that have been added to the last several Python versions, which are truly valuable and which just add unnecessary complication; incomparable abominations, sorting heterogeneous collections, fixing comparisons, generators as not quite sequences, divergences and a class wrapper.
Python Elegance and Warts, Part 2
Article: “Charming Python: Python Elegance and Warts, Part 2,” by David Mertz. Discusses attributes and methods, descriptors, properties, restricted classes, the getattribute method, a data descriptor and the class attribute vs. the instance attribute.
Decorators Make Magic Easy
Article: “Decorators Make Magic Easy,” by David Mertz. Discusses what decorators are, high-level abstraction, the metaclass, changing a call model and decorating your decorators.
Dig Deep into Python Internals: Part 1
Article: “Dig Deep into Python Internals: Part 1,” by Gigi Sayfan. Discusses the Python object model, the Python type system, instances, classes, class factories, metaclasses, functions, methods, other callables, a Python object, class definition, object installation and initialization, attribute access, destruction, hacking Python, descriptors, properties and Python’s richness.
Dig Deep into Python Internals: Part 2
Article: “Dig Deep into Python Internals: Part 2,” by Gigi Sayfan. Discusses meta classes vs. decorators, hardening Python, functions, code objects, frames, working with stack frames and verifying access to private methods.

Discounts on subscriptions

Update :: December 18, 2017