tags:

views:

25

answers:

0

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??