Re: zpifile.py error - no crc 32 attribute

2018-08-22 Thread Ashok Arora
Test this in the interpreter:- import zlib zlib.__file__ It will return the location of zlib module. On 8/22/18, jacob m wrote: > Hi, > " Is there perhaps a different zlib on > your path, hiding the real zlib?" - I'm unsure of that. > > "sudo apt-get install zlib1g-dev > Reading packag

Regular expression issue

2010-02-24 Thread Ashok Prabhu
; b 'c+' >>> re.search(b,a).group() 'c' In the above example I want re to find the string 'c+' instead of 'c'. I want a solution without escaping the '+' symbol with backslash because it is given by the user. Thanks, ~Ashok. -- http://mail.python.org/mailman/listinfo/python-list

Re: Repost: Read a running process output

2010-02-05 Thread Ashok Prabhu
On Feb 5, 6:33 pm, Ashok Prabhu wrote: > On Feb 5, 5:58 pm, Alain Ketterlin > wrote: > > > > > Ashok Prabhu writes: > > >> > p1=Popen('/usr/sunvts/bin/64/vtsk -d',stdout=PIPE,shell=True) > > > >> Use Popen(['/usr/...',

Re: Repost: Read a running process output

2010-02-05 Thread Ashok Prabhu
On Feb 5, 5:58 pm, Alain Ketterlin wrote: > Ashok Prabhu writes: > >> > p1=Popen('/usr/sunvts/bin/64/vtsk -d',stdout=PIPE,shell=True) > > >> Use Popen(['/usr/...','-d'],stdout=PIPE), i.e., no shell. > > >> -- Alain. > >

Re: Repost: Read a running process output

2010-02-05 Thread Ashok Prabhu
On Feb 5, 5:12 pm, Alain Ketterlin wrote: > Ashok Prabhu writes: > > from subprocess import * > > p1=Popen('/usr/sunvts/bin/64/vtsk -d',stdout=PIPE,shell=True) > > Use Popen(['/usr/...','-d'],stdout=PIPE), i.e., no shell. > > -- Alain.

Repost: Read a running process output

2010-02-05 Thread Ashok Prabhu
) while 1: line=p1.stdout.readline() print line Thanks in advance, ~Ashok. -- http://mail.python.org/mailman/listinfo/python-list

read a process output with subprocess.Popen

2010-02-04 Thread Ashok Prabhu
= p2.stdout.readline() print line Thanks, ~Ashok. -- http://mail.python.org/mailman/listinfo/python-list

Unable to import package over NFS in solaris

2009-09-23 Thread Ashok
sqlalchemy in the client program it throws the following error. Traceback (most recent call last): File "/net/sqlhost/ashok/send.py", line 9, in ? from sqlalchemy import * ImportError: No module named sqlalchemy I have added the NFS path to the PYTHONPATH as folllows in my progra

Re: [HELP] SMTPlib not sending my mail

2008-01-29 Thread ashok raavi
"mail" values are loaded from a ini file > > > and they're correct. > > > The call to smtpserver gives back no errors (smtpresult > > > remains empty). > > > The running enviroment gives no error. > > > So, it looks like that the program works alloright, sending > > > the mail- BUT, I receive no mail! I've tried to change the > > > smtp server with another one which still works with my isp, > > > with no luck. If I try a smtp which doesn't give me access, > > > I correctly receive an error from the program. > > > What might be the problem? > > -- ashok raavi -- http://mail.python.org/mailman/listinfo/python-list

get message form ie

2007-05-31 Thread Ashok
Hi, Is there any way i can get a message form internet explorer into my python script when internet explorer completes loading a page? _ ashok -- http://mail.python.org/mailman/listinfo/python-list

override PyBitmapDataObject

2007-05-29 Thread Ashok
i overload GetBitmap? Thanks in adavance for any help. _ ashok -- http://mail.python.org/mailman/listinfo/python-list

scaling

2007-05-01 Thread Ashok
hi, IDL language contains a function called BYTSCL to scale all values of Array that lie in the range (Min £ x £ Max) into the range (0 £ x £ Top). Is there a similar function available in python? I need this to scale the pixel values of an image using PIL. thanks in advance for any help AGK

problem in running python on winnt

2007-04-26 Thread Ashok
hello, I have built a standalone gui application using py2exe which works fine in my WinXp SP2 machine and another WinXp machine. When i try to run it in a Win NT SP6 machine, I get the following error. Traceback (most recent call last): File "auto.py", line 4, in ? File "zipextimporter.pyo", lin

python gui using boa

2005-11-21 Thread Ashok
hi, i am trying to develop a small gui app using boa constructor. say this app has one frame which has one static text control. i want the frame to resize itself to the width of the text contrl when i change the label of the text control via SetLabel(). how can i do this in boa constructor? can an

Re: how to associate files with application

2005-11-03 Thread Ashok
Thanks Lasse, that was really helpful -- http://mail.python.org/mailman/listinfo/python-list

sizers in boa constructors

2005-11-03 Thread Ashok
hi, I am trying to build a small gui program in python using boa constructor. i have a few problems. i would be grateful if anyone can help me in this regard. 1. i have four static text controls positioned one below the other. what i want to do is when i change the content of the upper static text

how to associate files with application

2005-10-27 Thread Ashok
hi, i want to know how to make a specific type of file open in an application i developed in python when the user clicks on the file.(in windows) for eg. a .txt file when clicked opens in notepad, a .doc file when clicked opens in MS-word. In the same way i want to make a .xyz file open in the appl

OT: World's largest Python caught!:)

2005-08-07 Thread Ashok Rajasingh
Hi   Can I please get some information on this python?  I saw a brief news clip last year & am very keen to know more.   Thanks Ashok Rajasingh 21 Cumberland street New Plymouth New Zealand +646 7575698 (home)   7599592 (work)   Attention:The informa