Re: [Tutor] Umm.. I need help on changing Global Variables.

2015-01-29 Thread Alan Gauld
On 29/01/15 17:16, Tallen Grey Smith wrote: def game(): global level global player_health global enemy_health global steps global civilians global charge This is fine. But it only tells this function to treat them as globals. def charge_1(): level p

[Tutor] Umm.. I need help on changing Global Variables.

2015-01-29 Thread Tallen Grey Smith
So, I’m trying to make a very simple game that involves time management properly, but I’m having an issue. level = 1 player_health = 100 enemy_health = 100 steps = 10 civilians = 20 charge = 0 name_2 = 'Bob' def game(): global level global player_health global enemy_health globa

[Tutor] Fwd: webservice question

2015-01-29 Thread Danny Yoo
Hi Phil, Let me forward your response to tutor. My apologies; I'm right in the middle of work, and can't respond promptly at the moment. Please use Reply to All in the future on Tutor so that responses can distribute across the list, rather than run into hotspots. -- Forwarded message

Re: [Tutor] webservice question

2015-01-29 Thread Danny Yoo
On Wed, Jan 28, 2015 at 9:37 PM, Phil H wrote: > Looking for a little help. I'm working on a little project and think using > python would be the best way to do it. I am a novice but have read a few > beginners books. Well to not waste everyones time i'll just get to it. I'm > looking to u

Re: [Tutor] webservice question

2015-01-29 Thread Alan Gauld
On 29/01/15 05:37, Phil H wrote: public java.lang.String getSettings (java.lang.String username, java.lang.String pass, java.lang.String key, java.lang.string tag) i'm told it sho

[Tutor] webservice question

2015-01-29 Thread Phil H
Looking for a little help. I'm working on a little project and think using python would be the best way to do it. I am a novice but have read a few beginners books. Well to not waste everyones time i'll just get to it. I'm looking to use web services to get and post data from a server with