message processing/threads

2007-02-11 Thread Jonathan Curran
I've been thinking about this for a bit and wanted some input as to the design of it. The problem is as such: I need a program running in the background to process messages (FIFO order) which I would send using soap/xmlrpc/pyro (haven't decided yet). According to my thinking I would need to mak

Re: help please!!

2007-02-11 Thread Jonathan Curran
On Sunday 11 February 2007 13:40, darren112 wrote: > Hi Im new to python and I desperately need help with this task > This is everything of what I need to do... > > The program to be written in Python obviously.. > > The program should support brute-forcing of the authentication process

Re: Pyhton script

2007-02-11 Thread Jonathan Curran
On Sunday 11 February 2007 11:47, soussou97 wrote: > Hi; > > I would like to automatically delivery, I seek a script in python which > will be excecute from a Windows station to allows via sftp: > > 1- to connect to a Linux server for storing of the files > 2- Next execute on the Linux server, some

Re: Pyhton script

2007-02-11 Thread Jonathan Curran
On Sunday 11 February 2007 11:47, soussou97 wrote: > Hi; > > I would like to automatically delivery, I seek a script in python which > will be excecute from a Windows station to allows via sftp: > > 1- to connect to a Linux server for storing of the files > 2- Next execute on the Linux server, some

Re: Will Python Run On Microsoft Vista?

2007-02-05 Thread Jonathan Curran
On Monday 05 February 2007 11:08, slogging_away wrote: > I know, I know - flame away but its not clear to me if Python will run > on a system running Microsoft Vista. Is anyone successfully running > Python on Vista? If so, is it what version of Python are you > running? I'm ordering a new syste

Re:

2007-02-05 Thread Jonathan Curran
On Monday 05 February 2007 10:07, Zahid Ahmadzai wrote: > HI THERE > > I NEED HELP WITH THE FOLLOWING EXERSISE CAN YOU PLEASE HELP IF YOU CAN. > > PLEASE SEND ME THE CODE ON E-MAIL > > MANY THANKS > > Quick, everyone, send him the solution to his homework problem! =P -- http://mail.python.org/ma

Re: It is good to blow up a marketplace full of people buying and selling food

2007-02-04 Thread Jonathan Curran
Frank, Could you please try and stick to discussing python related subjects on this mailing list? - Jonathan -- http://mail.python.org/mailman/listinfo/python-list

Re: "President Bush ... you are under arrest" - 911 truth video by Dr Morgan Reynolds, Former Chief Economist under Bush

2007-02-03 Thread Jonathan Curran
dude, please go spam elsewhere. don't post unrelated material here. -- http://mail.python.org/mailman/listinfo/python-list

Re: Can a jet fuel/hydrocarbon fire collapse a steel structure? An experiment.

2007-02-03 Thread Jonathan Curran
I've been seeing this topic for a day or two so far. Why don't we stick to discussing python on this mailing list? I'm sure there are other mailing lists specifically for discussing chemistry. =\ - Jonathan -- http://mail.python.org/mailman/listinfo/python-list

Re: Where Does One Begin?

2007-02-02 Thread Jonathan Curran
Hey n00b :) If you want to start 2d game programming w/python, I would look at the package pygame. There are some intro. tutorials at http://www.pygame.org/wiki/tutorials. These should give you a head start. Besides that, I suggest you scour the web via google to look at the source of simple 2

Re: Spring Python 0.2.0 is released

2007-02-02 Thread Jonathan Curran
Greg, You have managed to peak my interest. I'll be dabbling with this in the next few hours. This looks very promising, keep up the good work. - Jonathan -- http://mail.python.org/mailman/listinfo/python-list

Re: xml.dom.minidom memory usage

2007-02-01 Thread Jonathan Curran
Dan, Take a look at http://www.xml.com/pub/a/2003/03/12/py-xml.html. It's a starting point to output XML data via use of SAX. Bruno also mentioned Genshi. I haven't used Genshi myself, but it'd be worth it to take a look at what it has to offer. - Jonathan -- http://mail.python.org/mai

Re: xml.dom.minidom memory usage

2007-02-01 Thread Jonathan Curran
ing it out. Sorry about all that. I'd still ask you to look into SAX though :) Especially when dealing with really large XML documents, whether it be reading or writing them. - Jonathan Curran -- http://mail.python.org/mailman/listinfo/python-list

Re: xml.dom.minidom memory usage

2007-02-01 Thread Jonathan Curran
27;ve gathered from your code) it would be wise to use SAX. I highly suggest looking into this method of processing. - Jonathan Curran -- http://mail.python.org/mailman/listinfo/python-list

Re: Data structure and algorithms

2007-01-28 Thread Jonathan Curran
What are you trying to make in the first place? A singly linked list? If so google is littered with examples of linked lists done in python. A simple search for 'python linked list' brings up many results. Btw, for future reference, no need for apologetics (the second post). - Jonathan -- http

Re: spidering script

2007-01-18 Thread Jonathan Curran
On Thursday 18 January 2007 11:57, David Waizer wrote: > Hello.. > > I'm looking for a script (perl, python, sh...)or program (such as wget) > that will help me get a list of ALL the links on a website. > > For example ./magicscript.pl www.yahoo.com and outputs it to a file, it > would be kind of

Re: Traceback of hanged process

2007-01-06 Thread Jonathan Curran
Heh, I kinda messed up the code there. It should be: import sys log_file = open('errors.log', 'w') sys.stderr = log_file log_file.close() As for the Ctrl-C, you can catch that when KeyboardInterrupt exception is raised. - Jonathan -- http://mail.python.org/mailman/listinfo/python-list

Re: Traceback of hanged process

2007-01-06 Thread Jonathan Curran
On Saturday 06 January 2007 16:45, Hynek Hanke wrote: > Hello, > > please, how do I create a pythonic traceback from a python process that > hangs and is not running in an interpreter that I executed manually > or it is but doesn't react on CTRL-C etc? I'm trying to debug a server > implemented in

Re: python, zlib, and fedora 64bits

2007-01-06 Thread Jonathan Curran
On Saturday 06 January 2007 03:47, Tarek Ziadé wrote: > Hello, > > I am trying to compile Python on a Fedora 64bits, and I can't make zlib > work. > > a python setup.py build leads to : > > ... > building 'zlib' extension > gcc -pthread -shared > build/temp.linux-x86_64-2.4/usr/local/src/Python-2.4

Re: Website Capture

2006-12-24 Thread Jonathan Curran
gets/WxPython is one option, and the only other I can think of is GTK/pyGTK. I hope this helps a little, and Merry Christmas! - Jonathan Curran -- http://mail.python.org/mailman/listinfo/python-list

Re: regexp

2006-12-19 Thread Jonathan Curran
problem ? > > Yes. Use DOTALL mode. Paul, I mentioned Chapter 8 so that the HTML processing section would be taken a look at. What Vertigo wants can be done with relative ease with SGMLlib. Anyway, if you (Vertigo) want to use regular expressions to do this, you can try and use some regular expression testing programs. I'm not quite sure of the name but there is one that comes with KDE. - Jonathan Curran -- http://mail.python.org/mailman/listinfo/python-list

Re: regexp

2006-12-19 Thread Jonathan Curran
o Python.' http://diveintopython.org/toc/index.html You can modify the code there and get the results that you need. Buy the book if you can :) It has lots of neat examples. - Jonathan Curran -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there any python-twisted tutorial or texts?

2006-12-18 Thread Jonathan Curran
try-level book at best, but it does go over quite a lot of things that the Twisted library is capable of. Available at amazon.com: http://www.amazon.com/Twisted-Network-Programming-Essentials-Fettig/dp/0596100329/sr=8-1/qid=1166501681/ref=sr_1_1/102-5086830-3709707?ie=UTF8&s=books - Jonathan

Re: Windows Authetication vs seperate process

2006-12-18 Thread Jonathan Curran
the local machine was part of a domain. If not then inform the user that they need to be. 2. Check to see if the user who ran the application is part of a specific group in AD. I would assign each group a certain 'level' of privilege and accordingly let the user do what they should be a

Re: connecting webservers through HTTP port using python

2006-12-18 Thread Jonathan Curran
ve read & possibly misunderstood, it seems that you want to be able to retreive data from a web page. If so you might want to glance at http://diveintopython.org/http_web_services/ and also take a look at the SGML section that is mentioned earlier on in the book. - Jonathan Curran -- http:/

Re: Writing and reading variables to/from flat file

2006-12-14 Thread Jonathan Curran
lized properly. I'm not > sure what I'm doing wrong here--can anyone point me in the right > direction? Thanks. > > -- > Kevin Walzer > Code by Kevin > http://www.codebykevin.com I'm surprised that no one has mentioned the wonderful ConfigParser class. Documentation

Re: Strange return value from SOAP call

2006-12-14 Thread Jonathan Curran
erve/retrieve actual data structures. I don't know all the details but SOAPpy is an incomplete library from what I've read. It works for me though (for now anyway) b/c I only use simple single dimensioned arrays. Let me know if you make any progress. Jonathan Curran-- http://mail.pyth

Re: speed of python vs matlab.

2006-12-13 Thread Jonathan Curran
On Wednesday 13 December 2006 18:07, Chao wrote: > I've been trying to develop some numerical codes with python, however > got disappointed. > > A very simple test, > > a = 1.0 > > for i in range(1000): > for j in range(1000): >a = a+1 > > unfortunately, it took 4.5 seconds to fini

Re: Interacting with keyboard LEDs

2006-12-09 Thread Jonathan Curran
Chris, I googled for {xlib caps led} and the first link was to a forum post: http://forums.whirlpool.net.au/forum-replies-archive.cfm/619126.html The third post down, the guy made a program to set the LED of his scroll lock key. The C source is at http://members.optusnet.com.au/foonly/hddled.c

Re: Interacting with keyboard LEDs

2006-12-08 Thread Jonathan Curran
On Friday 08 December 2006 23:18, Chris Lasher wrote: > Is there a way to interact with keyboard LEDs (for Caps/Scroll/Num > Lock) in Python? I'd like to achieve an effect similar to the *NIX > command "setleds -L", but I'm not sure where to start, but I figured > someone out there would have an id

Re: How to create a global hotkey?

2006-12-08 Thread Jonathan Curran
On Thursday 07 December 2006 05:53, [EMAIL PROTECTED] wrote: > I want to make a Python app that runs in the background, and when a > user hits a key combination, for a function to run. This sounds simple > enough, but all of the keypress detecting libraries I can find count on > you creating a wind

Re: Anyone use GD with pyhton?

2006-12-08 Thread Jonathan Curran
On Friday 08 December 2006 16:17, jeff wrote: > could somebody explain to me how to install (or compile) GD for linux, > so that it works in pyhton? Jefff, the gd-library's website is at http://www.boutell.com/gd/ and they have a link there for download as well. It is highly likely that your linu