Home > Articles > Open Source > Python

Python

91 Items

Sort by Date | Title

Python Web Programming: Web Application Frameworks
May 17, 2002
Review the classic web server architecture and the roles that Python can play under such a regime, and look at some of the possible pure Python architectures for web systems.
Python's "New" Division: Python 2 Versus Python 3
Jan 21, 2010
Among the changes in the new version of Python is the way the division operator works. In this article, Python book and video author Wesley Chun explains how the math function has worked since Python was created and how it changes as the dynamic language moves towards the future.
Regular Expressions in Python
Jan 23, 2009
Mark Summerfield explains how to work with regular expressions in Python.
Regular Expressions in Python 3
Dec 22, 2009
Mark Summerfield discusses using regular expressions in Python 3, including Python's regular expression language and the regular expression module.
Regular Expressions in Python 3
Jan 13, 2009
Learn how to use regular expressions in Python 3.
Server-Side Web Programming with Jython
May 17, 2002
Learn about Servlets and JSP written with Jython—how to set up a Servlet container, the basic Servlet classes, implementing cookies, sessions and database connections, and using Jython with JSP pages.
Starting a New Django Project: Building a Startup Categorizer with Blog
Dec 29, 2015
In this chapter from Django Unleashed, Andrew Pinkham introduces the modern world of building dynamic websites. He starts by introducing web technologies and jargon before taking a look at Django. His introduction to Django focuses on what Django is and appropriate ways to use it. He then outlines the project you'll build, scoping out the content for not only Part I but also Parts II and III. This overview gives you the opportunity to use Django to generate a basic project that you'll use throughout the book.
State Management in ASP.NET 2.0
Jan 5, 2007
Fritz Onion and Keith Brown discuss cross-page posting, Profile, and the Wizard, View, and MultiView controls in ASP.NET 2.0.
The Age of the Commercial Python IDE: BlackAdder and Komodo Compared
Sep 7, 2001
Boudewijn Rempt compares two new Python IDEs, BlackAdder and Komodo, to the field of more mature Open Source contenders.
The Python Standard Library: Data Structures
Jun 9, 2011
This chapter covers two modules related to memory management in Python.
The Three Python Tenors Sing "Threads" and "State of Mind"
Jul 29, 2009
Dave Beazley, Wesley Chun, and Mark Summerfield discuss Python performance, the reasons you might (or might not) want to move to Python 3, how new Python programmers should approach the language, multicore programming, and the difficulty of keeping technical books useful.
The TurboGears Toolbox and Other Tools
Jan 5, 2007
TurboGears provides several graphical tools to help you get started more quickly, and to maximize your productivity. This sample chapter covers ModelDesigner, CatWalk, WebConsole and SystemInfo tools, Widget Browser, and the tg-admin command.
The Value of Learning Programming from a Community of Women
Sep 12, 2013
Thursday Bram recounts her own experiences as a programmer, which have shown her that there's a difference in a woman's ability to learn a technical topic when she is learning it from a group of other women, especially when she's used to being one of the only women in the room.
Translating Effective Python into Go: Know When to Use Channels for Generator-Like Functions
Jun 2, 2015
Used together, channels and goroutines in the Go programming language provide very similar behavior to Pythonโ€™s generator functions. Brett Slatkin, author of Effective Python: 59 Specific Ways to Write Better Python, shows how to translate his advice for Python generators into best practices for Go functions.
Types and Objects in Python
Mar 17, 2006
All the data stored in a Python program is built around the concept of an object. Objects include fundamental data types such as numbers, strings, lists, and dictionaries. It's also possible to create user-defined objects in the form of classes or extension types. This chapter describes the Python object model and provides an overview of the built-in data types.
Understanding Python Basics
Feb 3, 2016
In this chapter from Python Programming for Raspberry Pi, Sams Teach Yourself in 24 Hours, 2nd Edition, you will learn some Python basics, such as using the print function to display output. You will read about using variables and how to assign values to variables, and you will gain an understanding of their data types. By the end of this chapter, you will know how to get data into a script by using the input function and write your first Python script!
Understanding Python Basics for Raspberry Pi
Nov 21, 2013
Get a wonderful overview of Python basics, including output and formatting output from Python; creating legal variable names and assigning values to variables; and various data types and when they are assigned by Python. Learn how Python can handle input from the keyboard and how to convert the data types of the variables receiving that input.
Using Fuzzy Matching to Search by Sound with Python
Mar 3, 2012
When you're writing code to search a database, you can't rely on all those data entries being spelled correctly. Doug Hellmann, developer at DreamHost and author of The Python Standard Library by Example, reviews available options for searching databases by the sound of the target's name, rather than relying on the entry's accuracy.
Video Q&A with Effective Python Author Brett Slatkin
Aug 12, 2015
Brett Slatkin, author of the video "Effective Python Live Lessons," talks about what makes Python a good introductory language, what's appealing about Python, and the most common pitfalls for new Python users.
Video: Effective Python: Consider Generator Expressions for Large Comprehensions
Oct 5, 2015
In this excerpt from Effective Python LiveLessons (Video Training), Brett Slatkin discusses the problem with list comprehensions for large inputs.

<< < Prev Page 1 2 3 4 5 Next >