Skip to content

pkdavidson/devsummit2014

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 

Repository files navigation

Accessing C Type Libraries with Python Script Tools

Synopsis (from the Dev Summit 2014 Agenda)

This session will provide an overview of integrating external executable tools and high-performance in-process C/C++ native code from Python using the Python standard library and the Python APIs.

Agenda

This presentation will cover using Python's built-in libraries to integrate code, both as command-line utilities written in any language as well as high performance, in-process native code written in C or C++.

  • Starting point with Script Tools
  • Wrapping a command line utility as a script tool
    • Using subprocess
    • Using the script to do setup/teardown for the external tool
  • Writing C++ ArcObjects code
    • Introduction to CTypes
    • Putting what we learned from wrapping into practice on in-process code

Demos Etc.

The recorded video demos and the compiled DLL (along with all the code as it was presented) is available as a binary release on this project.

Useful Links

Extending Geoprocessing through Python Modules

Getting started with ArcObjects and comtypes

Programming Against ArcObjects in C++

About

Esri Developer Summit 2014: Accessing C Type Libraries with Python Script Tools

Resources

Stars

Watchers

Forks

Packages

No packages published