Understanding other people's code

2013-07-12 Thread L O';Shea
Hi all, I've been asked to take over a project from someone else and to extend the functionality of this. The project is written in Python which I haven't had any real experience with (although I do really like it) so I've spent the last week or two settling in, trying to get my head around Pyth

Re: Help with 'self' and 'set_usage'

2013-07-10 Thread L O';Shea
On Tuesday, 9 July 2013 18:03:41 UTC+1, L O'Shea wrote: > Hi all, > > I'm interning and have been given the job of extending a program that has > been written by someone else. I've never used Python before so it's a bit of > a struggle but I've g

Help with 'self' and 'set_usage'

2013-07-09 Thread L O';Shea
Hi all, I'm interning and have been given the job of extending a program that has been written by someone else. I've never used Python before so it's a bit of a struggle but I've got to say I'm loving the language so far. In on of the scripts there is def set_usage(self,s): self.usage_str = s