Re: Is pythonic version of scanf() or sscanf() planned?

2009-10-13 Thread Aahz
In article b413e049-8f3f-4cdd-b702-341714763...@r36g2000vbn.googlegroups.com, ryniek90 rynie...@gmail.com wrote: But I remember that lambda function also was unwelcome in Python, but finally it is and is doing well. So maybe someone, someday decide to put in Python an alternative, really great

Is pythonic version of scanf() or sscanf() planned?

2009-10-13 Thread ryniek90
In article b413e049-8f3f-4cdd-b702-341714763...@r36g2000vbn.googlegroups.com, ryniek90 rynie...@gmail.com wrote: But I remember that lambda function also was unwelcome in Python, but finally it is and is doing well. So maybe someone, someday decide to put in Python an alternative, really

Re: Is pythonic version of scanf() or sscanf() planned?

2009-10-11 Thread TerryP
On Oct 9, 5:59 pm, Joshua Kugler jos...@joshuakugler.com wrote: ryniek90 wrote: So maybe someone, someday decide to put in Python an alternative, really great implementation ofscanf() ? My idea of a greatscanf() function would be a clever combination of re.match(), int(), and float(). j

Re: Is pythonic version of scanf() or sscanf() planned?

2009-10-11 Thread r
On Oct 3, 8:17 pm, Grant Edwards inva...@invalid.invalid wrote: (--snip--) One of the fist things I remember being taught as a C progrmmer was to never use scanf.  Programs that use scanf tend to fail in rather spectacular ways when presented with simple typos and other forms of unexpected

Re: Is pythonic version of scanf() or sscanf() planned?

2009-10-09 Thread Joshua Kugler
ryniek90 wrote: So maybe someone, someday decide to put in Python an alternative, really great implementation of scanf() ? My idea of a great scanf() function would be a clever combination of re.match(), int(), and float(). j -- http://mail.python.org/mailman/listinfo/python-list

Re: Is pythonic version of scanf() or sscanf() planned?

2009-10-08 Thread ryniek90
On 6 Paź, 06:37, Dennis Lee Bieber wlfr...@ix.netcom.com wrote: On Sun, 4 Oct 2009 15:48:16 -0700 (PDT), TerryP bigboss1...@gmail.com declaimed the following in gmane.comp.python.general: In the last 4 years, I have never missed functions like .*scanf() or atoi(). It's probably a

Re: Is pythonic version of scanf() or sscanf() planned?

2009-10-08 Thread Ben Sizer
On Oct 3, 11:06 pm, ryniek90 rynie...@gmail.com wrote: Hi I know that in python, we can do the same with regexps or *.split()*, but thats longer and less practical method than *scanf()*. I also found that (http://code.activestate.com/recipes/502213/), but the code doesn't looks so simple for

Re: Is pythonic version of scanf() or sscanf() planned?

2009-10-08 Thread Terry Reedy
ryniek90 wrote: On 6 Paź, 06:37, Dennis Lee Bieber wlfr...@ix.netcom.com wrote: On Sun, 4 Oct 2009 15:48:16 -0700 (PDT), TerryP bigboss1...@gmail.com declaimed the following in gmane.comp.python.general: In the last 4 years, I have never missed functions like .*scanf() or atoi(). It's

Re: Is pythonic version of scanf() or sscanf() planned?

2009-10-05 Thread TerryP
In the last 4 years, I have never missed functions like .*scanf() or atoi(). It's probably a greeaaat thing that Python provides nether as built ins (per se). -- http://mail.python.org/mailman/listinfo/python-list

Re: Is pythonic version of scanf() or sscanf() planned?

2009-10-04 Thread Martien Verbruggen
On Sun, 4 Oct 2009 01:17:18 + (UTC), Grant Edwards inva...@invalid.invalid wrote: On 2009-10-03, ryniek90 rynie...@gmail.com wrote: So, whether it is or has been planned the core Python implementation of *scanf()* ? One of the fist things I remember being taught as a C progrmmer

Re: Is pythonic version of scanf() or sscanf() planned?

2009-10-04 Thread Simon Forman
On Sun, Oct 4, 2009 at 5:29 AM, Martien Verbruggen martien.verbrug...@invalid.see.sig wrote: On Sun, 4 Oct 2009 01:17:18 + (UTC),        Grant Edwards inva...@invalid.invalid wrote: On 2009-10-03, ryniek90 rynie...@gmail.com wrote: So, whether it is or has been planned the core Python

Re: Is pythonic version of scanf() or sscanf() planned?

2009-10-04 Thread Martien Verbruggen
On Sun, 4 Oct 2009 13:18:22 -0400, Simon Forman sajmik...@gmail.com wrote: On Sun, Oct 4, 2009 at 5:29 AM, Martien Verbruggen martien.verbrug...@invalid.see.sig wrote: On Sun, 4 Oct 2009 01:17:18 + (UTC),        Grant Edwards inva...@invalid.invalid wrote: On 2009-10-03, ryniek90

Is pythonic version of scanf() or sscanf() planned?

2009-10-03 Thread ryniek90
Hi I know that in python, we can do the same with regexps or *.split()*, but thats longer and less practical method than *scanf()*. I also found that ( http://code.activestate.com/recipes/502213/ ), but the code doesn't looks so simple for beginners. So, whether it is or has been planned the

Re: Is pythonic version of scanf() or sscanf() planned?

2009-10-03 Thread MRAB
ryniek90 wrote: Hi I know that in python, we can do the same with regexps or *.split()*, but thats longer and less practical method than *scanf()*. I also found that ( http://code.activestate.com/recipes/502213/ ), but the code doesn't looks so simple for beginners. So, whether it is or has

Re: Is pythonic version of scanf() or sscanf() planned?

2009-10-03 Thread Grant Edwards
On 2009-10-03, ryniek90 rynie...@gmail.com wrote: So, whether it is or has been planned the core Python implementation of *scanf()* ? One of the fist things I remember being taught as a C progrmmer was to never use scanf. Programs that use scanf tend to fail in rather spectacular ways when