Home > Topics > Web Development > Python

Python

Articles

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!

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.

In this excerpt from Effective Python LiveLessons (Video Training), Brett Slatkin discusses the problem with list comprehensions for large inputs.

See More Python Articles