Home > Topics > Programming > Python



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!

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.

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.

Brett Slatkin, author of Effective Python LiveLessons (Video Training), discusses concurrency and parallelism in Python.

See More Python Articles