
C and Python Applications
Embedding Python Code in C Programs, SQL Methods, and Python Sockets
Philip Joyce(Author)
APress
Published on 21. November 2021
Book
Paperback/Softback
XV, 233 pages
978-1-4842-7773-7 (ISBN)
Description
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. What You Will LearnReview basic Python and C coding Understand the methods of embedding Python code within a C programCreate typical programs in Python and C using SDKWork with socket applications in PythonWho This Book Is ForProgrammers and computational modelers with at least some prior experience with programming in C and Python as well as programming in general.
More details
Edition
1st ed.
Language
English
Place of publication
Berkeley
United States
Target group
Professional and scholarly
Illustrations
22 s/w Abbildungen, 3 farbige Abbildungen
XV, 233 p. 25 illus., 3 illus. in color.
Dimensions
Height: 254 mm
Width: 178 mm
Thickness: 14 mm
Weight
482 gr
ISBN-13
978-1-4842-7773-7 (9781484277737)
DOI
10.1007/978-1-4842-7774-4
Schweitzer Classification
Other editions
Additional editions

Philip Joyce
C and Python Applications
Embedding Python Code in C Programs, SQL Methods, and Python Sockets
E-Book
11/2021
APress
€56.99
Available for download
Person
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).
Content
Chapter 1 :Review of C and Python.- Chapter 2: SQL in C.- Chapter 3 :SQL in Python.- Chapter 4 : Embedded Python in C.- Chapter 5: Sockets in Python.- Appendix A: C Programming Code Guide.- Appendix B: Python Programming Code Guide.