- art_gore_outsourcing
- Jan 1, 2003
|
- Brython: Python for the Browser
- Aug 13, 2013
- JavaScript is the undisputed leader when it comes to web applications. Being the leader doesn't mean that you have few competitors for your throne. Quite the opposite. James L. Williams, author of Learning HTML5 Game Programming: A Hands-on Guide to Building Online Games Using Canvas, SVG, and WebGL, introduces you to Brython, a browser-based implementation of Python that compiles to JavaScript and seeks to be the language of the web, allowing you to enjoy the elegance of Python leaving the nastiness of JavaScript behind.
|
- Comparing Python Object-Oriented Code with Java
- Oct 14, 2015
- Do you avoid Python OO features, preferring the procedural/functional model? That tendency is common in languages such as PHP, where many programmers opt not to use OO features. But you might be missing an important opportunity! Java requires an OO approach, giving you the advantages of that model in every line of code you write. Stephen B. Morris points out the advantages of using Python's OO features in a manner similar to Java's.
|
- Copyright Versus Free Software
- Nov 16, 2007
- David Chisnall examines the close relationship between copyright and Free Software.
|
- Core Python Applications Programming: Multithreaded Programming
- Mar 15, 2012
- Wesley J. Chun explores the different ways you can achieve more parallelism in your code, including the difference between processes and threads, some multithreaded programming features found in Python, and some examples of how to use the threading and Queue modules to accomplish multithreaded programming with Python.
|
- Creating Your First Website in Django
- Feb 22, 2008
- Learn the steps of creating a functional website called iFriends.
|
- Databases, GUIs, and Python
- Jan 24, 2003
- Now that Python has grown up, it has to hold its own in two- and three-tier database applications against corporate heavyweights such as Java and Visual Basic. Boudewijn Rempt analyzes Python's possibilities and weighs its strengths and weaknesses.
|
- Defining Functions in Python
- Jun 16, 2015
- This chapter from Introduction to Programming in Python: An Interdisciplinary Approach covers functions in Python, including using and defining functions, implementing mathematical functions, using functions to organize code, and passing arguments and returning values.
|
- Deitel Introduces Creating Processes in Python
- Jul 19, 2002
- This DEITEL™ article presents the mechanics of process creation and management in Python. Process management is a task common to programs such as shells and simple Web servers. We introduce functions os.fork and os.wait. We also introduce the concept of asynchronously executing processes and the unpredictability of their relative execution speeds.
|
- Deitel Introduces the Common Gateway Interface (CGI) with Python
- Jul 5, 2002
- This Deitel™ article introduces the Common Gateway Interface (CGI), which allows Web servers to execute programs that generate dynamic content.
|
- Deitel Presents How Keyword Import Affects Namespaces in Python Programming
- May 31, 2002
- This DEITEL™ article discusses how the various forms of the import statement affect a program's namespace. We explore all the forms of the statement and use function dir in interactive sessions to demonstrate the import statement's effects on the namespace.
|
- Deitel Presents Introduction to Python Iterators
- May 17, 2002
- Iterators are new to the Python languagethey were added in version 2.2. In this article, Deitel motivates the need for iterators and define a class that supports iterators.
|
- Deitel Presents Making a CD Player with pygame and Tkinter in Python
- Jun 7, 2002
- This article from DEITEL™ introduces pygame, a multimedia package for Python. We use pygame and Tkinter to create a working CD-Player with a graphical interface. The simplicity of the program demonstrates the power and expressiveness of Python and its many open-source packages.
|
- Deitel Presents Python Properties
- May 24, 2002
- Deitel explains how to implement properties for a class in Python.
|
- Django for the Impatient: Building a Blog
- Nov 25, 2008
- How fast can you produce a simple blog using Django? Pretty darn fast.
|
- Effective Python Item 40: Consider Coroutines to Run Many Functions Concurrently
- Mar 18, 2015
- There are numerous problems with threads in Python, but Python can work around almost all of these issues with coroutines, which let you have many seemingly simultaneous functions in your Python programs. Brett Slatkin discusses coroutines in this excerpt from Effective Python: 59 Specific Ways to Write Better Python.
|
- Effective Python Items 15 & 23: How and Why to Use Closures
- Jun 22, 2015
- Python has first-class functions, meaning you can assign them to variables, pass them as arguments to other functions, compare them in expressions, etc. Python also supports closures: functions that refer to variables from the scope in which they were defined. Put together, first-class functions and closures give you a powerful tool for implementing simple interfaces while maintaining state. In these excerpted items from Effective Python: 59 Specific Ways to Write Better Python, Brett Slatkin shows you how and why to use first-class functions and closures in your Python programs.
|
- Effective Python: 4 Best Practices for Function Arguments
- May 20, 2015
- Functions in Python have a variety of extra features that make the programmer’s life easier. Some are similar to capabilities in other programming languages, but many are unique to Python. These extras can make a function’s purpose more obvious. They can eliminate noise and clarify the intention of callers. They can significantly reduce subtle bugs that are difficult to find. In this excerpt from Effective Python: 59 Specific Ways to Write Better Python, Brett Slatkin shows you 4 best practices for function arguments in Python.
|
- Examining Python 2.3: New Additions
- Mar 14, 2003
- Boudewijn Rempt examines the most important additions to the Python 2.3 language and libraries, and shows how to use them with examples.
|
- Five Minute Python Programming Primer
- Dec 4, 2013
- This user-friendly Python tutorial will have you up and running in Python programming in no time. A perfect primer for beginners, you will program a simple game after learning about variables, programming math, logic, for loops and if statements, and more.
|