Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

PSP-Python

From GameBrew
PSP-Python
Pythonpsp.png
General
AuthorFraca
TypeOther
Version2008
LicenseMixed
Last Updated2008/06/29
Links
Download
Website

This is a PSP version of the Python programming language.

Installation

Binary releases:

  • EBOOT.PBP - Interpreter binary.
  • PSP.ZIP - Pure Python part of the standard library.

Create a folder in ms0:/PSP/GAME/ and place the EBOOT.PBP there (ms0:/PSP/GAME/pythonpsp/).

Extract psp.zip to the root of the Memory Stick (ms0:/python/).

Save your code as script.py and place it in the same directory as EBOOT.PBP.

If script.py is not present, the program will exit with an error message.

User guide

In addition to the regular built-ins and the PSP-specific modules, the following standard modules are included:

  • time
  • math
  • struct
  • binascii
  • _random
  • cStringIO
 
  • errno
  • thread
  • collections
  • md5
  • socket
  • select

See here for tutorial.

Changelog

2008/06/29

  • The sceSircs function has been wrapped in the pspos module.
  • A new set of classes for image manipulation has been introduced.
  • The API reference is now generated using Epydoc.
  • Various bug fixes have been applied, thanks to patches provided by "MagerValp."

External links

Advertising: