Embedding Python Code in C Programs, SQL Methods, and Python Sockets
Buch, Englisch, 233 Seiten, Format (B × H): 178 mm x 254 mm, Gewicht: 482 g
ISBN: 978-1-4842-7773-7
Verlag: Apress
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 Learn - 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
Who This Book Is For
Programmers and computational modelers with at least some prior experience with programming in C and Python as well as programming in general.
Zielgruppe
Professional/practitioner
Autoren/Hrsg.
Fachgebiete
Weitere Infos & Material
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.