This wiki is archived and useful information is being migrated to the main bzflag.org website

Editing Python (plug-in)

Jump to: navigation, search

Warning: The database has been locked for maintenance, so you will not be able to save your edits right now. You may wish to copy and paste your text into a text file and save it for later.

The administrator who locked it offered this explanation: Archived wiki

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
#REDIRECT [[Plug-ins]]
+
The Python plugin was a standard [[Plug-ins|plug-in]] that was shipped with the [[BZFlag Source]] code. It exposes the [[BZFS API]] to the [http://en.wikipedia.org/wiki/Python_%28programming_language%29 python programing language] and includes a python interpreter for running python based plug-ins. The plug-in remains uncompleted, but somewhat functional for the small number of the API functions that it exposes.
 +
 
 +
Python was released with the [[BZFlag 2.0.4|v2.0.4]] release of BZFlag.
 +
 
 +
==Usage==
 +
When loaded the python plug-in installs a custom plug in handler for ".py" files. When any subsequent .py files loaded with the loadplugin commands are passed to the python plug-in, where it instantiates a python interpreter with python language bindings to a subset of the [[BZFS API]]. A small example plug-in is included in the source distribution "test.py".
 +
 
 +
==History==
 +
Python was a proof of concept plug-in intended to show how to use plug-ins to expose the [[BZFS API]] to non C++ languages, specifically ones that could be interpreted at run-time.
 +
 
 +
[[Category:Development]]
 +
[[Category:Plug-Ins]]
 +
[[Category:Server Security]]

Please note that all contributions to BZFlagWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BZFlagWiki:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)