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

PSP-Python: Difference between revisions

From GameBrew
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 18: Line 18:
Binary releases:
Binary releases:
* EBOOT.PBP - Interpreter binary.
* EBOOT.PBP - Interpreter binary.
* psp.zip - Pure Python part of the standard library.
* 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/)
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/)
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.
Save your code as script.py and place it in the same directory as EBOOT.PBP.
Line 48: Line 48:
|}
|}


[https://web.archive.org/web/20060421180507/http://python-psp.net/trac/wiki/Tutorial See here] for tutorial.
See [https://web.archive.org/web/20060421180507/http://python-psp.net/trac/wiki/Tutorial here] for tutorial.


== Changelog ==
== Changelog ==

Latest revision as of 11:57, 14 September 2024

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: