On 12/24/2013 11:27 AM, vanommen.rob...@gmail.com wrote:
> Indeed this is code what I found on the web to read temperatures from
> 10 DS18B20 singlewire sensors.
>
> My only programming (little) experience is VBA (Excel mostly).
>
Definitely you'll want to learn python before you go much farther
> Also, it's not a python issue, it's an issue with your particular
> stack. Other stacks do automatic reloading (for example, the web
> server that Django uses).
Which web server do you suggest instead of Apache, which doesn't have this
problem? (I am not planning to use Django)
--
https://mail
On Wed, Dec 25, 2013 at 09:57:42PM -0800, Fredrik Bertilsson wrote:
> I am evaluating Python for web development and just found out that I need to
> restart Apache after source changes on windows. Using linux the situation is
> better but I still have to touch the wsgi file. Is it only me that fi
> I am using the following code to submit the query/
> def get_BLAST(taxid, queryseq, args=None):
> '''
> Input taxid to BLAST queryseq against
> '''
> e_query = "txid" + taxid + " [ORGN]"
> #, other_advanced='-G 4 -E 1'
> blast_result = NCBIWWW.qblast("blastn", "nt", querys
I am evaluating Python for web development and just found out that I need to
restart Apache after source changes on windows. Using linux the situation is
better but I still have to touch the wsgi file. Is it only me that finds this
being a major drawback compared to PHP?
--
https://mail.python.
Chris Angelico wrote:
> Does anyone else have the vague feeling that the OP's problem might be
> better served by simply importing the script (thus making those values
> available to another Python script) than by any of these rather more
> complicated theories?
Damn yes!
--
Steven
--
https
Rustom Mody wrote:
> I seem to have been kicked off something or other --
> First thought it was google groups -- then saw some mails from Steven
> describing similar 'non-reaching' problems.
I don't think you can actually be kicked off Google Groups. Isn't it open to
anyone with an account? If y
On Thu, Dec 26, 2013 at 9:47 AM, Chris Angelico wrote:
> On Thu, Dec 26, 2013 at 3:11 PM, Ned Batchelder
> wrote:
>> Kevin started this thread by asking a question. Chris responded without
>> helping the OP, and talked about Google Groups instead. That's not good.
>
> The only reason I didn't
On Thu, Dec 26, 2013 at 3:11 PM, Ned Batchelder wrote:
> Kevin started this thread by asking a question. Chris responded without
> helping the OP, and talked about Google Groups instead. That's not good.
The only reason I didn't directly help the OP was because the code was
misformatted and it
On 12/24/13 8:44 PM, ru...@yahoo.com wrote:
On 12/23/2013 04:48 AM, Ned Batchelder wrote:
On 12/22/13 11:52 PM, ru...@yahoo.com wrote:
Come on Chris, it is just as easy to make typo or copy-and-
paste errors in any other software as GG, there is no evidence
that it was GG's fault.
Can we agre
On Thu, Dec 26, 2013 at 3:39 AM, wrote:
>
> On 12/25/2013 05:19 AM, Ned Batchelder wrote:
> > On 12/24/13 8:47 PM, ru...@yahoo.com wrote:
> >> On 12/23/2013 09:12 AM, Chris Angelico wrote:
> >>> Also,
> >>> you haven't answered the other part of the post, the more important
> >>> part.
> >> Refres
On Thu, Dec 26, 2013 at 12:01 PM, Cameron Simpson wrote:
> On 25Dec2013 15:27, Denis McMahon wrote:
>> On Wed, 25 Dec 2013 16:42:47 +1100, Cameron Simpson wrote:
>> > On 25Dec2013 02:54, Denis McMahon wrote:
>> >> On Tue, 24 Dec 2013 10:27:13 -0800, vanommen.robert wrote:
>> >> > In this script
On 25Dec2013 15:27, Denis McMahon wrote:
> On Wed, 25 Dec 2013 16:42:47 +1100, Cameron Simpson wrote:
> > On 25Dec2013 02:54, Denis McMahon wrote:
> >> On Tue, 24 Dec 2013 10:27:13 -0800, vanommen.robert wrote:
> >> > In this script i want to read the temperatures and make them
> >> > available t
On Thu, Dec 26, 2013 at 11:20 AM, Roy Smith wrote:
> In article <52bb64d7$0$29973$c3e8da3$54964...@news.astraweb.com>,
> Steven D'Aprano wrote:
>
>> Tim Johnson wrote:
>>
>> > I'm not sure if you have a cause or if you want an argument.
>>
>> I thought we were having a conversation.
>>
>> Not ev
In article <52bb64d7$0$29973$c3e8da3$54964...@news.astraweb.com>,
Steven D'Aprano wrote:
> Tim Johnson wrote:
>
> > I'm not sure if you have a cause or if you want an argument.
>
> I thought we were having a conversation.
>
> Not every exchange of messages on the internet is best understood a
Tim Johnson wrote:
> I'm not sure if you have a cause or if you want an argument.
I thought we were having a conversation.
Not every exchange of messages on the internet is best understood as a
dispute between opposing views. Apologies if you thought I was arguing with
you. I thought I was just
On 12/25/2013 05:19 AM, Ned Batchelder wrote:
> On 12/24/13 8:47 PM, ru...@yahoo.com wrote:
>> On 12/23/2013 09:12 AM, Chris Angelico wrote:
>>> Also,
>>> you haven't answered the other part of the post, the more important
>>> part.
>> Refresh my memory please.
>
> Ugh, stop!
Stop what? The co
On Thu, Dec 26, 2013 at 6:03 AM, Sibylle Koczian wrote:
> MySQL used to accept wrong date and datetime formats without error messages.
> Garbage in the database, because validation was (is?) considered the job of
> "the application". Possibly that has changed, but I'd look into the docs. It
> isn'
* Steven D'Aprano [131224 16:19]:
> Tim Johnson wrote:
>
> > * Steven D'Aprano [131224 07:05]:
> >> 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 Turi
Am 24.12.2013 01:39, schrieb Chris Angelico:
On Tue, Dec 24, 2013 at 11:30 AM, Igor Korot wrote:
So, my question is: since there is a simple way of inserting
preformatted string into the datetime field of mySQL, how do I
validate the date string?
Well, the easiest way would be to simply attem
On 25/12/13 15:08, 1011.0011 wrote:
I can't compiling myself, and I see Python can run in iphone and android
phone. And I feel little unfair.
I would suggest you get yourself a Jolla Mobile with SailfishOS, comes
with python preinstalled.
See shop.jolla.com
Should soon be for sale in main
On 12/23/2013 04:48 AM, Ned Batchelder wrote:
> On 12/22/13 11:52 PM, ru...@yahoo.com wrote:
>> Come on Chris, it is just as easy to make typo or copy-and-
>> paste errors in any other software as GG, there is no evidence
>> that it was GG's fault.
>
> Can we agree that it's not great to respond t
On Wed, 25 Dec 2013 16:42:47 +1100, Cameron Simpson wrote:
> On 25Dec2013 02:54, Denis McMahon wrote:
>> On Tue, 24 Dec 2013 10:27:13 -0800, vanommen.robert wrote:
>> > In this script i want to read the temperatures and make them
>> > available to other scripts. [...]
>> If you want this process
vanommen.rob...@gmail.com wrote:
> Indeed this is code what I found on the web to read temperatures from 10
> DS18B20 singlewire sensors.
>
> My only programming (little) experience is VBA (Excel mostly).
>
> avgtemperatures = [] is indeed from the original code where this line
>
> 'avgtemperat
I can't compiling myself, and I see Python can run in iphone and android phone.
And I feel little unfair.--
https://mail.python.org/mailman/listinfo/python-list
Ned Batchelder wrote:
> 1) Don't fault newcomers for using Google Groups. Politely suggest
> alternatives, but only if you are also helping them, or if they have
> already gotten help.
+1
The *primary purpose* of this list is to help people with Python, not to
enforce some particular part of ne
Am 24.12.13 16:41, schrieb Tobias M.:
On 23.12.2013 20:59, Terry Reedy wrote:
What would be easiest for user-developers would be if someone were
able to wrap a gui loop in a way to give it the needed interface, so
the gui loop itself replaced and became the asyncio loop.
That's a good idea, ma
On Wed, Dec 25, 2013 at 7:19 AM, Ned Batchelder wrote:
> On 12/24/13 8:47 PM, ru...@yahoo.com wrote:
>
>> On 12/23/2013 09:12 AM, Chris Angelico wrote:
>>
>> Also,
>>> you haven't answered the other part of the post, the more important
>>> part.
>>>
>>
>> Refresh my memory please.
>>
>>
> Ugh, st
On 12/24/13 8:47 PM, ru...@yahoo.com wrote:
On 12/23/2013 09:12 AM, Chris Angelico wrote:
Also,
you haven't answered the other part of the post, the more important
part.
Refresh my memory please.
Ugh, stop! We get it: you don't think Google Groups is bad. Or you
think it can be made to
On Wed, Dec 25, 2013 at 12:37 PM, wrote:
> I have addressed this several times already. All
> software is buggy. I even posted long list on the
> problems I've had with Thunderbird. Choosing any
> software is making a tradeoff of one set of features/-
> bugs versus another. For you, with your
On 12/23/2013 09:12 AM, Chris Angelico wrote:
> On Mon, Dec 23, 2013 at 5:09 PM, wrote:
>> On Sunday, December 22, 2013 10:37:35 PM UTC-7, Chris Angelico wrote:
>>> Actually, formatting errors ARE often caused by Google Groups. Maybe
>>> it wasn't in this instance, but I have seen several cases o
On 12/23/2013 01:46 AM, Chris Angelico wrote:
> On Mon, Dec 23, 2013 at 5:59 PM, wrote:
>> On Sunday, December 22, 2013 10:37:35 PM UTC-7, Chris Angelico wrote:
>>> Actually, formatting errors ARE often caused by Google Groups. Maybe
>>> it wasn't in this instance, but I have seen several cases o
Igor Korot wrote:
> Hi, ALL,
> I am working on a script that parses CSV file and after successful
> parsing insert data ino mySQL table.
> One of the fields in CSV holds a date+time value.
>
> What the script should do is check if the cell has any data, i.e. not
> empty and then make sure that t
On 12/24/2013 08:07 AM, vanommen.rob...@gmail.com wrote:
[snip...]
x = 1
while x <> 10
var x = x
x = x + 1
[snip...]
Besides the other valid answers you have received, I want to add one other minor nit. The
symbol <> for unequal is deprecated -- it's better to use != instead.
34 matches
Mail list logo