{"product_id":"extending-embedding-python-using-c-paperback","title":"Extending \u0026 Embedding Python Using C - Paperback","description":"\u003cdiv\u003e\u003cp style=\"text-align: right;\"\u003e\u003ca href=\"https:\/\/reportcopyrightinfringement.com\/\" target=\"_blank\" rel=\"nofollow\"\u003e\u003cb\u003eReport copyright infringement\u003c\/b\u003e\u003c\/a\u003e\u003c\/p\u003e\u003c\/div\u003e\u003cp\u003eby \u003cb\u003eMike James\u003c\/b\u003e (Author)\u003c\/p\u003e\u003cp\u003e\u003cb\u003eWriting a C extension for Python is good for fun and profit! \u003c\/b\u003e\u003cbr\u003eThe fun part is that adding Python to C gives you so much more power and a deeper understanding of how Python works. The internals of Python are worth knowing about because they suggest new approaches to other problems. As well as being interesting, it is also a valuable skill. \u003c\/p\u003e\u003cp\u003e\u003c\/p\u003e\u003cb\u003eExtending \u0026amp; Embedding Python Using C\u003c\/b\u003e tells you everything you need to know about the C API, which is what you use to create an extension. It is essentially the Python runtime and so exploring it tells you a lot about Python. You don't need to be an expert Python programmer to create an extension, but it helps. As you are going to be writing mostly C code, programming in C is a more important skill for this task. While you don't have to be a C expert, you do need to be reasonably competent and C aficionados will enjoy finding out about some of the clever techniques in use in the C API. \u003cp\u003e\u003c\/p\u003eExtending Python is a way of bringing any C-based application or library to a much wider audience. Converting Python functions into C functions is also a way of speeding things up. Moreover, you can provide access to hardware or system features that are usually inaccessible by creating an extension. The final chapter explains how to convert the skills you have gained in creating a Python extension to embed Python in a C program. This is a less common requirement, but it has some interesting advantages and possibilities and once you know how to create a Python extension it is easy. \u003cp\u003e\u003c\/p\u003e\u003cb\u003eMike James\u003c\/b\u003e has a BSc in Physics, an MSc in Mathematics, a PhD in Computer Science and in a long career as a programmer he has mastered many programming languages. He is the founder and chief editor of I-Programmer, the online magazine written by programmers for programmers and the author of dozens of books. His previous three books on Python, \u003ci\u003e\u003cb\u003eProgrammer's Python: Everything Is An Object\u003c\/b\u003e\u003c\/i\u003e, \u003ci\u003e\u003cb\u003eProgrammer's Python: Everything Is Data\u003c\/b\u003e\u003c\/i\u003e and \u003ci\u003e\u003cb\u003eProgrammer's Python: Async\u003c\/b\u003e\u003c\/i\u003e form a set of \"Something Completely Different\" books that look at what makes Python special and sets it apart from other programming languages. While not part of the series, this book shares the same overall philosophy.\n            \u003cdiv\u003e\n\u003cstrong\u003eNumber of Pages:\u003c\/strong\u003e 266\u003c\/div\u003e\n            \u003cdiv\u003e\n\u003cstrong\u003eDimensions:\u003c\/strong\u003e 0.56 x 10 x 7 IN\u003c\/div\u003e\n            \u003cdiv\u003e\n\u003cstrong\u003ePublication Date:\u003c\/strong\u003e September 30, 2023\u003c\/div\u003e\n            ","brand":"Books by splitShops","offers":[{"title":"Default Title","offer_id":43155770507327,"sku":"9781871962833","price":56.62,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0105\/8226\/1823\/files\/FF-H-ZJSxY9781871962833.webp?v=1776966402","url":"https:\/\/dhlswag.com\/products\/extending-embedding-python-using-c-paperback","provider":"BBB","version":"1.0","type":"link"}