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
; 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
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/...',
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.
> >
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.
)
while 1:
line=p1.stdout.readline()
print line
Thanks in advance,
~Ashok.
--
http://mail.python.org/mailman/listinfo/python-list
= p2.stdout.readline()
print line
Thanks,
~Ashok.
--
http://mail.python.org/mailman/listinfo/python-list
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
"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
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
i overload GetBitmap?
Thanks in adavance for any help.
_
ashok
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
Thanks Lasse, that was really helpful
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
18 matches
Mail list logo