How to call C Function in Python code ?

preview_player
Показать описание
Want to learn Python Programming online ?

Access my Complete Top rated Python Course in Udemy

For my complete course on "2021 Complete Python Bootcamp from zero to hero in python".
Click this link :

For my complete course on "Python Numpy for Absolute Beginners".
Click this link :
Рекомендации по теме
Комментарии
Автор

the explanation and the example given is very clear and easy to understand!! thankyou

pranay_kumar
Автор

Hi, thank you for the video! just a question, do these commands also work for the Windows terminal?

andresyesidmorenovilla
Автор

Thank you very much for this video. It has worked very well for me!!!

Pymmusic
Автор

Seems so easy. I'm going to try it right now! Thanks for sharing :-)

birdhousegypsy
Автор

Thanks alot for this valuable video. How do we call a c function that takes a pointer as argument inside python and we want to access the value of pointer in python.
e.g.

bool generate_random_number( int *rand_number)
{
*rand_number = rand()%50
if (*rand_number){ return True}
else{ return False}
I want to use pass the python variable as a reference argument to the function generate_random_number(int *rand_number) and get the value updated in python variable.
Could you please tell me how to do this .
Thanks again for this useful video.

Regards,
Khader

khaderbashashaik
Автор

Super-ah, Python is really a very good glue language.

budmonk
Автор

How to call python in code c++ and to call c # in code python please

zeynebkhelifi