[Tutor] regex

2005-12-26 Thread Will Harris
Does anyone see anything that jumps out at them on why these regex strings aren't catching this line: Dec 18 10:04:45 dragon logger: TCPWRAP: SERVICE=sshd@:::192.168.0.1,TYPE=ALL_DENY,HOST_ADDRESS=:::195.145.94.75,HOST_INFO=:::195.145.94.75,HOST_NAME=unknown,USER_NAME=unknown,OTHERINFO

Re: [Tutor] Printing

2005-12-26 Thread John Corry
Thanks for the prompt reply. This is exactly what I am looking for. However, I have tried the code on the page and I can't get it to work. import tempfile import win32api filename = tempfile.mktemp (".txt") open (filename, "w").write ("This is a test") win32api.ShellExecute ( 0, "print", f

Re: [Tutor] Problem with os.access function. [semantic error, if check does not work]

2005-12-26 Thread Panagiotis Atmatzidis
Hello, Thank you both for the tip's and the interesting links. I resolved my problem easily using another function, os.path.isdir(x) which was more specific. Best Regards. On 12/24/05, bob <[EMAIL PROTECTED]> wrote: > At 05:20 AM 12/24/2005, Panagiotis Atmatzidis wrote: > >Hello, > > > >I am wri