Skip to content

d3cod3/ofxPython

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ofxPython

(c) 2017 Carles F. Julià carles@protopixel.net

Introduction

May be you are like me and love Python and openFrameworks, or maybe you just need to embed a scripting engine and dislike Lua. Lua is nice but Python comes full of batteries.

This addon allows you to embed a Python interpreter into an openFrameworks application.

License

See license.md. Spoiler alert: it's MIT

Installation

Drop the folder into the OF/addons/ folder.

You will need Python (2.7 tested) installed in order to compile your program.

Compatibility

It is now compiling both in Linux64, Windows (Code::Blocks and Visual Studio) and OSX. Generated for OF 0.8.9

###Linux:### Make sure the python-dev package is installed:

$ apt-get install python-dev

###Windows/Visual Studio### The Visual Studio projects assume Python 2.7 is installed in C:\Python27. If you have installed python in a different location, you can set an environment variable named PYTHON with the correct path.

Known issues

  • Not fully tested

Contributing

Please do! Open issues, send pull requests etc.

About

openFrameworks addon to embed Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 70.3%
  • Makefile 23.8%
  • QML 5.5%
  • Python 0.4%