On Mon, Sep 05, 2016 at 12:24:50PM +, Albert-Jan Roskam wrote:
> => Aha, thank you, I did not know that. So for Python-3-only code,
> the idiom is "class SomeClass:", and for Python2/3 code "class
> SomeClass(object)".
I prefer to explicitly inherit from object regardless of which versi
I put
print( os.getcwd() )
into my script, and got
C:\Users\Monika\Documents\PythonWeb\class3code\class3code
So I put into my script:
base_url =
'C:\Users\Monika\Documents\PythonWeb\class3code\class3code\button.html' instead
of base_url = 'button.html'
and ran it andI got a popup message i
On 06/09/16 03:18, monik...@netzero.net wrote:
> I put
>
> print( os.getcwd() )
>
> into my script, and got
>
> C:\Users\Monika\Documents\PythonWeb\class3code\class3code
Is that the directory you expected? Is it where your html file lives?
> So I put into my script:
>
> base_url =
> 'C:\Users\
The r trick did it. Yay!
Thank you
Monika
-- Original Message --
From: Alan Gauld
To: "monik...@netzero.net"
Cc: tutor@python.org
Subject: Re: [Tutor] cannot find html file, in the same dir as python file
Date: Tue, 6 Sep 2016 08:43:03 +0100
On 06/09/16 03:18, monik...@netzero.