Hello everyone, I have been away for a while.
I have been reading all the good advises and want to explain why I want to read
the temperatures separately from the main script. It takes a long time to read
out 10 temperatures. About 10 seconds. So that’s the reason why I had the idea
to create a
On 12/26/2013 05:41 AM, Chris Angelico wrote:
> On Thu, Dec 26, 2013 at 4:13 PM, wrote:
>> On 12/25/2013 09:17 PM, Chris Angelico wrote:
>>>[...]
>>> Or maybe I should have just filtered everything from Google Groups
>>> into the bit bucket, because responding just creates threads like
>>> this.
hello,
can I ask you for help? when I try to print s[0] i vane the message:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1:
ordinal not in range(128).
how to solve my problem, please?
regards,
t.
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Dec 27, 2013 at 11:53 AM, Dan Stromberg wrote:
> On Thu, Dec 26, 2013 at 9:43 PM, Rustom Mody wrote:
>> 2. Always write strings with a u" prefix
> 3.0, 3.1 and 3.2 don't understand this, but 3.3 does.
Ok
I was writing this under the assumption that 2 is really entrenched
whereas 3.n is di
On Fri, Dec 27, 2013 at 9:51 PM, Rustom Mody wrote:
> On Fri, Dec 27, 2013 at 11:53 AM, Dan Stromberg wrote:
>> On Thu, Dec 26, 2013 at 9:43 PM, Rustom Mody wrote:
>>> 2. Always write strings with a u" prefix
>> 3.0, 3.1 and 3.2 don't understand this, but 3.3 does.
>
> Ok
> I was writing this und
Chris Angelico wrote:
> However, I do broadly agree. For controlled environments, you should
> be able to slide from 3.1 to 3.2 to 3.3 to 3.4 on whatever schedule
> you choose, and happily drop support for the older versions. But in
> less controlled environments, that's a bit harder.
>
> Probabl
tomasz.kaczo...@gmail.com wrote:
> hello,
> can I ask you for help? when I try to print s[0] i vane the message:
> UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1:
> ordinal not in range(128). how to solve my problem, please?
What version of Python?
What operating syste
On Fri, Dec 27, 2013 at 10:34 PM, Steven D'Aprano
wrote:
> Alternatively, if you don't care about the OS-provided Python (perhaps
> you're providing your own, or you expect your users to install from
> source), then I think it is acceptable to target 2.7 and 3.3 or better
> (e.g. drop support for
On 12/27/13 5:43 AM, tomasz.kaczo...@gmail.com wrote:
hello,
can I ask you for help? when I try to print s[0] i vane the message:
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1:
ordinal not in range(128).
how to solve my problem, please?
regards,
t.
For help with
On Fri, 27 Dec 2013 02:43:58 -0800 (PST), tomasz.kaczo...@gmail.com
wrote:
can I ask you for help? when I try to print s[0] i vane the
message: UnicodeEncodeError: 'ascii' codec can't encode characters in
position 0-1: ordinal not in range(128).
how to solve my problem, please?
First, what v
On 12/27/13 12:04 AM, Travis McGee wrote:
The Python.org site says that the future is Python 3, yet whenever I try
something new in Python, such as Tkinter which I am learning now,
everything seems to default to Python 2. By this I mean that, whenever I
find that I need to install another package
On Thu, 26 Dec 2013 12:04:22 -0800 (PST), ru...@yahoo.com wrote:
On 12/26/2013 05:41 AM, Chris Angelico wrote:
> On Thu, Dec 26, 2013 at 4:13 PM, wrote:
>> On 12/25/2013 09:17 PM, Chris Angelico wrote:
>>>[...]
>>> Or maybe I should have just filtered everything from Google
Groups
>>> into th
Hello
I'm rewriting a program previously written in C #, and trying to keep the same
configuration file, I have a problem with untapped strings.
The previous configuration files provide an input template string of this type:
This string is parsed and the values are replaced with the actual
On Fri, Dec 27, 2013 at 11:55 PM, wrote:
> I'm rewriting a program previously written in C #, and trying to keep the
> same configuration file, I have a problem with untapped strings.
Not sure what you mean by "untapped" here?
> Taking for example a classic line of apache log:
>
> 0.0.0.0 - [2
On Thu, 19 Dec 2013 19:38:51 -0500, Roy Smith wrote:
> Does anybody ever use D? I looked at it a few years ago. It seemed
> like a very good concept. Sort of C++, with the worst of the crap torn
> out. If nothing else, with the preprocessor torn out :-)
>
> Did it ever go anywhere?
Apparently
In article <234a1a8d-e491-4eec-8bd5-7931cf4f7...@googlegroups.com>,
Pierre Quentel wrote:
> Hi,
>
> Ever wanted to use Python instead of Javascript for web client programming ?
> Take a look at Brython, an implementation of Python 3 in the browser, with an
> interface with DOM elements and ev
Den fredagen den 27:e december 2013 kl. 07:14:35 UTC+1 skrev Pierre Quentel:
> Hi,
>
>
>
> Ever wanted to use Python instead of Javascript for web client programming ?
> Take a look at Brython, an implementation of Python 3 in the browser, with an
> interface with DOM elements and events
>
>
From Twitter:
RT @cjbrummitt Python kills security guard at Sanur Hyatt, Bali (Ind).
bit.ly/1fLCWvn < bad coding has CONSEQUENCES, ppl!
--
https://mail.python.org/mailman/listinfo/python-list
On Thursday, December 26, 2013 8:29:15 PM UTC-5, Roy Smith wrote:
> In article <59aa73ac-e06e-4c0e-83a4-147ac42ca...@googlegroups.com>,
>
> matt.doolittl...@gmail.com wrote:
>
>
>
> > > In [1]: import time
>
> > > In [2]: time.time()
>
> > > Out[2]: 1388085670.1567955
>
> >
>
> > OK i did
I pretty much stopped using Windows 4
>
> years ago.
>
I got off the plantation over a year ago and have not looked back.
--
https://mail.python.org/mailman/listinfo/python-list
On Thursday, December 26, 2013 11:54:41 PM UTC-5, Dave Angel wrote:
> On Thu, 26 Dec 2013 20:03:34 -0500, Terry Reedy
>
> wrote:
>
> > On 12/26/2013 5:48 PM, Dave Angel wrote:
>
> > > You're probably on Windows, which does time differently.
>
>
>
> > With 3.3 and 3.4 on Windows 7, time.tim
On Fri, 27 Dec 2013 07:40:29 -0800 (PST), matt.doolittl...@gmail.com
wrote:
I am on Ubuntu 12.10. I am still working with the 2 decimal
places. Sometime ago i had this issue and I forget how i solved it.
maybe i used datetime? thanks!
Now I'm stumped. 2.7.3 on Ubuntu 12.04 and time.time giv
In article <0c33b7e4-edc9-4e1e-b919-fec210c92...@googlegroups.com>,
matt.doolittl...@gmail.com wrote:
> I am on Ubuntu 12.10. I am still working with the 2 decimal places.
> Sometime ago i had this issue and I forget how i solved it. maybe i used
> datetime? thanks!
That's strange. Linux
On 27.12.2013 07:14, Pierre Quentel wrote:
Hi,
Ever wanted to use Python instead of Javascript for web client programming ?
Take a look at Brython, an implementation of Python 3 in the browser, with an
interface with DOM elements and events
Its use is very simple :
- load the Javascript libra
In article ,
Dennis Lee Bieber wrote:
> On Thu, 26 Dec 2013 23:29:30 -0500, Roy Smith declaimed the
> following:
>
> >
> >NTP is never supposed to move the clock backwards. If your system clock
> >is fast, it's supposed to reduce the rate your clock runs until it's
> >back in sync. Well, m
On Fri, Dec 27, 2013 at 10:12 PM, Roy Smith wrote:
> In article ,
> Dennis Lee Bieber wrote:
>
>> On Thu, 26 Dec 2013 23:29:30 -0500, Roy Smith declaimed the
>> following:
>>
>> >
>> >NTP is never supposed to move the clock backwards. If your system clock
>> >is fast, it's supposed to reduce th
On 24/12/2013 05:07, Steven D'Aprano wrote:
On Tue, 24 Dec 2013 00:32:31 +, Mark Lawrence wrote:
Maybe of interest to some of you
http://www.bbc.co.uk/news/technology-25495315
While I'm happy for Alan Turing, may he rest in peace, I think the
thousands of other homosexuals who have been p
Le vendredi 27 décembre 2013 15:56:33 UTC+1, jonas.t...@gmail.com a écrit :
> Den fredagen den 27:e december 2013 kl. 07:14:35 UTC+1 skrev Pierre Quentel:
>
> > Hi,
>
> >
>
> >
>
> >
>
> > Ever wanted to use Python instead of Javascript for web client programming
> > ? Take a look at Bryth
On 27/12/2013 01:44, Chris Angelico wrote:
On Fri, Dec 27, 2013 at 12:37 PM, Roy Smith wrote:
In article ,
Ethan Furman wrote:
Mostly I don't want newbies thinking "Hey! I can use assertions for all my
confidence testing!"
How about this one, that I wrote yesterday;
assert sec
Le vendredi 27 décembre 2013 17:12:09 UTC+1, Johannes Schneider a écrit :
> On 27.12.2013 07:14, Pierre Quentel wrote:
>
> > Hi,
>
> >
>
> > Ever wanted to use Python instead of Javascript for web client programming
> > ? Take a look at Brython, an implementation of Python 3 in the browser,
>
On Friday, December 27, 2013 11:27:58 AM UTC-5, Roy Smith wrote:
> In article <0c33b7e4-edc9-4e1e-b919-fec210c92...@googlegroups.com>,
>
> matt.doolittl...@gmail.com wrote:
>
>
>
> > I am on Ubuntu 12.10. I am still working with the 2 decimal places.
>
> > Sometime ago i had this issue and
On 12/27/13 1:09 PM, matt.doolittl...@gmail.com wrote:
On Friday, December 27, 2013 11:27:58 AM UTC-5, Roy Smith wrote:
In article <0c33b7e4-edc9-4e1e-b919-fec210c92...@googlegroups.com>,
matt.doolittl...@gmail.com wrote:
I am on Ubuntu 12.10. I am still working with the 2 decimal place
In article <1db0d993-9d2d-46af-9ee8-69d9250dc...@googlegroups.com>,
matt.doolittl...@gmail.com wrote:
> > Please post the *exact* code you're running. The code you posted
> > earlier is obviously only a fragment of some larger program, so we can
> > only guess what's happening. Assuming your
In article ,
Roy Smith wrote:
> self.logfile.write("str=%s, repr=%s", (str(t), repr(t)))
Ugh, make that:
> self.logfile.write("str=%s, repr=%s" % ((str(t), repr(t)))
--
https://mail.python.org/mailman/listinfo/python-list
Awesome.. Wonderful work!
--
https://mail.python.org/mailman/listinfo/python-list
John D. MacDonald fan?
On Friday, December 27, 2013, Travis McGee wrote:
> From Twitter:
>
> RT @cjbrummitt Python kills security guard at Sanur Hyatt, Bali (Ind).
> bit.ly/1fLCWvn < bad coding has CONSEQUENCES, ppl!
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.p
On 28 December 2013 04:34, Mark Lawrence wrote:
>
>> Personally, I think that people ought to throw a party celebrating
>> Turing's rehabilitation, and do it right outside the Russian Embassy.
>>
>>
> Any particular reason for the restriction to Russian Embassy?
I suspect it's in reference to t
dear all,
I am trying to configure eclipse + pydev as my ide, but there seems to be some
problem on code complete.
the attached is the case when code complete does not work. any suggestions?
Thanks!
my system is win 64bit
pyhon 3.3 64bit
eclipse kepler-SR1
pydev 3.1
I downloaded pillow from thi
On Sat, Dec 28, 2013 at 3:42 AM, Roy Smith wrote:
> Keeping a bunch of clocks on a network in sync is a solved problem. The
> world really needs to move on to new problems like how to deal with more
> than 2^32 devices on a network. Or how to deal with languages where 26
> letters isn't enough.
Op dinsdag 24 december 2013 17:23:43 UTC+1 schreef Jean-Michel Pichavant:
> - Original Message -
> > Hello, for the first time I'm trying te create a little Python
> > program. (on a raspberri Pi)
> >
> > I don't understand the handling of variables in a loop with Python.
> >
> >
> > Let
Roy Smith writes:
> Or how to deal with languages where 26 letters isn't enough.
English! that is, imvho
English is in sore need
of some more letters[*]
and of diacriticals too
g
[*] unable to quantify!
--
https://mail.python.org/mailman/listinfo/python-list
On 27Dec2013 07:40, matt.doolittl...@gmail.com
wrote:
> I am on Ubuntu 12.10. I am still working with the 2 decimal
> places. Sometime ago i had this issue and I forget how i solved it.
> maybe i used datetime? thanks!
Repeatedly people have asked you to show your exact code. Still nothing.
H
matt.doolittl...@gmail.com wrote:
> I need to print the time in seconds from the epoch with
> millisecond precision.
I wrote:
> What happens if you do:
>
> t = time.time()
> self.logfile.write("str=%s, repr=%s", (str(t), repr(t)))
At the time I originally posted that, I was baffled as to wha
On 12/27/13 7:25 PM, Cameron Simpson wrote:
On 27Dec2013 07:40, matt.doolittl...@gmail.com
wrote:
I am on Ubuntu 12.10. I am still working with the 2 decimal
places. Sometime ago i had this issue and I forget how i solved it.
maybe i used datetime? thanks!
Repeatedly people have asked you
On Fri, 27 Dec 2013 21:10:49 -0500, Ned Batchelder wrote:
> On 12/27/13 7:25 PM, Cameron Simpson wrote:
>> On 27Dec2013 07:40, matt.doolittl...@gmail.com
>> wrote:
>>> I am on Ubuntu 12.10. I am still working with the 2 decimal places.
>>> Sometime ago i had this issue and I forget how i solved
On Sat, 28 Dec 2013 07:30:34 +1100, Tim Delaney wrote:
> On 28 December 2013 04:34, Mark Lawrence
> wrote:
>
>
>>> Personally, I think that people ought to throw a party celebrating
>>> Turing's rehabilitation, and do it right outside the Russian Embassy.
>>>
>>>
>> Any particular reason for th
On 28 December 2013 15:16, Steven D'Aprano wrote:
> I don't care about the Olympians. Their presence in Russia is voluntary,
> and so long as they keep it in their pants for a few weeks (or at least
> don't get caught) they get to go home again a few weeks later. Have a
> thought for those who do
Le vendredi 27 décembre 2013 12:37:17 UTC+1, Steven D'Aprano a écrit :
> tomasz.kaczo...@gmail.com wrote:
>
>
>
> > hello,
>
> > can I ask you for help? when I try to print s[0] i vane the message:
>
> > UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1:
>
> > ordinal
48 matches
Mail list logo