Skip to main content
Apress

C and Python Applications

Embedding Python Code in C Programs, SQL Methods, and Python Sockets

  • Book
  • © 2022

Overview

  • The book focuses on C and Python applications
  • Covers SQL applications in C and Python programming
  • Covers Python applications Matplotlib and Pandas

This is a preview of subscription content, log in via an institution to check access.

Access this book

eBook USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

Licence this eBook for your library

Institutional subscriptions

Table of contents (6 chapters)

Keywords

About this book

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.


Authors and Affiliations

  • Crewe, UK

    Philip Joyce

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).

Bibliographic Information

  • Book Title: C and Python Applications

  • Book Subtitle: Embedding Python Code in C Programs, SQL Methods, and Python Sockets

  • Authors: Philip Joyce

  • DOI: https://doi.org/10.1007/978-1-4842-7774-4

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Apress Access Books, Professional and Applied Computing (R0)

  • Copyright Information: Philip Joyce 2022

  • Softcover ISBN: 978-1-4842-7773-7Published: 21 November 2021

  • eBook ISBN: 978-1-4842-7774-4Published: 20 November 2021

  • Edition Number: 1

  • Number of Pages: XV, 233

  • Number of Illustrations: 22 b/w illustrations, 3 illustrations in colour

  • Topics: Python, Professional Computing, Open Source

Publish with us