Re: [Tutor] script conversion windows -> linux error

2011-03-26 Thread Peter Otten
Rance Hall wrote: > On Fri, Mar 25, 2011 at 1:54 PM, Walter Prins wrote: >> >> On 25 March 2011 18:26, Rance Hall wrote: >>> config_version = config.get('versions','configver',0) >>> This line fails under 3.2 Linux with the error message: >>> TypeError: get() takes exactly 3 positional argumen

Re: [Tutor] script conversion windows -> linux error

2011-03-25 Thread Rance Hall
On Fri, Mar 25, 2011 at 1:54 PM, Walter Prins wrote: > > > On 25 March 2011 18:26, Rance Hall wrote: >> >> config_version =  config.get('versions','configver',0) >> >> This line fails under 3.2 Linux with the error message: >> >> TypeError:  get() takes exactly 3 positional arguments (4 given) >>

Re: [Tutor] script conversion windows -> linux error

2011-03-25 Thread Joel Goldstick
have you tried help(config.get) in the python interactive shell? -- Joel Goldstick ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] script conversion windows -> linux error

2011-03-25 Thread Walter Prins
Ugh, please excuse my tardiness and ignore the numbered items below my signature which I was intending to delete, I accidentally hit "end" before I cleaned up the post... :red faced: ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscri

Re: [Tutor] script conversion windows -> linux error

2011-03-25 Thread Walter Prins
On 25 March 2011 18:26, Rance Hall wrote: > config_version = config.get('versions','configver',0) > > This line fails under 3.2 Linux with the error message: > > TypeError: get() takes exactly 3 positional arguments (4 given) > > What could the 4th argument be? I only see three. > > This same

[Tutor] script conversion windows -> linux error

2011-03-25 Thread Rance Hall
I wrote a script on a windows box for python 3.1 after a meeting with the client for this project we agreed to port it to Linux so that I could make use of enscript and ps2pdf to email customers documents right from the script. Client uses a Centos server so I did some reading and installed pytho