Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
functions in C
#1
people can write functions for Python in C. is this different than, or the same as, using the ctypes module? if different, is it easy to made a module with a bunch of functions, in C without the caller having to do anything different in the call. what about classes and generators?

the reason to ask the above question is to understand the scale of potential use for ctypes as i read about it (started on it today after it being on my to do list for a few months).
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020