Re: function that accepts any amount of arguments?

2008-04-26 Thread Lie
On Apr 25, 2:12 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On 24 avr, 14:28, malkarouri <[EMAIL PROTECTED]> wrote: > > > On Apr 24, 12:43 pm, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote: > > > [...] > > > > Not quite sure what's the best thing to do in the second case - raise a > > > Va

problem with listdir

2008-04-26 Thread jimgardener
hi i have a directory containing .pgm files of P5 type.i wanted to read the pixel values of these files ,so as a firststep i wrote code to make a list of filenames using listdir pgmdir="f:\code\python\pgmgallery" # where i have pgm files g2=listdir(pgmdir) i get the following error WindowsError

Re: problem with listdir

2008-04-26 Thread David
> > i get the following error > WindowsError: [Error 123] The filename, directory name, or volume > label syntax is incorrect: 'f:\\code\\python\pgmgallery/*.*' > > i am running python on winXP ..can anyone tell me why i get this > error? > -- >From some Googling, it looks like this error ca

Re: Desktop notifications on Windows

2008-04-26 Thread David
On Sat, Apr 26, 2008 at 4:41 AM, <[EMAIL PROTECTED]> wrote: > I'm looking for a way to implement desktop notifications (much like an > instant messaging program or a mail notifier) within my Python > application, on Windows only (no Gtk/Galago, please). I need no more > than a simple text-based

Re: problem with listdir

2008-04-26 Thread Francesco Bochicchio
On Sat, 26 Apr 2008 01:24:23 -0700, jimgardener wrote: > hi > i have a directory containing .pgm files of P5 type.i wanted to read > the pixel values of these files ,so as a firststep i wrote code to > make a list of filenames using listdir > > pgmdir="f:\code\python\pgmgallery" # where i have

Re: display monochromatic images wxPython

2008-04-26 Thread Francesco Bochicchio
On Fri, 25 Apr 2008 14:42:17 -0700, [EMAIL PROTECTED] wrote: > Dear All, > I want to write a GUI program with wxPython displaying an image. But > the image I have is monochromatic. When I retrieve the data from the > image I end up with a list of integer. Starting from a list of integer > and know

Re: problem with listdir

2008-04-26 Thread Kam-Hung Soh
On Sat, 26 Apr 2008 19:07:45 +1000, Francesco Bochicchio <[EMAIL PROTECTED]> wrote: On Sat, 26 Apr 2008 01:24:23 -0700, jimgardener wrote: hi i have a directory containing .pgm files of P5 type.i wanted to read the pixel values of these files ,so as a firststep i wrote code to make a list

Re: nntplib retrieve news://FULL_URL

2008-04-26 Thread David
> So I have established a connection to an nntp server and I am > retrieving articles to other articles on the server such as > news://newsclip.ap.org/[EMAIL PROTECTED] > > Now I am wondering how I query for that article based off of the url? > > I assume D8L4MFAG0 is an id of some sort but whe

Re: display monochromatic images wxPython

2008-04-26 Thread Bjoern Schliessmann
[EMAIL PROTECTED] wrote: > I want to write a GUI program with wxPython displaying an image. Then be sure to check out the wxPython demo application. It displays lots of images. Regards, Björn -- BOFH excuse #217: The MGs ran out of gas. -- http://mail.python.org/mailman/listinfo/python-lis

ioctl.py

2008-04-26 Thread Neal Becker
Gabriel Genellina wrote: > En Fri, 25 Apr 2008 09:30:56 -0300, Neal Becker <[EMAIL PROTECTED]> > escribió: > >> I need an ioctl call equivalent to this C code: >> >> my_struct s; >> s.p = p; << a pointer to an array of char >> s.image_size = image_size; >> return (ioctl(fd, xxx, &

Re: Pyserial - send and receive characters through linux serial port

2008-04-26 Thread Bjoern Schliessmann
terry wrote: > I am trying to send a character to '/dev/ttyS0' and expect the > same character and upon receipt I want to send another character. > I tired with Pyserial but in vain. Pyserial works very well for me (despite the device I connect to has quite a screwed protocol and implementation).

gothic 3 patch

2008-04-26 Thread leoniaumybragg
gothic 3 patch http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

dark crusade patch

2008-04-26 Thread leoniaumybragg
dark crusade patch http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

cotton patch cafe

2008-04-26 Thread leoniaumybragg
cotton patch cafe http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

sims 2 patch

2008-04-26 Thread leoniaumybragg
sims 2 patch http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

clonedvd crack

2008-04-26 Thread leoniaumybragg
clonedvd crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

investronica crack

2008-04-26 Thread leoniaumybragg
investronica crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

crack addict behavior

2008-04-26 Thread leoniaumybragg
crack addict behavior http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

windows xp sp2 activation crack

2008-04-26 Thread leoniaumybragg
windows xp sp2 activation crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

exelon patch

2008-04-26 Thread leoniaumybragg
exelon patch http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

spynomore crack

2008-04-26 Thread leoniaumybragg
spynomore crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

civilization 3 crack

2008-04-26 Thread leoniaumybragg
civilization 3 crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

shredder 2 3 serial crack

2008-04-26 Thread leoniaumybragg
shredder 2 3 serial crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

neupro patch

2008-04-26 Thread leoniaumybragg
neupro patch http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

limewire crack

2008-04-26 Thread leoniaumybragg
limewire crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

b-jigsaw serial crack keygen

2008-04-26 Thread leoniaumybragg
b-jigsaw serial crack keygen http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

Riva FLV Encoder 2.0 - FLV Converter

2008-04-26 Thread king . aftab
This robust video converter ably packs a number of file formats into the Flash video format and is stylish to boot. Riva FLV Encoder works well with the usual suspects: AVI, WMV, MPEG, and MOV files. Riva is a great freeware application for a reliable (and inexpensive) way to convert video files to

Re: nntplib retrieve news://FULL_URL

2008-04-26 Thread Nemesis
[EMAIL PROTECTED] wrote: > So I have established a connection to an nntp server and I am > retrieving articles to other articles on the server such as > news://newsclip.ap.org/[EMAIL PROTECTED] > > Now I am wondering how I query for that article based off of the url? > > I assume D8L4MFAG0 is an i

API's and hardware communication. Newbie

2008-04-26 Thread Grayham
Hi all I am new to this group so 'Hello All' I have a PC which is running linux and in it have installed a digital satellite card. I would like to write some software to access the card, tune it and bring back video. Basically a home brew DVB-s application. Being a non/new programmer (apart from

Re: Logging ancestors ignored if config changes?

2008-04-26 Thread andrew cooke
One way to handle this is to make creation of module-level Loggers lazy, and make sure that logging initialisation occurs before any other logging is actually used (which is not so hard - just init log at the start of the application). Of course, there's a performance hit... For example: class L

Re: Receive data from socket stream

2008-04-26 Thread Irmen de Jong
[EMAIL PROTECTED] wrote: Until now, I've been doing this little trick: data = client.recv(256) new = data while len(new) == 256: new = client.recv(256) data += new Are you aware that recv() will not always return the amount of bytes asked for? (send() is similar; it doesn't guarantee t

Re: Loading associated files

2008-04-26 Thread flarefight
I can't get this to work (I am on XP SP2 by the way and using Python 2.5), I wrote a very simple script to test the idea: import sys for arg in sys.argv: print arg raw_input("Done") #Merely to slow the program down so i can see output and then setup a file extension .xyz, placed it in the

password crack

2008-04-26 Thread carlwuhwdmckay
password crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

fentanyl patch

2008-04-26 Thread carlwuhwdmckay
fentanyl patch http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

windows xp crack

2008-04-26 Thread carlwuhwdmckay
windows xp crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

diet patch

2008-04-26 Thread carlwuhwdmckay
diet patch http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

cod4 multiplayer crack

2008-04-26 Thread carlwuhwdmckay
cod4 multiplayer crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

cabbage patch dolls

2008-04-26 Thread carlwuhwdmckay
cabbage patch dolls http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

call of duty 4 crack multiplayer

2008-04-26 Thread carlwuhwdmckay
call of duty 4 crack multiplayer http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

serials and cracks

2008-04-26 Thread carlwuhwdmckay
serials and cracks http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

keygen fifa 08

2008-04-26 Thread carlwuhwdmckay
keygen fifa 08 http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

garmin keygen

2008-04-26 Thread carlwuhwdmckay
garmin keygen http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

perfect patch

2008-04-26 Thread carlwuhwdmckay
perfect patch http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

num-lock serial crack keygen

2008-04-26 Thread carlwuhwdmckay
num-lock serial crack keygen http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

cracks full downloads

2008-04-26 Thread marli305nugent
cracks full downloads http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

area council patch news

2008-04-26 Thread marli305nugent
area council patch news http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

windows xp crack serial

2008-04-26 Thread marli305nugent
windows xp crack serial http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

serial numbers crack

2008-04-26 Thread carlwuhwdmckay
serial numbers crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

norton internet security 2006 crack

2008-04-26 Thread marli305nugent
norton internet security 2006 crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

chessgenius 1.6 crack

2008-04-26 Thread marli305nugent
chessgenius 1.6 crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

crack cocaine pictures

2008-04-26 Thread marli305nugent
crack cocaine pictures http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

xp password crack

2008-04-26 Thread marli305nugent
xp password crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

red alert 2 cd crack

2008-04-26 Thread marli305nugent
red alert 2 cd crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

Re: Logging ancestors ignored if config changes?

2008-04-26 Thread Vinay Sajip
On 26 Apr, 04:02, andrew cooke <[EMAIL PROTECTED]> wrote: > Hi, > > I am seeing some odd behaviour withloggingwhich would be explained > if loggers that are not defined explicitly (but which are controlled > via their ancestors) must be created after theloggingsystem is > configured via fileConfig(

Python(2.5) reads an input file FASTER than pure C(Mingw)

2008-04-26 Thread n00m
Both codes below read the same huge(~35MB) text file. In the file > 100 lines, the length of each line < 99 chars. Stable result: Python runs ~0.65s C : ~0.70s Any thoughts? import time t=time.time() f=open('D:\\some.txt','r') z=f.readlines() f.close() print len(z) print time.time()-t m=inp

Re: Setting an attribute without calling __setattr__()

2008-04-26 Thread animalMutha
Hrvoje Niksic wrote: > Hrvoje Niksic <[EMAIL PROTECTED]> writes: > > > Joshua Kugler <[EMAIL PROTECTED]> writes: > > > >> self.me = [] > >> self.me = {} > > > > Use "object.__setattr__(self, 'me') = []" and likewise for {}. > > Oops, that should of course be "object.__seta

Re: Pyserial - send and receive characters through linux serial port

2008-04-26 Thread Grant Edwards
On 2008-04-25, terry <[EMAIL PROTECTED]> wrote: > I am trying to send a character to '/dev/ttyS0' and expect the > same character and upon receipt I want to send another > character. I tired with Pyserial but in vain. Pyserial works. I've been using it almost daily for many years. Either your p

Re: Setting an attribute without calling __setattr__()

2008-04-26 Thread animalMutha
> Consider reading the *second* paragraph about __setattr__ in section > 3.4.2 of the Python Reference Manual. if you are simply going to answer rtfm - might as well kept it to yourself. -- http://mail.python.org/mailman/listinfo/python-list

Spy Emergency 2007 crack

2008-04-26 Thread fr5478bey
Spy Emergency 2007 crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

registry mechanic 7.0 crack

2008-04-26 Thread fr5478bey
registry mechanic 7.0 crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

Treasures Of Montezuma crack

2008-04-26 Thread fr5478bey
Treasures Of Montezuma crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

RegistryBooster2 crack

2008-04-26 Thread fr5478bey
RegistryBooster2 crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

tiberium wars crack

2008-04-26 Thread fr5478bey
tiberium wars crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

Capture NX 1.2 crack

2008-04-26 Thread fr5478bey
Capture NX 1.2 crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

inventor12 crack

2008-04-26 Thread fr5478bey
inventor12 crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

doom 3 crack

2008-04-26 Thread fr5478bey
doom 3 crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

nod crack

2008-04-26 Thread fr5478bey
nod crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

photoshop cs crack

2008-04-26 Thread fr5478bey
photoshop cs crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

vegas crack

2008-04-26 Thread fr5478bey
vegas crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

navigon 6 crack

2008-04-26 Thread fr5478bey
navigon 6 crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

avg internet security crack

2008-04-26 Thread fr5478bey
avg internet security crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

bookworm adventure crack

2008-04-26 Thread fr5478bey
bookworm adventure crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

big city adventure crack

2008-04-26 Thread fr5478bey
big city adventure crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

Re: Python(2.5) reads an input file FASTER than pure C(Mingw)

2008-04-26 Thread Carl Banks
On Apr 26, 11:10 am, n00m <[EMAIL PROTECTED]> wrote: > Both codes below read the same huge(~35MB) text file. > In the file > 100 lines, the length of each line < 99 chars. > > Stable result: > Python runs ~0.65s > C : ~0.70s > > Any thoughts? Yes. Most of the dirty work in the Python example

Re: Setting an attribute without calling __setattr__()

2008-04-26 Thread Aahz
In article <[EMAIL PROTECTED]>, Arnaud Delobelle <[EMAIL PROTECTED]> wrote: >Joshua Kugler <[EMAIL PROTECTED]> writes: >> >> self.me = [] >> for v in obj: >> self.me.append(ObjectProxy(v)) > >Note that is could be spelt: > >self.me = map(ObjectProxy, v) It

Re: So you think PythonCard is old? Here's new wine in an old bottle.

2008-04-26 Thread Aahz
In article <[EMAIL PROTECTED]>, John Henry <[EMAIL PROTECTED]> wrote: > >But then I looked closer. It turns out the XML file created by >QxTransformer is *very* similar in structure when compared to the >resource files used in PythonCard. Since there are no GUI builders >for QxTransformer, and I

Re: Setting an attribute without calling __setattr__()

2008-04-26 Thread Marc 'BlackJack' Rintsch
On Sat, 26 Apr 2008 08:28:38 -0700, animalMutha wrote: >> Consider reading the *second* paragraph about __setattr__ in section >> 3.4.2 of the Python Reference Manual. > > if you are simply going to answer rtfm - might as well kept it to > yourself. Yes, but if you are telling where exactly to f

xpand rally crack

2008-04-26 Thread lscbtfws
xpand rally crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

Power mp3 cutter crack

2008-04-26 Thread lscbtfws
Power mp3 cutter crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

capture nx crack

2008-04-26 Thread lscbtfws
capture nx crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

empire earth 2 crack

2008-04-26 Thread lscbtfws
empire earth 2 crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

age of empires III crack

2008-04-26 Thread lscbtfws
age of empires III crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

dfx audio enhancer crack

2008-04-26 Thread lscbtfws
dfx audio enhancer crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

get data back crack

2008-04-26 Thread lscbtfws
get data back crack http://cracks.00bp.com F R E E C R A C K S -- http://mail.python.org/mailman/listinfo/python-list

Re: Python(2.5) reads an input file FASTER than pure C(Mingw)

2008-04-26 Thread n00m
fgets() from C++ iostream library??? I guess if I'd came up with "Python reads SLOWER than C" I'd get another (not less) smart explanation "why it's so". -- http://mail.python.org/mailman/listinfo/python-list

Re: Setting an attribute without calling __setattr__()

2008-04-26 Thread Arnaud Delobelle
[EMAIL PROTECTED] (Aahz) writes: > In article <[EMAIL PROTECTED]>, > Arnaud Delobelle <[EMAIL PROTECTED]> wrote: >>Joshua Kugler <[EMAIL PROTECTED]> writes: >>> >>> self.me = [] >>> for v in obj: >>> self.me.append(ObjectProxy(v)) >> >>Note that is could be

Re: problem with listdir

2008-04-26 Thread jimgardener
> * Run cmd.exe and see if you can run "dir f:\\code\\python\pgmgallery/*.*" > that causes a message 'Invalid switch - "*.*".' > * Try using other directories under F: drive in your program and see> when > you start hitting the problem. i tried that..on some directories in the same drive this

diffing and uniqing directories

2008-04-26 Thread Rustom Mody
Over years Ive collected tgz's of my directories. I would like to diff and uniq them Now I guess it would be quite simple to write a script that does a walk or find through a pair of directory trees, makes a SHA1 of each file and then sorts out the files whose SHA1s are the same/different. What is

Re: Python(2.5) reads an input file FASTER than pure C(Mingw)

2008-04-26 Thread SL
"n00m" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] import time t=time.time() f=open('D:\\some.txt','r') z=f.readlines() f.close() print len(z) print time.time()-t m=input() print z[m] #include #include #include #include using namespace std; char vs[1002000][99]; FILE *f

Re: Python(2.5) reads an input file FASTER than pure C(Mingw)

2008-04-26 Thread SL
"SL" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] "n00m" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] using namespace std; char vs[1002000][99]; if (!fgets(vs[i],999,fp)) break; BTW why are you declaring the array as 99 and pass 999 to fgets to r

Re: Calling Python code from inside php

2008-04-26 Thread Diez B. Roggisch
Eric Wertman schrieb: > A simple yet dangerous and rather rubbish solution (possibly more of a > hack than a real implementation) could be achieved by using a > technique described above: > > echo exec('python foo.py'); This will spawn a Python interpreter, and not be particularly

Re: Python(2.5) reads an input file FASTER than pure C(Mingw)

2008-04-26 Thread hdante
On Apr 26, 12:10 pm, n00m <[EMAIL PROTECTED]> wrote: > Both codes below read the same huge(~35MB) text file. > In the file > 100 lines, the length of each line < 99 chars. > > Stable result: > Python runs ~0.65s > C : ~0.70s > > Any thoughts? > > import time > t=time.time() > f=open('D:\\some.t

Re: Python(2.5) reads an input file FASTER than pure C(Mingw)

2008-04-26 Thread hdante
On Apr 26, 1:15 pm, n00m <[EMAIL PROTECTED]> wrote: > fgets() from C++ iostream library??? > fgets is part of the standard C++ library and it lives in the std namespace. > I guess if I'd came up with "Python reads SLOWER than C" > I'd get another (not less) smart explanation "why it's so". -- ht

Apologize: annoying dictionary problem, non-existing keys

2008-04-26 Thread bvidinli
Thank you all for your answers. i get many usefull answers and someone remembered me of avoiding cross-posting. i apologize from all of you, for cross posting and disturbing. that day was not a good day for me... it is my fault.. sory and have nice days... 26 Nisan 2008 Cumartesi 02:52 tarihi

Re: diffing and uniqing directories

2008-04-26 Thread castironpi
On Apr 26, 1:14 pm, "Rustom Mody" <[EMAIL PROTECTED]> wrote: > Over years Ive collected tgz's of my directories. I would like to diff > and uniq them > > Now I guess it would be quite simple to write a script that does a > walk or find through a pair of directory trees, makes a SHA1 of each > file

python and web programming, easy way...?

2008-04-26 Thread bvidinli
Hi, i use currently python for console programming. in past, i tried it for web programming, to use it instead of php. Unfortunately, i failed in my attempt to switch to python. Currently, i make many webbased programs and a "Easy Hosting Control Panel " (www.ehcp.net) that runs on php, ehcp is a

learning with python question (HtTLaPP)

2008-04-26 Thread umpsumps
Hello all, I've been trying to teach myself python from "How to Think Like a Python Programmer" and have been trying to write a script that checks 'words.txt' for parameters (letters) given. The problem that is the i can only get results for the exact sequnce of parameter 'letters'. I'll spare po

Re: Python(2.5) reads an input file FASTER than pure C(Mingw)

2008-04-26 Thread n00m
>> char vs[1002000][99]; In the file 1001622(or so) records like phone number + f/l names. So the reserving makes sense, i think. Populating of vector is by zillion times slower. >> Is there an implementation of f.readlines on the internet somewhere? I was greatly surprised how fast it is. As a

Re: learning with python question (HtTLaPP)

2008-04-26 Thread Eric Wertman
> Python Programmer" and have been trying to write a script that checks > 'words.txt' for parameters (letters) given. The problem that is the i > can only get results for the exact sequence of parameter 'letters'. The "re" module comes to mind: text = open('words.txt','r').read() letters = 's

Re: python and web programming, easy way...?

2008-04-26 Thread Chris Ortner
On Apr 26, 9:36 pm, bvidinli <[EMAIL PROTECTED]> wrote: > Please provide me the quickest/most appropriate solution for web > programming in python. > i will try to switch to python in ehcp too.. > > Currently my web programs are simple Object Oriented programs, that > basicly uses a few files, in p

  1   2   >