I was going to try and use Mechanize for one of my programs so I just tested a bit of code I found on a website when I was searching for a tutorial on mechanize.
I know the site is 2 years old but on all of the other sites it used this same basic format at the beginning of their code:
import mechanize # Browser br = mechanize.Browser()
Whenever I run this code I get the following error:
Traceback (most recent call last):
File "C:\Users\Robert\Documents\python\mechanize.py", line 1, in <module>
File "C:\Users\Robert\Documents\python\mechanize.py", line 4, in <module>
br = mechanize.Browser()
AttributeError: 'module' object has no attribute 'Browser'
Does mechanize not work anymore?