help with Python Script to create empty disk images

[ARCHIVED] About PearPC, a mostly obsolete PPC Mac emulator for Windows and Linux to run MacOS X 10.1 up to 10.4. Using QEMU is now recommended.

Moderators: Cat_7, Ronald P. Regensburg

Locked
marimol
Space Cadet
Posts: 2
Joined: Thu May 20, 2004 10:57 pm

help with Python Script to create empty disk images

Post by marimol »

Hi. I downloaded the python script from PearPC's website so I could create a disk image bigger than 6 Gigs, but when I run this script this is what I get:

Traceback (most recent call last):
File "C:\Documents and Settings\user\Desktop\createdisk.py", line 8, in -toplevel-
imagename = sys.argv[1]
IndexError: list index out of range
>>>

Anyone knows what is wrong? I don't know Python, so I can't fix it.

Thanks.
Guest

Post by Guest »

usage is

Code: Select all

createdisk.py imagename size
marimol
Space Cadet
Posts: 2
Joined: Thu May 20, 2004 10:57 pm

Post by marimol »

Thanks, It worked
Locked