Re: How to refer to class name and function name in a python program?

2009-09-20 Thread Vijayendra Bapte
On Sep 20, 8:38 pm, Peng Yu wrote: > Hi, > > I have the following code. I want to change the function body of > __repr__ to something like > >     return 'In %s::%s' % ($class_name, $function_name) > > I'm wondering what I should write for $class_name and $function_name in > python. > > Regards,

Re: Threads not Improving Performance in Program

2009-03-19 Thread Vijayendra Bapte
On Mar 20, 4:21 am, Tim Rowe wrote: > > Thank you for your response. I did not realize that. That seems like a > > huge limitation for such a great language. > > I will look into forking off processes instead of using threads. > > If that's what you need to do, yes it is. If it isn't, no it's not.

Re: Uploading a file using POST

2009-03-19 Thread Vijayendra Bapte
On Mar 19, 7:20 am, Justin Ezequiel wrote: > On Mar 19, 8:50 am, Thomas Robitaille > wrote: > > > I am trying to upload a binary file (a tar.gz file to be exact) to a   > > web server using POST, from within a python script. > > > What I would like is essentially the equivalent of > > > > enctyp

lipo: can't figure out the architecture type of

2009-03-19 Thread Vijayendra Bapte
Hi, I am getting an gcc compilation error while installing FSEvents (http://pypi.python.org/packages/source/p/pyobjc-framework-FSEvents/ pyobjc-framework-FSEvents-2.2b1.tar.gz) package on my Mac (OS X 10.4.11, Intel Core Duo 32 bit processor, Python2.6.1, gcc: i686-apple- darwin8-gcc-4.0.1) gcc f

Re: Who uses Python?

2007-06-05 Thread Vijayendra Bapte
On Jun 5, 12:37 am, walterbyrd <[EMAIL PROTECTED]> wrote: > I mean other than sysadmins, programmers, and web-site developers? > > I have heard of some DBAs who use a lot of python. > > I suppose some scientists. I think python is used in bioinformatics. I > think some math and physics people use p