© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
R. CieslaProgramming Basicshttps://doi.org/10.1007/978-1-4842-7286-2_6

6. And Now for Something Completely Different: Advanced Python

Robert Ciesla1  

After immersing ourselves deeper in the world of Java in the previous chapter, it’s time to do the same with Python. We’ll start off with file operations, moving on to multithreading and other more advanced topics later in this chapter. The purpose here is to give you a solid foundation on some of the deeper mechanics in Python for you to build on later according to your needs.

Python File Operations

To open files in Python, we use the sensibly named open( ) function. It uses the following ...

Get Programming Basics: Getting Started with Java, C#, and Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.