moephan
November 7th, 2005, 10:38 PM
Hi all -
Please excuse me if this questions have been answered already.
I picked up Python over the weekend, and wrote an app I am finding fairly useful. It's a GUI app, and I'd like ti behave like a normal Ubuntu application. Being new to Linux and Ubuntu, now that I have a good start on the script, I have a few questions about the normal ways to do things:
1. How is a python application typically distributed? What is the Ubuntu way of sharing the app? Since the app is a set of 3 or 4 .py files, and uses about 5 or 6 images, how do I keep these altogether and create a point of entry for users? For example, if this was a .NET app I would compile all the code into an .exe assembly, including the images, that I would add to the resources for the project. Users would just click on the .exe file.
2. The app runs "iwlist" which requires priveledges to run. How to I make that little box pop up for users to enter their passwords?
3. What if I want to start a shared project? Is there a place where I would post the code, invite people to use it, submit changes, etc...?
TIA.
cheers, Rick
Please excuse me if this questions have been answered already.
I picked up Python over the weekend, and wrote an app I am finding fairly useful. It's a GUI app, and I'd like ti behave like a normal Ubuntu application. Being new to Linux and Ubuntu, now that I have a good start on the script, I have a few questions about the normal ways to do things:
1. How is a python application typically distributed? What is the Ubuntu way of sharing the app? Since the app is a set of 3 or 4 .py files, and uses about 5 or 6 images, how do I keep these altogether and create a point of entry for users? For example, if this was a .NET app I would compile all the code into an .exe assembly, including the images, that I would add to the resources for the project. Users would just click on the .exe file.
2. The app runs "iwlist" which requires priveledges to run. How to I make that little box pop up for users to enter their passwords?
3. What if I want to start a shared project? Is there a place where I would post the code, invite people to use it, submit changes, etc...?
TIA.
cheers, Rick