PDA

View Full Version : PyPlayer 0.1



wraggster
June 21st, 2007, 23:22
News/release from Fantasymaster & Bigboss :


hi guys! I'm here to release the first version of PyPlayer!
This homebrew is based on lua player concept, and allows users to run and try on psp their python script based on pspython by Fraca7 -not oslib-.
We have implemented a not totally working file browser (that filters only directories and .py script), and a secondary module that clears the namespace module after a script launch!
This module even delete all .pyc compiled files in the loaded script's directory (this cause slow speed in loading and deleting modules generated from the script).
Note that when you exit from a script you'll return immediately in pyPlayer main screen, and you'll be ready to launch another script without return to XMB

function:
-refresh directory
-dynamic import/clearing modules in namespace
-file browser (not totally working)
-screenshot mode (pressing triangle)
-help mode (pressing circle)
-dynamic reloading of all modules
-dynamic deleting of .pyc files
-.py loader

note:
-script intended to be loaded must'nt be called "script.py". those script will be ignored by loader (in order to prevent incompatibilities with script.py main instance of pspython by fraca7)
-the file browser is incomplete (can view only 49 items between files and dirs in cwd....other items are present but not displayed)
-in current version, some script may freeze when repeatedly loaded (this happens with triple triad psp v.0.1.1 by sakya)

TODO:
-we have to improve file browser
-we have to improve loader
-we have to add various psp common functions
-we have to enable USB connection

Download and Give Feedback Via Comments
via fantasymaster (http://forums.qj.net/showpost.php?p=1620760&postcount=1)