C and Python Applications: Embedding Python Code in C Programs, SQL Methods, and Python Sockets, 1st Edition
- 2h 14m
- Philip Joyce
- Apress
- 2021
Solve problems by embedding Python code in a C programs, SQL methods, Python sockets. This book uses rudimentary mathematics and basic programming to create practical Python applications for embedding.
You'll start with an introduction to C and Python, assuming a fundamental understanding of what programming is. You will also review the basics of the database management language, SQL. You will learn how to use SQL from a C program and from a Python program. C and Python have different programming strengths, and you will learn how to write a Python program embedded within a C program to profit from the strength of each, in one program. Finally, you will explore how socket programs enable two computers to communicate with each other. Here the book covers basic server-client, basic threaded, and basic chat programs.
You will:
- Review basic Python and C coding
- Understand the methods of embedding Python code within a C program
- Create typical programs in Python and C using SDK
- Work with socket applications in Python
About the Author
Philip Joyce has 28 years experience as a software engineer – working on control of steel production, control of oil refineries, communications software (pre-Internet), office products (server software), and computer control of airports. Programming in Assembler, COBOL, Coral66, C, and C++. Mentor to new graduates in the company. He also has a MSc in computational physics (including augmented matrix techniques and Monte Carlo techniques using Fortran) - Salford University 1996. Chartered scientist, chartered physicist, member of the Institute of Physics (member of the higher education group).
In this Book
-
Python Programming
-
C Programming
-
SQL in C
-
SQL in Python
-
Embedded Python
-
Sockets