in 714281 20140110 090409 Alister wrote:
>On Fri, 10 Jan 2014 07:31:11 +, Bob Martin wrote:
>
>> in 714232 20140109 120741 Alister wrote:
>>>On Thu, 09 Jan 2014 07:17:25 +, Mark Lawrence wrote:
>>>
>>>> On 09/01/2014 04:14, Chris Angelico wrote:
"Simeon Chaos" wrote in message
news:bb7d8d30-845a-4a3d-9b03-dee71ef42...@googlegroups.com...
> ? 2014?1?11UTC+8??10?17?33?,Chris Angelico??:
> > On Sat, Jan 11, 2014 at 11:59 AM, Simeon Chaos wrote:
> >
> > > All along, the design of programming languages is a complex task.
> > > Because we
Yes, it's complex to design a new language. So don't let the tool stand in the
way. There is a saying: Grinding a chopper will not hold up the work of cutting
firewood.
在 2014年1月11日星期六UTC+8上午10时17分33秒,Chris Angelico写道:
> On Sat, Jan 11, 2014 at 11:59 AM, Simeon Chaos wrote:
>
> > All along, the
On Sat, Jan 11, 2014 at 3:18 PM, ngangsia akumbo wrote:
> purch_price = input("Please enter the price for purchase made: ")
> purch_p = raw_input("Please enter the reason of this purchase made: ")
Never use input() in a Python 2 program... always use raw_input()
instead. You're mostly rig
Hi everyone,
I have been around this group for some time and i saw that we have very helpful
people here.
i have been learning python just for about 5 months now and i have been given a
task to do. This will be a leap into the programming industry for me.
i am programming a system that will
On Sat, Jan 11, 2014 at 11:59 AM, Simeon Chaos wrote:
> All along, the design of programming languages is a complex task. Because we
> need to understand the esoteric compiler theory and technology, and one of
> the most critical and very difficult part is to define the rules of the new
> langu
How is peasy (https://github/chaosim/peasy) simpler and more powerful than
other parser tools?
Simpler and more powerful? Maybe it is a bit contrary to common sense. True or
false? To affirm, please give this project (https://github.com/chaosim/peasy) a
glimpse at first. Because of being simple
In article ,
Peter Pearson wrote:
> Around 30 years ago, the Wall Street Journal ran an opinion piece
> advocating the abandonment of time zones and the unification of the
> globe into a single glorious time zone. After enumerating the
> efficiencies to be achieved by this system, the writer b
On 2014-01-10 20:57, vanommen.rob...@gmail.com wrote:
Hello,
I have a Raspberry Pi with 10 temperature sensors. I send the data from the
sensors and some other values with json encoding and:
result = urllib2.urlopen(request, postData)
to a online PHP script wich places the data in a mysql dat
On Fri, 10 Jan 2014 12:57:59 -0800, vanommen.robert wrote:
> Hello,
>
> I have a Raspberry Pi with 10 temperature sensors. I send the data from
> the sensors and some other values with json encoding and:
>
> result = urllib2.urlopen(request, postData)
>
> to a online PHP script wich places the
On Fri, 10 Jan 2014 11:38:32 -0800 (PST), bryan.kardi...@gmail.com
wrote:
It's in the following directory on my machine
C:\workspace\PyFoo\src\foo
In that folder is __init__.py (created automatically) and foo.py
foo.py looks like this
class foo():
Ned has pointed out your path prob
On Fri, 10 Jan 2014 12:57:59 -0800 (PST), vanommen.rob...@gmail.com
wrote:
No idea about the php..
In python when i do
para = result.read()
print para
the output is:
[null,null,null,null,null,"J"]
That's a string that just looks like a list.
This is correct according to the data in P
In
vanommen.rob...@gmail.com writes:
> result = urllib2.urlopen(request, postData)
> para = result.read()
> print para
> the output is:
> [null,null,null,null,null,"J"]
> print para[1]
> the output is:
> n
Probably because para is a string with the value
'[null,null,null,null,null,"J"]'
On 1/10/2014 12:38 PM, Albert-Jan Roskam wrote:
In Python Cookbook, one of the authors (I forgot who) consistently used the "L[:]" idiom like below. If the second line
simply starts with "L =" (so no "[:]") only the name "L" would be rebound, not the underlying
object. That was the authorś expl
On 1/10/14 12:38 PM, Albert-Jan Roskam wrote:
In Python Cookbook, one of the authors (I forgot who) consistently used the "L[:]" idiom like below. If the second line
simply starts with "L =" (so no "[:]") only the name "L" would be rebound, not the underlying
object. That was the authorś explan
On 10/01/2014 20:38, Skip Montanaro wrote:
Anyone in the
know who can explain this phenomenon?
I don't think I can explain it authoritatively, but I can hazard a
guess. Skimming the archives sorted by author, it looks like most/all
the correspondents are Python core developers. That leads me to
On 10/01/2014 20:26, jeremiah valerio wrote:
For the second time of asking would you please read and action this
https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing
double line spacing, thanks. Failing that, please arm yourself with a
semi-decent email client, there are umpte
Hello,
I have a Raspberry Pi with 10 temperature sensors. I send the data from the
sensors and some other values with json encoding and:
result = urllib2.urlopen(request, postData)
to a online PHP script wich places the data in a mysql database.
In the result:
result.read()
i am trying to
In Python Cookbook, one of the authors (I forgot who) consistently used the
"L[:]" idiom like below. If the second line simply starts with "L =" (so no
"[:]") only the name "L" would be rebound, not the underlying object. That was
the authorś explanation as far as I can remember. I do not get th
On Friday 10 January 2014 15:24:11 Mark Lawrence did opine:
> On 10/01/2014 18:48, MRAB wrote:
> > On 2014-01-10 18:22, Peter Pearson wrote:
> >> On Thu, 9 Jan 2014 15:14:55 +1100, Chris Angelico wrote:
> >> [snip]
> >>
> >>> What I find, most of the time, is that it's Americans who can't
> >>> h
> Anyone in the
> know who can explain this phenomenon?
I don't think I can explain it authoritatively, but I can hazard a
guess. Skimming the archives sorted by author, it looks like most/all
the correspondents are Python core developers. That leads me to
believe this was a list created for the c
On Sat, Jan 11, 2014 at 7:26 AM, jeremiah valerio
wrote:
> So always think of the if's and possibility's that
> other people might do, thanks for you input.
Also think of the possibility that someone will read your post and its
quoted text. Please get off Google Groups, or if you must keep using
Given the adverse publicity recently over the problems with porting from
2 to 3, I find it strange that the subject list has only 351 messages
that I can see dating from 15/12/2008 to 05/01/2014. This is despite it
being clearly mentioned here http://www.python.org/community/lists/
Anyone in t
On Friday, January 10, 2014 2:56:14 AM UTC-6, Alister wrote:
> On Thu, 09 Jan 2014 13:05:23 -0800, jeremiah valerio wrote:
>
>
>
> > On Thursday, January 9, 2014 2:54:44 PM UTC-6, Christopher Welborn
>
> > wrote:
>
> >> On 01/08/2014 11:56 PM, jeremiahvalerio...@gmail.com wrote:
>
> >>
>
>
On 2014-01-10, Mark Lawrence wrote:
> Hell will freeze over first. But apparently it already has in
> Minnesota. Drat, drat and double drat!!!
It got darned cold here in Minnesota on Monday (-23F in Minneapolis,
-35F in Embarass), but Hell is in Michigan -- where it only got down
to -15F.
On 1/10/14 2:43 PM, John Ladasky wrote:
On Friday, January 10, 2014 9:48:43 AM UTC-8, Ned Batchelder wrote:
On Python-Dev, Dan Stromberg posted this link with the results:
http://stromberg.dnsalias.org/~strombrg/python-2.x-vs-3.x-survey/
That link gave me a 404. :^(
Sorry, it worked when
On 2014-01-10 19:43, John Ladasky wrote:
On Friday, January 10, 2014 9:48:43 AM UTC-8, Ned Batchelder wrote:
On Python-Dev, Dan Stromberg posted this link with the results:
http://stromberg.dnsalias.org/~strombrg/python-2.x-vs-3.x-survey/
That link gave me a 404. :^(
It's available here:
On 1/10/14 2:38 PM, bryan.kardi...@gmail.com wrote:
I'm new to python and am trying to just get some basic stuff up and going.
Welcome!
I have a very basic module called foo
It's in the following directory on my machine
C:\workspace\PyFoo\src\foo
In that folder is __init__.py (created auto
On Friday, January 10, 2014 9:48:43 AM UTC-8, Ned Batchelder wrote:
> On Python-Dev, Dan Stromberg posted this link with the results:
>
> http://stromberg.dnsalias.org/~strombrg/python-2.x-vs-3.x-survey/
That link gave me a 404. :^(
--
https://mail.python.org/mailman/listinfo/python-list
I'm new to python and am trying to just get some basic stuff up and going.
I have a very basic module called foo
It's in the following directory on my machine
C:\workspace\PyFoo\src\foo
In that folder is __init__.py (created automatically) and foo.py
foo.py looks like this
class foo():
de
On 10/01/2014 18:48, MRAB wrote:
On 2014-01-10 18:22, Peter Pearson wrote:
On Thu, 9 Jan 2014 15:14:55 +1100, Chris Angelico wrote:
[snip]
What I find, most of the time, is that it's Americans who can't handle
DST. I run an international Dungeons and Dragons campaign (we play
online, and new pl
On 2014-01-10 18:22, Peter Pearson wrote:
On Thu, 9 Jan 2014 15:14:55 +1100, Chris Angelico wrote:
[snip]
What I find, most of the time, is that it's Americans who can't handle
DST. I run an international Dungeons and Dragons campaign (we play
online, and new players are most welcome, as are peo
On 01/10/2014 09:36 AM, John Ladasky wrote:
We have to remember to convert between the remote device's
expectation of strings of bytes, and Python's expectation of
strings of Unicode characters. When we forget, there can be
bugs. I'm sure that I'll get used to it eventually.
A useful data po
On Thu, 9 Jan 2014 15:14:55 +1100, Chris Angelico wrote:
[snip]
> What I find, most of the time, is that it's Americans who can't handle
> DST. I run an international Dungeons and Dragons campaign (we play
> online, and new players are most welcome, as are people watching!),
> and the Aussies (myse
On 1/10/14 12:36 PM, John Ladasky wrote:
I responded to the survey about a week ago. Dan, I hope you will share the
results with us soon. I also tried to reply to this thread, but I lost the
ability to post to newsgroups for about a week. It seems to have been
restored, so I will try again.
I responded to the survey about a week ago. Dan, I hope you will share the
results with us soon. I also tried to reply to this thread, but I lost the
ability to post to newsgroups for about a week. It seems to have been
restored, so I will try again.
My transition from Py2 to Py3 is implicit
Ian Kelly writes:
> I suggest defining x as a normal function and writing the assignment
> as "Foo.x = staticmethod(x)" to keep x callable from the global
> namespace. Or just del it after doing the monkey patch.
You can use Foo.x = staticmethod(lambda: 2)
--
Piet van Oostrum
WWW: http://piet
It's a peanuts cartoon https://www.pinterest.com/pin/44613852532468697/
--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.
Mark Lawrence
--
https://mail.python.org/mailman/listinfo/python-list
Le jeudi 9 janvier 2014 19:49:27 UTC+1, Ethan Furman a écrit :
> So I'm working with postgres, and I get a datadump which I try to restore to
> my test system, and I get this:
>
>
>
> ERROR: value too long for type character varying(4)
>
> CONTEXT: COPY res_currency, line 32, column symbol:
On Fri, 10 Jan 2014 07:31:11 +, Bob Martin wrote:
> in 714232 20140109 120741 Alister wrote:
>>On Thu, 09 Jan 2014 07:17:25 +, Mark Lawrence wrote:
>>
>>> On 09/01/2014 04:14, Chris Angelico wrote:
On Thu, Jan 9, 2014 at 2:54 PM, Ben Finney
wrote:
> I'm approaching it
On Thu, 09 Jan 2014 13:05:23 -0800, jeremiah valerio wrote:
> On Thursday, January 9, 2014 2:54:44 PM UTC-6, Christopher Welborn
> wrote:
>> On 01/08/2014 11:56 PM, jeremiahvalerio...@gmail.com wrote:
>>
>> > Hi, hows it going I've been self teaching myself python, and i typed
>> > up this small
41 matches
Mail list logo