[BangPypers] .exe r .dmg install

2009-09-11 Thread sudhakar s
Hi, Can we install a .exe or .dmg file from python program itself... -- With Regards, S Sudhakar. ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] A doubt in list comprehension

2009-09-11 Thread Shashwat Anand
@srid: got it, thanks normal codes are just nice, it's like i wanted to go through some list-comprehension which makes the code a bit obsfucated. Atleast i should be able to write my own and understand others. Got a nice link too, wanted to share it :) Thanks for the help ! """ A list comprehe

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Kenneth Gonsalves
On Saturday 12 Sep 2009 7:25:52 am srid wrote: > >> Objections to top-posting *as a rule* is silly. > > > > please be polite - invective never wins arguments. > > Please explain what is "invective" (insulting, abusive, or highly > critical language) about anything said here. And what would be a > p

Re: [BangPypers] Low level Python

2009-09-11 Thread venkat83
I was looking at some bytecode optimizations last year. Tlee had some work already done on that front ; he had a branch. (But, I was not able to reach him and get to know about the stuff.) I mailed python-dev and Raymond replied back on this -- there are some good bugs in bytecode optimizations

Re: [BangPypers] A doubt in list comprehension

2009-09-11 Thread srid
On Fri, Sep 11, 2009 at 4:57 PM, Shashwat Anand wrote: > However what if I want an if-else loop in nested for loop. Are you referring to this: ['EVEN' if x%2==0 else 'ODD' for x in range(10)] > for i in range(10): > for j in range(10): > for k in range(10): > if i ==

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Rajeev J Sebastian
On Sat, Sep 12, 2009 at 7:25 AM, srid wrote: >>> Objections to top-posting *as a rule* is silly. >> >> please be polite - invective never wins arguments. > > Please explain what is "invective" (insulting, abusive, or highly > critical language) about anything said here. And what would be a > polit

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread srid
On Fri, Sep 11, 2009 at 3:59 PM, Kenneth Gonsalves wrote: > On Friday 11 Sep 2009 10:56:09 pm srid wrote: >> > does GVR top post? >> >> I have seen him doing both. An example of him top-posting, >> >>   http://aspn.activestate.com/ASPN/Mail/Message/python-dev/3743554 >> >> and here, for instance,

Re: [BangPypers] How to send 1 GB Zip file to some remote machine using HTTP/HTTPS?

2009-09-11 Thread Carl Karsten
On Thu, Sep 10, 2009 at 12:31 PM, deepak gupta wrote: > Hi All, > > How to send 1 GB Zip file to some remote machine using HTTP/HTTPS? > > As of now : > I am running a http listner in to remote machine. > I want to copy a file from local system to the remote machine where my > HTTP/HTTPS Listner i

[BangPypers] A doubt in list comprehension

2009-09-11 Thread Shashwat Anand
We can pack multiple if-loops and if-else within a list generators. Here is an example : >>> [i*j for i in range(1,10) for j in range(1,10) if i==j ] [1, 4, 9, 16, 25, 36, 49, 64, 81] Another one: >>> noprimes = [j for i in range(2, 8) for j in range(i*2, 50, i)] >>> primes = [x for x in range(2,

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Kenneth Gonsalves
On Friday 11 Sep 2009 3:09:27 pm Dhananjay Nene wrote: > > this is interesting. I never knew there were any arguments for top > > posting - > > apart from the default 'it is the easiest way of doing things'. Could you > > point out these arguments? > > Mails get used to communicate very diverse lev

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Kenneth Gonsalves
On Friday 11 Sep 2009 10:56:09 pm srid wrote: > > does GVR top post? > > I have seen him doing both. An example of him top-posting, > > http://aspn.activestate.com/ASPN/Mail/Message/python-dev/3743554 > > and here, for instance, he does not use top-posting, > > http://aspn.activestate.com/ASPN/

[BangPypers] Low level Python

2009-09-11 Thread Noufal Ibrahim
Hello everyone, Are there any people here who are interested and who've worked on the actual CPython (or any other) interpreter directly? The whole idea of unladen swallow is appealing to me and if there are others who are into that kind of thing, it'd be great to collaborate on something on th

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread srid
On Fri, Sep 11, 2009 at 10:33 AM, Venkatraman S wrote: > @srid: Wow. How do you manage to find time to search these things? Did you > go via each of the posts by Guido? If yes, tell him :) Actually since I follow python-dev@ (and occasionally python-ideas@), I have already seen GvR using both sty

Re: [BangPypers] Friendfeed's web server framework open sourced

2009-09-11 Thread Harish Mallipeddi
On Fri, Sep 11, 2009 at 10:32 PM, Anand Chitipothu wrote: > 2009/9/11 Dhananjay Nene : > > I am curious about the objective .. to the best of my knowledge wsgi is > > essentially blocking (unless my understanding is incorrect), whereas > tornado > > is primarily non-blocking. So would you see any

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Venkatraman S
On Fri, Sep 11, 2009 at 10:56 PM, srid wrote: > I have seen him doing both. An example of him top-posting, > > http://aspn.activestate.com/ASPN/Mail/Message/python-dev/3743554 > > and here, for instance, he does not use top-posting, > > http://aspn.activestate.com/ASPN/Mail/Message/python-dev/3

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread srid
On Fri, Sep 11, 2009 at 1:21 AM, Kenneth Gonsalves wrote: > does GVR top post? I have seen him doing both. An example of him top-posting, http://aspn.activestate.com/ASPN/Mail/Message/python-dev/3743554 and here, for instance, he does not use top-posting, http://aspn.activestate.com/ASPN/M

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread srid
On Fri, Sep 11, 2009 at 12:54 AM, Kenneth Gonsalves wrote: > On Friday 11 Sep 2009 11:00:41 am Kenneth Gonsalves wrote: >> On Friday 11 Sep 2009 10:54:27 am srid wrote: >> > >From Wikipedia: >> > >> > """ >> > Objections to top-posting on newsgroups, as a rule, seem to come from >> > persons who f

Re: [BangPypers] Friendfeed's web server framework open sourced

2009-09-11 Thread Anand Chitipothu
2009/9/11 Dhananjay Nene : > I am curious about the objective .. to the best of my knowledge wsgi is > essentially blocking (unless my understanding is incorrect), whereas tornado > is primarily non-blocking. So would you see any specific advantages of > deploying a wsgi app with tornado ? yes. qu

Re: [BangPypers] Friendfeed's web server framework open sourced

2009-09-11 Thread Anand Chitipothu
> The tornado doc says as much .. > > "Tornado comes with limited support for WSGI. However, since WSGI does > not support non-blocking requests, you cannot use any of the > asynchronous/non-blocking features of Tornado in your application if > you choose to use WSGI instead of Tornado's HTTP serve

Re: [BangPypers] Friendfeed's web server framework open sourced

2009-09-11 Thread Harish Mallipeddi
On Fri, Sep 11, 2009 at 9:03 PM, Pradeep Gowda wrote: > On Fri, Sep 11, 2009 at 10:57 AM, Dhananjay Nene > wrote: > > I am curious about the objective .. to the best of my knowledge wsgi is > > essentially blocking (unless my understanding is incorrect), whereas > tornado > > is primarily non-bl

Re: [BangPypers] Friendfeed's web server framework open sourced

2009-09-11 Thread Pradeep Gowda
On Fri, Sep 11, 2009 at 10:57 AM, Dhananjay Nene wrote: > I am curious about the objective .. to the best of my knowledge wsgi is > essentially blocking (unless my understanding is incorrect), whereas tornado > is primarily non-blocking. So would you see any specific advantages of > deploying a ws

Re: [BangPypers] Friendfeed's web server framework open sourced

2009-09-11 Thread Dhananjay Nene
I am curious about the objective .. to the best of my knowledge wsgi is essentially blocking (unless my understanding is incorrect), whereas tornado is primarily non-blocking. So would you see any specific advantages of deploying a wsgi app with tornado ? On Fri, Sep 11, 2009 at 7:57 PM, Anand Chi

Re: [BangPypers] Friendfeed's web server framework open sourced

2009-09-11 Thread Anand Chitipothu
2009/9/11 Dhananjay Nene : > Friendfeed's web server framework has been open sourced. > > http://bret.appspot.com/entry/tornado-web-server > > One of the exciting things about it (that I look forward to testing it out) > is the fact that mod_wsgi never really seemed like a good gateway standard > f

[BangPypers] Friendfeed's web server framework open sourced

2009-09-11 Thread Dhananjay Nene
Friendfeed's web server framework has been open sourced. http://bret.appspot.com/entry/tornado-web-server One of the exciting things about it (that I look forward to testing it out) is the fact that mod_wsgi never really seemed like a good gateway standard for event driven web servers such as ngi

Re: [BangPypers] webservice

2009-09-11 Thread Anand Chitipothu
>    Can any one suggest me how to create a simple web service. Doing what? ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

[BangPypers] webservice

2009-09-11 Thread sudhakar s
HI, Can any one suggest me how to create a simple web service. i heared ZSI but i was getting error when i import SOAPpy , i was unable to install SOAPpy on my mac. with regards S Sudhakar. ___ BangPypers mailing list BangPypers@python.org http:/

Re: [BangPypers] google app engine and python

2009-09-11 Thread Abhishek Mishra
Here is another one from me - http://web2hunter.appspot.com/ It generates web2.0 domain names which are actually available to be registered :) ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers

Re: [BangPypers] Recommendation of hotels nr Pycon event

2009-09-11 Thread Dhananjay Nene
Noufal, Thanks - yes that was a page I did look at since it was posted in one of the eariler threads. and also looked at YHAI - its all booked through the end of the month. Dhananjay On Fri, Sep 11, 2009 at 4:03 PM, Noufal Ibrahim wrote: > On Fri, Sep 11, 2009 at 3:35 PM, Dhananjay Nene > wro

Re: [BangPypers] Recommendation of hotels nr Pycon event

2009-09-11 Thread Noufal Ibrahim
On Fri, Sep 11, 2009 at 3:35 PM, Dhananjay Nene wrote: > Just did my travel reservations for travelling to banglore for Pycon. Need > recommendations on hotels that are relatively near the event premises (its > in IISc right ?). Preferably looking for something less than 3k per night > (though I a

Re: [BangPypers] Recommendation of hotels nr Pycon event

2009-09-11 Thread Ramdas S
There are quite a few service apartments in and around the place, which should be within the budget. I think that'll be comfortable for you too On Fri, Sep 11, 2009 at 3:35 PM, Dhananjay Nene wrote: > Just did my travel reservations for travelling to banglore for Pycon. Need > recommendatio

[BangPypers] Recommendation of hotels nr Pycon event

2009-09-11 Thread Dhananjay Nene
Just did my travel reservations for travelling to banglore for Pycon. Need recommendations on hotels that are relatively near the event premises (its in IISc right ?). Preferably looking for something less than 3k per night (though I am told such a price category no longer exists in Bangalore hotel

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Dhananjay Nene
Correction inline (sorry for one more post just for that) On Fri, Sep 11, 2009 at 3:09 PM, Dhananjay Nene wrote: > Kenneth, > > Comments inline, > > On Fri, Sep 11, 2009 at 2:50 PM, Kenneth Gonsalves wrote: > >> On Friday 11 Sep 2009 2:41:48 pm Dhananjay Nene wrote: >> > I haven't since a convinc

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Dhananjay Nene
Kenneth, Comments inline, On Fri, Sep 11, 2009 at 2:50 PM, Kenneth Gonsalves wrote: > On Friday 11 Sep 2009 2:41:48 pm Dhananjay Nene wrote: > > I haven't since a convincing argument either way on the topic why should > > newer folks > > adopt or not adopt a Usenet sensibility. IMO the usenet "p

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Kenneth Gonsalves
On Friday 11 Sep 2009 2:21:48 pm Noufal Ibrahim wrote: > On Fri, Sep 11, 2009 at 2:12 PM, Baishampayan Ghose > wrote: [..] > > > Others, unfortunately fail to accept it; they are simply too lazy to > > be courteous to others. I would blame the webmail clients for that > > though. They are simply n

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Kenneth Gonsalves
On Friday 11 Sep 2009 2:41:48 pm Dhananjay Nene wrote: > I haven't since a convincing argument either way on the topic why should > newer folks > adopt or not adopt a Usenet sensibility. IMO the usenet "pattern" is simply > fighting > a losing battle (one I gave up ages ago before shifting to top p

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Noufal Ibrahim
On Fri, Sep 11, 2009 at 2:12 PM, Baishampayan Ghose wrote: [..] > Others, unfortunately fail to accept it; they are simply too lazy to > be courteous to others. I would blame the webmail clients for that > though. They are simply not smart enough to put the cursor in the > right place (which is be

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Noufal Ibrahim
On Fri, Sep 11, 2009 at 2:41 PM, Dhananjay Nene wrote: [..] > IMO, at the end of the day it really doesn't matter and probably the best > thing is to simply get comfortable with both and move beyond the issue. On a > similar note, I continue to use British spellings but really don't get > surprise

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Dhananjay Nene
Comments inline On Fri, Sep 11, 2009 at 2:12 PM, Baishampayan Ghose wrote: > > why? in the first place I am extremely sensitive to top posting, but have > never > > used usenet or been in a C forum. I only learned about interleaved > posting in > > about 2002 or so. And the vast majority of peopl

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread S.Ramaswamy
> > who knows what the context is - the OP did not provide the link > > > > The "in reply to" link in the tweet provides the context. I am using the Twitter web ui, not sure how it works with various Twitter clients. Context: = http://twitter.com/jtauber/status/2403

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Baishampayan Ghose
> why? in the first place I am extremely sensitive to top posting, but have > never > used usenet or been in a C forum. I only learned about interleaved posting in > about 2002 or so. And the vast majority of people online now have similar > experience to mine. And also the vast majority of top po

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Kenneth Gonsalves
On Friday 11 Sep 2009 2:02:19 pm Noufal Ibrahim wrote: > On Fri, Sep 11, 2009 at 1:24 PM, Kenneth Gonsalves > wrote: [..] > > > why? in the first place I am extremely sensitive to top posting, > > [..] > > I noticed. You need to chill a little. :) AFAIK this list does not enforce the 'no top post

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Noufal Ibrahim
On Fri, Sep 11, 2009 at 1:24 PM, Kenneth Gonsalves wrote: [..] > why? in the first place I am extremely sensitive to top posting, [..] I noticed. You need to chill a little. :) -- ~noufal http://nibrahim.net.in ___ BangPypers mailing list BangPypers@p

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Kenneth Gonsalves
On Friday 11 Sep 2009 1:44:50 pm steve wrote: > Just to be a pedant, I should point out that the quoted paragraph clearly > states that "Objections to top-posting on /newsgroups/..." > > The entire paragraph is in the context of newsgroups (and Usenet in > particular). who knows what the context i

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread steve
On 09/11/2009 01:24 PM, Kenneth Gonsalves wrote: On Friday 11 Sep 2009 11:00:41 am Kenneth Gonsalves wrote: On Friday 11 Sep 2009 10:54:27 am srid wrote: > > From Wikipedia: > > """ > Objections to top-posting on newsgroups, as a rule, seem to come from > persons who first went online

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Kenneth Gonsalves
On Friday 11 Sep 2009 11:00:41 am Kenneth Gonsalves wrote: > On Friday 11 Sep 2009 10:54:27 am srid wrote: > > >From Wikipedia: > > > > """ > > Objections to top-posting on newsgroups, as a rule, seem to come from > > persons who first went online in the earlier days of Usenet, and in > > communiti

Re: [BangPypers] [OT] Guido's Tweet on Top Posting

2009-09-11 Thread Kenneth Gonsalves
On Friday 11 Sep 2009 12:21:48 pm Noufal Ibrahim wrote: > Why do you consider the quotation to be BS? I assume from your first > question that you do consider it to be BS. yes I do - but since your top post has removed the context I will have to go searching in the archives for it - so will reply