https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: 30d5b8becec8ff31ee76db5b25ddc81957653816 authored by hudson@kremvax on 18 April 2010, 17:20:33 UTC
More explicit logging of unknown events
Tip revision: 30d5b8b
test.py
# Testing the pymite interpreter dynamic loading
collection = {
	'first'		: "hello",
	'second'	: "world",
	'third'		: "from",
}

def run_test():
	y = 30
	x = 10
	#collection['fourth'] = 'pymite'
	#collection['fifth'] = 'user script!'

	#for k,v in collection.iteritems():
	for k in collection.keys():
		new_item = "X=" + `x` + ": " + collection[k]
		#main.bmp_puts( x, y, new_item )
		print new_item
		y += 32
		x += 28 * 2

#run_test()

import main;

main.bmp_fill( 3, 0, 30, 720, 300 )

run_test()
back to top