Re: [Tutor] legacy help

2015-01-20 Thread Danny Yoo
On Tue, Jan 20, 2015 at 10:57 AM, Ron Brinton wrote: > Help. We are upgrading our Win XP to Win7 (64bit) (intel) machines. We have a > legacy Python program we need to still run. We were using ver 2.4 and we had > a shortcut to C:\fileditor\main.py.I installed ver 2.7.9 "Windows x86-64 MSI > in

Re: [Tutor] legacy help

2015-01-20 Thread Albert-Jan Roskam
- On Tue, Jan 20, 2015 7:57 PM CET Ron Brinton wrote: >Help. We are upgrading our Win XP to Win7 (64bit) (intel) machines. We have a >legacy Python program we need to still run. We were using ver 2.4 and we had a >shortcut to C:\fileditor\main.py.I installed ver 2.7.

[Tutor] legacy help

2015-01-20 Thread Ron Brinton
Help. We are upgrading our Win XP to Win7 (64bit) (intel) machines. We have a legacy Python program we need to still run. We were using ver 2.4 and we had a shortcut to C:\fileditor\main.py.I installed ver 2.7.9 "Windows x86-64 MSI installer". Is that what I wanted??? When I pick the shortcut, a

Re: [Tutor] Learning class code and function

2015-01-20 Thread Albert-Jan Roskam
- On Tue, Jan 20, 2015 4:44 PM CET Alan Gauld wrote: >On 20/01/15 12:04, jarod...@libero.it wrote: >> Dear all, I continue to try to understand some code: >> class Tutto(): I think you need a new-style class wit property. "Return a property attribute for new-style cl

Re: [Tutor] Learning class code and function

2015-01-20 Thread Alan Gauld
On 20/01/15 12:04, jarod...@libero.it wrote: Dear all, I continue to try to understand some code: class Tutto(): def __init__(self): print "Ok" #@property def readsets(self,nome): self.nome = nome self._readsets = parse_tutto_readset_file(self.nome)

[Tutor] Learning class code and function

2015-01-20 Thread jarod...@libero.it
Dear all, I continue to try to understand some code: class Tutto(): def __init__(self): print "Ok" #@property def readsets(self,nome): self.nome = nome self._readsets = parse_tutto_readset_file(self.nome) return self._readsets Why If uncomment the decora