Using C from Python | Ctypes

Veröffentlicht am: 23 März 2022
auf dem Kanal: jobstr
5,466
73

We look an an article with the minimum required code to write a function in C and call it with Python using the Ctypes module.

If you want to make your code VERY FAST and on a larger project this could be very useful.
If you want to learn C anyway then it will help you with languages such as JavaScript or C++ and enhance your understanding of compiled vs interpreted languages.

https://docs.python.org/3/library/cty...

-------------------------------------------------------------------------
chapters -
-------------------------------------------------------------------------
0:00 Intro
06:00 the C code
14:27 compile the .SO shared object
24:27 test Python code
33:51 every programming tutorial
------------------------------------------------------------------------

credit : https://pgi-jcns.fz-juelich.de/portal...

Proxies
=================================================
If you need a good, easy to use proxy, I was recommended this one, and having used ScraperAPI for a while I can vouch for them. If you were going to sign up anyway, then maybe you would be kind enough to use the link and the coupon code below?

You can also do a full working trial first as well, (unlike some other companies). The trial doesn't ask for any payment details either so all good! 👍

🌏 10% off ScraperAPI : https://www.scraperapi.com?fpr=ken49
◼️ Coupon Code: DRPI10
(You can also get started with 1000 free API calls. No credit card required.)


#c #coding #python


Auf dieser Seite können Sie das Online-Video Using C from Python | Ctypes mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer jobstr 23 März 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 5,466 Mal angesehen und es wurde von 73 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!