Home > Articles > Open Source > Python

Python

14 Items

Sort by Date | Title

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!
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.
Video: Effective Python: Working with Concurrency and Parallelism
Oct 12, 2015
Brett Slatkin, author of Effective Python LiveLessons (Video Training), discusses concurrency and parallelism in Python.
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.
Video: Use NONE and docstrings to specify dynamic default arguments in Python
Sep 30, 2015
In this excerpt from Effective Python LiveLessons (Video Training), Brett Slatkin talks about when you have to use a nonstatic type as a keyword argument's default value, and how to avoid problems that can occur when you do.
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: Learn More Python the Hard Way: Refining
Jun 24, 2015
Zed A. Shaw, author of Learn More Python the Hard Way LiveLessons (Workshop), discusses refining your Find Project.
Video: Learn More Python the Hard Way: Refactoring
Jun 17, 2015
In this excerpt from Learn More Python the Hard Way LiveLessons (Workshop), Zed A. Shaw discusses refactoring in Python.
Video: Learn More Python the Hard Way: Second Test Implementation
May 21, 2015
In this excerpt from Learn More Python the Hard Way LiveLessons (Workshop), Zed A. Shaw presents Lesson 3.3: Second Test Implementation.
Video: Fundamentals of Data Analytics with Python: Understanding Python's Graphics Data Exploration Tools
Dec 19, 2014
In this excerpt from Fundamentals of Data Analytics in Python LiveLessons (Video Training), learn about Python's graphics data exploration tools.
Protect C++ Legacy Programs by Using Python
Feb 11, 2014
Stephen B. Morris illustrates a simple way to execute C++ programs by using Python. This approach is lightweight and yet robust, taking advantage of Python's powerful exception-management facilities. Learn how to achieve deeper integration between C++ and Python, while addressing important design issues.
How to Store Text in Strings in Python
Oct 25, 2013
When Python wants to store text in a variable, it creates a variable called a string. Katie Cunningham shows you how to create, print and format strings and when to use strings in the real world.
Why I’m a Part of PyLadies
Oct 15, 2013
Katie Cunningham talks about PyLadies, why she got involved, and why you should consider joining, too.
Python Fundamentals (Video Training): Functions
Jun 15, 2009
This video excerpt is from lesson 9 of Python Fundamentals.