SlideShare ist ein Scribd-Unternehmen logo
ctypes from C import * Steven Mohr <steven.mohr@dlr.de> TechTalk, DLR Köln, 27. Januar 2009
Gliederung ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
1. Was ist ctypes? ,[object Object],[object Object],[object Object]
2. Bibliotheken ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
3. Datentypen
3.1 Einfache Datentypen ,[object Object],[object Object],Python-Typ C-Typ ctypes Datentyp float float c_float int unsigned int c_uint int short c_short 1-character string char c_char
3.2 Pointer ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
3.3 Arrays ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
3.4 Strukturierte Datentypen ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
4. Funktionen ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
4. Funktionen ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
5. Automatische Codegenerierung ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
6. Quellen ,[object Object],[object Object],[object Object]

Weitere ähnliche Inhalte

Andere mochten auch

Evaluation Question Five
Evaluation Question FiveEvaluation Question Five
Evaluation Question Five
thedayismyenxmy
 
Reactivos de respuesta breve
Reactivos de respuesta breveReactivos de respuesta breve
Reactivos de respuesta breve
Jessy Cepeda
 
Briefing Newsletter 3 Esprit Rock
Briefing Newsletter 3  Esprit RockBriefing Newsletter 3  Esprit Rock
Briefing Newsletter 3 Esprit Rockclaudia2barros
 
Historia en imatges
Historia en imatgesHistoria en imatges
Historia en imatgesannamateusib
 
Coverings 2007
Coverings 2007Coverings 2007
Coverings 2007Kevin Hale
 
Service & Warranty Coordinator
Service & Warranty CoordinatorService & Warranty Coordinator
Service & Warranty CoordinatorWim Van De Wiele
 
Sarder
 Sarder Sarder
English dialogo
English dialogoEnglish dialogo
mobile Personal Health Record - Mobile application
mobile Personal Health Record - Mobile applicationmobile Personal Health Record - Mobile application
mobile Personal Health Record - Mobile application
sejalvora8
 
Juarez,ocampo,mansilla
Juarez,ocampo,mansillaJuarez,ocampo,mansilla
Juarez,ocampo,mansilla
Luis Juarez
 
潔淨室恆溫恆濕機
潔淨室恆溫恆濕機潔淨室恆溫恆濕機
潔淨室恆溫恆濕機giogio1221
 
Problemario 2 do bimestre 2do 2015 2016
Problemario 2 do bimestre 2do 2015   2016Problemario 2 do bimestre 2do 2015   2016
Problemario 2 do bimestre 2do 2015 2016
Salmi Aguirre Uscanga
 
основы биоорг.химии.
основы биоорг.химии.основы биоорг.химии.
основы биоорг.химии.
Konstantin German
 
A mal tiempo, buena cara
A mal tiempo, buena caraA mal tiempo, buena cara
A mal tiempo, buena cara
beltrancobo
 

Andere mochten auch (20)

Evaluation Question Five
Evaluation Question FiveEvaluation Question Five
Evaluation Question Five
 
Mira hacia arriba
Mira hacia arribaMira hacia arriba
Mira hacia arriba
 
Reactivos de opción multiple
Reactivos de opción multipleReactivos de opción multiple
Reactivos de opción multiple
 
ประเทศ สโลเกีย
ประเทศ สโลเกียประเทศ สโลเกีย
ประเทศ สโลเกีย
 
Reactivos de respuesta breve
Reactivos de respuesta breveReactivos de respuesta breve
Reactivos de respuesta breve
 
Registros conductuales
Registros conductualesRegistros conductuales
Registros conductuales
 
Briefing Newsletter 3 Esprit Rock
Briefing Newsletter 3  Esprit RockBriefing Newsletter 3  Esprit Rock
Briefing Newsletter 3 Esprit Rock
 
Historia en imatges
Historia en imatgesHistoria en imatges
Historia en imatges
 
Coverings 2007
Coverings 2007Coverings 2007
Coverings 2007
 
Service & Warranty Coordinator
Service & Warranty CoordinatorService & Warranty Coordinator
Service & Warranty Coordinator
 
Sarder
 Sarder Sarder
Sarder
 
Expresionoral 160806181629
Expresionoral 160806181629Expresionoral 160806181629
Expresionoral 160806181629
 
English dialogo
English dialogoEnglish dialogo
English dialogo
 
mobile Personal Health Record - Mobile application
mobile Personal Health Record - Mobile applicationmobile Personal Health Record - Mobile application
mobile Personal Health Record - Mobile application
 
Juarez,ocampo,mansilla
Juarez,ocampo,mansillaJuarez,ocampo,mansilla
Juarez,ocampo,mansilla
 
Elements_2014_Vol2
Elements_2014_Vol2Elements_2014_Vol2
Elements_2014_Vol2
 
潔淨室恆溫恆濕機
潔淨室恆溫恆濕機潔淨室恆溫恆濕機
潔淨室恆溫恆濕機
 
Problemario 2 do bimestre 2do 2015 2016
Problemario 2 do bimestre 2do 2015   2016Problemario 2 do bimestre 2do 2015   2016
Problemario 2 do bimestre 2do 2015 2016
 
основы биоорг.химии.
основы биоорг.химии.основы биоорг.химии.
основы биоорг.химии.
 
A mal tiempo, buena cara
A mal tiempo, buena caraA mal tiempo, buena cara
A mal tiempo, buena cara
 

Ähnlich wie Ctypes

Der C++ Standard
Der C++ StandardDer C++ Standard
Der C++ Standardtutego
 
C++11 und c++14
C++11 und c++14C++11 und c++14
C++11 und c++14
Holger Jakobs
 
Python Mike Müller
Python Mike MüllerPython Mike Müller
Python Mike Müller
Aberla
 
CSS3 Selektoren und deren Eigenschaften
CSS3 Selektoren und deren EigenschaftenCSS3 Selektoren und deren Eigenschaften
CSS3 Selektoren und deren Eigenschaften
Lucas M
 
Python - Excel - Bibliotheken
Python - Excel - BibliothekenPython - Excel - Bibliotheken
Python - Excel - BibliothekenHausmaus26
 
Einführung in die funktionale Programmierung
Einführung in die funktionale ProgrammierungEinführung in die funktionale Programmierung
Einführung in die funktionale Programmierung
Digicomp Academy AG
 

Ähnlich wie Ctypes (7)

Der C++ Standard
Der C++ StandardDer C++ Standard
Der C++ Standard
 
C++11 und c++14
C++11 und c++14C++11 und c++14
C++11 und c++14
 
Python Mike Müller
Python Mike MüllerPython Mike Müller
Python Mike Müller
 
CSS3 Selektoren und deren Eigenschaften
CSS3 Selektoren und deren EigenschaftenCSS3 Selektoren und deren Eigenschaften
CSS3 Selektoren und deren Eigenschaften
 
PLUX.NET – SOFTWAREKOMPOSITION DURCH PLUG & PLAY
PLUX.NET – SOFTWAREKOMPOSITION DURCH PLUG & PLAYPLUX.NET – SOFTWAREKOMPOSITION DURCH PLUG & PLAY
PLUX.NET – SOFTWAREKOMPOSITION DURCH PLUG & PLAY
 
Python - Excel - Bibliotheken
Python - Excel - BibliothekenPython - Excel - Bibliotheken
Python - Excel - Bibliotheken
 
Einführung in die funktionale Programmierung
Einführung in die funktionale ProgrammierungEinführung in die funktionale Programmierung
Einführung in die funktionale Programmierung
 

Mehr von Andreas Schreiber

Provenance-based Security Audits and its Application to COVID-19 Contact Trac...
Provenance-based Security Audits and its Application to COVID-19 Contact Trac...Provenance-based Security Audits and its Application to COVID-19 Contact Trac...
Provenance-based Security Audits and its Application to COVID-19 Contact Trac...
Andreas Schreiber
 
Visualization of Software Architectures in Virtual Reality and Augmented Reality
Visualization of Software Architectures in Virtual Reality and Augmented RealityVisualization of Software Architectures in Virtual Reality and Augmented Reality
Visualization of Software Architectures in Virtual Reality and Augmented Reality
Andreas Schreiber
 
Provenance as a building block for an open science infrastructure
Provenance as a building block for an open science infrastructureProvenance as a building block for an open science infrastructure
Provenance as a building block for an open science infrastructure
Andreas Schreiber
 
Raising Awareness about Open Source Licensing at the German Aerospace Center
Raising Awareness about Open Source Licensing at the German Aerospace CenterRaising Awareness about Open Source Licensing at the German Aerospace Center
Raising Awareness about Open Source Licensing at the German Aerospace Center
Andreas Schreiber
 
Open Source Licensing for Rocket Scientists
Open Source Licensing for Rocket ScientistsOpen Source Licensing for Rocket Scientists
Open Source Licensing for Rocket Scientists
Andreas Schreiber
 
Interactive Visualization of Software Components with Virtual Reality Headsets
Interactive Visualization of Software Components with Virtual Reality HeadsetsInteractive Visualization of Software Components with Virtual Reality Headsets
Interactive Visualization of Software Components with Virtual Reality Headsets
Andreas Schreiber
 
Provenance for Reproducible Data Science
Provenance for Reproducible Data ScienceProvenance for Reproducible Data Science
Provenance for Reproducible Data Science
Andreas Schreiber
 
Visualizing Provenance using Comics
Visualizing Provenance using ComicsVisualizing Provenance using Comics
Visualizing Provenance using Comics
Andreas Schreiber
 
Quantified Self Comics
Quantified Self ComicsQuantified Self Comics
Quantified Self Comics
Andreas Schreiber
 
Nachvollziehbarkeit mit Hinblick auf Privacy-Verletzungen
Nachvollziehbarkeit mit Hinblick auf Privacy-VerletzungenNachvollziehbarkeit mit Hinblick auf Privacy-Verletzungen
Nachvollziehbarkeit mit Hinblick auf Privacy-Verletzungen
Andreas Schreiber
 
Reproducible Science with Python
Reproducible Science with PythonReproducible Science with Python
Reproducible Science with Python
Andreas Schreiber
 
Python at Warp Speed
Python at Warp SpeedPython at Warp Speed
Python at Warp Speed
Andreas Schreiber
 
A Provenance Model for Quantified Self Data
A Provenance Model for Quantified Self DataA Provenance Model for Quantified Self Data
A Provenance Model for Quantified Self Data
Andreas Schreiber
 
Open Source im DLR
Open Source im DLROpen Source im DLR
Open Source im DLR
Andreas Schreiber
 
Tracking after Stroke: Doctors, Dogs and All The Rest
Tracking after Stroke: Doctors, Dogs and All The RestTracking after Stroke: Doctors, Dogs and All The Rest
Tracking after Stroke: Doctors, Dogs and All The Rest
Andreas Schreiber
 
High Throughput Processing of Space Debris Data
High Throughput Processing of Space Debris DataHigh Throughput Processing of Space Debris Data
High Throughput Processing of Space Debris Data
Andreas Schreiber
 
Bericht von der QS15 Conference & Exposition
Bericht von der QS15 Conference & ExpositionBericht von der QS15 Conference & Exposition
Bericht von der QS15 Conference & Exposition
Andreas Schreiber
 
Telemedizin: Gesundheit, messbar für jedermann
Telemedizin: Gesundheit, messbar für jedermannTelemedizin: Gesundheit, messbar für jedermann
Telemedizin: Gesundheit, messbar für jedermann
Andreas Schreiber
 
Big Python
Big PythonBig Python
Big Python
Andreas Schreiber
 
Quantified Self mit Wearable Devices und Smartphone-Sensoren
Quantified Self mit Wearable Devices und Smartphone-SensorenQuantified Self mit Wearable Devices und Smartphone-Sensoren
Quantified Self mit Wearable Devices und Smartphone-Sensoren
Andreas Schreiber
 

Mehr von Andreas Schreiber (20)

Provenance-based Security Audits and its Application to COVID-19 Contact Trac...
Provenance-based Security Audits and its Application to COVID-19 Contact Trac...Provenance-based Security Audits and its Application to COVID-19 Contact Trac...
Provenance-based Security Audits and its Application to COVID-19 Contact Trac...
 
Visualization of Software Architectures in Virtual Reality and Augmented Reality
Visualization of Software Architectures in Virtual Reality and Augmented RealityVisualization of Software Architectures in Virtual Reality and Augmented Reality
Visualization of Software Architectures in Virtual Reality and Augmented Reality
 
Provenance as a building block for an open science infrastructure
Provenance as a building block for an open science infrastructureProvenance as a building block for an open science infrastructure
Provenance as a building block for an open science infrastructure
 
Raising Awareness about Open Source Licensing at the German Aerospace Center
Raising Awareness about Open Source Licensing at the German Aerospace CenterRaising Awareness about Open Source Licensing at the German Aerospace Center
Raising Awareness about Open Source Licensing at the German Aerospace Center
 
Open Source Licensing for Rocket Scientists
Open Source Licensing for Rocket ScientistsOpen Source Licensing for Rocket Scientists
Open Source Licensing for Rocket Scientists
 
Interactive Visualization of Software Components with Virtual Reality Headsets
Interactive Visualization of Software Components with Virtual Reality HeadsetsInteractive Visualization of Software Components with Virtual Reality Headsets
Interactive Visualization of Software Components with Virtual Reality Headsets
 
Provenance for Reproducible Data Science
Provenance for Reproducible Data ScienceProvenance for Reproducible Data Science
Provenance for Reproducible Data Science
 
Visualizing Provenance using Comics
Visualizing Provenance using ComicsVisualizing Provenance using Comics
Visualizing Provenance using Comics
 
Quantified Self Comics
Quantified Self ComicsQuantified Self Comics
Quantified Self Comics
 
Nachvollziehbarkeit mit Hinblick auf Privacy-Verletzungen
Nachvollziehbarkeit mit Hinblick auf Privacy-VerletzungenNachvollziehbarkeit mit Hinblick auf Privacy-Verletzungen
Nachvollziehbarkeit mit Hinblick auf Privacy-Verletzungen
 
Reproducible Science with Python
Reproducible Science with PythonReproducible Science with Python
Reproducible Science with Python
 
Python at Warp Speed
Python at Warp SpeedPython at Warp Speed
Python at Warp Speed
 
A Provenance Model for Quantified Self Data
A Provenance Model for Quantified Self DataA Provenance Model for Quantified Self Data
A Provenance Model for Quantified Self Data
 
Open Source im DLR
Open Source im DLROpen Source im DLR
Open Source im DLR
 
Tracking after Stroke: Doctors, Dogs and All The Rest
Tracking after Stroke: Doctors, Dogs and All The RestTracking after Stroke: Doctors, Dogs and All The Rest
Tracking after Stroke: Doctors, Dogs and All The Rest
 
High Throughput Processing of Space Debris Data
High Throughput Processing of Space Debris DataHigh Throughput Processing of Space Debris Data
High Throughput Processing of Space Debris Data
 
Bericht von der QS15 Conference & Exposition
Bericht von der QS15 Conference & ExpositionBericht von der QS15 Conference & Exposition
Bericht von der QS15 Conference & Exposition
 
Telemedizin: Gesundheit, messbar für jedermann
Telemedizin: Gesundheit, messbar für jedermannTelemedizin: Gesundheit, messbar für jedermann
Telemedizin: Gesundheit, messbar für jedermann
 
Big Python
Big PythonBig Python
Big Python
 
Quantified Self mit Wearable Devices und Smartphone-Sensoren
Quantified Self mit Wearable Devices und Smartphone-SensorenQuantified Self mit Wearable Devices und Smartphone-Sensoren
Quantified Self mit Wearable Devices und Smartphone-Sensoren
 

Ctypes

  • 1. ctypes from C import * Steven Mohr <steven.mohr@dlr.de> TechTalk, DLR Köln, 27. Januar 2009
  • 2.
  • 3.
  • 4.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.