Re: newbie tcp/ip question

2007-06-24 Thread Jacek Trzmiel
Hi, Zachary Manning wrote: > I'm having a hard time tracking down a way to open up a tcp/ip client > connection and simply sending a string to the port I've opened up. > > For instance > > I want to send some hex characters as a string literal to port 7142 and > to a specific ip address. How d

Re: database design help

2007-06-23 Thread Jacek Trzmiel
Hi, Brian Blais wrote: > I am trying to design a system for people to submit a series of documents to a > project. I want users to have the ability to submit updates to any > documents, so > that there should be a history (or sequence) for each document. [...] > project1: >document 1, docum

Re: regular expression concatenation with strings

2007-06-22 Thread Jacek Trzmiel
Hi, oscartheduck wrote: > I noticed a small error in the code (you referenced extension, which > you had renamed to filenameRx), and when I corrected it I received the > original error again. I haven't had PIL installed, so I just commented out im.* calls for test. Just change: im.save(file +

Re: regular expression concatenation with strings

2007-06-22 Thread Jacek Trzmiel
Hi, oscartheduck wrote: > I have a little script that sits in a directory of images and, when > ran, creates thumbnails of the images. It works fine if I call the > function inside the program with something like "thumbnailer("jpg), > but I want to use a regular expression instead of a plain strin

Re: simultaneous copy to multiple media

2005-03-21 Thread Jacek Trzmiel
> > This is small tool I've wrote, that does use large memory buffers with > > asynchronous I/O to copy file. Claudio Grondi wrote: > Thank you! > This (with a drawback of blocking the entire system) does it! > ( dzień dobry i dziękuję za tą konstruktywną odpowiedź > na moje pytanie ) :) > From

Re: simultaneous copy to multiple media

2005-03-20 Thread Jacek Trzmiel
Claudio Grondi wrote: > I am on a Widows 2000 box using the NTFS file system. > Both up to now suggested approaches as > - tee.exe (where I used the http://david.tribble.com/dos/tee.exe > DOS-port with redirecting stdout to NULL) and > - parallel copy (hoping caching does the job) are by far > slo

Re: simultaneous copy to multiple media

2005-03-20 Thread Jacek Trzmiel
Claudio Grondi wrote: > > I would like to save time copying the same file > (>6 GByte) to various different target storage > media connected to the system via USB. > > Is there a (Python or other) tool able to help me > to do this, so that I don't need to copy the > source file first to the fir