Re: [Tutor] variables question.

2010-11-12 Thread Jeff Honey
Steven D'Aprano, et al, Thanks everyone for the thorough explanations on variable use and scope in Python. It was enlightening...and sometimes confusing, but I'm working on that. It just points out all the new things I have yet to learn about the language. -- ¤¤ ¤ kyoboku kazeo

[Tutor] variables question.

2010-11-10 Thread Jeff Honey
I have a question about where variables are exposed in python. I have a monolothic script with a number of functions defined, can those functions share variables? can I instantiate them outside the function of where they are needed? do they need to be wrapped in quotes, ever? For example: blah

[Tutor] URL test function.

2010-10-22 Thread Jeff Honey
I am trying to create a function to plug into a restart script I'm creating. I can't seem to successfully loop through making an http connection, if it fails to retry, if it succeeds, to end and continue with its parent function. I'm using the Fabric project's module and including my functions