Sales Ended

Python Training Camp 18 October, Kongsberg

Event Information

Share this event

Date and Time

Location

Location

Magazinet, Kongsberg

Christian Augustsgate 1

3611 Kongsberg

Norway

View Map

Friends Who Are Going
Event description

Description

This workshop is part of NDC TechTown 2017.


Python C++ Integration with Boost.Python

Python and C++ are popular languages that complement each other well: Python is high-level and productive while C++ runs close to the metal and requires significant expertise to use correctly. Boost.Python is a C++ library that allows you to safely and intuitively combine these languages to get the best of both. This course will teach you the fundamentals of integrating Python with C++ using Boost.Python, along with patterns for making your integrations efficient and idiomatic.

Outline

  • Reviewing the essentials of the CPython runtime
  • Understanding the concepts of extending and embedding Python
  • Exploring the central roles of boost::python::object and handle
  • Constructing and calling Python objects in C++
  • Accessing Python object attributes in C++
  • Writing functions in C++ and calling them from Python
  • Creating Python classes and modules in C++
  • Exploring constructors, properties, and data members
  • Translating and handling exceptions between Python and C++
  • Constructing Python objects from C++ objects
  • Extracting C++ objects from Python objects

Course requirements
Students will need to bring their own laptops with a C++ compiler, a recent version of Boost (and esp. Boost.Python), a Python 3 installation with development headers, an editor, and a build system (e.g. make or VS).

About the instructor

Austin is a founding director of Sixty North, a software consulting, training, and application development company. A native of Texas, in 2008 Austin moved to Stavanger, Norway where he helped develop industry-leading oil reservoir modeling software in C++ and Python. Prior to that he worked at National Instruments developing LabVIEW, at Applied Research Labs (Univ. of Texas at Austin) developing sonar systems for the U.S. Navy, and at a number of telecommunications companies. He is an experienced presenter, teacher, and author, and he is an active member of the open source community. Austin is the founder of Stavanger Software Developers, one of the largest and most active social software groups in the Stavanger region. Austin holds a Master of Science in Computer Engineering from the University of Texas at Austin.

Share with friends

Date and Time

Location

Magazinet, Kongsberg

Christian Augustsgate 1

3611 Kongsberg

Norway

View Map

Save This Event

Event Saved