On 04/06/10 08:05, Neven Goršić wrote:
> OK, I will describe my "case".
>
> I use menu date stored in list "shape" in file CMFlowData.py in the same
> directory as my main program x.py. In the beginning of the program I
> have command:
>
> import CMFlowData
>
> and everything works fine till I m
OK, I will describe my "case".
I use menu date stored in list "shape" in file CMFlowData.py in the same
directory as my main program x.py. In the beginning of the program I have
command:
import CMFlowData
and everything works fine till I make executable with py2exe. There are no
error during "co
On 04/05/10 17:39, Neven Goršić wrote:
> Thank you for mentioning the possible options.
> I already use option where I import .py module,
> but I run into troubles when making executable with py2exe.
Maybe you should elaborate what problems you're experiencing with
py2exe? Probably we can solve th
Thank you for mentioning the possible options.
I already use option where I import .py module,
but I run into troubles when making executable with py2exe.
I suppose that XML approach is the most general method.
Can you recommend a good introduction text (not for experts :-))
and give more details
On 04/05/10 08:54, Alan Gauld wrote:
> Thats right you will need to parse the data to convert it into the
> format you want.
> This is one reason you might find it easier to use XML for storing the data
> and use a tool like ElementCTree to parse it.
s/ElementCTree/ElementTree/?
_
I can not loop over each list item like:
for eachMenuData in self.menuData():
because when I read external txt file:
f=open(listFile,'r')
lines=f.readlines()
f.close()
I get the list of file lines instead of list of
"Neven Gorsic" wrote
I would like to import menu data from external txt file, but not as
import
menudata.py, because then py2exe makes problems ...
I would like to preserve list structure like:
Yes that's a good idea.
(("File",
("&New\tCtrl+N", "Create new blank script", self.onN