Re: [BangPypers] Anyone interested in a specific Django meet

2008-01-05 Thread Roshan Mathews
to be pretty bad, maybe people could read up on what they need to before the meet. :) -- Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] how to learn programming

2009-01-24 Thread Roshan Mathews
On Sun, Jan 25, 2009 at 2:56 AM, Sridhar Ratnakumar sridhar.ra...@gmail.com wrote: On Sat, Jan 24, 2009 at 7:46 AM, Roshan Mathews rmath...@gmail.com wrote: The 'knowing the rules' vs. 'being proficient' argument is also made in SICP http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-11.html

Re: [BangPypers] Python easter eggs :)

2009-02-10 Thread Roshan Mathews
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, happens only the first time you import it ;) import __phello__ Hello

Re: [BangPypers] Python easter eggs :)

2009-02-10 Thread Roshan Mathews
On Tue, Feb 10, 2009 at 7:07 PM, Anand Balachandran Pillai abpil...@gmail.com wrote: import this ... love = this this is love True love is True False love is False False love is not True or False True love is not True or False; love is love

Re: [BangPypers] PyCon India Proposal

2009-02-28 Thread Roshan Mathews
On Sat, Feb 28, 2009 at 3:14 PM, VidA v...@svaksha.com wrote: Hi, Maybe we should stick to the Wiki for the discussion with maybe weekly reminders here that the discussion is going on there. :) ~Roshan ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] Next IRC meeting

2009-03-10 Thread Roshan Mathews
On Wed, Mar 11, 2009 at 4:25 AM, Kenneth Gonsalves law...@au-kbc.org wrote: https://svn.nrcfosshelpline.in/public/conference/branches/conference1/ https://svn.nrcfosshelpline.in/public/conference/branches/conference1.x/ ~Roshan ___ BangPypers mailing

Re: [BangPypers] Next IRC meeting

2009-03-11 Thread Roshan Mathews
On Wed, Mar 11, 2009 at 11:17 AM, Noufal Ibrahim nou...@gmail.com wrote: So, is Thursday night 9:00 pm fine with everyone? Fine with me. ~Roshan ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] Advanced Python or Understanding Python

2009-04-01 Thread Roshan Mathews
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, so to speak. Regards, Roshan Mathews

Re: [BangPypers] Guido steps down

2009-04-01 Thread Roshan Mathews
On Wed, Apr 1, 2009 at 12:25 PM, Anand Balachandran Pillai abpil...@gmail.com wrote: 2009/4/1 Venkatraman S venka...@gmail.com: On Wed, Apr 1, 2009 at 12:08 PM, Indrajith K indrajit...@gmail.com wrote: http://www.python.org/dev/peps/pep-0401/ Not sure, if this is a April fool joke! Come

Re: [BangPypers] Advanced Python or Understanding Python

2009-04-01 Thread Roshan Mathews
On Wed, Apr 1, 2009 at 12:30 PM, Anand Balachandran Pillai abpil...@gmail.com wrote: On Wed, Apr 1, 2009 at 12:26 PM, Roshan Mathews rmath...@gmail.com wrote: Since everyone seems to be mailing in today. http://video.google.com/videoplay?docid=7760178035196894549 By one of the people behind

Re: [BangPypers] Interesting historical relation between python distributed OS

2009-04-10 Thread Roshan Mathews
On Fri, Apr 10, 2009 at 2:04 PM, Venkatraman S venka...@gmail.com wrote: On Fri, Apr 10, 2009 at 1:09 PM, Pushparajan V vpra...@gmail.com wrote: Guess what ??.. already some set of people are getting involved into DS with python to overtake java.. but always survival of the fittest and the

Re: [BangPypers] Zine for weblogging

2009-04-23 Thread Roshan Mathews
Nice writeup, thank you. Roshan On Fri, Apr 24, 2009 at 10:58 AM, Kiran Jonnalagadda j...@pobox.com wrote: While seeking a weblog app to replace my ageing Plone+Quills installation, I came across Zine, a Python-based WordPress clone. http://zine.pocoo.org/

Re: [BangPypers] CPython's 'bignum' Implementation

2009-05-15 Thread Roshan Mathews
On Fri, May 15, 2009 at 5:12 PM, Venkatraman S venka...@gmail.com wrote: On Fri, May 15, 2009 at 5:09 PM, Amit Saha amitsaha...@gmail.com wrote: http://www.python.org/dev/peps/pep-0237/. However, if any of you folks know something concrete, I would appreciate it. Try searching in c.l.p - i

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

2009-06-13 Thread Roshan Mathews
On Sat, Jun 13, 2009 at 4:07 PM, Kiran Jonnalagaddaj...@pobox.com wrote: I will add my little theory to this discussion. Hahahaha :D Nice writeup. ___ BangPypers mailing list BangPypers@python.org

Re: [BangPypers] Good Python training in blr

2009-06-16 Thread Roshan Mathews
On Tue, Jun 16, 2009 at 10:27 AM, Dhananjay Nenedhananjay.n...@gmail.com wrote: I respect your calibre in training yourself. But cannot respect every organisation has the same luxury of waiting for programmers to train themselves so that they can eventually start using python. I trained myself

Re: [BangPypers] Performance benefits of Generators?

2009-07-01 Thread Roshan Mathews
On Tue, Jun 30, 2009 at 3:37 PM, Amit Sahaamitsaha...@gmail.com wrote: Since, this is out of mere curiosity, for the moment, performance would be simply the time taken to complete a task. Please look at: http://bitbucket.org/rm/substitutions/src/tip/prunepropogate.py#cl-86 This change (in

Re: [BangPypers] Performance benefits of Generators?

2009-07-01 Thread Roshan Mathews
-reference/8131700445-tu23fqcqab wonder how long it will take for the indian version of the 4th edition to hit the markets. Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Detailed talk on the GIL

2009-07-26 Thread Roshan Mathews
On Sun, Jul 26, 2009 at 6:31 PM, S.Ramaswamysrs...@gmail.com 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. :) Roshan ___ BangPypers

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Roshan Mathews
I think I just fell down the rabbit hole. On Wed, Jul 29, 2009 at 10:17 PM, Noufal Ibrahimnou...@gmail.com wrote: On Wed, Jul 29, 2009 at 12:58 PM, Shivaraj M Sshivraj...@gmail.com wrote: A small typo there But an important one. super(UID,self).Wind(7)  is super(ClassI,self).Wind(7) Well

Re: [BangPypers] Any python metaclasses for UID

2009-07-29 Thread Roshan Mathews
On Thu, Jul 30, 2009 at 9:31 AM, Baishampayan Ghoseb.gh...@gmail.com wrote: I didn't call _you_ Jo[h]n Harrop, man :) I called the OP a troll because his question is pretty much meaningless and is causing unnecessary irritation. May be it was because of the way I quoted the mail. Sorry for

Re: [BangPypers] link

2009-09-03 Thread Roshan Mathews
On Fri, Sep 4, 2009 at 7:33 AM, sridsridhar.ra...@gmail.com wrote: I too use print statements almost all the time. Even for debugging CPython code. I guess it is due to my own laziness. Putting `print` or `LOG.debug` is much easier/quicker compared to firing up a debugging console (and

Re: [BangPypers] link

2009-09-04 Thread Roshan Mathews
On Fri, Sep 4, 2009 at 11:54 AM, Noufal Ibrahimnou...@gmail.com wrote: On Fri, Sep 4, 2009 at 11:44 AM, sridsridhar.ra...@gmail.com wrote: On Thu, Sep 3, 2009 at 8:09 PM, Roshan Mathewsrmath...@gmail.com wrote: I recently read of an IDE for python which code-stepping and a fancy debugger.  

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

2009-09-07 Thread Roshan Mathews
On Mon, Sep 7, 2009 at 11:09 AM, Venkatraman Svenka...@gmail.com 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] Python Coding Standards

2009-09-13 Thread Roshan Mathews
On Sun, Sep 13, 2009 at 2:46 PM, Karthik urskarthi...@gmail.com 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 ___

Re: [BangPypers] Pickle multiple objects

2009-10-07 Thread Roshan Mathews
On Wed, Oct 7, 2009 at 1:23 PM, Roshan Mathews rmath...@gmail.com wrote: On Wed, Oct 7, 2009 at 1:14 PM, Aneesh A aneesh...@gmail.com 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] Pickle multiple objects

2009-10-07 Thread Roshan Mathews
in 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] array in python

2009-10-08 Thread Roshan Mathews
On Thu, Oct 8, 2009 at 6:15 AM, harshal jadhav jadhav.hars...@gmail.com 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

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

2009-10-11 Thread Roshan Mathews
purpose 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

Re: [BangPypers] New to python - neuron ring

2009-10-12 Thread Roshan Mathews
Python 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

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

2009-10-13 Thread Roshan Mathews
... 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-13 Thread Roshan Mathews
On Tue, Oct 13, 2009 at 6:59 PM, kunalkant sen kunalkant...@gmail.com 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

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-14 Thread Roshan Mathews
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-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 ___ BangPypers

Re: [BangPypers] Perl or Python ?

2009-10-14 Thread Roshan Mathews
On Wed, Oct 14, 2009 at 1:03 PM, Baiju M mba...@zeomega.com 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. Roshan Mathews

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

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
On Wed, Oct 14, 2009 at 3:43 PM, Kenneth Gonsalves law...@au-kbc.org 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 abpil...@gmail.com wrote: On Wed, Oct 14, 2009 at 2:52 PM, Baiju M mba...@zeomega.com wrote: Now

Re: [BangPypers] Perl or Python ?

2009-10-14 Thread Roshan Mathews
On Wed, Oct 14, 2009 at 4:01 PM, Kenneth Gonsalves law...@au-kbc.org 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 when you find

Re: [BangPypers] Why do indians copy?

2009-10-15 Thread Roshan Mathews
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

Re: [BangPypers] Suggest me a book

2009-10-15 Thread Roshan Mathews
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] Suggest me a book

2009-10-15 Thread Roshan Mathews
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] Why do indians copy?

2009-10-15 Thread Roshan Mathews
On Thu, Oct 15, 2009 at 7:10 PM, shameek ghosh shamee...@gmail.com wrote: ... [:)] ... [:P]... ... [:)] ... [:)] Orkut overdose? :) 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
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] Why do indians copy?

2009-10-15 Thread Roshan Mathews
antediluvian joke ... must* 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
on Sunday. :-S 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
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-21 Thread Roshan Mathews
') 31955768 id('super man') 31955488 id('super man') 31956768 id('super man') 31955768 id('super man') 31955488 Also, http://mail.python.org/pipermail/tutor/2009-July/070157.html Roshan Mathews ___ BangPypers mailing list BangPypers@python.org http

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

2009-10-22 Thread Roshan Mathews
://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] How to search a word list very fast

2009-10-30 Thread Roshan Mathews
On Fri, Oct 30, 2009 at 11:37 AM, Amit Sethi amit.pureene...@gmail.com 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

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
for 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

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
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@python.org http://mail.python.org

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
On Wed, Nov 11, 2009 at 6:07 PM, Darkseid lorddae...@gmail.com 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://teamtalk.im

Re: [BangPypers] Google Go

2009-11-11 Thread Roshan Mathews
On Wed, Nov 11, 2009 at 5:48 PM, Anand Balachandran Pillai abpil...@gmail.com 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  

Re: [BangPypers] Google Go

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

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

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

2009-11-11 Thread Roshan Mathews
On Wed, Nov 11, 2009 at 8:06 PM, Darkseid lorddae...@gmail.com 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 :)

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 rmath...@gmail.com 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 you

Re: [BangPypers] Reg : Python Scripting

2009-12-09 Thread Roshan Mathews
On Wed, Dec 9, 2009 at 4:34 PM, murugadoss murugadoss2...@gmail.com 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)

Re: [BangPypers] Unsubcribe

2009-12-14 Thread Roshan Mathews
On Tue, Dec 15, 2009 at 7:39 AM, srinivas_ 1220 srinivas_1...@yahoo.com 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 bangpypers.python.org

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-22 Thread Roshan Mathews
, while 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 Mathews http

Re: [BangPypers] Tuples vs Lists, perfromance difference

2009-12-22 Thread Roshan Mathews
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-23 Thread Roshan Mathews
() 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-24 Thread Roshan Mathews
On Thu, Dec 24, 2009 at 1:29 PM, Noufal Ibrahim nou...@gmail.com 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. -- Roshan Mathews

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 abpil...@gmail.com 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

Re: [BangPypers] Future of Python Programmers

2010-02-01 Thread Roshan Mathews
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] date range

2010-02-09 Thread Roshan Mathews
On Tue, Feb 9, 2010 at 17:53, Srinivas Reddy Thatiparthy srinivas_thatipar...@akebonosoft.com wrote: a b c   is equivalent to   a b and b c   *except that* b is evaluated only once. correction Did u  mean to say that evaluating b only once applies to  abc expression only,NOT for

Re: [BangPypers] Enclosing lexical context

2010-04-15 Thread Roshan Mathews
On Thu, Apr 15, 2010 at 23:33, Anand Chitipothu anandol...@gmail.com 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

Re: [BangPypers] Coaching institute in Bangalore.

2010-04-16 Thread Roshan Mathews
://docs.python.org/tutorial/ If 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

Re: [BangPypers] python supports frameworks ?

2010-04-25 Thread Roshan Mathews
On Mon, Apr 26, 2010 at 07:53, jaya kumar jayakumargen...@gmail.com 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

Re: [BangPypers] Extracting zipfile

2010-05-30 Thread Roshan Mathews
On Mon, May 31, 2010 at 05:56, murugadoss murugadoss2...@gmail.com wrote: zipfile.extractall(home/murugadoss/testfile.zip) Traceback (most recent call last):  File stdin, line 1, in module AttributeError: 'module' object has no attribute 'extractall'

Re: [BangPypers] UI Designing

2010-05-31 Thread Roshan Mathews
. 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

Re: [BangPypers] sending binary files over socket

2010-06-01 Thread Roshan Mathews
On Tue, Jun 1, 2010 at 10:31, murugadoss murugadoss2...@gmail.com 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] python with c bindings

2010-06-15 Thread Roshan Mathews
On Tue, Jun 15, 2010 at 21:42, Rahul R rahul8...@gmail.com 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/

Re: [BangPypers] designing programs

2010-06-24 Thread Roshan Mathews
On Fri, Jun 25, 2010 at 08:22, Kenneth Gonsalves law...@au-kbc.org 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

Re: [BangPypers] designing programs

2010-06-24 Thread Roshan Mathews
On Fri, Jun 25, 2010 at 09:03, Kenneth Gonsalves law...@au-kbc.org 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

Re: [BangPypers] designing programs

2010-06-24 Thread Roshan Mathews
On Fri, Jun 25, 2010 at 11:17, Kenneth Gonsalves law...@au-kbc.org 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

Re: [BangPypers] designing programs

2010-06-25 Thread Roshan Mathews
n Fri, Jun 25, 2010 at 14:59, Noufal Ibrahim nou...@gmail.com wrote: On Fri, Jun 25, 2010 at 12:51 PM, Kenneth Gonsalves law...@au-kbc.org 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

[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) (class '__main__.Foo', class '__main__.Bar') Also see

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 arulal...@gmail.com 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

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

2010-09-29 Thread Roshan Mathews
On Sat, Sep 25, 2010 at 11:04, Venkatraman S venka...@gmail.com 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. --

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 nou...@gmail.com 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

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 law...@au-kbc.org 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 on. did you

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 nou...@gmail.com 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

Re: [BangPypers] regular expression for Indian landline numbers

2010-11-25 Thread Roshan Mathews
On Thu, Nov 25, 2010 at 15:11, Kenneth Gonsalves law...@au-kbc.org 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

Re: [BangPypers] regular expression for Indian landline numbers

2010-11-25 Thread Roshan Mathews
On Fri, Nov 26, 2010 at 07:56, steve st...@lonetwin.net 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] refactoring

2010-12-02 Thread Roshan Mathews
On Fri, Dec 3, 2010 at 11:35, Anand Balachandran Pillai abpil...@gmail.com 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

Re: [BangPypers] refactoring

2010-12-04 Thread Roshan Mathews
On Fri, Dec 3, 2010 at 16:19, Kenneth Gonsalves law...@au-kbc.org 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

Re: [BangPypers] refactoring

2010-12-04 Thread Roshan Mathews
On Sat, Dec 4, 2010 at 17:36, Santosh Rajan santra...@gmail.com 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.

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 naren...@narendrasisodiya.com 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

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 law...@au-kbc.org 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

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 law...@au-kbc.org 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

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 law...@au-kbc.org 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 weekend training program

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 vsapr...@gmail.com 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

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

2011-03-27 Thread Roshan Mathews
On Mon, Mar 28, 2011 at 09:37, Navin Kabra navin.ka...@gmail.com wrote: On Mon, Mar 28, 2011 at 9:18 AM, Gora Mohanty g...@mimirtech.com 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

Re: [BangPypers] Nice feature

2011-04-01 Thread Roshan Mathews
On Fri, Apr 1, 2011 at 18:25, Navin Kabra navin.ka...@gmail.com 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 stdin, line 1, in module TypeError: 'int' object is not iterable foo (1, [8, 9, 10])

Re: [BangPypers] Nice feature

2011-04-01 Thread Roshan Mathews
On Fri, Apr 1, 2011 at 18:44, Hussain Bohra hussainbohra...@yahoo.com 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.

Re: [BangPypers] [JOB] - Yahoo!

2011-09-13 Thread Roshan Mathews
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 of. Especially fat, methane producing ones like Y! and T! Olé! Roshan

[BangPypers] [JOB] Clay Labs - Chennai

2011-10-18 Thread Roshan Mathews
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.org http

Re: [BangPypers] django signals

2011-11-15 Thread Roshan Mathews
On Tue, Nov 15, 2011 at 14:12, Asif Jamadar asif.jama...@rezayat.net 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 -

  1   2   >