|Jerub||you need to send the entire directory|
those other files weren't junk. they were required.
|nu-||the entire dist directory? its 16MB|
|Jerub||it does package a large portion of the python interpreter there.|
so no matter how small the prog, it'll always be ~15mb on windows if it doesnt have python installed?
I think it can be a little smaller, quite possibly larger.
if you're not packaging any new dependancies, and you don't modify the 'first' module, i.e. it's just import mmypackage; mypackage.main() or something,
then you only have to distribute the Library.zip file to upgrade.
i packed wx
|Jerub||That would be why it was so big.|
|drjnut||Jerub, hum now my program does a segfault at the very beginning...|
|ironfroggy||OK. I dont know if i got any reaction when i asked before, because my laptop fell asleep.|
Two functions. Is one defined in the other. How to find out?
can you do c style for loops in python?
for (i = 0; i < x; i++) ?
|Verte||Master_Medic, for i in range(0,x) or something like that|
|Master_Medic||what if i want to do something like: for (i = 0; i < x; i+=800)|
|TFKyle||Master_Medic: range(0, x, 800)|
or something like that
|Verte||take a look at range in the library reference.|
|Verte||failing all else, you could do the equivalent while loop.|
|CSWookie||Master_Medic: If you are just wanting to iterate over something, for x in thing is better.|
|Master_Medic||alright i found it|
|qebab||How comes no one mentions xrange(n)? Is it a better idea to use range(n)?|
|Master_Medic||range(start, stop, step); ftw|
|CSWookie||qebab: I believe xrange is planned to go away, eventually.|
Master_Medic: What do you need it for?
|Master_Medic||CSWookie, just keeping track of time|
|CSWookie||Master_Medic: Keeping track of time?|