Re: [BangPypers] Try Ninja IDE

2012-08-23 Thread Roshan Mathews
On Fri, Aug 24, 2012 at 12:10 PM, Roshan Mathews wrote: > PS - you are talking about SublimeText2, http://www.sublimetext.com/ right? > Sorry about the noise, but I think Sublime Text 2 is free for evaluation - http://www.sublimetext.com/2 -- http://about.m

Re: [BangPypers] Try Ninja IDE

2012-08-23 Thread Roshan Mathews
On Fri, Aug 24, 2012 at 12:00 PM, Noufal Ibrahim wrote: > Unbelievable as it may sound, I'm not trolling or advocating my > favourite editor here as much as cautioning people to stick to tools > that will have greater benefits in the long term. > Oh, I got that, but that "pragmatic-tip" sounded so

Re: [BangPypers] Try Ninja IDE

2012-08-23 Thread Roshan Mathews
On Fri, Aug 24, 2012 at 11:45 AM, kracekumar ramaraju wrote: > Well apart from vi, I use sublime2 too, it works very well on cross > platform, extensions can be written in python and very light weight. > $60 is pretty pricey for an editor.. do you get it for all platforms for that much? Was it wo

Re: [BangPypers] Try Ninja IDE

2012-08-23 Thread Roshan Mathews
On Thu, Aug 23, 2012 at 2:08 PM, Noufal Ibrahim wrote: > Something relevant from the Pragmatic Programmer > http://pragmatictips.com/22 > > * Use a Single Editor Well > > The editor should be an extension of your hand; make sure your editor is > configurable, extensible, and programmable. > ..

Re: [BangPypers] django signals

2011-11-15 Thread Roshan Mathews
On Tue, Nov 15, 2011 at 14:12, Asif Jamadar wrote: > Can anybody explain me how these django signals works with example? Yes, Alon Swartz can, over here - http://www.turnkeylinux.org/blog/django-signals Found via this wonderful site - https://www.google.com/search?q=django+signals+example which g

Re: [BangPypers] django signals

2011-11-15 Thread Roshan Mathews
JavaScript timer in the browser. Your view will verify the start and end time on the backend. On Tue, Nov 15, 2011 at 13:39, Asif Jamadar wrote: > > Is there any way to implement timer using django for each page? > ___ > BangPypers mailing list > BangP

[BangPypers] [JOB] Clay Labs - Chennai

2011-10-18 Thread Roshan Mathews
o drop us a line at j...@claylabs.com If you know someone who would be interested in this, please pass this mail on to them. Regards, Roshan Mathews ros...@claylabs.com -- http://about.me/rosh ___ BangPypers mailing list BangPypers@python.or

Re: [BangPypers] [JOB] - Yahoo!

2011-09-13 Thread Roshan Mathews
to your place of employment that it would send you into a deep depression that someone made fun of it, then I'd probably be disheartened (since that wasn't my intention) but that wouldn't stop me from doing it. We really should have fewer holy cows that are too sacred to be made fun

Re: [BangPypers] Nice "feature"

2011-04-01 Thread Roshan Mathews
On Fri, Apr 1, 2011 at 18:44, Hussain Bohra wrote: > Atleast on changing list, you gets an exception. > > On updating dictionary living inside tuple wont throw an exception as well. > I thought the surprising part was that it threw an exception, not that it updated the list. Even more surprising

Re: [BangPypers] Nice "feature"

2011-04-01 Thread Roshan Mathews
On Fri, Apr 1, 2011 at 18:25, Navin Kabra wrote: > With Python 2.6.5 (on ubuntu) I get even more bizarre behavior: foo=(1,[2,3,4]) foo[1]+=6 > Traceback (most recent call last): >  File "", line 1, in > TypeError: 'int' object is not iterable foo > (1, [8, 9, 10]) > Couldn't reprod

Re: [BangPypers] Fwd: Help with Python IDE's

2011-03-27 Thread Roshan Mathews
On Mon, Mar 28, 2011 at 09:37, Navin Kabra wrote: > On Mon, Mar 28, 2011 at 9:18 AM, Gora Mohanty wrote: >> Most any IDE that one is using, and that handles Python >> should work. Personally, I use emacs with various modes >> for Django development. > > Can you share exactly which modes you're us

Re: [BangPypers] Python equivalent for Pelmonks.org

2011-03-26 Thread Roshan Mathews
On Sat, Mar 26, 2011 at 14:02, Kenneth Gonsalves wrote: > well, django has djangosnippets.org - I do not know about the rest of > python. (why don't you start one?) > http://code.activestate.com/recipes/ should be the Python equivalent of djangosnippets. -- http://about.me/rosh _

Re: [BangPypers] FOSS String library in C/C++ that matches Python string functions...

2011-02-21 Thread Roshan Mathews
On Mon, Feb 21, 2011 at 15:16, Vishal wrote: > But the bottleneck is the stellar string python > functionality that Python provides, and is not available in the string.h > from C library. What sort of functionality? -- http://about.me/rosh ___ BangPyp

Re: [BangPypers] [Ann] [Commercial] Weekend training program on Core Python

2011-02-02 Thread Roshan Mathews
On Thu, Feb 3, 2011 at 10:44, Kenneth Gonsalves wrote: > On Thu, 2011-02-03 at 09:23 +0530, Roshan Mathews wrote: >> http://mail.python.org/pipermail/bangpypers/2011-February/005826.html >> >> What message do you see? > > that someone somewhere is conducting a weeke

Re: [BangPypers] [Ann] [Commercial] Weekend training program on Core Python

2011-02-02 Thread Roshan Mathews
On Thu, Feb 3, 2011 at 08:04, Kenneth Gonsalves wrote: > On Thu, 2011-02-03 at 01:16 +0530, Sudheer Satyanarayana wrote: >> I am with you. Naufal missed it. The message is indeed blank. > > s/Noufal/Naufal/ - I am able to see the message > http://mail.python.org/pipermail/bangpypers/2011-February

Re: [BangPypers] [JOB] Python developer required in Pune with web development experience

2011-01-12 Thread Roshan Mathews
On Thu, Jan 13, 2011 at 06:30, Kenneth Gonsalves wrote: > On Wed, 2011-01-12 at 21:35 +0530, s|s wrote: >> This interesting job comes with industry competitive compensation. > how much? I wonder why in India people never mention salary range. > I vaguely remembered this line, but looking it up on

Re: [BangPypers] Suggestion for GUI

2011-01-09 Thread Roshan Mathews
On Mon, Jan 10, 2011 at 10:56, Narendra Sisodiya wrote: > I am just typing some random string , it comes out to be a PyQT code. some > fellows are interested to buy it, I never tested using PyQT  nor i am giving > them suggestion to install PyQT. Client are doing by their own. How come I > am maki

Re: [BangPypers] Convert to Black and White to an image

2011-01-07 Thread Roshan Mathews
On Fri, Jan 7, 2011 at 22:04, Narendra Sisodiya wrote: > Can somebody give an easy way to convert a image into black and white using > a given threshold.. > > Currently I am doing like this > >    image=ImageOps.grayscale(image) >    for i in range(0,width): >        for j in range(0,height): >  

Re: [BangPypers] refactoring

2010-12-04 Thread Roshan Mathews
On Sat, Dec 4, 2010 at 17:36, Santosh Rajan wrote: > I have not seen refactoring as described by the book > used by any of the open source software products. I would like to know > if any one can show me refactoring used in software product > development. http://www.google.com/search?q=linux+kern

Re: [BangPypers] refactoring

2010-12-04 Thread Roshan Mathews
On Fri, Dec 3, 2010 at 16:19, Kenneth Gonsalves wrote: > After all the hue and cry dies down, it > makes good sense to go back to the code and slowly remove all the > repetitive parts, make the hacks look good and redo the monkey patching > - if you have time. Since this is a thread discussing Fo

Re: [BangPypers] refactoring

2010-12-02 Thread Roshan Mathews
On Fri, Dec 3, 2010 at 11:35, Anand Balachandran Pillai wrote: > However "refactoring" as discussed >  here is a more of a standardized process using tools and approaches >  designed for it, with some little buzz added to the mix. > "Refactoring" might have devolved into that now, but I don't thi

Re: [BangPypers] regular expression for Indian landline numbers

2010-11-25 Thread Roshan Mathews
On Fri, Nov 26, 2010 at 07:56, steve wrote: > I had a bit of time this morning and didn't feel like starting work just > yet, so to amuse myself I completed this. Here is the proper regex ...with > tests ! > > http://pastebin.com/yjP5H0i2 Neat. -- http://about.me/rosh __

Re: [BangPypers] regular expression for Indian landline numbers

2010-11-25 Thread Roshan Mathews
On Thu, Nov 25, 2010 at 15:11, Kenneth Gonsalves wrote: > r'(^0\d{2}[-\s]{1}[1-6]{1}\d{7})|(^0\d{3}[-\s]{1}[1-6]{1}\d{6})|(^0 > \d{4}[-\s]{1}[1-6]{1}\d{5})' > > any clues on how to make it shorter? The {1}s are redundant. -- http://about.me/rosh ___ B

Re: [BangPypers] [Announcement] Training on "Extending Python using C"

2010-11-23 Thread Roshan Mathews
On Wed, Nov 24, 2010 at 09:54, Noufal Ibrahim wrote: > I considered making it a free thing but dropped the idea. Preparing > something complete with notes and stuff takes up a considerable amount > of time (as I've found out) and I simply cannot just do it in my free > time. > > I've put my projec

Re: [BangPypers] [Announcement] Training on "Extending Python using C"

2010-11-23 Thread Roshan Mathews
On Wed, Nov 24, 2010 at 08:08, Kenneth Gonsalves wrote: > On Tue, 2010-11-23 at 19:18 +0530, Roshan Mathews wrote: >> This sounds fantastic.  I wish was in Bangalore (or able to travel to >> Bangalore) to attend.  Do post slides, or any other material you >> present later

Re: [BangPypers] [Announcement] Training on "Extending Python using C"

2010-11-23 Thread Roshan Mathews
On Tue, Nov 23, 2010 at 18:08, Noufal Ibrahim wrote: >        As part of this, I'm organising my first training in > Bangalore. It's on extending Python using C. I have a blog post > detailing the course and with links to register at > http://nibrahim.net.in/2010/11/22/python_extension_training.ht

Re: [BangPypers] Python coaching classes

2010-10-15 Thread Roshan Mathews
On Fri, Oct 15, 2010 at 14:25, Anand Balachandran Pillai wrote: > I am thinking of organizing discussion "classes" on some of these topics > on week-ends in BangPyper meetings. My topic of interests are in > meta-programming, generators and extending Python. > Sure, this is BangPypers, but does an

Re: [BangPypers] Fwd: [Baypiggies] Powerful Python Patterns

2010-09-28 Thread Roshan Mathews
On Sat, Sep 25, 2010 at 11:04, Venkatraman S wrote: > Slides from Alex's talk at Baypiggies. > > http://www.aleax.it/bayp010_ppp.pdf    --> Yesterday's talk > http://www.aleax.it/oscon010_pydp.pdf > Missed this on BayPiggies. Thanks for re-posting it here. -- http://roshan.mathews.in/ _

Re: [BangPypers] Need Help : Setting Floating Precision Point as 2 in Python

2010-08-24 Thread Roshan Mathews
On Tue, Aug 24, 2010 at 17:52, Arulalan T wrote: > This gives the what I need. > But I can not use this Decimal data type. > > In CDAT vcs module supports only the 'float data' type to represent the > latitude & logitude in map. > > so I need float value in 2 precision without changing the value.

[BangPypers] Tip: Creating new classes on the fly

2010-07-19 Thread Roshan Mathews
I came across this in a blog post just now. See http://docs.python.org/library/functions.html#type >>> class Foo(object): pass ... >>> Bar = type('Bar', (object,), dict()) >>> f = Foo(); b = Bar() >>> type(f), type(b) (, ) Also see http://docs.python.org/library/collections.html#namedtuple-facto

Re: [BangPypers] designing programs

2010-06-25 Thread Roshan Mathews
n Fri, Jun 25, 2010 at 14:59, Noufal Ibrahim wrote: > On Fri, Jun 25, 2010 at 12:51 PM, Kenneth Gonsalves wrote: >> On Friday 25 June 2010 12:37:25 Saju Pillai wrote: >>> I am allergic to any design tool more complex than pen & paper >>> >> >> well, we seemed have almost reached a consensus - now

Re: [BangPypers] designing programs

2010-06-24 Thread Roshan Mathews
On Fri, Jun 25, 2010 at 11:17, Kenneth Gonsalves wrote: > for one particular very complicated program, I modelled the whole workflow in > dia - and found that the code worked perfectly on the first try. But I found > dia a bit cumbersome, so I am looking for an alternative. I tried freemind, > but

Re: [BangPypers] designing programs

2010-06-24 Thread Roshan Mathews
On Fri, Jun 25, 2010 at 09:03, Kenneth Gonsalves wrote: >> UI?  http://www.balsamiq.com/products/mockups is popular.  I prefer >> paper/whiteboard.  Nothing beats having a designer do it for you. > what do you mean by 'having a designer do it for you'? > There are people who do UI design. Pay/hir

Re: [BangPypers] designing programs

2010-06-24 Thread Roshan Mathews
On Fri, Jun 25, 2010 at 08:22, Kenneth Gonsalves wrote: > what tools do people use when designing software? I tried dia once or twice > but found it rather cumbersome > UI? http://www.balsamiq.com/products/mockups is popular. I prefer paper/whiteboard. Nothing beats having a designer do it for

Re: [BangPypers] python with c bindings

2010-06-15 Thread Roshan Mathews
On Tue, Jun 15, 2010 at 21:42, Rahul R wrote: > I apologise for not being articulate since , i did know the right jargon to > express it. Can you please say what you meant by "handling shell scripts inside c files"? -- http://roshan.mathews.in/ ___ Ba

Re: [BangPypers] sending binary files over socket

2010-05-31 Thread Roshan Mathews
On Tue, Jun 1, 2010 at 10:31, murugadoss wrote: > I need to pack and send a binary file over socket. The binary file is > already existing. > Define a protocol, using http://code.google.com/p/protobuf/ That's one way. Roshan Mathews

Re: [BangPypers] UI Designing

2010-05-31 Thread Roshan Mathews
well. I usually prefer text ("there's this input, which will respond so to valid input, and so to invalid input") and boxes and arrows on paper/whiteboard. Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Extracting zipfile

2010-05-30 Thread Roshan Mathews
On Mon, May 31, 2010 at 05:56, murugadoss wrote: zipfile.extractall("home/murugadoss/testfile.zip") > Traceback (most recent call last): >  File "", line 1, in > AttributeError: 'module' object has no attribute 'extractall' http://docs.python.org/library/zipfile.html#zipfile.ZipFile.extract

Re: [BangPypers] python supports frameworks ?

2010-04-25 Thread Roshan Mathews
On Mon, Apr 26, 2010 at 07:53, jaya kumar wrote: > these and all i need to web development purpose can any one please answer ? > Check out http://docs.djangoproject.com/en/dev/intro/tutorial01/ Do mail the list f you have trouble starting off with that. > and also please can any one tell is ther

Re: [BangPypers] Coaching institute in Bangalore.

2010-04-16 Thread Roshan Mathews
f you run into trouble, ask here. If you don't, work through: http://diveintopython.org/ Coaching centers are hit and miss affairs, you might find a good one, but most likely you won't. Roshan Mathews ___ BangPypers mailing list BangPyp

Re: [BangPypers] Enclosing lexical context

2010-04-15 Thread Roshan Mathews
On Thu, Apr 15, 2010 at 23:33, Anand Chitipothu wrote: > However, python3.0 added a new "nonlocal" construct to enable that. > With python 3, you should be able to say: So there are globals, locals, and nonlocals. :) ___ BangPypers mailing list BangPyp

Re: [BangPypers] recursion not working

2010-03-15 Thread Roshan Mathews
On Mon, Mar 15, 2010 at 13:54, Kenneth Gonsalves wrote: >        for child in children: >            getaccbal(child.id,bal) This line returns a "balance" which is discarded. Maybe it should be: bal += getaccbal(...) ? Roshan Mathews __

Re: [BangPypers] date range

2010-02-09 Thread Roshan Mathews
On Tue, Feb 9, 2010 at 17:53, Srinivas Reddy Thatiparthy wrote: > >>>a < b < c   is equivalent to   a < b and b < c   *except that* b is > evaluated only once. > > > > Did u  mean to say that evaluating b only once applies to  a expression only,NOT for expressions like   a > Assuming you're talk

Re: [BangPypers] date range

2010-02-09 Thread Roshan Mathews
On Tue, Feb 9, 2010 at 17:07, Srinivas Reddy Thatiparthy wrote: > Ok..Got it... > Especially last sentence caught my eye.. > Does the python compiler behaves same for below expression also? > > 1.If(a > My guess  is, it behaves the same but just wanna double check.. > You want to know if "b" is ev

Re: [BangPypers] date range

2010-02-09 Thread Roshan Mathews
On Tue, Feb 9, 2010 at 16:51, Srinivas Reddy Thatiparthy wrote: > >>>more compact is_in_range   startdate < date < enddate > > I am very much interested to know how the above expression is evaluated > in compiler? > If the compiler evaluates left to right  ,startdate false depending on the values

Re: [BangPypers] Future of Python Programmers

2010-02-01 Thread Roshan Mathews
al.Please clarify. > I came across this recently: http://nathanmarz.com/blog/john-mccarthy/ Might be relevant to the "don't be a language lawyer" advice. :) Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] How should I do it?

2010-01-15 Thread Roshan Mathews
On Fri, Jan 15, 2010 at 2:40 PM, Anand Balachandran Pillai wrote: >    # Now, count and trans are not strings in >    # data, so Python will complain, hence we >    # define these as strings with same name! >    count, trans = 'count','trans' > Clever, that. I got to there, threw up my hands and

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-24 Thread Roshan Mathews
On Thu, Dec 24, 2009 at 1:29 PM, Noufal Ibrahim wrote: > psyco is 32 bit only and development has pretty much ceased since all the > chaps working on it went to PyPy. > Also, for some perverse bits of code, it plainly skips compilation. > Oh. :( Didn't know that. -- Ro

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-23 Thread Roshan Mathews
psyco psyco.full() and go whee. -- Roshan Mathews http://teamtalk.im ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-23 Thread Roshan Mathews
ts matter. Also, the link I had posted earlier [1], shows that tuple creation is O(1), (at least when it is populated with literals). [1] http://stackoverflow.com/questions/68630/are-tuples-more-efficient-than-lists-in-python -- Roshan Mathews ht

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-22 Thread Roshan Mathews
were faster (I think I used them once for that reason), I couldn't remember why. -- Roshan Mathews http://teamtalk.im ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-22 Thread Roshan Mathews
e tuples are hetereogeneous data structures. Tauber's point about tuples being structures named by index, seemed correct in light of "namedtuple" in collections (since Python 2.6) Also, as Noufal mentioned, tuples are hashable, so you can use them as keys in a dict. -- Roshan

Re: [BangPypers] Unsubcribe

2009-12-14 Thread Roshan Mathews
On Tue, Dec 15, 2009 at 7:39 AM, srinivas_ 1220 wrote: > How does one unsubscribe from this mail list? As i dont wish to receive any > updates from this group. > The mail headers point you to: List-Id: Bangalore Python Users Group - India List-Unsubscribe:

Re: [BangPypers] Reg : Python Scripting

2009-12-09 Thread Roshan Mathews
On Wed, Dec 9, 2009 at 4:34 PM, murugadoss wrote: > But since the thread is waiting for input ( in a while loop ), the control > is not coming to next line of the script. (ie: to input arguments line). > > Sample Script: > os.system(my program) > child.sendline(input arguments) subprocess: http:/

Re: [BangPypers] Google Go

2009-11-12 Thread Roshan Mathews
Did the Godfather quote scare you off? :) On Wed, Nov 11, 2009 at 9:06 PM, Roshan Mathews wrote: > I [shall carefully reply to] you because I had > [searched my mail and found] that you were a serious > man, to be treated with respect. But I must say no to > you and let me give yo

Re: [BangPypers] But IDEs rock! (was Google Go)

2009-11-11 Thread Roshan Mathews
On Wed, Nov 11, 2009 at 8:06 PM, Darkseid wrote: > you can only get so far with a > text editor*, no matter how many macros you have set up. Honestly. > Macros?? Really??? Don't you mean "no matter how many scripts you have set up" :) ___ BangPype

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
Harish, I [shall carefully reply to] you because I had [searched my mail and found] that you were a serious man, to be treated with respect. But I must say no to you and let me give you my reasons. It's true I have a lot of friends in [software], but they wouldn't be so friendly if they knew my bu

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
On Wed, Nov 11, 2009 at 6:30 PM, Anand Balachandran Pillai wrote: > On Wed, Nov 11, 2009 at 6:14 PM, Roshan Mathews wrote: >> The "looks like Python, runs like C++" is more than just marketing >> speak. > >  If you haven't noticed, "Looks like Python,

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
On Wed, Nov 11, 2009 at 6:25 PM, Anand Balachandran Pillai wrote: >  Not sure if go people said this. But it is in the techcrunch link >  posted by Sriram, in another thread, 1st paragraph. > >  http://www.techcrunch.com/2009/11/10/google-go-language/ > >  I didn't make it up :-) > Wasn't suggesti

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
On Wed, Nov 11, 2009 at 5:48 PM, Anand Balachandran Pillai wrote: >  The point is that so called compiled languages provide more security >  loop-holes than interpreted ones. C++/C for example provide liberal >  scope for buffer overflow exploits due to use of pointers and manual >  memory managem

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
On Wed, Nov 11, 2009 at 6:07 PM, Darkseid wrote: > I do hope you snidely pointed out to him that half of Google runs on Python? > :D > Which half? :) http://groups.google.com/group/unladen-swallow/browse_thread/thread/4edbc406f544643e -- Roshan Mathews http://te

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
ny >  correlation with a language being compiled and its security! > >  Pretty shoddy marketing this... > The Go people said this? Where are you quoting from? -- Roshan Mathews http://teamtalk.im ___ BangPypers mailing list BangPypers@pytho

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
or systems programming. There are already two mails about Go on this list. [1] http://www.youtube.com/watch?v=wwoWei-GAPo -- Roshan Mathews http://teamtalk.im ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] [OT][x-POST] New programming language: Go

2009-11-10 Thread Roshan Mathews
Just picked this off the news: http://google-opensource.blogspot.com/2009/11/hey-ho-lets-go.html There's a youtube techtalk vid too. Opinions? -- Roshan Mathews http://teamtalk.im ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] How to search a word list very fast

2009-10-29 Thread Roshan Mathews
On Fri, Oct 30, 2009 at 11:37 AM, Amit Sethi wrote: > I am trying to develop a sort of keyword generator for blog posts much like > the Yahoo Keyword service . As an initial idea I am using the list of most > used 3000 words in project Gutenberg as being redundant . My question is > what is the be

Re: [BangPypers] 2-cent Tip: Load modules at Startup

2009-10-22 Thread Roshan Mathews
p://norvig.com/python-iaq.html Do let on if you find anything else particularly useful. :) Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] An interesting beginner post at Stackoverflow

2009-10-21 Thread Roshan Mathews
27;) 30792544 >>> id('superman') 30792544 >>> id('superman') 30792544 >>> id('super man') 31955768 >>> id('super man') 31955488 >>> id('super man') 31956768 >>> id('super man') 319

Re: [BangPypers] An interesting beginner post at Stackoverflow

2009-10-20 Thread Roshan Mathews
quot;hello") > 600320 >>>> id("hello") > 600320 > Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] An interesting beginner post at Stackoverflow

2009-10-20 Thread Roshan Mathews
put some complex > expression in there expecting it to evaluate only if the key is > missing. > Oh, alright. Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] An interesting beginner post at Stackoverflow

2009-10-20 Thread Roshan Mathews
osts on Sunday. :-S Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Roshan Mathews
cifically what it was, but I remember thinking that he wasn't exactly wrong but he wasn't exactly right either. To have that pilot say the same thing about Gladwell's views on aviation brings home the same point. But then it is pop-non-fiction so you c

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Roshan Mathews
void antediluvian joke ... must* Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Roshan Mathews
l factors causing airline accidents. But then others[1] disagree, as with most social arguments it's hard to come to any conclusion. Makes interesting reading all the same. :) Roshan Mathews [1] http://www.salon.com/tech/col/smith/2008/12/05/askthepilot301/

Re: [BangPypers] Introducing the Y Combinator(Not the company)

2009-10-15 Thread Roshan Mathews
On Thu, Oct 15, 2009 at 9:28 PM, Sidharth Kuruvila wrote: > AKA The Y Combinator in python. This is in response to Roshan Mathews' > post that he got stuck with the Y Combinator. > Thanks, Sidharth, that was very interesting. Can't say that it has settled into my head, bu

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Roshan Mathews
ations are a lil offensive. But then free speech and all. :) Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Roshan Mathews
On Thu, Oct 15, 2009 at 7:10 PM, shameek ghosh wrote: > ... [:)] > > ... [:P]... > ... [:)] > ... [:)] > Orkut overdose? :) Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Suggest me a book

2009-10-15 Thread Roshan Mathews
Thanks for the link Vinayak, the blog entries had got bookmarked and lost in del.icio.us long ago. Have you read both LS and SS? Where did you get them? I borrowed LS from my brother some time back, but have been stuck at the place they introduce the Y combinator. How is SS? Roshan Mathews ___

Re: [BangPypers] Suggest me a book

2009-10-15 Thread Roshan Mathews
other books of such kind? > http://www.diveintopython.org/ http://www.diveintopython3.org/ HTH :) Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Roshan Mathews
mailing lists and IRC > Forums like say, http://stackoverflow.com/ ? Real programmers like say, Alex Martelli ? http://stackoverflow.com/users/95810/alex-martelli Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Perl or Python ?

2009-10-14 Thread Roshan Mathews
On Wed, Oct 14, 2009 at 4:01 PM, Kenneth Gonsalves wrote: > On Wednesday 14 Oct 2009 3:52:05 pm Roshan Mathews wrote: >> The point still stands though. > > it doesn't - and you haven't even spelt it properly > It might be a good idea to back away from the keyboard

Re: [BangPypers] Perl or Python ?

2009-10-14 Thread Roshan Mathews
On Wed, Oct 14, 2009 at 3:43 PM, Kenneth Gonsalves wrote: > On Wednesday 14 Oct 2009 3:04:10 pm Roshan Mathews wrote: >> On Wed, Oct 14, 2009 at 3:01 PM, Anand Balachandran Pillai >> >> wrote: >> > On Wed, Oct 14, 2009 at 2:52 PM, Baiju M wrote: >> >&

Re: [BangPypers] Perl or Python ?

2009-10-14 Thread Roshan Mathews
Generalizations are always harmful. Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Perl or Python ?

2009-10-14 Thread Roshan Mathews
projects. > Oh, cool. Maybe you should talk on Perl, at one of the ChennaiPy meets when the PyCon discussions are over. If you are interested, and there are others who would want to attend one. Roshan Mathews ___ BangPypers mailing list BangPypers@pyt

Re: [BangPypers] Perl or Python ?

2009-10-14 Thread Roshan Mathews
On Wed, Oct 14, 2009 at 1:03 PM, Baiju M wrote: > Koha (http://www.koha.org) is great web application written in Perl. > Looks interesting. It's weird since someone just asked for library management software on the Chennai LUG list. Ros

Re: [BangPypers] Perl or Python ?

2009-10-14 Thread Roshan Mathews
extensively. Examples include Amazon.com, bbc.co.uk, Booking.com [23] (Priceline.com), Craigslist, IMDb [24], LiveJournal, Slashdot, Ticketmaster and Zappos.com. -- http://en.wikipedia.org/wiki/Perl If you're asking that is. Roshan Mathews ___ B

Re: [BangPypers] Perl or Python ?

2009-10-13 Thread Roshan Mathews
fort to promote/push Perl. Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Perl or Python ?

2009-10-13 Thread Roshan Mathews
on the local LUG list some back, all it did was call a module function, but it left me curious about the @#$language. Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Perl or Python ?

2009-10-13 Thread Roshan Mathews
On Tue, Oct 13, 2009 at 6:59 PM, kunalkant sen wrote: > Python may not give you more job opportunity, but it will give you one of > the best job opportunity. > Why do you say that? Curious, that's all. :) Roshan Mathews ___ BangPyper

Re: [BangPypers] Python performance inprovements with GCC 4.4...any details

2009-10-13 Thread Roshan Mathews
rmance query... > Speed matters. To programmers. So there's no need for the legal disclaimers. Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Perl or Python ?

2009-10-12 Thread Roshan Mathews
On Mon, Oct 12, 2009 at 2:09 PM, Gopinath R wrote: > i should go for PERL or PYTHON. Which one is powerful and will give you more > job opportunities? > http://www.slideshare.net/Tim.Bunce/perl-myths-200909 seems to suggest that there are more Perl jobs. But then I haven't seen many myself. Rosh

Re: [BangPypers] New to python - neuron ring

2009-10-12 Thread Roshan Mathews
on 3.0, so you should take this with a pinch of salt. Python 2.6 is going to be around for a while, so if you're looking for employment opportunities maybe that makes more sense. http://diveintopython.org/ in that case. Roshan Mathews ___ BangPypers mail

Re: [BangPypers] [ANN][X-Post] SciPy India conference in Dec. 2009

2009-10-11 Thread Roshan Mathews
language, > whereas >  PHP was built from the ground up for the web. > FWIW, the comparison is between Python for web applications and PHP. :) Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] array in python

2009-10-08 Thread Roshan Mathews
On Thu, Oct 8, 2009 at 6:15 AM, harshal jadhav wrote: > I am using python language for GNU Radio. For this i have a sampled signal. > The signal is a sine wave. I have to trap each sample of this sine wave in > an array. > Is it possible to capture the samples of the sine wave in  an array in > py

Re: [BangPypers] Pickle multiple objects

2009-10-07 Thread Roshan Mathews
range(10) ] print list pickle.dump(list, file('dump', 'wb'), -1) list = pickle.load(file('dump', 'rb')) print list Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Pickle multiple objects

2009-10-07 Thread Roshan Mathews
On Wed, Oct 7, 2009 at 1:23 PM, Roshan Mathews wrote: > On Wed, Oct 7, 2009 at 1:14 PM, Aneesh A wrote: >> I have to store high scores, so i pickled a list . after pickling, in append >> mode, load method loads only first object. >> How to retrieve multiple objects??

Re: [BangPypers] Python at Schools

2009-09-30 Thread Roshan Mathews
ences between CS1-Python and CS1-C++ were found." > >  "CS1-Python was a far better terminal course for non-majors than CS1-C++" > Interesting! This is why I like this list, there are always people throwing in cool new reads. :) Roshan Mathews

Re: [BangPypers] Python at Schools

2009-09-30 Thread Roshan Mathews
On Sun, Sep 27, 2009 at 7:59 AM, Abhishek Mishra wrote: > I've heard about how kids in European countries begin with Python. > Let's compare that to India, I started with GW-BASIC, which is a very > good language to begin with. But don't you think it has become pretty > old, and is hardly readily

Re: [BangPypers] Python Coding Standards

2009-09-13 Thread Roshan Mathews
On Sun, Sep 13, 2009 at 2:46 PM, Karthik wrote: > Hello Friends, Can anybody please let me know if there are any coding > standards for python coding? Thanks. > http://google-styleguide.googlecode.com/svn/trunk/pyguide.html ___ BangPypers mailing list Ba

Re: [BangPypers] Fwd: [Baypiggies] A reminder: Why to type slowly when going to python.org

2009-09-06 Thread Roshan Mathews
On Mon, Sep 7, 2009 at 11:09 AM, Venkatraman S wrote: > http://pythong.org/ > :D There's also the NSFW http://python.com ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] link

2009-09-04 Thread Roshan Mathews
On Fri, Sep 4, 2009 at 11:54 AM, Noufal Ibrahim wrote: > On Fri, Sep 4, 2009 at 11:44 AM, srid wrote: >> On Thu, Sep 3, 2009 at 8:09 PM, Roshan Mathews wrote: >>> I recently read of an IDE for python which >>> code-stepping and a fancy debugger.  Don't reme

  1   2   >