© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
P. JoyceC and Python Applications https://doi.org/10.1007/978-1-4842-7774-4_1

1. Python Programming

Philip Joyce1  
(1)
Crewe, UK
 

This is the first of two chapters in which you’ll review both Python and C programming languages. A basic understanding of computing and what programs are about is assumed although no prior knowledge of either Python or C is needed.

In this chapter, we will start with the basics of Python. This will include how items used in a program are stored in the computer, basic arithmetic formats, handling strings of characters, reading in data that the user can enter on the command line, etc. Then we will work up to file access on the computer, ...

Get C and Python Applications: Embedding Python Code in C Programs, SQL Methods, and Python Sockets 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.