Run Python scripts using PyPlayer v0.1

PyPlayer was created by Fantasymaster and Bigboss - Image 1PyPlayer was created by Fantasymaster and Bigboss - Image 2

Homebrew developer Fantasymaster, together with Bigboss, dropped by QJ.net PSP Development forums and announced the release of PyPlayer v0.1. This creation is based on a Lua player concept and allows users to run Python script on their PlayStation Portable.

Take note that the two based PyPlayer on Fraca7’s PSPython, and not the similarly-named application from Oslib. Anyway, the file browser doesn’t work fully as it only filters directories and .py script. PyPlayer comes with a second module that clears the namespace module after a script launch.

Aside from what was mentioned, the said module also deletes all .pyc compiled files in the loaded script’s directory to avoid slow loading times. To help you understand further PyPlayer, here are some more of its functions and a couple of notes as provided by Fantasymaster:

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

Notes:

  • script intended to be loaded mustn’t 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)

Download: PyPlayer v0.1
Visit: QJ PSP Development forum

PyPlayer was created by Fantasymaster and Bigboss - Image 1PyPlayer was created by Fantasymaster and Bigboss - Image 2

Homebrew developer Fantasymaster, together with Bigboss, dropped by QJ.net PSP Development forums and announced the release of PyPlayer v0.1. This creation is based on a Lua player concept and allows users to run Python script on their PlayStation Portable.

Take note that the two based PyPlayer on Fraca7’s PSPython, and not the similarly-named application from Oslib. Anyway, the file browser doesn’t work fully as it only filters directories and .py script. PyPlayer comes with a second module that clears the namespace module after a script launch.

Aside from what was mentioned, the said module also deletes all .pyc compiled files in the loaded script’s directory to avoid slow loading times. To help you understand further PyPlayer, here are some more of its functions and a couple of notes as provided by Fantasymaster:

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

Notes:

  • script intended to be loaded mustn’t 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)

Download: PyPlayer v0.1
Visit: QJ PSP Development forum

Add a Comment

Your email address will not be published. Required fields are marked *