[Tutor] PyMOTW: difflib
Dick Moores
rdm at rcblue.com
Sun Apr 6 23:36:18 CEST 2008
At 02:22 PM 4/6/2008, Alan Gauld wrote:
>"Dick Moores" <rdm at rcblue.com> wrote
>
> > I downloaded that compressed file and found difflib_data.py (see it
> > at <http://py77.python.pastebin.com/f5e2c73a5>). Copied the data
> > into
> > my demo_pymotw-difflib.py, deleted the line "from difflib_data
> > import
> > *", and ran it
>
>I'm curious. Why did you do that?
>Why not just leave the import as it was?
OK, I put it back in, changing the filename to demo_pymotw-difflib_error.py.
See <http://py77.python.pastebin.com/f5c3a37ce> for the code and the
ImportError: No module named difflib_data.
Or is there something I don't understand here?
Dick
================================
UliPad <<The Python Editor>>: http://code.google.com/p/ulipad/
More information about the Tutor
mailing list