Fandom

Magic Lantern Firmware Wiki

Scripting

328pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Pymite Hello World

Initial hello world program

Preliminary support for the PyMite embedded python interpreter. PyMite is a specialized version of the Python language, designed to run on very small microcontrollers. Since the Canon DryOS isn't exactly a POSIX system, porting the full Python interpreter would be very difficult. PyMite's limited requirements made it easy to run, although it has some limitations compared to the normal Python scripting language.

Sample program Edit

# Testing the pymite interpreter

print "Hello, world!"

def loop():
	collection = ["foo","bar","baz"]
	for item in collection:
		print 'item: ', item

loop()

Also on Fandom

Random Wiki