[BangPypers] pyodbc Teradata connection

2013-04-18 Thread JAGANADH G
QLDriverConnect)') The connection string is pyodbc.connect("DRIVER={Teradata};DBCNAME=DB;UID=UU;PWD=PW", autocommit=True,ansi=True) Any clue on how to resolve the same . Best regards -- ****** JAGANADH G http://jaganadhg.in *

Re: [BangPypers] Django url patterns help

2013-03-04 Thread JAGANADH G
r error in urls.py. The page loading problem was due to js issues. I resolved that issue too. Thanks for comments ans suggestions. Best regards -- ****** JAGANADH G http://jaganadhg.in *ILUGCBE* http://ilugcbe.org.in ___

Re: [BangPypers] Django url patterns help

2013-03-01 Thread JAGANADH G
, name="my_page"), In fire bug and Django log I can see that this request is giving 200 status . There are some jQury-ui scripts in the HTML file . May be that causes the issue I think -- ** JAGANADH G http:/

[BangPypers] Django url patterns help

2013-03-01 Thread JAGANADH G
h this and way to correct the same -- ****** JAGANADH G http://jaganadhg.in *ILUGCBE* http://ilugcbe.org.in ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Django Jquey List View issu

2013-02-19 Thread JAGANADH G
logged in. > {{ user.username }} > > > Hi Here is the code in dpaste http://dpaste.com/947018/ Error Reverse for 'Index.html' with arguments '()' and keyword arguments '{}' not found -- ** JAGANADH G http://jaganadhg

Re: [BangPypers] Django Jquey List View issu

2013-02-18 Thread JAGANADH G
#x27;Index.html',{'username':cookie_name}) #return redirect('/index/',{'username':cookie_name}) return render_to_response('Index.html',{'username':cookie_name})

Re: [BangPypers] Django Jquey List View issu

2013-02-18 Thread JAGANADH G
your Jquery code.Is page redirecting done right?? what does your django > error log says?? > > > Hi, There is no error shown in Django log . The page is getting redirected too. I will post some code too Best regards -- ****** JAGANADH G http://jag

[BangPypers] Django Jquey List View issu

2013-02-18 Thread JAGANADH G
I am not that much familier with Django too :-( -- ** JAGANADH G http://jaganadhg.in *ILUGCBE* http://ilugcbe.org.in ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Interactive shell for python application

2013-01-28 Thread JAGANADH G
On Mon, Jan 28, 2013 at 7:51 PM, Pradeep Banavara wrote: > Do you want a python shell in a browser ?? > > > Which ever feasible . The whole idea is to control and monitor the execution via a desktop shell or web shell -- ****** JAGANADH G http://jaganadhg

[BangPypers] Interactive shell for python application

2013-01-28 Thread JAGANADH G
After that I want check weather the extraction is running or not. Like >>> active_process() Is there any way to do the same. Any pointers to some examples or tutorials. -- ** JAGANADH G http://jaganadhg.in *ILUGCBE* http://ilugcbe.org.in _

[BangPypers] Django Jstree examples

2013-01-22 Thread JAGANADH G
Hi All, Is there any tutorial available for Django and Jstree J query Checktree. Best regards -- ** JAGANADH G http://jaganadhg.in *ILUGCBE* http://ilugcbe.org.in ___ BangPypers mailing list BangPypers@python.org http

Re: [BangPypers] Help in understanding Hadoop with python

2012-10-17 Thread JAGANADH G
nd Python Best regards -- ** JAGANADH G http://jaganadhg.in *ILUGCBE* http://ilugcbe.org.in ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] CFP closing in an hour or so

2012-08-25 Thread JAGANADH G
night. If you want to submit, you > still can! > > Wow we got 80 talk proposals. cool round figure. -- ****** JAGANADH G http://jaganadhg.in *ILUGCBE* http://ilugcbe.org.in ___ BangPypers mailing list BangPypers@pyt

[BangPypers] Kenneth Gonsalvas a short bio

2012-08-03 Thread JAGANADH G
-gonsalves/4/565/10b -- ****** JAGANADH G http://jaganadhg.in *ILUGCBE* http://ilugcbe.org.in ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] Sad demise of our dear KG (Keneth Gonsalvas)

2012-08-03 Thread JAGANADH G
Hi All, Just now I got a message that our dear KG (Kenneth Gonsalvas) passed away. He was admitted in hospital due to Asthma attack and passed away today morning. Cremation will be held at ooty on 4th Aug 2012. -- ** JAGANADH G http://jaganadhg.in *ILUGCBE* http

Re: [BangPypers] Text/Mail filtering/classification using python

2011-12-23 Thread JAGANADH G
Hi You can use skikits.learn or nltk for the task. Both tools give good support for the same . Also implementing a bays classifier is pretty simple too -- ** JAGANADH G http://jaganadhg.in *ILUGCBE* http://ilugcbe.org.in

Re: [BangPypers] Python OCR Reader

2011-11-01 Thread JAGANADH G
provides a Jython interface . In the sample pages I saw that somebody automated "Angry Birds" game too. Note: Sikuli is not a Python based tool. Just provides a Jython interface . Sorry for posting a non-pythonic suggestion -- ****** JAGANADH G http://jagan

Re: [BangPypers] Spell Checker Python

2011-06-30 Thread JAGANADH G
suggest(word)" ? . I think the german special charcters problem may due to: 1) Either enchant may not be reading the dict file with proper encoding . I am not sure about this . I will check and tell -- ** JAGANADH G http://jaganadhg.freef

Re: [BangPypers] Spell Checker Python

2011-06-30 Thread JAGANADH G
ant + edit distance will solve the problem . You can use theedit_distance from nltk.metrocs -- ** JAGANADH G http://jaganadhg.freeflux.net/blog *ILUGCBE* http://ilugcbe.techstud.org ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Spell Checker Python

2011-06-30 Thread JAGANADH G
/www.rfk.id.au/software/pyenchant/ If you require any further assistance on the same let me know -- ** JAGANADH G http://jaganadhg.freeflux.net/blog *ILUGCBE* http://ilugcbe.techstud.org ___ BangPypers mailing list Ban

Re: [BangPypers] UnicodeDecodeError: 'utf8' codec can't decode byte xxx

2011-04-17 Thread JAGANADH G
t encounters a problem with utf-8 decoding . nothing much -- ** JAGANADH G http://jaganadhg.freeflux.net/blog *ILUGCBE* http://ilugcbe.techstud.org ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] UnicodeDecodeError: 'utf8' codec can't decode byte xxx

2011-04-17 Thread JAGANADH G
27; codec can't decode byte 0x88 in position 11366: > invalid start byte > }}} > > Same error as before. !! ?? > > I think the error is coming from this line os.system('python2.6 html2text.py main.html > main.txt') Insted of calling os.system try to import concerned

Re: [BangPypers] UnicodeDecodeError: 'utf8' codec can't decode byte xxx

2011-04-17 Thread JAGANADH G
> > }}} > > The execution went fine without any issues. But when I open the > "main.html". I was expecting it to havee full contents of the page . But it > has only , > {{{ > 0x8deabac>> > }}} > > Please let me know if I am missing something. > &g

Re: [BangPypers] UnicodeDecodeError: 'utf8' codec can't decode byte xxx

2011-04-17 Thread JAGANADH G
;xyz.htm', 'w', None, 'ignore') > > ... > ... > }}} > > Result is coming the same. > > Please tell as to what can be done to avoid this error.? > > Try this from django.utils.encoding import smart_str myunistr = smart_str(YOUR_STRING) This will solve the issue -- ** JAGANADH G http://jaganadhg.freeflux.net/blog *ILUGCBE* http://ilugcbe.techstud.org ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] BangPypers meeting February 2011

2011-02-12 Thread JAGANADH G
absent in RDBMS world . NoSQl paltform like CouchDB gives not only data stoorage bust also facility to build web applications (See couchapps tool) Big players like Facebook etc uses NoSQL also (They use MySQL too). Comparing NoSQL with RDBMS is like comparing apples with Orange; that is what I fe

Re: [BangPypers] Fwd: [OT] Wikipedia

2010-12-15 Thread JAGANADH G
x27;s bandwidth when it can be > used for serving other users. > > Do you have more than 600 GB space available ? The total volume of 7zip file is about 70 GB . Unzipping it will result around 600 GB -- ** JAGANADH G http://jaganadhg.freeflux.net/blog

Re: [BangPypers] converting utf to octal

2010-11-23 Thread JAGANADH G
o base 10 integers? > -- > Are you looking something similar to this http://silpa.smc.org.in/CharDetails -- ****** JAGANADH G http://jaganadhg.freeflux.net/blog ___ BangPypers mailing list BangPypers@python.org http://mail.pyt

Re: [BangPypers] task tracker and issue manager

2010-10-19 Thread JAGANADH G
it - but as you said it is built on Ruby - I > want python. > > Even if it is in Ruby it is good. I am using it to manage my team activities in my office . There is a bitnami stack available for Redmine which makes the installation easy -- ****** JAGANADH

Re: [BangPypers] Python-yql error

2010-10-17 Thread JAGANADH G
On Sun, Oct 17, 2010 at 10:21 PM, Senthil Kumaran wrote: > On Sat, Oct 16, 2010 at 02:33:05PM +0530, JAGANADH G wrote: > > >> >>> y.execute('select * from flickr.photos.search where text="panda" > limit > > >> 3') > > &#

Re: [BangPypers] Python-yql error #solved

2010-10-16 Thread JAGANADH G
Finally the issue solved. Removed the old httplib2. The once again I did python setup.py install for python-yql. It downloaded the lated httplib2. And finally python-yql got working . Thanks Anand for the help -- ** JAGANADH G http://jaganadhg.freeflux.net/blog

Re: [BangPypers] Python-yql error

2010-10-16 Thread JAGANADH G
On Sat, Oct 16, 2010 at 2:29 PM, JAGANADH G wrote: > > > On Thu, Oct 14, 2010 at 7:03 PM, Anand Balachandran Pillai < > abpil...@gmail.com> wrote: > >> Runs fine for me. >> >> Python 2.7 (r27:82500, Oct 8 2010, 14:07:56) >> [GCC 4.1.2 2007062

Re: [BangPypers] Python-yql error

2010-10-16 Thread JAGANADH G
es/yql-0.4-py2.6.egg/yql/__init__.py in () 25 from urlparse import urlparse 26 from urllib import urlencode ---> 27 from httplib2 import Http 28 29 from yql.utils import get_http_method ImportError: No module named httplib2 In [2]: -- ** JAGANADH G http://jaganadhg.freeflux.net/blog ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] Python-yql error

2010-10-13 Thread JAGANADH G
the error http://pastebin.com/HryAZVEA . Any clue how to resolve this. -- ** JAGANADH G http://jaganadhg.freeflux.net/blog ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Beginner help

2010-10-04 Thread JAGANADH G
difficult question I observed that there is a long discussion happening in LinkedIn Python discussiongroup regarding the same. Runs over more than 250 threads -- ****** JAGANADH G http://jaganadhg.freeflux.net/blog ___ BangPypers mai

Re: [BangPypers] NLTK: Dispersion Plot problem

2010-08-18 Thread JAGANADH G
ot;democracy","freedom","duties","America"]) > >>> > > Have you checked that the plot is being minimized. Are you using virtual environment ? I tried it in Fedora 12, 13 and Ubuntu 10.4 it works fine for me . -- ** JAGANADH G http://jaganadhg.freeflux.net/blog ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] NLTK: Dispersion Plot problem

2010-08-17 Thread JAGANADH G
tml > Have you got any error message. Which version of NLTK you are using Try this from nltk import * from nltk.book import * text4.dispersion_plot(["citizens", "democracy", "freedom", "duties", "America"]) I

Re: [BangPypers] Harvestman error

2010-05-31 Thread JAGANADH G
On Mon, May 31, 2010 at 3:16 PM, Anand Balachandran Pillai < abpil...@gmail.com> wrote: > On Sun, May 30, 2010 at 9:56 PM, JAGANADH G wrote: > > > Dear All I was trying to run Harvestman(A Python tool for web > harvesting). > > I got the following error >

[BangPypers] Harvestman error

2010-05-30 Thread JAGANADH G
ython' -- ** JAGANADH G http://jaganadhg.freeflux.net/blog ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] splitting the string

2010-05-29 Thread JAGANADH G
e,four > Have you reffered any Python documentation or books or even used Gooogle ? -- ****** JAGANADH G http://jaganadhg.freeflux.net/blog ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] Equivalent to Nokogiri in Python

2010-04-30 Thread JAGANADH G
Dear All Is there any equivalent to Nokogiri (Ruby) in Python ? With regards Jaggu -- ** JAGANADH G http://jaganadhg.freeflux.net/blog ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman

Re: [BangPypers] Python code documentation doubt

2010-04-22 Thread JAGANADH G
On Thu, Apr 22, 2010 at 12:58 PM, Senthil Kumaran wrote: > On Thu, Apr 22, 2010 at 12:29:30PM +0530, JAGANADH G wrote: > > > > I am looking for a guide to learn the technique of writing such kind of > code > > document in my module. > > > > The Documentation

Re: [BangPypers] Python code documentation doubt

2010-04-22 Thread JAGANADH G
On Thu, Apr 22, 2010 at 12:57 PM, steve wrote: > On 04/22/2010 12:29 PM, JAGANADH G wrote: > >> Dear All >> >> where can I find some guide/guidelines for code documentation like this >> >> >> >>> single_record.pmid >

[BangPypers] Python code documentation doubt

2010-04-21 Thread JAGANADH G
looking for a guide to learn the technique of writing such kind of code document in my module. -- ** JAGANADH G http://jaganadhg.freeflux.net/blog ___ BangPypers mailing list BangPypers@python.org http://mail.python.o

Re: [BangPypers] [COMMERCIAL] CodersCombat project hosting servicefor all

2010-04-14 Thread JAGANADH G
a paid > > member. > > > > same with bitbucket > In bitbucket we can have one private repo for a free user . I think if a student needs a private repo bitbucket will do the job. Why I have to spend RS600/- :-) -- **

Re: [BangPypers] [COMMERCIAL] CodersCombat project hosting service for all

2010-04-14 Thread JAGANADH G
ee as a key differentiator among the dozens > of free hosting provider available out there. > > We will be adding a FAQ section soon which will have these queries > answered. > > -- ** JAGANADH G http://jaganadhg.freeflux.net/blog __

[BangPypers] Python syntax highligting in Latex beamer

2010-01-29 Thread JAGANADH G
Dear All Can somebody give me a clear example how to highlight Python code in latex beamer. I used listings but no result . -- ** JAGANADH G http://jaganadhg.freeflux.net/blog ___ BangPypers mailing list BangPypers

Re: [BangPypers] Help plzz..

2010-01-20 Thread JAGANADH G
nd found Dive into Python a little humorous and he totally > loved it. :-) > > Try Head First Programming oreilly.com/catalog/9780596802387 -- ** JAGANADH G http://jaganadhg.freeflux.net/blog ___ BangPyp

Re: [BangPypers] Fwd: Python networking tutorial

2009-12-28 Thread JAGANADH G
ct:Re: [BangPypers] Fwd: Python at KCG College of Technology, Chennai > To: Bangalore Python Users Group India > Refer the book "Foundations of Python Network Programming" http://www.apress.com/book/view/9781590593714 -- ****** JAGANADH G

Re: [BangPypers] Python place holder doubt

2009-11-11 Thread JAGANADH G
On Wed, Nov 11, 2009 at 11:41 PM, Pradeep Gowda wrote: > On Wed, Nov 11, 2009 at 12:47 PM, JAGANADH G wrote: > > url = self.BASEURL + "pmid=%d" + "&tag=ntag&type=ge" %d > > Did you mean: > url = self.BASEURL + "pmid=%d" % (d, ) + &q

Re: [BangPypers] Python place holder doubt

2009-11-11 Thread JAGANADH G
On Wed, Nov 11, 2009 at 11:41 PM, Pradeep Gowda wrote: > On Wed, Nov 11, 2009 at 12:47 PM, JAGANADH G wrote: > > url = self.BASEURL + "pmid=%d" + "&tag=ntag&type=ge" %d > > Did you mean: > url = self.BASEURL + "pmid=%d" % (d, ) + &q

[BangPypers] Python place holder doubt

2009-11-11 Thread JAGANADH G
Dear All What is wrong with this expression url = self.BASEURL + "pmid=%d" + "&tag=ntag&type=ge" %d -- ****** JAGANADH G http://jaganadhg.freeflux.net/blog Sent from Chennai, TN, India ___

Re: [BangPypers] psycopg2 problem

2009-10-26 Thread JAGANADH G
al is best place to start. > > http://docs.python.org/tutorial/index.html > > Anand > Thanks . I am a newbe to databse programming . First time. -- ** JAGANADH G http://jaganadhg.freeflux.net/blog Sent from Chennai, TN, India __

Re: [BangPypers] psycopg2 problem

2009-10-26 Thread JAGANADH G
On Mon, Oct 26, 2009 at 5:04 PM, Anand Chitipothu wrote: > On Mon, Oct 26, 2009 at 5:00 PM, JAGANADH G wrote: > > On Mon, Oct 26, 2009 at 4:46 PM, Anand Chitipothu >wrote: > > > >> > I was trying to connect to postgre db with Python psycopg2 . The code >

Re: [BangPypers] psycopg2 problem

2009-10-26 Thread JAGANADH G
r=dbuser, password=dbpass) > > Anand > Now I did it . The code will be now dbcs = "dbname=%s user=%s host='localhost' password=%s" %(dbname, dbuser,dbpass) try: dbconn = psycopg2.connect( dbcs ) except: raise

[BangPypers] psycopg2 problem

2009-10-26 Thread JAGANADH G
bname,dbuser, dbpass ) psycopg2.OperationalError: FATAL: password authentication failed for user "%s" How to resolve this. -- ** JAGANADH G http://jaganadhg.freeflux.net/blog ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Weekend Meeting

2009-10-15 Thread JAGANADH G
mo of my > > project (not named yet), and some of the inner > > workings. > > > > I suggest meeting at 3.00-5.00 pm at ThoughtWorks. > > +1 > Please share the slide for people who is not able to attend the meet. -- ** JAGANADH G h

[BangPypers] Fwd: [fsug-tvm][X] National workshop on SciPy - November 7-8, 2009

2009-10-07 Thread JAGANADH G
oups.google.com/group/ilug-tvm?hl=en -~--~~~~--~~--~--~--- -- ****** JAGANADH G http://jaganadhg.freeflux.net/blog Sent from Chennai, TN, India ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Python Training in Bangalore

2009-09-09 Thread JAGANADH G
___ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > > There will be a tutorial in the Indian Python Conference. Details can be found http://in.pycon.org/2009/talkfull/15/ http://in.pycon.org/2009/