Re: [BangPypers] Fwd: [AID Bangalore] Richard Stallman would be glad to vist our computer center

2008-11-12 Thread Senthil Kumaran
On Tue, Nov 11, 2008 at 10:42:53PM +0530, Vishal wrote: Richard Stallman might be coming to Bangalore. Please keep the group informed about rms talk-schedules in Bangalore. Though this group is specific to Python, idealist like rms and his thoughts are worthy to listen. -- Senthil

Re: [BangPypers] Congratulations to India for Landing on the Moon!

2008-11-15 Thread Senthil Kumaran
First of all Thank you, Jeff. Even I got curious after reading your email. We know python.org advertises NASA using Python. Let us try to figure out the software components used at ISRO and Chandrayaan. Deepak, agree with your comment on their website. Ignoring that, do not underestimate the

Re: [BangPypers] Pythonizing an algorithm

2008-12-04 Thread Senthil Kumaran
On Thu, Dec 4, 2008 at 3:07 PM, Shashi [EMAIL PROTECTED] wrote: http://manpages.ubuntu.com/manpages/hardy/man5/deb-version.htm in the Sorting Algorithm section... I can't understand a little bit of it... Please help Did not look at the code and went to algorithm to see what it is. It

Re: [BangPypers] PyXML deprecated?

2009-01-25 Thread Senthil Kumaran
Hello Gagan, I am new user of Python and using Python 2.5.1. I noticed that PyXML package is not included by default. Is PyXML deprecated and no more supported ? What are you using PyXML for? It is not a part of the standard library. If you require XML Parsing, the elementtree out there is a

[BangPypers] [Off-topic] Django +lightpd

2009-02-04 Thread Senthil Kumaran
On Thu, Feb 5, 2009 at 9:42 AM, Kenneth Gonsalves law...@au-kbc.org wrote: why am I seeing stars? That is because, you are either using mutt, elmo, pico or a mail client with text only output and it is automatically converting the html bold to text within stars. -- Senthil

Re: [BangPypers] Are comprehensions faster?

2009-02-09 Thread Senthil Kumaran
On Mon, Feb 9, 2009 at 5:55 PM, Chetan Nichkawde chetan.nichka...@gmail.com wrote: Are comprehensions (list, dict, set) supposed to run faster than regular approach? Thats quite an interesting question, which led me to do some research and discussions/ Lets do some benchmarking: # using list

Re: [BangPypers] Are comprehensions faster?

2009-02-09 Thread Senthil Kumaran
On Mon, Feb 9, 2009 at 7:06 PM, Senthil Kumaran orsent...@gmail.com wrote: timeit.Timer(for i in range(1000): l.append(i),l=[]).timeit(number=1000) 0.21927285194396973 You see that is slow and the reason is l.append being called again and again. lets eliminate it. Sorry, it is slow

Re: [BangPypers] Python easter eggs :)

2009-02-10 Thread Senthil Kumaran
In Py3K, import antigravity That was Skip, who did that! :) -- Senthil On Tue, Feb 10, 2009 at 6:39 PM, Anand Balachandran Pillai abpil...@gmail.com wrote: On Tue, Feb 10, 2009 at 6:38 PM, Anand Balachandran Pillai abpil...@gmail.com wrote: import __phello__ Hello world... Apparently,

Re: [BangPypers] Python easter eggs :)

2009-02-10 Thread Senthil Kumaran
Well, my favorite is not just import this but import this print this.s -- Senthil On Tue, Feb 10, 2009 at 6:41 PM, Senthil Kumaran orsent...@gmail.com wrote: In Py3K, import antigravity That was Skip, who did that! :) -- Senthil On Tue, Feb 10, 2009 at 6:39 PM, Anand Balachandran

Re: [BangPypers] Python easter eggs :)

2009-02-10 Thread Senthil Kumaran
On Tue, Feb 10, 2009 at 6:54 PM, Anand Balachandran Pillai abpil...@gmail.com wrote: If anyone had a doubt whether to use list comprehension in their code, they have the answer - it is right there as part of the Zen of Python ...:) Thats a good way of looking at things. :) -- -- Senthil

[BangPypers] Fwd: ANN: Python 2.6 Quick Reference available

2009-02-11 Thread Senthil Kumaran
This is an useful resource. -- Senthil -- Forwarded message -- From: Richard Gruet rgruetatfreedo...@news.free.fr Date: Wed, Feb 11, 2009 at 12:24 AM Subject: ANN: Python 2.6 Quick Reference available To: comp-lang-python-annou...@moderators.isc.org The Python 2.6 Quick

Re: [BangPypers] Fwd: ANN: Python 2.6 Quick Reference available

2009-02-11 Thread Senthil Kumaran
On Wed, Feb 11, 2009 at 2:11 PM, Parthan SR parth.technofr...@gmail.com wrote: this? Was it a link or an attachment? The Python 2.6 Quick Reference is available in HTML and PDF formats at http://rgruet.free.fr/#QuickRef. -- Senthil ___ BangPypers

[BangPypers] Fwd: Chicago Python User Group

2009-02-11 Thread Senthil Kumaran
FYI :- I should say, For Your Inspiration! On Thu, Feb 12, 2009 at 9:18 AM, Carl Karsten c...@personnelware.com wrote: Chicago Python User Group = Go ChiPy! After last month's hugely successful language comparison mayhem, the world's most successful user group

Re: [BangPypers] Do we have any NetBeans IDE for Python users here?

2009-02-27 Thread Senthil Kumaran
On Fri, Feb 27, 2009 at 1:42 PM, Amit k. Saha amitsaha...@gmail.com wrote: Do we have anyone who has at least tried the Python support in NetBeans IDE? Its at http://wiki.netbeans.org/Python. Can I make an appeal -would you like to atleast try? I would love to hear back from you folks..

Re: [BangPypers] Do we have any NetBeans IDE for Python users here?

2009-02-27 Thread Senthil Kumaran
On Fri, Feb 27, 2009 at 2:33 PM, Amit k. Saha amitsaha...@gmail.com wrote: Thanks! I did some code too :-) That's great! I had recently seen the mention of NETBEANS at http://wiki.python.org Editors list and it stayed in my mind. Nice that we have another editor for Python. As you have

Re: [BangPypers] pycon India [was] Open source India

2009-02-27 Thread Senthil Kumaran
On Fri, Feb 27, 2009 at 5:57 PM, Baiju M mba...@zeomega.net wrote: On Fri, Feb 27, 2009 at 5:53 PM, Kenneth Gonsalves law...@au-kbc.org wrote: btw, it is premature to start a fresh mailing list or an organising committee at this stage. Lets keep it on this list - after all there isnt such a

Re: [BangPypers] Classmethod, Decorators and staticmethod

2009-03-06 Thread Senthil Kumaran
On Thu, Mar 5, 2009 at 6:29 PM, VIJAY KUMAR vnbang2...@yahoo.com wrote:    Can some one please explain me with example about    1) classmethod    2) staticmethod    3) Decorators Well Vijay, you have asked a sweeping question. That's why you are finding so many unrelated

Re: [BangPypers] Classmethod, Decorators and staticmethod

2009-03-06 Thread Senthil Kumaran
On Fri, Mar 6, 2009 at 7:53 PM, Anand Balachandran Pillai abpil...@gmail.com wrote: I am summarizing the 3 musketeers here. So, the 20 million dollar question is... Amongst the 3 musketeers described by Anand B. classmethods and staticmethods are the two, who is the other one? A. instance

Re: [BangPypers] PyCon India IRC Dicussion #2

2009-03-13 Thread Senthil Kumaran
On Fri, Mar 13, 2009 at 8:05 PM, Senthil Kumaran orsent...@gmail.com wrote: IRC + mailling list should be ok. And yeah, Sorry guys even I could not drop by to IRC channel. I am following the logs and the mailling list though. -- Senthil

[BangPypers] Backup your files - Recipe in Python Cookbook ( Hardcopy)

2009-03-17 Thread Senthil Kumaran
Just to share, I came across the following recipe: http://code.activestate.com/recipes/191017/ in the The Python Cookbook ( Hardcopy). This is written by Anand B Pillai. -- Senthil ___ BangPypers mailing list BangPypers@python.org

[BangPypers] Fwd: [PyCon-Organizers] Global PyCon open space on Sunday

2009-03-27 Thread Senthil Kumaran
Baiju / Pradeep, Lets plan to attend this one. -- Senthil -- Forwarded message -- From: A.M. Kuchling a...@amk.ca Date: Fri, Mar 27, 2009 at 7:06 PM Subject: [PyCon-Organizers] Global PyCon open space on Sunday To: pycon-organiz...@python.org There are several people at

Re: [BangPypers] Fwd: [PyCon-Organizers] Global PyCon open space on Sunday

2009-03-28 Thread Senthil Kumaran
On Sat, Mar 28, 2009 at 3:17 AM, Noufal Ibrahim nou...@gmail.com wrote: Lovely. We should discuss how things can move ahead once you guys are back. Plus, if you have any thoughts/comments to put across to PSF members, do share. -- Senthil ___

Re: [BangPypers] Advanced Python or Understanding Python

2009-04-01 Thread Senthil Kumaran
On Wed, Apr 1, 2009 at 12:30 PM, Anand Balachandran Pillai abpil...@gmail.com wrote: So Unladen Swallow - A lightweight Python. Quite cryptic I say... they could have opted for something more straightforward perhaps... Their idea is to backport the changes to CPython. So, there is nothing in

Re: [BangPypers] Advanced Python or Understanding Python

2009-04-01 Thread Senthil Kumaran
On Wed, Apr 1, 2009 at 7:20 PM, Venkatraman S venka...@gmail.com wrote: Think this panel was the only thing on the core ; or were there any other talks (i did not see any in the roster)? Do you have any notes from this panel? Nope, there were other talks on the core too. Like writing the

Re: [BangPypers] Advanced Python or Understanding Python

2009-04-01 Thread Senthil Kumaran
On Wed, Apr 1, 2009 at 3:19 AM, Noufal Ibrahim nou...@gmail.com wrote: Monty python reference http://www.youtube.com/watch?v=y2R3FvS4xr4 Plus the 'unladen' meaning lightweight or some such. In an early Star Trek: The Next Generation novel, Geordi is looking for someone in a bar. He is told

Re: [BangPypers] help please..

2009-04-11 Thread Senthil Kumaran
shridhar kyrlageri shridhar_...@yahoo.com wrote: can some one help me debug the matlab code.. please reply I am sorry, I do not know Matlab. But can you read this document: http://www.catb.org/~esr/faqs/smart-questions.html and explain to us what it says about the kind of question you asked?

Re: [BangPypers] What's the latest with Pycon India?

2009-04-18 Thread Senthil Kumaran
On Sat, Apr 18, 2009 at 3:01 PM, Ramdas S ram...@developeriq.com wrote: Can we have an update on the status/interest levels? Start small is the idea. What are your thoughts? I am not much into organizing, but I personally would want PyCon India to start off this year. -- Senthil

Re: [BangPypers] What's the latest with Pycon India?

2009-04-18 Thread Senthil Kumaran
Noufal, On Sat, Apr 18, 2009 at 9:32 PM, Noufal Ibrahim nou...@gmail.com wrote: (25th is Python Bug day). I wanted to respond to the earlier mail. But how about the idea that we meet up on 25th, with our laptops and participate in the Python bug day together? Place (with wifi) is something

Re: [BangPypers] What's the latest with Pycon India?

2009-04-18 Thread Senthil Kumaran
On Sat, Apr 18, 2009 at 10:14 PM, Ramdas S ram...@developeriq.com wrote: I am all for doing something small, but good I have not much interacted with others, but you have 4 votes for this one with Baiju, Pradeep, Noufal and I. (We have interacted over mails, in person and sense the need for

Re: [BangPypers] looking for an opportunity to take up Volunteer work in Python

2009-04-19 Thread Senthil Kumaran
On Sun, Apr 19, 2009 at 9:54 PM, bijoy bijoy.fra...@gmail.com wrote: Pls let me know if there is any opportunity. http://wiki.python.org/moin/VolunteerOpportunities -- Senthil ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] Python Day India

2009-04-30 Thread Senthil Kumaran
On Wed, Apr 29, 2009 at 10:24:39AM +0530, Noufal Ibrahim wrote: Suppose we have a mini meeting in June, what would our timeline be like after that in order to get something going in September? Sorry, for pitching in late. I am behind my mails by a huge margin. :) I did get the gist of the

Re: [BangPypers] Python Day India

2009-05-01 Thread Senthil Kumaran
On Fri, May 01, 2009 at 03:21:07PM +0530, Anand Chitipothu wrote:  You seem to have a subversive agenda on MG Road that day.  Perhaps a date ;) ? It takes me about 1 and half to 2 hours to reach ThoughtWorks and it just takes less than an hour to reach M G Road. Totally it saves 2 hours

Re: [BangPypers] Python Day India

2009-05-01 Thread Senthil Kumaran
On Fri, May 01, 2009 at 10:05:01PM +0500, Noufal Ibrahim wrote: Excellent. I'll take the lead as soon as I'm back (12/May). For this meeting, if one you guys (Senthil or Ramdas) could cover all the major items we have to handle to get a conference going and put it up on the wiki, we'd have

Re: [BangPypers] Python Day India

2009-05-03 Thread Senthil Kumaran
On Sun, May 03, 2009 at 04:39:03PM +0530, Kiran Jonnalagadda wrote: Taking charge, I'm perfectly willing although I see the conference as something which comes about because the community wants it rather than an individuals ego trip. The only real need for a leader is to put his foot

Re: [BangPypers] doc to odt

2009-05-05 Thread Senthil Kumaran
On Sun, May 03, 2009 at 09:25:25PM +0530, Ataulla S H wrote: Hello Subhan, This file might help you $python DocumentConverter.py test.doc test.odt Can you point us to the project of this script? Standalone, this won't be helpful at all. Thanks, Senthil

[BangPypers] Bangpyper's meeting today - 17 th May

2009-05-16 Thread Senthil Kumaran
Time: 5pm - 7pm Date: 17 May Agenda : Follow up to last times meeting and taking the conference forward. Venue: Barista at Church Street; Opposite to Java City. -- Senthil ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] PyCon India meeting minutes from 17/May/2009

2009-05-24 Thread Senthil Kumaran
On Mon, May 18, 2009 at 10:28:08PM +0530, Noufal Ibrahim wrote: Hello everyone, Here are the minutes of the last (17 May) meeting http://wiki.python.org/moin/BangPypers/Meeting17May2009 Very nicely written. It's been a week and we have made (at least) some progress. Let us plan to meet up

Re: [BangPypers] [Inpycon] PyCon Logo decision

2009-05-27 Thread Senthil Kumaran
On Wed, May 27, 2009 at 11:38 AM, VidA v...@svaksha.com wrote: On Tue, May 26, 2009 at 19:06, Anand Chitipothu anandol...@gmail.com wrote: Can I vote for more than one entry? Rules mentioned that you could vote for more than one entry. :( ( sad smiley for this topic coming for discussion) How

[BangPypers] CSS Designers?

2009-05-27 Thread Senthil Kumaran
Looking at the exciting logos that came up for the PyCon India 2009; I am inclined to believe that we do have good CSS designers in our group. The PyCon India website, currently hosted at http://greenchilly.in needs someone with CSS skills. Would any of you like to pitch in? You may directly

Re: [BangPypers] [Inpycon] PyCon Logo decision

2009-05-28 Thread Senthil Kumaran
On Thu, May 28, 2009 at 10:06:05PM +0530, Noufal Ibrahim wrote: Between logo 9 and 14, I think we should keep one as the Logo for the site and the other as a sticker design for the swag and laptop stickers (the more public face). I think 9 is simple enough to go on a site and 14 looks more

[BangPypers] problems while using pexpect. pexpect.TIMEOUT always...

2009-06-08 Thread Senthil Kumaran
I have been trying to use pexpect and I am failing with pexpect.TIMEOUT for all my attempts. In order to troubleshoot, I decided to go with simplest possible one. Here is my ssh to localhost: [21:29:14 senthil]$ssh localhost -l senthil sent...@localhost's password: sent...@ubuntu:~$ And here is

Re: [BangPypers] problems while using pexpect. pexpect.TIMEOUT always...

2009-06-08 Thread Senthil Kumaran
On Mon, Jun 08, 2009 at 10:39:00PM +0530, Gora Mohanty wrote: And here is my pexpect script: http://paste.pocoo.org/show/121788/ I am not very familiar with pexpect, but from what I remember of Expect, there are a couple of issues here: o You should be using p.expect() instead of

Re: [BangPypers] [New bie question ] Clarification on Multiply operator applied to list(data structure)

2009-06-10 Thread Senthil Kumaran
On Wed, Jun 10, 2009 at 04:57:39PM +0530, Aman Aggarwal wrote: I am reading How to think like a computer scientist which is an introductory test in Python. I wanna clarify the behaviour of multiply operator(*) when applied to list(data structure). I wonder why [[0] * columns] *

Re: [BangPypers] Good Python training in blr

2009-06-15 Thread Senthil Kumaran
On Mon, Jun 15, 2009 at 12:35:23PM +0530, Srijayanth Sridhar wrote: Hello, Are there any good python training programs in Bangalore? Can anybody point me in the right direction? This isn't for me, its for colleagues who might need to learn Python for an upcoming project. Please search the

Re: [BangPypers] which is better solution of the question

2009-06-16 Thread Senthil Kumaran
On Tue, Jun 16, 2009 at 12:55:28PM -0400, Pradeep Gowda wrote: I wrote a script to test this hypothesis : http://dpaste.com/55994/ The zip() version is 100 times faster on average than the other solution. Pradeep: Here is a surprise: http://dpaste.com/hold/56023/ I know about the

Re: [BangPypers] calling instance of the other class.

2009-06-22 Thread Senthil Kumaran
On Mon, Jun 22, 2009 at 04:35:35AM -0700, learningpython wrote: Please can you tell me how to pass instance of above class as a member of the new message created in similar lines with one of the elements is the complete data above (instance of above class). I am encapsulating above message

Re: [BangPypers] calling instance of the other class.

2009-06-23 Thread Senthil Kumaran
On Tue, Jun 23, 2009 at 03:50:42AM -0500, Jeff Rush wrote: just pass the of the another structure in the structure element, some thing close. The equivalent to the operator in C is just an object reference in Python. Yes, the Original Poster (learningpython): When you have: class

Re: [BangPypers] Invitations fo Pycon India

2009-06-29 Thread Senthil Kumaran
On Mon, Jun 29, 2009 at 11:17:29AM +0530, Noufal Ibrahim wrote: Hello everyone, Our site is live at http://in.pycon.org/2009/ That's cool.. I shall register right away and help with the promotional stuff. Need to catch with mails tough. -- Senthil If you stand on your head, you will

Re: [BangPypers] User group meeting this weekend

2009-07-23 Thread Senthil Kumaran
On Thu, Jul 23, 2009 at 07:29:05AM +0530, Brad Allen wrote: So are we confirmed for meeting at the ZeOmega RLP office at 2pm? Does everyone know how to find it? Yes. It is confirmed at ZeOmega. I don't have an organized talk with slides but I can show off some of the source code we're using

Re: [BangPypers] User group meeting this weekend

2009-07-24 Thread Senthil Kumaran
On Thu, Jul 23, 2009 at 01:26:15PM +0530, Brad Allen wrote: I'm suggesting we allocate time to plan for a future coding sprint, maybe a couple of weeks later. I am all for it. Perhaps Aug1 or Aug8. Lets discuss it at todays meet. -- Senthil Modern man is the missing link between apes and

Re: [BangPypers] Detailed talk on the GIL

2009-07-26 Thread Senthil Kumaran
On Sun, Jul 26, 2009 at 07:23:59PM +0530, Roshan Mathews wrote: What are the odds, I just downloaded this for later viewing yesterday. :) Weird, I viewed the video a bit today morning. memes I think these are called. :) Every one suddenly getting interested in concurrency and coroutines

Re: [BangPypers] User group meeting this weekend

2009-07-26 Thread Senthil Kumaran
On Sun, Jul 26, 2009 at 04:42:38PM +0530, Arvind Jamuna Dixit wrote: I am feeling very bad for myself for having missed yesterday's meeting and am interested in knowing the minutes of yesterday's meeting. You might join the next meeting perhaps. The checked the wiki but did not find much

Re: [BangPypers] Any python metaclasses for UID

2009-07-27 Thread Senthil Kumaran
On Mon, Jul 27, 2009 at 02:50:39PM +0530, Sirtaj Singh Kang wrote: On 27-Jul-09, at 1:50 PM, Shivaraj M S wrote: [snip] Can there be a metaclass in python which can change the behaviour of object at creation stage by extending it and nullifying friend functions? (I must confess this

Re: [BangPypers] Looking for Linux / Python based jobs

2009-08-27 Thread Senthil Kumaran
On Thu, Aug 27, 2009 at 06:16:47AM -0700, Ashutosh Narayan wrote: I am a Linux guy with almost two years of experience. I am looking for Linux / Python / Bash Scripting / Sys Ad based jobs. Can anybody give me a pointer for these ? Please let me know and I shall forward my profile. I don't

Re: [BangPypers] Python 2.7 alpha1 released

2009-12-07 Thread Senthil Kumaran
On Mon, Dec 07, 2009 at 01:17:49PM +0530, Anand Balachandran Pillai wrote: Python 2.7 a1 was released during the week-end. http://docs.python.org/dev/whatsnew/2.7 This is alpha release,for testing. I don't know if Andrew Kuchling has updated the whatsnew doc. The best piece of whatsnew for

Re: [BangPypers] Python 2.7 alpha1 released

2009-12-07 Thread Senthil Kumaran
On Mon, Dec 07, 2009 at 04:09:26PM +0530, Noufal Ibrahim wrote: Maybe it shouldn't get ported back. If 2.x becomes as good as 3.x without the backward incompatibilities, it's going to hurt adoption. It *is* after Come on. :) It should not be that way. There should be more and more compatibility

Re: [BangPypers] Need help for docproc module

2009-12-10 Thread Senthil Kumaran
On Thu, Dec 10, 2009 at 02:03:40PM +0530, satyandra babu wrote: *from DocProc import Processor, ProcessorStatus* What is DocProc? Why do you need it? I have Googled for it but not able to find any information, i found that this script is written for FAST ESP. What is FAST ESP? Can

Re: [BangPypers] Python Videos

2009-12-13 Thread Senthil Kumaran
On Mon, Dec 14, 2009 at 11:04:48AM +0530, Srinivas Reddy Thatiparthy wrote: P.S: i can search but i cant double check each and every video whether it is good in content and sound. The following videos are good resources in my opion. 1. http://pycon.blip.tv You can go to

Re: [BangPypers] mobile application development

2009-12-17 Thread Senthil Kumaran
On Thu, Dec 17, 2009 at 01:47:50AM -0800, Sam's Lists wrote: Now if your goal is to make a lot of money with an application that you write in the next six months, clearly you'd want to chose Symbian over the N900. But really, you'd want to choose the iPhone if that was your goal. And that

Re: [BangPypers] Python performance

2009-12-22 Thread Senthil Kumaran
On Tue, Dec 22, 2009 at 02:01:47PM +0530, Venkatraman S wrote: Are you sure about this? As in, multithreading *in* python does help? Yes, very much. It is a prevalent misunderstanding that multi-threading in python does not help at all. For IO operations like reading a file, listening and

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-23 Thread Senthil Kumaran
On Wed, Dec 23, 2009 at 11:15:56AM +0530, Vishal wrote: After having everything in Python now, performance is something people want to look at. Hence these efforts. Would you like to explain a bit more on this? Most often with Python when I have found people speaking about performance and

Re: [BangPypers] Is it possible to run python software in WinxP?

2009-12-23 Thread Senthil Kumaran
Hello Mr. Sriranga, On Wed, Dec 23, 2009, 74yrs old wrote: Hello Python experts, Not really experts here, but learners like you perhaps. :) guidance- step by step- how to run the said program in WinXP also. The said program viz tesseractindic-trainer-gui-0.1.3 tar.gz(113 KB) is available

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-24 Thread Senthil Kumaran
On Thu, Dec 24, 2009 at 02:06:31PM +0530, Navin Kabra wrote: Java is statically typed. Which means that the compiler (and the JIT compiler) has lots of information available to it. Lots of bindings can be done at compile time. Lots of optimizations can be done at compile time. And Yes, agreed.

Re: [BangPypers] SHPAML in Ubuntu

2009-12-29 Thread Senthil Kumaran
On Tue, Dec 29, 2009 at 04:14:19PM +0530, harish ladhani wrote: I have Ubuntu(9.10) installed. I want to use shpaml. Can anyone know how to install it on Ubuntu. Also Ubuntu doesn't have SHPAML in its package repository. SHPAML seems popular in bangpypers. :) Its seems it is just a .py file.

Re: [BangPypers] Unladen Swallow for Py3k

2010-01-06 Thread Senthil Kumaran
On Thu, Jan 07, 2010 at 12:30:05PM +0530, Anand Balachandran Pillai wrote: Interesting to read about that merge back to py3k. Never read any related posts in pydev yet. I wonder if Guido is ok with this. The same sentiment here. Except for this post from Jesse Noller (which seems more of

Re: [BangPypers] The merge : Unladen Swallow into CPython

2010-01-21 Thread Senthil Kumaran
On Thu, Jan 21, 2010 at 06:35:23PM +0530, Anand Balachandran Pillai wrote: Antoine Pitrou just replied in the thread. And he says... :) QUOTE I think a 10-20% increase would be acceptable /QUOTE Bingo! I don't see much chances of U.S going in to CPython in its current state. Yup.

Re: [BangPypers] UTF-8 character

2010-01-30 Thread Senthil Kumaran
On Fri, Jan 29, 2010 at 11:36:58PM +0530, Eknath Venkataramani wrote: I am using UTF-8. But how do I indicate that to the interpretter Got it working. Did this: #!/usr/bin/python # -*- coding: UTF-8 -*- Yup. That is perfect. That emacs-style line declares to the interpreter that the

Re: [BangPypers] using IPython from pdb

2010-02-03 Thread Senthil Kumaran
Using IPython from pdb, what use is it? I read Jeff's excellent mail on debugging and tracing and he insisted on using IPython from pdb. I have used pdb extensively and never used IPython, (it never caught me, given that odd interface of number[:]) etc. So, I am really not sure as how using

Re: [BangPypers] Help -- Python with C

2010-02-04 Thread Senthil Kumaran
On Thu, Feb 04, 2010 at 02:29:29PM +0530, VIJAY KUMAR wrote:     I wanted to call the function defined in C in to python module. Follow the examples given here: http://nedbatchelder.com/text/whirlext.html You should be able to convert you C function into a proper python module. -- Senthil

Re: [BangPypers] using IPython from pdb

2010-02-06 Thread Senthil Kumaran
On Sat, Feb 6, 2010 at 7:45 PM, Jeffrey Jose jeffjosej...@gmail.com wrote: I was under the impression that everyone here used and loved IPython. Boy, was I wrong. Thanks for taking time to explain things a bit with ipython. I have heard rave reviews about ipython, especially from the scientific

Re: [BangPypers] PyCon 2010

2010-02-14 Thread Senthil Kumaran
On Mon, Feb 15, 2010 at 08:37:30AM +0530, Anand Balachandran Pillai wrote: Not sure about anybody else. I am going. Presenting a tutorial on How to solve it using Python :) -- Senthil Eat, drink, and be merry, for tomorrow you may work. ___

Re: [BangPypers] why is round() not working?

2010-02-19 Thread Senthil Kumaran
On Fri, Feb 19, 2010 at 12:58:03PM +0530, Asokan Pichai wrote: On Fri, Feb 19, 2010 at 12:37 PM, Kenneth Gonsalves law...@au-kbc.org wrote: round(2.16670001,3) 2.1668 print %5.3f %(round(2.1667001, 3)) 2.167 And if you want a safer way to deal with floating

Re: [BangPypers] ActiveState/O'Reilly Launch New and Improved Code Share Site (Python) via @Bret

2010-02-19 Thread Senthil Kumaran
On Sat, Feb 20, 2010 at 4:27 AM, Shashwat Anand anand.shash...@gmail.com wrote: code.activestate.com AFAIK, its been there for a while. -- Senthil ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Students/Mentors for GSoC?

2010-02-21 Thread Senthil Kumaran
On Fri, Feb 19, 2010 at 09:52:50PM +0530, Yuvi Panda wrote: Hi! I'm planning to apply for GSoC this year, probably under PSF or Django. Its a good idea. Do a lot of research and apply for something you might enjoy to work on. Nothing else. I did during 2007 and carried further the same during

Re: [BangPypers] PyAutoRun

2010-02-26 Thread Senthil Kumaran
On Fri, Feb 26, 2010 at 03:47:15PM +0530, Zubin Mithra wrote: Hello, I have been using python for quite some time; however this is the first python project i have worked on. I see that the script is just a short cut utility, I personally feel opening the file in the editor and then doing

Re: [BangPypers] Buildout internal support

2010-03-01 Thread Senthil Kumaran
On Mon, Mar 01, 2010 at 04:28:46PM +0530, Baiju M wrote: Sorry, wrong list :) Yeah, I wondered. If you are going to provide a corporate support to all Buildout issues. ( Not a bad idea tough, if you think about it :)) -- Senthil Semper Fi, dude. ___

Re: [BangPypers] running python on mac...

2010-03-30 Thread Senthil Kumaran
anuj abhishek wrote: I bought myself a new mac this weekend..and I am having some trouble resizing the default font size on idle which is very small... I tried changing the settings through preferences but nothing happens when I click to apply the settings.. Mac users out there who

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

2010-04-14 Thread Senthil Kumaran
On Wed, Apr 14, 2010 at 12:23:32PM +0530, Azhagu selvan wrote: Many small enterprises and college students who wants an efficient project tracking tool, doesn't want to make their source code and project info public - atleast till the project ends. In our service people can make their projects

Re: [BangPypers] Coaching institute in Bangalore.

2010-04-16 Thread Senthil Kumaran
On Fri, Apr 16, 2010 at 07:13:55AM -0400, Adityendra Rawat wrote: Can some one tell me about some good coaching centers for Python around Kormangala or Indiranagar area. To answer your question. Ask a proposal from some of the freelancers in this list to conduct a training for you or your

Re: [BangPypers] User group meeting this/next weekend?

2010-04-17 Thread Senthil Kumaran
On Sat, Apr 17, 2010 at 05:27:07PM +0530, Noufal Ibrahim wrote: people (the number of +1s IIRC was 8) where I work so that it's +1 if that counts a registration. :) -- Senthil Be free and open and breezy! Enjoy! Things won't get any better so get used to it.

Re: [BangPypers] Xpost : PyCon India 2010 venue

2010-04-20 Thread Senthil Kumaran
On Tue, Apr 20, 2010 at 04:09:18PM +0530, Noufal Ibrahim wrote: We're trying to decide where to hold the next PyCon in India and have a survey set up at http://www.surveymonkey.com/s/QKJ93GC If you can spread the word and take some time to respond to the survey, it would help us to

Re: [BangPypers] Python code documentation doubt

2010-04-22 Thread Senthil Kumaran
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 for modules and functions is called 'docstrings'. PEP: 257 - is the 'immortalized' pep for docstring

Re: [BangPypers] Cheap hosting

2010-04-22 Thread Senthil Kumaran
On Thu, Apr 22, 2010 at 09:00:09PM -0700, Sridhar Ratnakumar wrote: NearlyFreeSpeech.Net They don't seem to offer Python interpreter in their hosting. But yeah, the OP did not ask for it either. :) -- Senthil Big book, big bore. -- Callimachus

[BangPypers] FW: OpenHatch: Find ways to contribute to open source (including Python itself)

2010-04-23 Thread Senthil Kumaran
If you are looking to get started with FOSS, Asheesh tool might help you. -- Senthil On Mon, Apr 12, 2010 at 04:47:08PM -0400, Asheesh Laroia wrote: Hi all! I'm happy to announce the new version of the OpenHatch volunteer opportunity finder. Volunteer opportunity finder

Re: [BangPypers] greetings from kiran

2010-04-23 Thread Senthil Kumaran
On Fri, Apr 23, 2010 at 11:08:31PM +0530, jaya kumar wrote: greetings from kumar Welcome to the group. am new to python am now learning python You will learning python to be a worthy experience. i hope this community will help to improve the skills in python ... Not really. :) You will

Re: [BangPypers] python supports frameworks ?

2010-04-25 Thread Senthil Kumaran
On Mon, Apr 26, 2010 at 07:53:12AM +0530, jaya kumar wrote: please reply ? Please use a search engine. -- Senthil Ernest asks Frank how long he has been working for the company. Ever since they threatened to fire me. ___ BangPypers mailing

Re: [BangPypers] Equivalent to Nokogiri in Python

2010-04-30 Thread Senthil Kumaran
On Sat, May 1, 2010 at 10:21 AM, JAGANADH G jagana...@gmail.com wrote: Dear All Is there any equivalent to Nokogiri (Ruby) in Python ? It is difficult for us if you specify Jargons. I understand Nokogiri is XML parser with some good capabilities to deal with XPATH Similar programs in python

[BangPypers] Bluebream

2010-05-01 Thread Senthil Kumaran
On Sat, May 01, 2010 at 11:55:54PM +0530, Baiju M wrote: FYI, Zope 3 is renamed to BlueBream : http://bluebream.zope.org Hi Baiju, I thought Bluebream was a new web framework. I was looking around the site and at ohloh site and at ohloh when I looked the lines of code, it was in small, so I

Re: [BangPypers] python - print spooling monitoring

2010-05-15 Thread Senthil Kumaran
On Sat, May 15, 2010 at 01:08:17PM +0530, Gaurav Kalra wrote: Hi. I need some help for the following scenario. A process that keeps on monitoring the print spooler . when u try to spool something, it asks for ur details like name, number etc., save them along with the number of pages u

Re: [BangPypers] Any compiled all PEP's into pdf

2010-05-27 Thread Senthil Kumaran
On Thu, May 27, 2010 at 04:30:12PM +0530, Srinivas Reddy Thatiparthy wrote: Does anyone compiled all PEP's into a PDF document or chm file.I searched the internet but didn't get it.If you guys found pdf/chm file, please send the link. You got the pdf version from Anand. Active State

Re: [BangPypers] Tcp/ip server client program

2010-05-27 Thread Senthil Kumaran
On Thu, May 27, 2010 at 11:46:36PM +0900, murugadoss wrote: I am trying out client/server program in python using both udp and tcp/ip. UDP is working,but for tcp/ip program, i get an error as Please share the snippet of client and server code. KeyboardInterrupt means you pressed CNTL+C or

Re: [BangPypers] Any compiled all PEP's into pdf

2010-05-27 Thread Senthil Kumaran
On Fri, May 28, 2010 at 10:41:23AM +0530, Noufal Ibrahim wrote: and renders it properly (links, TOC etc.). It looks much better than a raw text-pdf conversion. The crawling, combining still has to be Except for the heading in the PEP data. The solution would be to indent it so that it behaves

Re: [BangPypers] Extracting zipfile

2010-05-30 Thread Senthil Kumaran
On Mon, May 31, 2010 at 08:32:01AM +0530, Jeffrey Jose wrote: Dear Murugadoss, If you're starting out Python, I highly recommend IPython ( http://ipython.scipy.org/moin/ ). With its excellent tab completion, you would never run into an AttributeError I doubt. We better recommend him to

Re: [BangPypers] Extracting zipfile

2010-05-31 Thread Senthil Kumaran
On Mon, May 31, 2010 at 02:55:12PM +0530, Jeffrey Jose wrote: Correct me if I'm wrong but tab-completion doesn't work out of the box for standard python interpreter. You are right. Tab Completion does not work out of box for standard python interpreter. But IDLE has auto-completion on . (os.

Re: [BangPypers] python for management studies

2010-06-03 Thread Senthil Kumaran
On Thu, Jun 03, 2010 at 10:49:59PM +0530, Kenneth Gonsalves wrote: I have been commissioned to create and implement a course (compulsory with 2 credits for first semester) on computer programming for business managers for MBA's in a new B school that is starting up. I envisage something like

Re: [BangPypers] python for management studies

2010-06-04 Thread Senthil Kumaran
On Fri, Jun 04, 2010 at 12:55:19PM +0530, Venkatraman S wrote: Do NOT expect MBA grads to *program* - they are decision makers, they need Be whatever, even if you are president of a company and *want* to write a small program to move files around or add your salary, you better know the basics

Re: [BangPypers] ReadError: opening tar file

2010-06-04 Thread Senthil Kumaran
On Fri, Jun 04, 2010 at 07:18:56PM +0900, murugadoss wrote: Further, on debug i got to know in tarfile.py (library file) function open( On man, you went too far. tar = /root/testtar.tar.gz Is this is a tarfile? Answer is No. -- Senthil ___

Re: [BangPypers] ReadError: opening tar file

2010-06-08 Thread Senthil Kumaran
On Tue, Jun 08, 2010 at 02:26:18PM +0530, Anand Balachandran Pillai wrote: On Tue, Jun 8, 2010 at 2:17 PM, Senthil Kumaran orsent...@gmail.com wrote: On Tue, Jun 08, 2010 at 12:04:38PM +0530, Anand Balachandran Pillai wrote: import tarfile tarfile.open(*.tar.gz,r:gz) ImportError

Re: [BangPypers] 2to3 conversion

2010-06-09 Thread Senthil Kumaran
On Wed, Jun 09, 2010 at 02:43:39PM +0530, Zubin Mithra wrote: Hey everyone, I got this traceback while running 2to3 on a file.( http://paste.pocoo.org/show/223468/). The file can be viewed here at (http://paste.pocoo.org/show/223469/). I see, you are not running 2to3 on the file, but

Re: [BangPypers] 2to3 fixers

2010-06-11 Thread Senthil Kumaran
On Sat, Jun 12, 2010 at 12:55:25AM +0530, Zubin Mithra wrote: I just discovered that the following construct does not work in Py3k. string.maketrans('-', '_') When i try to convert a python module containing the above construct, it does not get modified in a way such that it could run

  1   2   3   >