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

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

2016-09-05 Thread monik...@netzero.net
Hi: Im trying to learn Selenium with python. I have a html file button.html in the same directory as python file. I have the htnl file on my PC since my html file is much simpler for me to learn from than regular html files on the web. The blow code works with web html files but cannot find my b

Re: [Tutor] __init__

2016-09-05 Thread Albert-Jan Roskam
From: Tutor on behalf of Steven D'Aprano Sent: Thursday, September 1, 2016 1:24 AM To: tutor@python.org Subject: Re: [Tutor] __init__   On Wed, Aug 31, 2016 at 06:35:44PM +, Albert-Jan Roskam wrote: > > >In Python 3, old-style classes are gone. Even in Python 2, they're > >discouraged.