Re: Rant on web browsers

2011-07-24 Thread lkcl
On Jun 14, 7:31 am, Chris Angelico ros...@gmail.com wrote: But if anyone feels like writing an incompatible browser, please can you add Python scripting? http://wiki.python.org/moin/WebBrowserProgramming already been done, chris - you want the firefox plugin, pyxpcomext and then if you

Re: Rant on web browsers

2011-07-24 Thread lkcl
On Jun 14, 7:31 am, Chris Angelico ros...@gmail.com wrote: Random rant and not very on-topic. Feel free to hit Delete and move on. I've just spent a day coding in Javascript, and wishing browsers supported Python instead (or as well). All I needed to do was take two ok your next best thing

Re: Rant on web browsers

2011-06-22 Thread Thomas 'PointedEars' Lahn
[I am biting only because this is my field of expertise, and I am really getting tired reading from people not having a shadow of a trace of a minimum clue what these languages that I like can and can't do.] Chris Angelico wrote: Random rant and not very on-topic. Feel free to hit Delete and

Re: Rant on web browsers

2011-06-21 Thread Daniel Kluev
Regarding pyjamas lib size, its actually not that big if you want only bare python, without DOM wrapper. You only need pyjslib, which is less than 30kb gzipped when compiled even with --strict (quite verbose mode). Even that could be further reduced if you drop unused by your code python features

Re: Rant on web browsers

2011-06-21 Thread ron_m
This might help http://blog.stevenlevithan.com/archives/date-time-format -- http://mail.python.org/mailman/listinfo/python-list

Re: Rant on web browsers

2011-06-20 Thread Dan Stromberg
On Tue, Jun 14, 2011 at 1:46 AM, Chris Angelico ros...@gmail.com wrote: On Tue, Jun 14, 2011 at 6:39 PM, Martin P. Hellwig martin.hell...@gmail.com wrote: On 14/06/2011 07:31, Chris Angelico wrote: cut But if anyone feels like writing an incompatible browser, please can you add Python

Rant on web browsers

2011-06-14 Thread Chris Angelico
Random rant and not very on-topic. Feel free to hit Delete and move on. I've just spent a day coding in Javascript, and wishing browsers supported Python instead (or as well). All I needed to do was take two dates (as strings), figure out the difference in days, add that many days to both dates,

Re: Rant on web browsers

2011-06-14 Thread Martin P. Hellwig
On 14/06/2011 07:31, Chris Angelico wrote: cut But if anyone feels like writing an incompatible browser, please can you add Python scripting? You might find that Pyjamas already fill your needs python/javascript wise. It is truly great to just write python, translate it, and then have it

Re: Rant on web browsers

2011-06-14 Thread Chris Angelico
On Tue, Jun 14, 2011 at 6:39 PM, Martin P. Hellwig martin.hell...@gmail.com wrote: On 14/06/2011 07:31, Chris Angelico wrote: cut But if anyone feels like writing an incompatible browser, please can you add Python scripting? You might find that Pyjamas already fill your needs

Re: Rant on web browsers

2011-06-14 Thread Novocastrian_Nomad
CoffeeScript maybe? http://jashkenas.github.com/coffee-script -- http://mail.python.org/mailman/listinfo/python-list

Re: Rant on web browsers

2011-06-14 Thread Patty
- Original Message - From: Chris Angelico ros...@gmail.com To: python-list@python.org Sent: Monday, June 13, 2011 11:31 PM Subject: Rant on web browsers Random rant and not very on-topic. Feel free to hit Delete and move on. I've just spent a day coding in Javascript, and wishing

Re: Rant on web browsers

2011-06-14 Thread Chris Angelico
On Wed, Jun 15, 2011 at 12:11 AM, Patty pa...@cruzio.com wrote: Hi Chris - I am just learning JavaScript and this was helpful to me, not a rant.  I am reading JavaScript:  The Good Parts so he is jumping around in topic and I can just use this when learning about dates and ints coming up.

Re: Rant on web browsers

2011-06-14 Thread Asen Bozhilov
Chris Angelico wrote: I've just spent a day coding in Javascript, and wishing browsers supported Python instead (or as well). All I needed to do was take two dates (as strings), figure out the difference in days, add that many days to both dates, and put the results back into DOM Input