Subfolders in py2exe

Posted by rajat on Stack Overflow See other posts from Stack Overflow or by rajat
Published on 2010-05-30T13:29:52Z Indexed on 2010/05/30 13:32 UTC
Read the original article Hit count: 368

Filed under:

I would like to add subfolders while creating the python script using py2exe.. The syntax I have used is -- setup(windows = [{"script":"test.py"}],data_files=

[('Folder A', [('Subfolder B' ,[os.path.join('Folder A','XYZ.py')] )] )]

)

What will be the correct syntax for creating a folder A, a subfolder B which includes file XYZ??

© Stack Overflow or respective owner

Related posts about python