problem with running os.path.walk()

2009-10-13 Thread MalC0de
heya there, where's the problem with the following code ? I couldn't see any result while running as a script : #!/usr/bin/python import time import os def walker2(arg,dirname,filenames): cutoff = time.time() - (arg * 24 * 60 * 60) for filename in filenames : stats

Does python have the capability for driver development ?

2009-07-29 Thread MalC0de
nd show me some snippet . thanks - Malc0de -- http://mail.python.org/mailman/listinfo/python-list

Re: Does python have the capability for driver development ?

2009-07-29 Thread MalC0de
el mode ... please introduce me some resource for system programming, I know that python is very well at system programming level. thanks - Malc0de -- http://mail.python.org/mailman/listinfo/python-list

problem on socket programming

2009-07-31 Thread MalC0de
hello there, I'm using Learning Python 3rd edition as my core reference, the book is great. here's some snippet for demonstrating echo-server program, but I can't interpret it in both windows / Gnu linux ... #!/usr/bin/env python from socket import * myHost = '' myPort = 50007 sockobj = socket(AF_

Re: problem on socket programming

2009-07-31 Thread MalC0de
problem with this code solved in win32, but I didn't test it after solved problem on gnu/linux . -- http://mail.python.org/mailman/listinfo/python-list

Re: problem on socket programming

2009-07-31 Thread MalC0de
= sys.argv[2:] sockobj = socket(AF_INET,SOCK_STREAM) sockobj.connect((serverHost,serverPort)) for line in message: sockobj.send(line) data = sockobj.recv(1024) print 'Client recieved :',repr(data) sockobj.close() thanks if someone can solve my problem . - malc0de. -- http:

Re: problem on socket programming

2009-07-31 Thread MalC0de
On Jul 31, 12:07 pm, Chris Rebert wrote: > On Fri, Jul 31, 2009 at 1:02 AM, MalC0de wrote: > > now I've been encountered to some errors with this snippet : > > And these errors are? Provide error messages and full tracebacks. > > Cheers, > Chris > --http://blo

Re: problem on socket programming

2009-07-31 Thread MalC0de
you want to say shall i disable the firewall, there's no specific firewall or IPS/IDS system out there, this is just windows xp firewall -- http://mail.python.org/mailman/listinfo/python-list

Re: problem on socket programming

2009-07-31 Thread MalC0de
no, I disabled my firewall, no problem with even enabled firewall ... no one can help !? -- http://mail.python.org/mailman/listinfo/python-list

Re: problem on socket programming

2009-07-31 Thread MalC0de
none of you can't interpret it ? do you have errors like me !? -- http://mail.python.org/mailman/listinfo/python-list

Error on Attaching to the process while debugging

2009-08-05 Thread MalC0de
Hello there, I'm writting a debugger, the problem is there no good interpretation ... here's the codes: my_debugger.py : #!/usr/bin/env python from ctypes import * from my_debugger_defines import * kernel32 = windll.kernel32 class debugger(): def __init__(self): self.h_process = No