Python3 Advanced Tutorial 9 - C Extensions

preview_player
Показать описание
This is This is tutorial on how to extend Python 3 with the C Programming Language. All Links and Slides will be in the description. Subscribe for more cool stuff!

If you like what you see be sure to subscribe and thumbs up!
Рекомендации по теме
Комментарии
Автор

dude u have enough karma points for the rest of ur life for giving us these tutorials for free! thank u. SO MUCH.

emiliahane
Автор

I just found your Python tutorials/playlists yesterday.
Thanks for making these available for people like me learning some basic python skills. These videos are well made and really useful.

jd
Автор

Thanks a lot. This tutorial helped me to figure out how to build C extension in a much better way than the Python oficial tutorial itself. Great work!

helioloureiro
Автор

At 4:49 it should read "sudo apt install python3-dev" or "sudo apt-get install python3-dev" instead of "python-dev" this command install only python 2.5 version of libraries.
Hence all the development in the python3 the C modules build process fails. It used "python3 setup.py build" command.

imrank
Автор

thanks a lot. I was struggling a lot trying to make the configurations and trying to build my own extensions. Again, thanks. This video is still relevant. :)

jorgereis
Автор

Even more professional than the last video. Good Job.

blakemartin
Автор

Wow, thanks a lot for giving a clear intro to this complex topic!

alexeyrb
Автор

Thank you for the info, pretty good tutorial. Kudos.

pynchia
Автор

Very interesting. Although after watching all that I'm tempted to just use dlls and a python library that handles the ctypes stuff.

charimuvilla
Автор

How to pass python list as array and get another processed list in return?

oldschoolwreak
Автор

so basically if I have already C programs I just need to extend the source code a bit for the object handling and recompile it and I am good to go to get the advantage of machine code compiled sections for my python program to speed it up or making special systemcalls if needed?

marcello
Автор

'"myModule", # name of module.' in the code.txt file. The code should be modified to '"myModule", // name of module.'

sangmunoh
Автор

myModule.c:1:20: fatal error: Python.h: No such file or directory
#include <Python.h>
Any solution?

kroanke
Автор

Hi DraosTV, thanks for the video!

This is the subject i understood the least, i have decent knowledge of C yet i do not understand how the classes and functions are being used internally. Is there some place you recommend to investigate or read a little bit more in this subject?

mauriciopedralez
Автор

Hi DraosTV, this is great video for basic python C_Extension developers.It's very useful for my C Extension development.
i was experiment in array/numpy c extension module but not executed.how can i know the exact concept about array/numpy c extension.if you know any related link or books..please share me....(also i googling but not get any exact tutorials or sample coding about array C Extension )Thank you....

arumugamkumar
Автор

sudo: apt-get: command not found

doesn't work broken

Sexinthecity
Автор

I like that at the end you sound surprised it works. :) ...unfortunately for me no luck. It doesn't seem to recognize "myModule" in test.py. I seem to have done every thing the same... The odd thing is is works even with the squiggly underline under myModule.

ShermanSitter
Автор

watching this i have to say thanks to guy which created pybind11

DJenriqez
Автор

ImportError: dynamic module does not define module export function (PyInit_myModule) Python 3.7

chkam
Автор

Hi, I'm receiving one error:

x86_64-linux-gnu-gcc: error: unrecognized command line option ‘-fsanitize=integer’
x86_64-linux-gnu-gcc: error: unrecognized command line option ‘-fsanitize=undefined’
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Do you know what kind of problem could be?

Thank you for the video

henr