Re: [Tutor] Learning Regular Expressions

2016-05-30 Thread Terry--gmail
Thanks Alan I noticed that I was using some double ' to encircle some things and some single ' for apostrophes in contractionsand fixed those...but apparently since you could run it, that part didn't matter. The problem was ultimately caused by a stray ''' which was a fragment of me messin

Re: [Tutor] Learning Regular Expressions

2016-05-30 Thread dirkjso...@gmail.com
Thanks Bob, OK. The escape character \ still is active in escaping the next character or space when inside of triple quotes. So, I guess when the program is running, since I am not printing these things out, I don't care if anything in my notes is escaped unless it is a strategic single o

Re: [Tutor] Learning Regular Expressions

2016-05-30 Thread Alan Gauld via Tutor
On 30/05/16 18:21, dirkjso...@gmail.com wrote: > I moved my notes that contained any '\'s to a different python file. > However, if we run it, we get the error I was having. Here's the > script: Runs fine for me. Can you run it using the python command line interpreter rather than IDLE? Do you s

Re: [Tutor] Learning Regular Expressions

2016-05-30 Thread boB Stepp
On Mon, May 30, 2016 at 12:13 PM, dirkjso...@gmail.com wrote: > Hi bob, > > I had used the wrong email address when I wrote to python tutor on this, and > evidently it > took a while for the monitors to let it go ahead and be entered in the list, > so I apologize > for the delay in my reply. That

Re: [Tutor] Learning Regular Expressions

2016-05-30 Thread dirkjso...@gmail.com
On 05/24/2016 01:48 PM, Alan Gauld via Tutor wrote: 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

Re: [Tutor] Learning Regular Expressions

2016-05-24 Thread Alan Gauld via Tutor
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 goi

Re: [Tutor] Learning Regular Expressions

2016-05-24 Thread boB Stepp
On Mon, May 23, 2016 at 5:08 PM, Terry--gmail wrote: > Running Linux Mint > The YouTube Sentdex Video tutor I am following. > He is working in Python3.4 and I am running Python3.4.3 > > He's demonstrating some Regular Expressions which I wanted to test out. On > these test scripts, for future refe

[Tutor] Learning Regular Expressions

2016-05-24 Thread Terry--gmail
Running Linux Mint The YouTube Sentdex Video tutor I am following. He is working in Python3.4 and I am running Python3.4.3 He's demonstrating some Regular Expressions which I wanted to test out. On these test scripts, for future referrence, I have been putting my notes in Tripple Quotes and nam