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

2008-11-16 Thread Anand Balachandran Pillai
On Sat, Nov 15, 2008 at 4:59 AM, Deepak Thukral <[EMAIL PROTECTED]> wrote: >> A job well done! >> (It is unknown whether Python was running onboard ;-) > > ISRO is in stone age as far as Computer Technology is concern (Their portal > only works in IE6 and written in creepy html). I think they are

[BangPypers] Python 3.0

2008-12-10 Thread Anand Balachandran Pillai
Looks like amid the gloom & doom around us, the release of Python 3.0 went unnoticed. Py3k was released a week ago on Dec 3rd officially. http://www.python.org/download/releases/3.0/ However, the language has undergone a lot of changes , both subtle and in-your-face. A number of familiar paradig

[BangPypers] Currying in Python 3.0

2008-12-10 Thread Anand Balachandran Pillai
The new functools module in Python provides a neat API for doing function currying and doing some other FP tricks. The functools.partial function allows you to create "partial" functions which chops off an argument from the beginning of the argument list. Simple example. >>> def f(x,y): return x

Re: [BangPypers] Currying in Python 3.0

2008-12-10 Thread Anand Balachandran Pillai
On Thu, Dec 11, 2008 at 12:09 PM, Anand Balachandran Pillai <[EMAIL PROTECTED]> wrote: > > So, if you have a function which accepts four arguments, say > >>>> curry(curry(f, 10), 20) > >>>> curry(curry(curry(f, 10), 20), 30) > >>>> curry(

Re: [BangPypers] Python Developers Required to Amstredam, Netherlands

2008-12-21 Thread Anand Balachandran Pillai
Also, visit the website of the company and do some initial investigation before blindly sending off your resumes. Headhunters often does not post it so do some googling yourselves. In this case it is www.iknowledge.nl. --Anand On Thu, Dec 18, 2008 at 1:01 PM, Ramakrishna Reddy wrote: > Hi > > O

Re: [BangPypers] Multiprocessing takes higher execution time

2009-01-07 Thread Anand Balachandran Pillai
On Wed, Jan 7, 2009 at 3:22 PM, Amit k. Saha wrote: > On Wed, Jan 7, 2009 at 3:10 PM, Sibtey Mehdi wrote: >> Hi, >> >> >> >> I use multiprocessing to compare more then one set of files. >> >> For comparison each set of files (i.e. Old file1 Vs New file1) I create a >> process, >> >> Process(targe

Re: [BangPypers] python

2009-01-09 Thread Anand Balachandran Pillai
On Sat, Jan 10, 2009 at 10:23 AM, Sriram Narayanan wrote: > On Sat, Jan 10, 2009 at 9:57 AM, Kenneth Gonsalves wrote: >> On Saturday 10 Jan 2009 12:50:43 am Sreekanth B wrote: >>> what u said may not be really true there are thousands out there >>> in France and Germany who cannot even write

Re: [BangPypers] python

2009-01-10 Thread Anand Balachandran Pillai
On Sat, Jan 10, 2009 at 1:47 PM, Kenneth Gonsalves wrote: > On Saturday 10 Jan 2009 1:35:10 pm (श्री) Sreekanth B wrote: >> i know my statement may not comply to the English standards but it has >> communicated what i wanted to say ? as pradeep said, communication perhaps >> is most important than

[BangPypers] Python use in IT service sector

2009-01-10 Thread Anand Balachandran Pillai
Typically Python is used in product/consulting companies with niche software/consulting such as Django, Zope and other Python based web frameworks. Python is otherwise used in places like Google, HP, IBM. Startups also tend to use it a lot, especially those in search, mobile etc. The purpose of t

Re: [BangPypers] Python use in IT service sector

2009-01-12 Thread Anand Balachandran Pillai
On Sun, Jan 11, 2009 at 3:42 PM, Venkatraman S wrote: > On 1/11/09, Bharat Pathak wrote: >> >> In one of the bloggers and fan of python he >> had evaluated speed of Matlab, C++ and Python. >> The graph goes like this. >> >> Matlab ---> C++ --> Python >> >>

Re: [BangPypers] Python use in IT service sector

2009-01-12 Thread Anand Balachandran Pillai
Hi Bharath, On Sun, Jan 11, 2009 at 2:18 PM, Bharat Pathak wrote: > Hi Ashim and All, > >I think I have hit the nail, and made my point. >The idea is to promote python and find out >where it is being used and what brings out >it's powers. > >In one of the bloggers and fan of

Re: [BangPypers] hi all

2009-01-12 Thread Anand Balachandran Pillai
On Mon, Jan 12, 2009 at 8:48 PM, shridhar kyrlageri wrote: > hi.. > i m an engineering student.. i want to be a very good programmer... but i > dont know where to start and what to do... can u please help me. You just need to relax and think what you want to do before you ask for help. This is a

Re: [BangPypers] need help in trying to create a python web bot

2009-01-13 Thread Anand Balachandran Pillai
On Wed, Jan 14, 2009 at 11:32 AM, Dhaval Lilani wrote: > Hi, > > I am trying to create a webrobot in python that does the following. > Send a post query to google.com and print the result. > I have not had any luck with pydocs and online code examples. > I keep on getting a 405 method not allowed.

[BangPypers] from __past__ import PyHistory

2009-01-14 Thread Anand Balachandran Pillai
Guido has started a new blog where he will recount the history of Python in a series of posts. He has already made two posts so far. http://python-history.blogspot.com/ Regards, -- -Anand ___ BangPypers mailing list BangPypers@python.org http://mail.

Re: [BangPypers] from __past__ import PyHistory

2009-01-14 Thread Anand Balachandran Pillai
On Wed, Jan 14, 2009 at 3:22 PM, Senthil Kumaran wrote: >> Anand Balachandran Pillai wrote: >> Guido has started a new blog where he will >> recount the history of Python in a series of posts. >> >> He has already made two posts so far. >> >> http://

Re: [BangPypers] problem in implementing multiprocessing

2009-01-14 Thread Anand Balachandran Pillai
The new multiprocessing module in py3k allows you to do just that. In short, this module allows you to do processor based threading without getting blocked by the GIL. --Anand On Thu, Jan 15, 2009 at 12:02 PM, Venkatraman S wrote: > > > > On Thu, Jan 15, 2009 at 11:11 AM, Sibtey Mehdi > wrote:

Re: [BangPypers] problem in implementing multiprocessing

2009-01-14 Thread Anand Balachandran Pillai
On Thu, Jan 15, 2009 at 12:14 PM, Amit k. Saha wrote: > On Thu, Jan 15, 2009 at 12:12 PM, Anand Balachandran Pillai > wrote: >> The new multiprocessing module in py3k allows you >> to do just that. > > Looks like it is there in 2.6: > http://docs.python.org/library/mu

Re: [BangPypers] problem in implementing multiprocessing

2009-01-14 Thread Anand Balachandran Pillai
On Thu, Jan 15, 2009 at 11:11 AM, Sibtey Mehdi wrote: > I am trying to implement the multiprocessing in my application to take > advantage of multiple cores. I have created two > > Separate process something like this. > > que = Queue > > Process(target = geDataFromMdbFile, args=(que , section, Md

[BangPypers] Python Companies Info

2009-01-17 Thread Anand Balachandran Pillai
Hi, If your company is using Python, please add its name in this wiki. http://wiki.python.org/moin/BangPypers/PythonCompaniesInIndia I see only ZeOmega in there. Please try to add India specific companies. I mean don't add Google there, for example :) Thanks -- -Anand ___

Re: [BangPypers] how to learn programming

2009-01-21 Thread Anand Balachandran Pillai
Algorithms are mathematical descriptions of solving a problem. Algorithms can be illustrated in pseudo code and proved using algebra and discrete mathematics. It is important not to confuse between an algorithm and its implementation in a programming language. It is true that some languages are mo

Re: [BangPypers] Python and Django training required

2009-02-03 Thread Anand Balachandran Pillai
On Tue, Feb 3, 2009 at 5:11 PM, Kenneth Gonsalves wrote: > On Tuesday 03 Feb 2009 5:00:16 pm Kenneth Gonsalves wrote: >> On Tuesday 03 Feb 2009 4:35:04 pm Guru Das wrote: >> > Hello, >> > >> > I represent a Bangalore based company that executes Web Development >> > projects. We would like to get a

Re: [BangPypers] Python and Django training required

2009-02-03 Thread Anand Balachandran Pillai
On Tue, Feb 3, 2009 at 5:21 PM, Anand Balachandran Pillai wrote: > On Tue, Feb 3, 2009 at 5:11 PM, Kenneth Gonsalves wrote: >> On Tuesday 03 Feb 2009 5:00:16 pm Kenneth Gonsalves wrote: >>> On Tuesday 03 Feb 2009 4:35:04 pm Guru Das wrote: >>> > Hello, >>>

[BangPypers] Welcoming Sam Ockman

2009-02-06 Thread Anand Balachandran Pillai
Hi folks, Sam Ockman is a Linux luminary, visionary and entrepreneur in the Silicon valley. Sam founded Penguin computing in 1998, a company which pioneered in reliable Linux systems. Sam also co-wrote and edited the seminal open source book "Open Sources: Voices from the O

[BangPypers] Comprehending the comprehensions

2009-02-08 Thread Anand Balachandran Pillai
Python 3.0 introduces two new ways of "comprehending". We had list comprehensions before. Now there are set & dict comprehensions in the language. Let us say there are two lists. For generating the list of unique products of numbers in the list, in Python 2.x, this could be done in 2 approaches.

Re: [BangPypers] Python companies

2009-02-09 Thread Anand Balachandran Pillai
This topic has been discussed many times in the group. Please see the group archives before posting any fresh thread. I suggest searching the mailman archives for the word "job" or "company". --Anand On Mon, Feb 9, 2009 at 5:13 PM, Maneesh Kumar B wrote: > > Hi, > I am also looking for a python

Re: [BangPypers] Are comprehensions faster?

2009-02-09 Thread Anand Balachandran Pillai
On Mon, Feb 9, 2009 at 7:46 PM, Venkatraman S wrote: > > On Mon, Feb 9, 2009 at 7:11 PM, Senthil Kumaran wrote: >> >> > >> > You see that is slow and the reason is l.append being called again >> > and again. lets eliminate it. >> >> Sorry, it is slow because the append method "Look-up" on the li

Re: [BangPypers] Python easter eggs :)

2009-02-10 Thread Anand Balachandran Pillai
>>> import __phello__ Hello world... >>> On Tue, Feb 10, 2009 at 6:17 PM, Jeff Rush wrote: > Here is another... > from __future__ import braces > File "", line 1 > SyntaxError: not a chance > > > Can you find any others? ;-) > > -Jeff > > > Rajeev Nair wrote: >> >> hi. >> >> Iam sure many

Re: [BangPypers] Python easter eggs :)

2009-02-10 Thread Anand Balachandran Pillai
On Tue, Feb 10, 2009 at 6:38 PM, Anand Balachandran Pillai wrote: >>>> import __phello__ > Hello world... Apparently, happens only the first time you import it ;) >>>> > > > On Tue, Feb 10, 2009 at 6:17 PM, Jeff Rush wrote: >> Here is another... >&

Re: [BangPypers] Python easter eggs :)

2009-02-10 Thread Anand Balachandran Pillai
- > Senthil > > On Tue, Feb 10, 2009 at 6:41 PM, Senthil Kumaran wrote: >> In Py3K, >> >>>>> import antigravity >> >> That was Skip, who did that! :) >> >> -- >> Senthil >> >> >> On Tue, Feb 10, 2009 at 6:39 P

Re: [BangPypers] Python easter eggs :)

2009-02-10 Thread Anand Balachandran Pillai
>>> love is not True or False; love is love True True Hopefully, an apt one for the Valentine's day. Source: http://www.redmountainsw.com/wordpress/archives/a-joke-in-the-python-interpreter --Anand On Tue, Feb 10, 2009 at 7:00 PM, Senthil Kumaran wrote: > On Tue, Feb 10

Re: [BangPypers] (was: Fwd: Chicago Python User Group) BangPypers meet on 21 Feb 2009

2009-02-17 Thread Anand Balachandran Pillai
On Tue, Feb 17, 2009 at 1:50 PM, Parthan SR wrote: > Baiju M wrote: >> >> Well, I have created a wiki page here: >> http://wiki.python.org/moin/BangPypers/Meeting21Feb2009 >> I hope the timing given in wiki (10am to 1pm) is fine for all. >> (Actually I got some other program in the evening, >> if

Re: [BangPypers] Fwd: Chicago Python User Group

2009-02-17 Thread Anand Balachandran Pillai
On Tue, Feb 17, 2009 at 1:43 PM, Baiju M wrote: > On Mon, Feb 16, 2009 at 5:17 PM, Baiju M wrote: >> Well, I have created a wiki page here: >> http://wiki.python.org/moin/BangPypers/Meeting21Feb2009 >> I hope the timing given in wiki (10am to 1pm) is fine for all. Let us not assume this is fine.

Re: [BangPypers] date/time difference between two dates

2009-02-19 Thread Anand Balachandran Pillai
On Thu, Feb 19, 2009 at 4:39 PM, Saju Pillai wrote: > LOhit wrote: >> >> Hello All, >> >> I am parsing a log file to extract data for the last one week from the >> current date. The log file does not record the year, only month, day of the >> month and time. >> >> My question is, the date is in "M

Re: [BangPypers] date/time difference between two dates

2009-02-19 Thread Anand Balachandran Pillai
On Thu, Feb 19, 2009 at 5:00 PM, Anand Chitipothu wrote: >> Not just these functions, but almost the entire time/datetime >> functions mimic their C counterparts. > > I always find datetime module very painful to deal with. > May be it is because it has borrowed too much from C instead of being >

Re: [BangPypers] date/time difference between two dates

2009-02-19 Thread Anand Balachandran Pillai
On Thu, Feb 19, 2009 at 7:42 PM, Anand Balachandran Pillai wrote: > On Thu, Feb 19, 2009 at 5:00 PM, Anand Chitipothu > > If you want something better I suggest the egenix mxDateTime > module. >From http://seehuhn.de/pages/pdate, "Egenix provides the mxDateTime class

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

2009-02-27 Thread Anand Balachandran Pillai
On Fri, Feb 27, 2009 at 2:15 PM, Senthil Kumaran wrote: > On Fri, Feb 27, 2009 at 1:42 PM, Amit k. Saha 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 w

[BangPypers] Open source India

2009-02-27 Thread Anand Balachandran Pillai
Anyone going for this conference (Mar 12-14) at Chennai ? This used to be called LinuxAsia and had the reputation of a conference for "suits". Not sure how it is now. There seems to a track for FOSS languages the first day. Let me know if someone is going (from Bangalore) for this. -- -Anand _

Re: [BangPypers] Open source India

2009-02-27 Thread Anand Balachandran Pillai
On Fri, Feb 27, 2009 at 4:13 PM, Kenneth Gonsalves wrote: > On Friday 27 February 2009 16:05:22 Anand Balachandran Pillai wrote: >> This used to be called LinuxAsia and had >> the reputation of a conference for "suits". >> Not sure how it is now. > > afai

Re: [BangPypers] Open source India

2009-02-27 Thread Anand Balachandran Pillai
On Fri, Feb 27, 2009 at 4:43 PM, Ramakrishna Reddy wrote: > On Fri, Feb 27, 2009 at 4:20 PM, Anand Balachandran Pillai > wrote: > >> I skip fsck.in, missed freed.in and it seems osidays >> are for suits.  So where am I placed ? > >  +1. Lets have a PyCon India, on a

Re: [BangPypers] Open source India

2009-02-27 Thread Anand Balachandran Pillai
On Fri, Feb 27, 2009 at 5:04 PM, Kenneth Gonsalves wrote: > On Friday 27 February 2009 16:51:36 Anand Balachandran Pillai wrote: >> I think, if we can get a discussion going around this topic, >> we can form ideas concrete enough to organize >> PyCon India at least in 2010

Re: [BangPypers] Open source India

2009-02-27 Thread Anand Balachandran Pillai
Hi, On Fri, Feb 27, 2009 at 5:14 PM, Ramdas S wrote: > Last time when we tried which was 2 years back, we actually had three to > four sponsors willing to cough up something like 10-20 K each which was > pretty good to organize a single day event. > > If I remember to do an event in Bangalore at

Re: [BangPypers] Open source India

2009-02-27 Thread Anand Balachandran Pillai
On Fri, Feb 27, 2009 at 5:51 PM, Banibrata Dutta wrote: > > Obviously, it'd be pointless to call a track in Barcamp -- PyCon or PyCamp. > Why not use the Barcamp track just for kicking up some dust about PyCamp and > PyCon ? Unless one is strongly allergic to Barcamp in general, the show of > han

Re: [BangPypers] PyCon India Proposal

2009-02-27 Thread Anand Balachandran Pillai
On Fri, Feb 27, 2009 at 6:47 PM, Ramdas S wrote: > Good! > > Let's keep the momentum going > > I propose that we have a meeting soon to discuss this. Updated this with a "Community Discussion" section. Please enter individual comments there, so that we don't modify the main body. Later on we

Re: [BangPypers] PyCon India IRC Discussion

2009-03-02 Thread Anand Balachandran Pillai
On Sun, Mar 1, 2009 at 7:43 AM, Roshan Mathews wrote: > On Sun, Mar 1, 2009 at 1:20 AM, Ramakrishna Reddy wrote: >> Which day is convenient  for al the folks. >> o Tuesday , 3rd march 4:30 PM >> o Tuesday, 3rd March,  9:00 PM >> > Either choice is good. 4.30 is a bit early for us hackers, so 9.0

Re: [BangPypers] Questions regarding Image cropping

2009-03-02 Thread Anand Balachandran Pillai
On Sun, Mar 1, 2009 at 1:25 PM, Arunabha Adhikari wrote: > Dear friends, > > I am a beginner in Python programming. I am not a computer professional I am > a physicist. I was trying to write a code in python for my own research > which involves a little image processing. All I need to do is to dis

Re: [BangPypers] Today's IRC meeting

2009-03-02 Thread Anand Balachandran Pillai
Hi, On Tue, Mar 3, 2009 at 12:42 PM, Baiju M wrote: > On Tue, Mar 3, 2009 at 12:17 PM, Kenneth Gonsalves wrote: >> On Tuesday 03 March 2009 10:30:16 Noufal Ibrahim wrote: >> >>> * Positions (IMPORTANT) >> >> handling money is the point where conferences here get into trouble. In order >> to open

Re: [BangPypers] Meeting minutes

2009-03-05 Thread Anand Balachandran Pillai
On Thu, Mar 5, 2009 at 12:13 PM, Noufal Ibrahim wrote: > Hello folks, >   I will upload the meeting minutes later tonight. Haven't had time > to sift through the logs. > >   Are we having another IRC gathering tonight? Isn't that too much back to back ? Why don't we instead keep next Tuesday ? On

Re: [BangPypers] Classmethod, Decorators and staticmethod

2009-03-05 Thread Anand Balachandran Pillai
On Thu, Mar 5, 2009 at 6:33 PM, Kenneth Gonsalves wrote: > On Thursday 05 March 2009 18:29:20 VIJAY KUMAR wrote: >> Dear All, >>    Can some one please explain me with example about >>    1) classmethod >>    2) staticmethod >>    3) Decorators >> > > I charge 6500 a day for traini

Re: [BangPypers] Classmethod, Decorators and staticmethod

2009-03-05 Thread Anand Balachandran Pillai
On Fri, Mar 6, 2009 at 9:46 AM, Roshan Mathews wrote: > On Fri, Mar 6, 2009 at 9:41 AM, Venkatraman S wrote: >> On Fri, Mar 6, 2009 at 9:29 AM, Anand Balachandran Pillai >> wrote: >>> On Thu, Mar 5, 2009 at 6:33 PM, Kenneth Gonsalves > >> > Oh, so Anand an

Re: [BangPypers] Classmethod, Decorators and staticmethod

2009-03-06 Thread Anand Balachandran Pillai
On Fri, Mar 6, 2009 at 7:10 PM, Senthil Kumaran wrote: > On Thu, Mar 5, 2009 at 6:29 PM, VIJAY KUMAR wrote: >>    Can some one please explain me with example about >>    1) classmethod >>    2) staticmethod >>    3) Decorators > I will try to explain this the other way around, i.

Re: [BangPypers] UML <=> Python...and other things...

2009-03-08 Thread Anand Balachandran Pillai
On Sun, Mar 8, 2009 at 3:25 AM, Vishal wrote: > Hi, > Does anyone know of a tool that can produce Python code from UML diagrams? > Is something of this sort being added to NetBeans? > Or is it that the ease of programming in Python acts as a deterrent in the > way of having to create something in

Re: [BangPypers] UML <=> Python...and other things...

2009-03-08 Thread Anand Balachandran Pillai
On Mon, Mar 9, 2009 at 10:39 AM, Banibrata Dutta wrote: > > On Mon, Mar 9, 2009 at 10:33 AM, Anand Balachandran Pillai > wrote: >> >> On Sun, Mar 8, 2009 at 3:25 AM, Vishal wrote: >> > Hi, >> > Does anyone know of a tool that can produce Python code from

Re: [BangPypers] Implementing Protocol Sniffer in Python.

2009-03-09 Thread Anand Balachandran Pillai
On Mon, Mar 9, 2009 at 2:22 PM, wrote: >> 1. Functions to extract the bytes and bits from received from network in a >> serial input and performing decoding based on the input. > > - libpcap (or WinPcap) is the library to sniff network traffic. There > are couple of python wrappers over libpcap.

Re: [BangPypers] A question for us...

2009-03-13 Thread Anand Balachandran Pillai
On Fri, Mar 13, 2009 at 12:02 PM, Ramdas S wrote: > > Answer is $$$ is required for funding conferences. The organizers did not > find anyone with $$$ who has some vested interest in Python. If they had > you'd see Python there. I you look at sponsors of the conference, you can > map them easily t

Re: [BangPypers] collected postings from the various Python usergroups around the world

2009-03-16 Thread Anand Balachandran Pillai
On Mon, Mar 16, 2009 at 10:53 PM, Sridhar Ratnakumar wrote: > Should bangpypers be part of this? > >    http://python-groups.blogspot.com/ Yes. I think this is another initiative by Jeff himself since I see the contact email as advoc...@python.org. Since Jeff is right here, we could request him t

Re: [BangPypers] Face to face meeting for Python conference

2009-03-18 Thread Anand Balachandran Pillai
On Thu, Mar 19, 2009 at 11:50 AM, Noufal Ibrahim wrote: > Okay. > > Time: 11am - 1pm > Venue : Thoughtworks (Diamond District, Domlur) > Agenda : Upcoming Python conference > > I have put up a page on > http://wiki.python.org/moin/BangPypers/Meeting21Mar2009 > > Sidu, >  Can you arrange the venue

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

2009-03-19 Thread Anand Balachandran Pillai
2009/3/17 Praveen Kumar : > > -- Forwarded message -- > From: Daniel Molina Wegener > Date: Mar 16, 2:20 am > Subject: pyxser, python xml serialization > To: comp.lang.python.announce > > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > pxyser --- python xml serialization (b

Re: [BangPypers] Command line goodies

2009-03-25 Thread Anand Balachandran Pillai
On Wed, Mar 25, 2009 at 5:19 PM, Noufal Ibrahim wrote: > I found this via. hacker news. > http://commandlinefu.com/ > > It's a repository of command line tricks. > > I found a python one > python -m SimpleHTTPServer > > which serves the current directory on port 8000 > > I've not really seen many

Re: [BangPypers] Command line goodies

2009-03-25 Thread Anand Balachandran Pillai
On Wed, Mar 25, 2009 at 6:29 PM, Anand Balachandran Pillai wrote: > On Wed, Mar 25, 2009 at 5:19 PM, Noufal Ibrahim wrote: >> I found this via. hacker news. >> http://commandlinefu.com/ >> >> It's a repository of command line tricks. >> >> I foun

Re: [BangPypers] Python switches to Mercurial

2009-03-31 Thread Anand Balachandran Pillai
On Tue, Mar 31, 2009 at 12:38 PM, Ramakrishna Reddy wrote: > Source :: http://article.gmane.org/gmane.comp.python.devel/102706 > > From: Guido van Rossum python.org> > Subject: And the winner is... > Newsgroups: gmane.comp.python.devel > Date: 2009-03-30 14:58:38 GMT (16 hours and 8 minutes ago)

Re: [BangPypers] unladen-swallow

2009-03-31 Thread Anand Balachandran Pillai
On Wed, Apr 1, 2009 at 12:42 AM, Shekhar wrote: > Already slashdotted and many of us should already be knowing but could > not resist posting. > http://arstechnica.com/open-source/news/2009/03/google-launches-project-to-boost-python-performance-by-5x.ars > http://code.google.com/p/unladen-swallow/

Re: [BangPypers] Guido steps down

2009-04-01 Thread Anand Balachandran Pillai
2009/4/1 Venkatraman S : > > > On Wed, Apr 1, 2009 at 12:08 PM, Indrajith K wrote: >> >> http://www.python.org/dev/peps/pep-0401/ >> >> Not sure, if this is a April fool joke! Come on, the name of the PEP itself should tell you that... PEP 04-01 i.e April 01. > > ...check out the last few lines.

Re: [BangPypers] Advanced Python or Understanding Python

2009-04-01 Thread Anand Balachandran Pillai
On Wed, Apr 1, 2009 at 12:26 PM, Roshan Mathews wrote: > Since everyone seems to be mailing in today. > > http://video.google.com/videoplay?docid=7760178035196894549 > > By one of the people behind Unladen Swallow incidentally.  What's with > that name, btw?  Quite the mouthful, hard to swallow, s

Re: [BangPypers] Guido steps down

2009-04-01 Thread Anand Balachandran Pillai
On Wed, Apr 1, 2009 at 1:07 PM, Ramakrishna Reddy wrote: > On Wed, Apr 1, 2009 at 12:26 PM, Roshan Mathews wrote: >> On Wed, Apr 1, 2009 at 12:25 PM, Anand Balachandran Pillai >> wrote: >>> 2009/4/1 Venkatraman S : > Linus played a similar joke 7 years back o

Re: [BangPypers] magic in datetime module?

2009-04-02 Thread Anand Balachandran Pillai
On Fri, Apr 3, 2009 at 11:35 AM, Anand Chitipothu wrote: > 2009/4/3 Anand Chitipothu : > > I'm noticed a strange Import error in some web.py template. I nailed > > down the problem to the following python code. > > > > __builtins__ = {} > > > > import datetime > > now = datetime.datetime.utcnow()

Re: [BangPypers] magic in datetime module?

2009-04-02 Thread Anand Balachandran Pillai
On Fri, Apr 3, 2009 at 11:54 AM, Noufal Ibrahim wrote: > > __builtins__ = {'__import__': ximport} > > f = now.strftime > > print f("%m %Y") > > > You can get this directly if you use -v. > Calling strftime imports the time module > >>> print now.strftime("%m %Y") > dlopen("/usr/lib/python2.5/lib-

Re: [BangPypers] magic in datetime module?

2009-04-02 Thread Anand Balachandran Pillai
On Fri, Apr 3, 2009 at 12:21 PM, Anand Chitipothu wrote: > > I have a basic doubt - why do you want to set a module as core > > as __builtins__ to {} in your code ? If you can answer that > > reasonably, it makes sense to investigate this or raise a bug. > > Otherwise, I don't think it is good cod

Re: [BangPypers] magic in datetime module?

2009-04-03 Thread Anand Balachandran Pillai
On Fri, Apr 3, 2009 at 12:53 PM, Anand Chitipothu wrote: > 2009/4/3 Noufal Ibrahim : > > There was a thread on python-dev recently about sandboxing code by > > restricting the variables provided. A lot of people broke it (you can > > check the archives for "break this code" or something similar).

Re: [BangPypers] magic in datetime module?

2009-04-03 Thread Anand Balachandran Pillai
On Fri, Apr 3, 2009 at 1:06 PM, Anand Balachandran Pillai < abpil...@gmail.com> wrote: > > > On Fri, Apr 3, 2009 at 12:53 PM, Anand Chitipothu wrote: > >> 2009/4/3 Noufal Ibrahim : >> > There was a thread on python-dev recently about sandboxing code by >>

Re: [BangPypers] Help in reading the pdf file

2009-04-03 Thread Anand Balachandran Pillai
On Fri, Apr 3, 2009 at 8:20 PM, Sridhar Ratnakumar wrote: > On 3/26/09 3:29 PM, M Kumar wrote: > >> I need to read one pdf file and extract data from it. Is there any one can >> guide me >> > pyPdf? > > http://pybrary.net/pyPdf/ To give my $0.02, I had an opportunity to use both pyPdf and PDFMi

Re: [BangPypers] Python Day India

2009-04-28 Thread Anand Balachandran Pillai
On Tue, Apr 28, 2009 at 5:54 PM, Noufal Ibrahim wrote: > On Tue, Apr 28, 2009 at 4:38 PM, Ramakrishna Reddy > wrote: > > Hello everybody. > > > > Since most of the folks here expressed an interest to hold a face to > > face meeting for planing pycon. I would like to propose a Python Day. > > So

Re: [BangPypers] Python Day India

2009-04-28 Thread Anand Balachandran Pillai
On Tue, Apr 28, 2009 at 6:06 PM, Anand Chitipothu wrote: > > > > This is a very good idea. We have been talking of a Pycon > > but this gives a forum for people to come together to discuss > > the topics for a shorter time period. Certainly this would > > lead to ideas which can be used for a larg

Re: [BangPypers] Python Day India

2009-04-30 Thread Anand Balachandran Pillai
On Thu, Apr 30, 2009 at 2:53 PM, Ramdas S wrote: > Let me explain. > > Starting a society even not for profit has its own little legal tangles and > will also cost some monies (less than 10 K). But most importantly you'll > need to keep accounts, ensure that returns are filed, even if not much >

Re: [BangPypers] Python Day India

2009-05-01 Thread Anand Balachandran Pillai
On Fri, May 1, 2009 at 12:11 PM, Anand Chitipothu wrote: > I created a wiki page for the meeting. > > http://wiki.python.org/moin/BangPypers/Meeting03May2009 > > Please confirm your participation by adding your name. > Anybody interested to give a talk? I plan to attend this and I have added m

Re: [BangPypers] Python Day India

2009-05-01 Thread Anand Balachandran Pillai
On Fri, May 1, 2009 at 12:55 PM, Anand Chitipothu wrote: > > I plan to attend this and I have added my name. > > Btw, let us make this exclusive to discussion on Pycon > > and not have any talks - that is my suggestion. > > sounds good. > > > 4-6pm is rather late in the day. Does anyone have

Re: [BangPypers] Python Day India

2009-05-01 Thread Anand Balachandran Pillai
On Fri, May 1, 2009 at 2:45 PM, Anand Chitipothu wrote: > > I remember reading somewhere that ICH is moved out. Let's have it at > > Thoughtworks. > > Thoughtworks is too far. How about Barista at church street? You seem to have a subversive agenda on MG Road that day. Perhaps a date ;) ? I

[BangPypers] MOM - Meeting on Sunday May 3rd

2009-05-04 Thread Anand Balachandran Pillai
Hi, We had a meeting to discuss the status of PyCon India efforts at TW yesterday. I have put up the minutes of yesterday's meeting at http://wiki.python.org/moin/BangPypers/Meeting03May2009 . We plan to have regular f2f meetings from here on. IRC can be used for any quick follow ups but the e

[BangPypers] Python jobs blog

2009-05-07 Thread Anand Balachandran Pillai
Hi all, I have updated the python jobs blog {http://pythonjobs.blogspot.com} with all the job postings so far in the list in 2009. I had developed the plugin to HarvestMan for this last year but I did not keep up with running it on the mail archives in 2008. This year, it is one of the things in

Re: [BangPypers] MOM - Meeting on Sunday May 3rd

2009-05-14 Thread Anand Balachandran Pillai
On Thu, May 14, 2009 at 6:02 PM, Noufal Ibrahim wrote: > On Thu, May 14, 2009 at 5:38 PM, Noufal Ibrahim wrote: > [..] > > Can we get a show of hands? How many people plan to attend? If we're > > around 10 or so, I think the Barista is enough, otherwise, we'll think > > of some other place. > [.

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

2009-05-17 Thread Anand Balachandran Pillai
Did this happen ? Can someone post the MOM ? Thanks --Anand On Sun, May 17, 2009 at 11:19 AM, Senthil Kumaran wrote: > 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. > > > --

Re: [BangPypers] PyCon India logo contest!

2009-05-21 Thread Anand Balachandran Pillai
+1 pycon-04-scaled.jpg The quality of the most recently posted logos are pretty good. On Thu, May 21, 2009 at 4:00 PM, Ruchir Shukla wrote: > Hello, > all are good specially last one "*pycon04-scaled.jpg" > > +1 **pycon04-scaled.jpg* > > * > * > On Thu, May 21, 2009 at 3:48 PM, Noufal Ibrahim

Re: [BangPypers] PyCon India logo contest!

2009-05-21 Thread Anand Balachandran Pillai
Nice imagination. I like the way you "hindicized" the Pycon. This is really good but a bit broad for a logo. Is there a way to reduce the width ? On Thu, May 21, 2009 at 6:33 PM, Noufal Ibrahim wrote: > Here's another one. This one's mine. :) > > > > > -- > ~noufal > > ___

Re: [BangPypers] New Mailing Lists

2009-05-24 Thread Anand Balachandran Pillai
On Sat, May 23, 2009 at 3:38 PM, Jeff Rush wrote: > Partially as a result of nudging from Anand Balachandran Pillai for the > needs > of PyCon India, there are now two new mailing lists on python.org: > > (1) The conferen...@python.org mailing list is for open discussion of >

Re: [BangPypers] PyCon India logo contest!

2009-05-24 Thread Anand Balachandran Pillai
This thread is CLOSED. The discussion has moved to the new inpycon list. Please reply to the thread there. http://mail.python.org/pipermail/inpycon/2009-May/00.html -Anand ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/ma

Re: [BangPypers] [Inpycon] PyCon Logo decision

2009-05-26 Thread Anand Balachandran Pillai
On Tue, May 26, 2009 at 7:06 PM, Anand Chitipothu wrote: > Can I vote for more than one entry? Nothing in the voting system to prevent you from doing that. After all it is just a Wiki. Btw, I have numbered each logo. It would have been better to have a separate voting page with the logo

Re: [BangPypers] Regarding 2 XML Files Comparision using Python

2009-06-04 Thread Anand Balachandran Pillai
On Thu, Jun 4, 2009 at 3:02 PM, Venkatraman S wrote: > On Thu, Jun 4, 2009 at 2:59 PM, testing123 test wrote: > >>I am prasad.I need a help to write a python script to compare two >> XML Files.Is there any tutorial.Should we include any library?Please help me >> How to start? > > What do

Re: [BangPypers] BangPypers Digest, Vol 22, Issue 1

2009-06-04 Thread Anand Balachandran Pillai
On Thu, Jun 4, 2009 at 4:37 PM, Gora Mohanty wrote: > On Thu, 4 Jun 2009 16:30:40 +0530 > testing123 test wrote: > > > Hi Venkatraman, > > > > Yes,My requirement is to compait 2 XML Files are same or > not. > > Please help me in this regard. > [...] > > o Use of a weird email addre

Re: [BangPypers] Regarding 2 XML Files Comparision using Python

2009-06-04 Thread Anand Balachandran Pillai
On Thu, Jun 4, 2009 at 1:15 PM, testing123 test wrote: > Hi all, >I am prasad.I need a help to write a python script to compare two > XML Files.Is there any tutorial.Should we include any library?Please help me > How to start? > Are you a bot or something ? Why do you keep repeating the

Re: [BangPypers] PyCon India website admin needed!

2009-06-05 Thread Anand Balachandran Pillai
On Fri, Jun 5, 2009 at 8:00 PM, srinivasa rao wrote: > Dear sir > I am in bangalore and to set up internet so i start work for you i hope i > get a support from you > thanks > yours truly > srinivasa rao m > If you are interested, please join the inpycon list. The list can be accessed at http://

Re: [BangPypers] Responding to people who lack the curiosity

2009-06-12 Thread Anand Balachandran Pillai
On Fri, Jun 12, 2009 at 6:27 PM, Srijayanth Sridhar wrote: > > > On Fri, Jun 12, 2009 at 6:12 PM, Pradeep Gowda wrote: > >> On Fri, Jun 12, 2009 at 7:43 AM, vid wrote: >> > >> > Great discussion... the next time someone posts a "non-curious" question in this list, let us be wise like Solomon

Re: [BangPypers] BangPypers Digest, Vol 22, Issue 9

2009-06-12 Thread Anand Balachandran Pillai
On Fri, Jun 12, 2009 at 11:55 AM, Aman Aggarwal wrote: > On Thu, Jun 11, 2009 at 3:30 PM, wrote: > > ... > > > I posted the same question here : > > > > http://stackoverflow.com/questions/974931/multiply-operator-applied-to-listdata-structure > > > > Kindly read it. > > Thanks and kind regar

Re: [BangPypers] Responding to people who lack the curiosity

2009-06-13 Thread Anand Balachandran Pillai
On Sun, Jun 14, 2009 at 11:15 AM, Kenneth Gonsalves wrote: > On Saturday 13 June 2009 16:07:42 Kiran Jonnalagadda wrote: > > Doctor? Architect? Lawyer? They require dedicating a serious chunk of > your > > life and are one-way streets. > > not so. I am just back from interviewing over a hundred wo

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

2009-06-16 Thread Anand Balachandran Pillai
On Wed, Jun 17, 2009 at 12:01 AM, Jeff Rush wrote: > Abhishek Tiwari wrote: > > > > *Ans. 1* > > > > values, items = list(zip(*sorted(zip(values,items), reverse=True))) > > > > *Ans. 2* > > new_values = sorted(values, reverse=True) > > new_items = [items[x] for x in map(values.index,new_values)]

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

2009-06-16 Thread Anand Balachandran Pillai
I have put my test code here. http://dpaste.com/hold/56288/ For it to work, you need to save recipe http://code.activestate.com/recipes/389767/ as mytimeit.py . On Wed, Jun 17, 2009 at 11:59 AM, Anand Balachandran Pillai < abpil...@gmail.com> wrote: > > >

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

2009-06-17 Thread Anand Balachandran Pillai
On Wed, Jun 17, 2009 at 12:54 PM, Anand Chitipothu wrote: > > > > Don't use sorted(..., reverse=True). Instead reverse the list in place > > by using reverse slicing of l[-1::-1], which is about 1.5 times faster. > > Why are you using [-1::-1] for reversing? Isn't [::-1] the python > idiom for rev

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

2009-06-17 Thread Anand Balachandran Pillai
On Wed, Jun 17, 2009 at 4:15 PM, Srijayanth Sridhar wrote: > > >> > As a python newbie, I find this a bit annoying. It would be nicer to have a > simple reverse method in the str class. > > name="The world according to Garp" > # name.reverse() or str.reverse(name) sure beats the hell out of > name

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

2009-06-24 Thread Anand Balachandran Pillai
On Wed, Jun 24, 2009 at 7:42 AM, Jeff Rush wrote: > learningpython wrote: > > Hi Jeff, > > Can i ask you a related question. Long shot .. > > but since you have good idea of area i am working ( which is > communications, > > sending, decoding, encoding) data over a serial interface. > > I have a

[BangPypers] Fwd: [PyCon-Organizers] PyCon Twitter Bot

2009-06-29 Thread Anand Balachandran Pillai
Hi, This was posted in Pycon-organizers a while back. Perhaps this is useful for our twitter organizing ? Noufal, let me know if I need to follow up on this. Will do so gladly! Thanks --Anand -- Forwarded message -- From: Cosmin Stejerean Date: Mon, May 25, 2009 at 3

Re: [BangPypers] Invitations fo Pycon India

2009-06-29 Thread Anand Balachandran Pillai
On Mon, Jun 29, 2009 at 2:58 PM, Kenneth Gonsalves wrote: > On Monday 29 June 2009 14:51:30 Anurag Priyam wrote: > > i have started #pyconindia hashtag. the more the people tweet with > > #pyconidia in their tweet, the more it will trend, and increase our > > visiblity on twitter. > > and is that

Re: [BangPypers] Fwd: [PyCon-Organizers] PyCon Twitter Bot

2009-06-30 Thread Anand Balachandran Pillai
h access on the inpycon machine. Kenneth, can u send this info to me directly ? Thanks --Anand On Mon, Jun 29, 2009 at 1:46 PM, Noufal Ibrahim wrote: > On Mon, Jun 29, 2009 at 1:03 PM, Anand Balachandran > Pillai wrote: > > Hi, > > > > This was posted in P

  1   2   3   4   5   6   >