Hi,

I have the following structure of my project

Copyproject(main folder)
      |
      |_____src(folder)
      |          |
      |          |__Nertworkpackage
      |           |            |
      |           |            |__Storepackage
      |           |                               |
      |           |__FtpPackage         |__module1.py
      |                                           |__module2.py
      |____ tests                          |__ module3.py

Module1 takes some commandline parameters that will do some operation Like If I say
" module1.py --uploadFile <file name> " A file should get uploaded(this works)
Now I want to do
Copyproject.zip --uploadFile <filename> to upload the file

How should I do this, I tried to put __main__ parallel to src folder it says __Main__.py not found in Copyproject.zip..?


Thanks a lot

Hi,

I have the following structure of my project

Copyproject(main folder)
      |
      |_____src(folder)
      |          |
      |          |__Nertworkpackage
      |           |            |
      |           |            |__Storepackage
      |           |                               |
      |           |__FtpPackage         |__module1.py
      |                                           |__module2.py
      |____ tests                          |__ module3.py

Module1 takes some commandline parameters that will do some operation Like If I say
" module1.py --uploadFile <file name> " A file should get uploaded(this works)
Now I want to do
Copyproject.zip --uploadFile <filename> to upload the file

How should I do this, I tried to put __main__ parallel to src folder it says __Main__.py not found in Copyproject.zip..?


Thanks a lot

Can some one please help me...?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.