×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    40

    help please pyo speed up

    hi

    i've seen in many threads that compile py to pyc or pyo is better for speed, so i tried and it was easy for pyc :
    _install Python-2.2.2
    _copy compileall.py and py scripts to a directory
    _and click on compileall.py

    but after searching the web i still can't figure out how to make pyo files with compileall.py, i know we must add -O somewhere but all attempts failed

    thanks for any help

  2. #2
    Registered User
    Join Date
    Feb 2005
    Location
    Belgium (Europe)
    Posts
    1,352

    Re: help please pyo speed up

    Quote Originally Posted by saad1396
    hi

    but after searching the web i still can't figure out how to make pyo files with compileall.py, i know we must add -O somewhere but all attempts failed

    thanks for any help
    Try this :
    Code:
    python -O compileall
    pys60 1.4.5 and 2.0.0, pygame, PyS60 CE on E90 and 5800 !

    Find my pys60 extension modules on cyke64.googlepages.com

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    40

    Re: help please pyo speed up

    it WOOOOOOOoooooooorked

    but i had to write the entire path in windows command line :
    D:\Python22\python -O D:\Python22\Lib\compileall.py D:\Python22\pycpyo

    (where 'pycpyo' is a directory i created with the scripts to compile)

    thank you very much for helping me
    and now...

    SPEEEEEEEEEEEEED UUUUUUUUUUUUUP

Similar Threads

  1. Nokia 7610 game running speed
    By jackj2metest in forum Mobile Java General
    Replies: 0
    Last Post: 2005-09-30, 04:48
  2. 6650/1 Bluetooth speed limited to 120kbps?
    By AltoVentures in forum General Development Questions
    Replies: 0
    Last Post: 2004-08-04, 06:24
  3. Speed is Good!
    By badappleFG in forum Mobile Java General
    Replies: 4
    Last Post: 2003-12-12, 14:56
  4. Series 40 emulated speed question
    By huiben in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2002-08-21, 12:16
  5. CardPhone 2, Operator Selection, Speed
    By Butch in forum Multimodecards
    Replies: 2
    Last Post: 2002-06-09, 21:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×