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 :

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 =

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 =

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
(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://mail.python.org/mailman/listinfo/python-list

Re: problem on socket programming

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

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

Does python have the capability for driver development ?

2009-07-29 Thread MalC0de
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
for system programming, I know that python is very well at system programming level. thanks - Malc0de -- http://mail.python.org/mailman/listinfo/python-list