Re: Understanding pdb result [RESOLVED]

2018-04-28 Thread Rich Shepard
On Sat, 28 Apr 2018, Rich Shepard wrote: The menu does not display, only the frame and status bar. Fixed the problem: I had neglected to attach the menu bar to the frame. Mea culpa! Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Understanding pdb result

2018-04-28 Thread Rich Shepard
On Fri, 27 Apr 2018, Steven D'Aprano wrote: What error are you referring to? Steven, The menu does not display, only the frame and status bar. Why are you using pdb in the first place? Because it is a debugger that allows me to process code line-by-line and works with Python3. If yo

Re: I need help with this python regex

2018-04-28 Thread Peter J. Holzer
On 2018-04-27 21:04:49 -0700, Ed Manning wrote: > Here is the source code. > > > import re > > > log = open("csg.txt", "r") # Opens a file call session.txt > regex = re.compile(r'policy id \d+') # search for the policy ID > regex1 = re.compile(r'log count \d+') # search for the policy ID > > f