Magic Lantern Firmware Wiki


328pages on
this wiki
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


Around Wikia's network

Random Wiki