This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
python [2013/07/10 10:25] zoza |
python [2013/07/16 14:21] zoza |
||
---|---|---|---|
Line 2: | Line 2: | ||
load in an external .py file: | load in an external .py file: | ||
+ | |||
<code python> | <code python> | ||
%load file_name.py | %load file_name.py | ||
- | <code> | + | </code> |
+ | |||
+ | and call any function defined in it. | ||
+ | |||
+ | ====== pygame ====== | ||
+ | get key from a user input as pygame.event | ||
+ | http://content.gpwiki.org/index.php/Python:Pygame_keyboard_input |