[BangPypers] Need help installing MySQLdb

2013-05-24 Thread Praveen Kumar
Hi, I have to install MySQLdb module for python2.4 on a CentOS6 - 64bit system. I tried hard but I am not able to install it. Can you please help me, on installing MySQLdb module. Thanks, Praveen ___ BangPypers mailing list BangPypers@python.org http:/

Re: [BangPypers] how to learn programming

2009-01-22 Thread Praveen Kumar
>>BangPypers mailing list >>BangPypers@python.org >>http://mail.python.org/mailman/listinfo/bangpypers >> >> >> >> >> __

Re: [BangPypers] ImportError: cannot import name make_option

2009-01-26 Thread Praveen Kumar
17322 > -- > > _______ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Praveen Kumar Software Engineer Mahiti Infotech Pvt. Ltd. # 33-34, Hennur Cross Hennur Main

Re: [BangPypers] Django + Lighttpd + Global Variables are getting initalized frequently

2009-02-04 Thread Praveen Kumar
*That is because your (and most) web servers cycles child processes* On Mon, Feb 2, 2009 at 4:57 PM, Hussain Bohra wrote: > Hi All, > > I am using Django and Lighttpd Webserver, for one of our tool. > I am initializing one variable as a global at the top of file and updating > the same on some pa

Re: [BangPypers] Django + Lighttpd + Global Variables are getting initalized frequently

2009-02-04 Thread Praveen Kumar
o be in that situation you must be doing some thing wrong. if you wanna store state, store in cache. Thanks On Wed, Feb 4, 2009 at 2:55 PM, Praveen Kumar < praveen.python.pl...@gmail.com> wrote: > *That is because your (and most) web servers cycles child processes* > > On Mon,

Re: [BangPypers] Django +lightpd

2009-02-04 Thread Praveen Kumar
* yeah that won't really work, for it to work you would only be able to handle 1 request at a time** ** I guess using a DB cache would be acceptable, you could always set up a simple model that just stores key value pairs.** * * that should be fine.* *Thanks* Praveen Kumar Mahit Infotec

[BangPypers] Announe version 2.16.1 of the python bindings for GObject.

2009-02-25 Thread Praveen Kumar
www.pygtk.org/docs/pygobject/pygobject-introduction.html *Praveen Kumar +91 9739854134 +91 9343297314 http://praveensunsetpoint.wordpress.com Bangalore ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] Pydev 1.4.4 Released

2009-02-26 Thread Praveen Kumar
for Python Development * Leading Python & Jython development environment * Fully integrates with Aptana Studio or Eclipse * Code completion and syntax checker * Integrated debugger, remote debugging with Pro version To learn more about PyDev( http://aptana.com/python ) Cheers, Praveen K

[BangPypers] buzhug-1.5

2009-03-03 Thread Praveen Kumar
Home page : http://buzhug.sourceforge.net/ Downloads : http://sourceforge.net/project/showfiles.php?group_id=167078 Community : http://groups.google.com/group/buzhug?lnk=li Thanks Praveen Kumar +91 9739854134 Bangalore ___ BangPypers mailing list

Re: [BangPypers] Classmethod, Decorators and staticmethod

2009-03-05 Thread Praveen Kumar
ethod def f(arg1, arg2, ...): ... The @staticmethod form is a function decorator It can be called either on the class (such as C.f()) or on an instance (such as C().f()). The instance is ignored except for its class. Static methods in Python are similar to those found in Java or C++. Thanks Pr

[BangPypers] pxyser --- python xml serialization (beta release 0.1).

2009-03-17 Thread Praveen Kumar
q4zJ+EJ2ERvfT3TW Kitl+vVrR1dQt8GOoQiZAf+asp6wxAs3xA/AA+1sXkgqlqBb0hz7eXJ/3VrJ99E/ ugAi8ePzEH4V6svZYr+Ztbsf7sBfj9guHGC5tNwckpABYrFrhUXa9f90hIyCfKcC 6TXciK0cyTszqqPwSQgD =1dff -END PGP SIGNATURE- -- Praveen Kumar +91 9739854134 http://praveensunsetpoint.wordpress.com Banga

[BangPypers] Python 3.1 alpha 2

2009-04-06 Thread Praveen Kumar
http://doc.python.org/dev/py3k/whatsnew/3.1.html http://www.python.org/download/releases/3.1/ -- Praveen Kumar +91 9739854134 http://praveensunsetpoint.wordpress.com Bangalore ___ BangPypers mailing list BangPypers@python.org http://mail.python.org

[BangPypers] Python Bug Day

2009-04-15 Thread Praveen Kumar
http://wiki.python.org/moin/PythonBugDay http://bugs.python.org/ -- Praveen Kumar +91 9739854134 http://praveensunsetpoint.wordpress.com Bangalore ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Joins with Django

2009-05-06 Thread Praveen Kumar
pecified company. > > something like this if I write SQL : > > select price from Price, Schemes, Company where Price.scheme_id = Scheme.id > and Scheme.comp_id = Company.id and Company.id = 1. > > Thanks, > Puneet > > > > ___________

[BangPypers] First and only beta release of Python 3.1.

2009-05-07 Thread Praveen Kumar
strings now handle paths with undecodable bytes in them. Other features include an ordered dictionary implementation and support for ttk Tile in Tkinter. see http://doc.python.org/dev/py3k/whatsnew/3.1.html -- Praveen Kumar +91 9739854134 http://praveensunsetpoint.wordpress.com Bangalore

Re: [BangPypers] PyCon India logo contest!

2009-05-19 Thread Praveen Kumar
iling list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Praveen Kumar +91 9739854134 http://praveensunsetpoint.wordpress.com Bangalore ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] PyCon India logo contest!

2009-05-21 Thread Praveen Kumar
on.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Praveen Kumar +91 9739854134 http://praveensunsetpoint.wordpress.com Bangalore ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Acessing session variables in template with django

2009-05-23 Thread Praveen Kumar
.djangoproject.com/en/dev/topics/http/sessions/ > or the appropriate documentation version for your Django > version. > > Regards, > Gora > ___ > BangPypers mailing list > BangPypers@python.org > http://mail.

Re: [BangPypers] Django connection problem

2009-06-23 Thread Praveen Kumar
--- > Cricket on your mind? Visit the ultimate cricket website. Enter > now!<http://in.rd.yahoo.com/tagline_cricket_1/*http://cricket.yahoo.com> > ___ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Praveen Kumar +91 9739854134 http://praveensunsetpoint.wordpress.com Bangalore ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] Python 3 book

2009-11-22 Thread Praveen Kumar
rk through the chapters. All the examples are available for download from the book's web site. -- Praveen Kumar +91 9620621342 http://praveensunsetpoint.wordpress.com Bangalore ___ BangPypers mailing list BangPypers@python.org http://mail.pyt

Re: [BangPypers] Python 3 book

2009-11-22 Thread Praveen Kumar
Remove ( * ) at end.. On Sun, Nov 22, 2009 at 5:20 PM, Zico wrote: > On Sun, Nov 22, 2009 at 5:10 PM, Praveen Kumar < > praveen.python.pl...@gmail.com> wrote: > > > "Programming in Python 3 (Second Edition): > > A Complete Introduction to the Python Languag

Re: [BangPypers] How to retrieve current URL in CGI scripting

2009-11-24 Thread Praveen Kumar
> > as "http://10.0.0.12/foobar/"; > > You can find this information in HTTP headers. > > regards > Vivek > > -- > The hidden harmony is better than the obvious!! > ___ > BangPypers mailing list

Re: [BangPypers] ssh client

2009-11-25 Thread Praveen Kumar
I could not get your question exactly, but if you want to write some simple program go through the http://docs.python.org/library/socket.html#example Thanks and regards Praveen Kumar +91 9620621342 On Wed, Nov 25, 2009 at 5:24 PM, wrote: > How can I write ssh client using python soc

Re: [BangPypers] Suggest me a book for ORM

2009-11-30 Thread Praveen Kumar
ing.Keep Going." > > ___ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Praveen Kumar +91 9739854134 http://praveensunsetpoint.wordpress.com Bangalore

[BangPypers] Future of XML Processing

2009-12-01 Thread Praveen Kumar
Descriptor (VTD). Depending on the perspective, *http://vtd-xml.sourceforge.net/* <http://vtd-xml.sourceforge.net/> -- Praveen Kumar +91 9739854134 *http://praveensunsetpoint.wordpress.com/2008/10/01/zope-xml-methods/* Bangalore ___ BangPypers m

Re: [BangPypers] Request for py program to insert space between two characters and saved as text?

2009-12-09 Thread Praveen Kumar
__ > > BangPypers mailing list > > BangPypers@python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > > -- > "Dream is not what you see in sleep > is the thing which does not l

Re: [BangPypers] Request for py program to insert space between two characters and saved as text?

2009-12-09 Thread Praveen Kumar
But again the issue raise with file format if you save that file with ascii format but you are reading it as unicode. Try to convert the file to unicode before using it in python. On Wed, Dec 9, 2009 at 5:23 PM, Praveen Kumar < praveen.python.pl...@gmail.com> wrote: > Hi sorry as i did

[BangPypers] Do not know how much truth

2009-12-17 Thread Praveen Kumar
Google employees are being discouraged from using Python for new projects<http://www.reddit.com/r/Python/comments/a2qxs/bad_news_google_employees_are_being_discouraged/> http://www.reddit.com/r/Python/comments/a2qxs/bad_news_google_employees_are_being_discouraged/ -- Praveen Kum

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-23 Thread Praveen Kumar
nge > at runtime, would it be always good to use tuples instead of lists. > > Any views on this one? > > Thanks and best regards, > Vishal Sapre > ___________ > BangPypers mailing list > BangPypers@pyth

[BangPypers] Wa.o nice SHPAML

2009-12-28 Thread Praveen Kumar
templating system http://shpaml.webfactional.com/examples -- Praveen Kumar +91 9620621342 http://praveensunsetpoint.wordpress.com Bangalore ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] python id function

2010-01-07 Thread Praveen Kumar
tting allocated > again at the same location. > > >>> id((1, 2, 3)) > 601544 > >>> id((1, 2, 3)) > 601544 > >>> id((1, 2, 33)) > 601544 > >>> id((1, 2, 42)) > 601544 > > Notice that it is returning the same id even if the conte

Re: [BangPypers] python id function

2010-01-07 Thread Praveen Kumar
> [an...@localhost python]$ python > Python 2.6.2 (r262:71600, Aug 21 2009, 12:23:57) > [GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> from intlimit import * > Limit 257 > > So Pyth

Re: [BangPypers] Python database interface

2010-01-21 Thread Praveen Kumar
or 'ERROR: current transaction is aborted, commands > ignored until end of transaction block > ' in 'CREATE TABLE anizilla(name char(20))' > >>> > > > > WHAT IS IT ALL ABOUT MANN?? and bother to advice me on using > mysql i already

Re: [BangPypers] Python/Django issue

2010-01-25 Thread Praveen Kumar
> BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Praveen Kumar +91 9620621342 http://praveensunsetpoint.wordpress.com Bangalore ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Calling Python script from C++.

2010-02-25 Thread Praveen Kumar
> >> BangPypers mailing list > >> BangPypers@python.org > >> http://mail.python.org/mailman/listinfo/bangpypers > >> > > ___ > > BangPypers mailing list > > BangPypers@python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > ___ > > BangPypers mailing list > > BangPypers@python.org > > http://mail.python.org/mailman/listinfo/bangpypers > > > > > -- > cheers!!! > Zubin > ___ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Praveen Kumar +91 9620621342 http://praveensunsetpoint.wordpress.com Bangalore ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] @dabeaz visiting b'lore

2010-04-01 Thread Praveen Kumar
*+1 from me* 2010/4/1 Baiju M > +1 for meeting > > -- > Baiju M > ___ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > -- Praveen Kumar +91 9620621342 http://prave

Re: [BangPypers] ReadError: opening tar file

2010-06-04 Thread Praveen Kumar
a valid tarball with 000 > permissions and it throws an IOError (which makes more sense as well). > > > > -- > ~noufal > http://nibrahim.net.in > ___ > BangPypers mailing list > BangPypers@python.org > http:

Re: [BangPypers] Dictionary : An elementary question

2010-08-19 Thread Praveen Kumar
c] # how do you sort this list? sort_on = "key3" decorated = [(dict_[sort_on], dict_) for dict_ in [b]] decorated.sort() print decorated print "---" result = [dict_ for (key, dict_) in decorated] print result Praveen Kumar +91 9620621342 http://praveensunsetpo

Re: [BangPypers] How to build a debian package from python source and glade files ??

2008-07-03 Thread Praveen Kumar
nto a .deb package. Couldn't find anything concrete, any suggestions? > > Thanks and Regards, > > Nishith > > > ___ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpy

Re: [BangPypers] writing Python Service Client according to WS standards

2008-07-10 Thread Praveen Kumar
Heshan Suriyaarachchi > > http://heshans.blogspot.com/ > ___ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > > -- Praveen Kumar Software Engineer Mahiti Infotech Pvt. Ltd. # 33-34, Hennur Cross Hennur

Re: [BangPypers] need for project detail

2008-08-27 Thread Praveen Kumar
> I mean people do ask this for home-work or is this your creative idea? > > -- > Diabolic Preacher > As Is > Blog: http://pintooo15.livejournal.com/ > Bookmarks: http://simpy.com/user/dpreacher > -BEGIN GEEK CODE BLOCK- > need to revise it. lost the decoding pag

[BangPypers] file save from python script

2008-11-06 Thread Praveen Kumar
once if user select any file it should store to specific location * http://localhost:8080/starinstance/bin/manage_addFile *Any suggestion will be appreciable Thanks. -- Praveen Kumar Software Engineer Mahiti Infotech Pvt. Ltd. # 33-34, Hennur Cross Hennur Main Road Bangalo

Re: [BangPypers] file save from python script

2008-11-06 Thread Praveen Kumar
screen, chose manager) > script should be something like: > """ > container['bin'].manage_addFile(id=id, title=title, file=file) > """ > I havent tested, sorry;-), but at least the direction should be something > like this. > then change ad

Re: [BangPypers] file save from python script

2008-11-07 Thread Praveen Kumar
taulla S H <[EMAIL PROTECTED]> wrote: > hi praveen try this > > myrepo = getattr(context,*'*mydir*'*) > myrepo.manage_addFile(id=id, title=title, file=file) > > > On Fri, Nov 7, 2008 at 12:31 PM, Praveen Kumar <[EMAIL PROTECTED]> wrote: > >> Hi First o