![]() |
#3
|
|||
|
|||
Hi!
I am having a similar problem. I have a folder with a game folders and also another folder which is imported by every game script. The situation is described below: Main Folder |-Game1 | |-Script1.py |-Game2 | |-Script2.py |-GameX | |-Script3.py |-CommonFolder |-CommonFile.py In every Script.py I write the following code to import the CommonFile: sys.path.append("../") from CommonFolder.CommonFile import * When I publish as EXE, the files from the CommonFolder move to the temporary directory of the game and then it becomes impossible to perform the import as the files are in the same directory than the game and not in the CommonFolder as supposed. Any hint how to solve this? |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
External package problem from Vizard Package Manager | pwsnow | Vizard | 1 | 06-13-2014 09:11 AM |
Publishing Error | hotshotiguana | Vizard | 2 | 04-04-2012 05:02 PM |
Publishing and exe that uses Tkinter | kevin | Vizard | 1 | 06-09-2011 03:02 PM |
Collision recording and external data saves | just alex | Vizard | 2 | 01-29-2010 09:46 AM |
External Trigger via LabJack | ursi | Plug-in development | 10 | 01-21-2010 10:57 AM |