Create a Dynamic-Link Library with DevC++ for Python

제공자:
Coursera Project Network
학습자는 이 안내 프로젝트에서 다음을 수행하게 됩니다.

Write a C Function in a Dynamic Library that computes the power function for an Array.

Use a C program to load the Dynamic Library and Test it with an Array.

Set up a Python project that Loads the C Dynamic Library using the Python ctypes package.

Clock2 hours
Intermediate중급
Cloud다운로드 필요 없음
Video분할 화면 동영상
Comment Dots영어
Laptop데스크톱 전용

By the end of this project you will implement a function using C that raises each element of an array to a given power and then call the function using the Python ctypes package. The C programming language is the basis for many other programming languages. Its performance cannot be matched in any other language. Python is known for its simplicity, allowing the programmer to focus on the application. Sometimes it is useful to take advantage of the speed of C in a Python application. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

개발할 기술

  • python ctypes
  • C Libraries
  • C Standard Library
  • Python Programming
  • c dll development

단계별 학습

작업 영역이 있는 분할 화면으로 재생되는 동영상에서 강사는 다음을 단계별로 안내합니다.

  1. Create a C Dynamic Library using Dev-C++.

  2. Write a C Function in a Dynamic Library that computes the power function for an Array.

  3. Use a C program to load the Dynamic Library and Test it with an Array.

  4. Set up a Python project that Loads the C Dynamic Library using the Python ctypes package.

  5. Create an array in the Python Application and call the C function to calculate the power.

안내형 프로젝트 진행 방식

작업 영역은 브라우저에 바로 로드되는 클라우드 데스크톱으로, 다운로드할 필요가 없습니다.

분할 화면 동영상에서 강사가 프로젝트를 단계별로 안내해 줍니다.

자주 묻는 질문

자주 묻는 질문

궁금한 점이 더 있으신가요? 학습자 도움말 센터를 방문해 보세요.