Re: [Tutor] cannot find html file, in the same dir as python file

2016-09-06 Thread monik...@netzero.net
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

Re: [Tutor] cannot find html file, in the same dir as python file

2016-09-06 Thread Alan Gauld via Tutor
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\

Re: [Tutor] cannot find html file, in the same dir as python file

2016-09-06 Thread monik...@netzero.net
got a popup message in python: (unicode error) 'unicodesscape' codec can't decode bytes in position 2-3; truncated \Uescape - Original Message -- From: Alan Gauld via Tutor To: tutor@python.org Subject: Re: [Tutor] cannot find html file, in the same

Re: [Tutor] cannot find html file, in the same dir as python file

2016-09-05 Thread Alan Gauld via Tutor
On 05/09/16 21:59, monik...@netzero.net wrote: > chromedriver = "resources/chromedriver" > os.environ["webdriver.chrome.driver"] = chromedriver > self.driver = webdriver.Chrome(chromedriver) > base_url = 'button.html' > self.driver.get(base_url) > > FileNot