Mar-14-2017, 02:13 PM
Hi there,
I have been following this tutorial http://bitesofcode.blogspot.co.uk/2011/1...ation.html which is great, but the only problem is he never completed it and there issues that have now become quite a problem, the simplest of which is how do you actually run the program from outside python?
The main.py is within the package, and I have no idea how you go about starting an application like this. Obviously you can run python, then import the module and then run it, that is what I have been doing now for months, but now that I am learning threading, I can't work out what is done as the main thread always seems to be python itself, which of course does not quit when the program quits.
Can someone help me with this, or just point me somewhere where I can learn about this area of application development.
Thanks
so for the mean time, I have taken out the main.py file out of the package, so I can work, but I am still interested in good blog posts about application structuring please.
I have been following this tutorial http://bitesofcode.blogspot.co.uk/2011/1...ation.html which is great, but the only problem is he never completed it and there issues that have now become quite a problem, the simplest of which is how do you actually run the program from outside python?
The main.py is within the package, and I have no idea how you go about starting an application like this. Obviously you can run python, then import the module and then run it, that is what I have been doing now for months, but now that I am learning threading, I can't work out what is done as the main thread always seems to be python itself, which of course does not quit when the program quits.
Can someone help me with this, or just point me somewhere where I can learn about this area of application development.
Thanks
so for the mean time, I have taken out the main.py file out of the package, so I can work, but I am still interested in good blog posts about application structuring please.