Jump to content

arthurneo

Member
  • Posts

    1
  • Joined

  • Last visited

Posts posted by arthurneo

  1. I'm trying to run this script on a Mac running OS X 10.4.11 with Python 2.6.4 and I get a syntax error on line 35.

    computer:~ user$ sudo /Users/user/Desktop/sendpkm/sendpkm.py 
    Password:
     File "/Users/user/Desktop/sendpkm/sendpkm.py", line 35
       end+="\x03" if ord(pkm[64])&4 else chr((ord(pkm[64])&2)+1) #gender
                    ^
    SyntaxError: invalid syntax

    Can anyone advise?

    ===============

    i saw landon post in another page, i tried with mac and it worked

    go to terminal.

    write

    sudo python (path to sendpkm.zip) (path to pokemon)

    You can drag the files to terminal, and you it will automatically write the paths.

×
×
  • Create New...