Re: [Tutor] Regex/Raw String confusion

2016-08-04 Thread Jim Byrnes
On 08/04/2016 03:27 AM, Alan Gauld via Tutor wrote: On 04/08/16 02:54, Jim Byrnes wrote: Is the second example a special case? phoneNumRegex = re.compile(r'(\(\d\d\d\)) (\d\d\d-\d\d\d\d)') I ask because it produces the same results with or without the ' r '. That's because in this specific

Re: [Tutor] SQLite Django

2016-08-04 Thread Alan Gauld via Tutor
Forwarding to list. Please use REplyAll when responding to tutor messages. On 04/08/16 09:19, Trevor H wrote: > Hi Alan, > > Thank you for the reply. I'll try show the graphic as a website. Would > I have to make the data entries as a model in Django? > I'm not a Django expert so don;t know

Re: [Tutor] Help

2016-08-04 Thread Peter Otten
CJ wrote: > Hi, > I’m coding a game for fun and i keep trying to run it but this keeps > showing up: > traceback (most recent call last): > File "/Volumes/name/box move thing(wed).py", line 13, in > player_img = PhotoImage(file="astronaut.png") > File >

Re: [Tutor] Regex/Raw String confusion

2016-08-04 Thread Alan Gauld via Tutor
On 04/08/16 02:54, Jim Byrnes wrote: > Is the second example a special case? > > phoneNumRegex = re.compile(r'(\(\d\d\d\)) (\d\d\d-\d\d\d\d)') > > I ask because it produces the same results with or without the ' r '. That's because in this specific case there are no conflicts between the regex

[Tutor] Help

2016-08-04 Thread CJ
Hi, I’m coding a game for fun and i keep trying to run it but this keeps showing up: traceback (most recent call last): File "/Volumes/name/box move thing(wed).py", line 13, in player_img = PhotoImage(file="astronaut.png") File