[Tutor] Learning Regular Expressions
Alan Gauld
alan.gauld at yahoo.co.uk
Tue May 24 15:48:39 EDT 2016
On 23/05/16 23:08, Terry--gmail wrote:
> scripted worked great without the notes! I'd like to know what it is in
> the below Tripple-Quoted section that is causing me this problem...if
> anyone recognizes. In IDLE's script file..._it's all colored green_,
> which I thought meant Python was going to ignore everything between the
> tripple-quotes!
Its all green forv me too and it runs perfectly - as in it does
absolutly nothing.
And if I add print('hello world') at the end it prionts ok too.
I even tried assigning your docsstring to a variable and printing
that and it too worked.
Linux Mint 17
Python 3.4.3
IDLE 3
So I don't think this is your entire problem. Maybe you should
show us some code that actually causes the error?
> But if I run just the below portion of the script in
> it's own file, I get the same While Scanning Tripple-Quotes error.
As above, it runs silently for me.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos
More information about the Tutor
mailing list