Remove \n, " " from tuple.

2013-09-18 Thread Venkat Addala
kjafhkfhlad\fdfdsdf ghtscetylsse \ncontends the sctivity of dsfdk srylsmine N-scetyltrsnsfersse thst scts ss s cstslyst inbiotrsnsformstion fghjfg for srylsmine snd bvhghbh smine csrcinogens. Bgskjdg in ssDsC dfkdkdf in bresst snd prostrste csncer.', '', 'Msdhurs \nsgdfgs

Re: MySQLdb Help

2013-09-17 Thread Venkat Addala
s_new.group(1), row[0])) #cursor.execute(""" #update gene set descrip = %s where descrip = %s""", (rows_new.group(1), row[0])) conn.close() -- Regards Boffin On Tue, Sep 17, 2013 at 1:05 PM, Ben Finney wrote: > Venkat Addala writes: > > > I&#

MySQLdb Help

2013-09-17 Thread Venkat Addala
Hi all, I'm new to python, i am connecting mysql database with python. now i want to do sanitation on the database, like to remove "\n", extra spaces blah blah.. and update it back to mysql database. i was trying somthing, here is my code, can you please provide me solution for this.. #!/usr/b

Passing a object to my test case from mainthread using unittest

2012-04-19 Thread venkat
i am new to python and just now started developing an linux application automation. scenario i am trying is thread.py --- will invoke all primary device threads and load test from testcase admincase.py --- hold my tests for the case.. what i am unable to do is i want to pass certain obje

Help needed to resolve ImportError

2009-05-13 Thread Venkat Raju
VC6.0 setup I have tried setting path variables and options like copying scriptInterpreter.dll to python installation path and so on. HOwever it doesnt work. Are there any compatibility issues between VC2005 and python 2.2? HOw can i resolve this. Your help is h

"str object is not callable" error

2009-04-08 Thread venkat sanaka
error like "str object is not callable".From the error i came to know that i was assigning "add" as a string which caused this error.Then how to make it a callable object?? Regards Venkat -- http://mail.python.org/mailman/listinfo/python-list

Re: problem with urllib

2009-03-31 Thread venkat sanaka
n the documentation.Thanks a lot for ur replies. Final code: >>>import urllib2 >>> opener = urllib2.build_opener() >>> opener.add_header = [('User-agent', 'Mozilla')] >>>res=opener.open('http://www.google.com') >>> print res.read() On Wed, A

Re: problem with urllib

2009-03-31 Thread venkat sanaka
Thanks for ur suggestions Terry.These are really helpful for a newbie like me in python programming. Regards Venkat On Wed, Apr 1, 2009 at 5:59 AM, Terry Reedy wrote: > venkat sanaka wrote: > >> This was the code i executed. >> >> >>> proxies={'http&#

Re: problem with urllib

2009-03-31 Thread venkat sanaka
The correct one was 10.1.2.21:9090.In my code i tried with all the possible ways and end up in getting no result.sry for that. For more clarity I will give proxy settings in mozilla as: Http proxy:10.1.2.21 port:9090 Regards venkat On Wed, Apr 1, 2009 at 5:37 AM, Emile van Sebille

Re: problem with urllib

2009-03-31 Thread venkat sanaka
Yeah I did i was getting the same error as i got without using http in the url. Regards venkat. On Wed, Apr 1, 2009 at 4:46 AM, Chris Rebert wrote: > > On Wed, Apr 1, 2009 at 4:35 AM, Chris Rebert wrote: > >> > >> 2009/3/31 venkat sanaka : > >> > hii every

Re: problem with urllib

2009-03-31 Thread venkat sanaka
oxy(proxy, fullurl, data) File "C:\Python30\lib\urllib\request.py", line 1458, in open_unknown_proxy raise IOError('url error', 'invalid proxy for %s' % type, proxy) IOError: [Errno url error] invalid proxy for http: '10.1.2.21:9090' I know that url h

problem with urllib

2009-03-31 Thread venkat sanaka
errors showing invalid proxy.can someone help me out plzzz. Regards venkat. -- http://mail.python.org/mailman/listinfo/python-list

Installation problem: Python 2.5 on solaris 8

2007-03-02 Thread Venkat
fore `*' == uname -m = sun4u uname -r = 5.8 uname -s = SunOS uname -v = Generic_108528-15 /usr/bin/uname -p = sparc /bin/uname -X = System = SunOS Node = sword Release = 5.8 KernelID = Generic_108528-15 Machine = sun4u BusType = Serial = Users = OEM# = 0 == Thanks a lot -Venkat -- http://mail.python.org/mailman/listinfo/python-list

About __files

2006-07-10 Thread venkat pathy
Hi all,  I came across a series of functions starting with "__". For example, __fun() . May I know what are all these functions ? I came across __init__ like functions starting and ending with "__". Whether they are constructors which are overloaded ? -- http://mail.python.org/mailman/list

Generalized Linear Least Squares Problems

2005-05-31 Thread venkat
Hi, I want to solve linear least sqaure problem( min||c-Ax||2 subject to Bx=d ). How do I do it in python. lapack has a routine for doing this (DGGLSE). Can I access this from python? TIA, venkat. -- http://mail.python.org/mailman/listinfo/python-list

Re: mini_httpd (ACME Labs) & Python 2.4.1 integration

2005-04-04 Thread Venkat B
H is set right. /venkat -- http://mail.python.org/mailman/listinfo/python-list

mini_httpd (ACME Labs) & Python 2.4.1 integration

2005-04-03 Thread Venkat B
nd to no avail. Thanks a lot. Regards, /venkat -- http://mail.python.org/mailman/listinfo/python-list

Python 2.4.1 build (configure) ?

2005-03-30 Thread Venkat B
or 'ipv6', I see the same references I'd see, if I ran the configure command without the --enable-ipv6 option. Is that normal or is there an issue I need to address here. Thanks, /venkat -- http://mail.python.org/mailman/listinfo/python-list

Python & LEGO Mindstorm control...

2005-03-29 Thread Venkat B
in either case, tho... but was wondering which is a more treaded path... TIA, /venkat -- http://mail.python.org/mailman/listinfo/python-list

Re: Web framework

2005-03-13 Thread Venkat B
> I'd say Nevow! For apache setup, you might be interested in my wsgi [1] > implementation. Hi Sridhar, Are you aware of Nevow's "integrability" with the webservers (CGIHTTPServer in particular) that come packaged with Python itself ? Thanks, /venkat -- http

Re: BaseHTTPServer.BaseHTTPRequestHandler and HTTP chunking

2005-03-10 Thread Venkat B
> No. Hardly any HTTP 1.1 features are supported. Hi all, I'd like to know more about the limitations. Somewhere, is there a list of the actual subset of HTTP 1.1 features supported. There's not much related info at the python.org site. There appears to be just a limited note on 1.1 in http://ww

newbie ?s

2005-01-13 Thread Venkat B
appreciate any pointers. TIA, /venkat -- http://mail.python.org/mailman/listinfo/python-list

Re: newbie ?s

2005-01-13 Thread Venkat B
> > 1) I was wondering if anyone has opinions on the ability of CGIHTTPServer (a > > forking variant) to be able to handle this. > > Why not use apache? Wanted something with less footprint. -- http://mail.python.org/mailman/listinfo/python-list