ciao a tutti~
why the emulater cannot find e drive of the pc.
or does the emulator has a specific folder in C, which is considered to be a virtual 'e:'?
I'm using a folder under e: to store the images.
ciao a tutti~
why the emulater cannot find e drive of the pc.
or does the emulator has a specific folder in C, which is considered to be a virtual 'e:'?
I'm using a folder under e: to store the images.
Hi yanhua,
You can access C: and D: at
- 2nd edition
Code:C:\Symbian\8.0a\S60_2nd_FP2\epoc32\wins- 3rd edition
Code:C:\Symbian\9.1\S60_3rd_MR\Epoc32\winscw
I'm not sure that adding a E: folder will be enough to make it work.
The thing you can do is to use e32.in_emulator() like
and then use image_path variable in your codeCode:drive = 'E:\\' path = 'images' if in_emulator(): drive = 'C:\\' image_path = os.path.join(drive, path, 'blabla')
LFD
Devices:
Nokia E61 3rd Edition - pys60 1.4.0
Tips and modules:
http://www.lfdm.net/thesis