Hi,
On 15 December 2013 05:38, eryksun eryk...@gmail.com wrote:
On Sat, Dec 14, 2013 at 10:16 AM, Walter Prins wpr...@gmail.com wrote:
Gmail matches the format of the sender. If I reply to a text format
email, the reply is text format. If the original is HTML mail, it
replies in HTML
On Sun, Dec 15, 2013 at 7:10 AM, Walter Prins wpr...@gmail.com wrote:
OK perhaps it remembers your preference for original emails sent by
yourself as well, but for replies (which is what I was commenting on)
my experience is as I described. To test it -- hit reply or reply-all
on this
Steven D'Aprano, 14.12.2013 23:22:
On Sat, Dec 14, 2013 at 09:29:00AM -0500, bruce wrote:
Looking at a file --
http://www.marquette.edu/mucentral/registrar/snapshot/fall13/xml/BIOL_bysubject.xml
The file is generated via online/web url, and appears to be XML.
However, when I use
Well, it would fit the market penetration, of corporate-upper middle
class-middle class- the lower socioeconomic level.
It would also fit the market of individuals that have a population control
that intertwines with the dissemination
--
Best Regards,
David Hutto
*CEO:*
On 15/12/13 05:24, David Hutto wrote:
Well, it would fit the market penetration, of corporate-upper middle
class-middle class- the lower socioeconomic level.
It would also fit the market of individuals that have a population
control that intertwines with the dissemination
huh?
I didn't
On 15/12/2013 04:55, William Ray Wing wrote:
On Dec 14, 2013, at 1:22 PM, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 14/12/2013 17:14, Alan Gauld wrote:
On 14/12/13 15:37, Mark Lawrence wrote:
I believe that quantum computing is way OT for the Python tutor mailing
list.
Yeah, you are
On Sun, Dec 15, 2013 at 03:40:38PM +, Mark Lawrence wrote:
On 15/12/2013 04:55, William Ray Wing wrote:
Well, as it turns out, there actually *IS* a commercially available
quantum computer on the market today. It is built by a Canadian company
D-Wave Systems and early prototypes have
Hej,
I stumbled upon this program here (Python 3.3.0) and I don't quite
understand how the for loop plays with the return True statement:
def is_prime(number):
for element in range(2, number):
if number % element == 0:
return False
return True
Now, I would expect the
On Sun, Dec 15, 2013 at 11:54 AM, Rafael Knuth rafael.kn...@gmail.comwrote:
Hej,
I stumbled upon this program here (Python 3.3.0) and I don't quite
understand how the for loop plays with the return True statement:
def is_prime(number):
for element in range(2, number):
if
On Sun, Dec 15, 2013 at 05:54:10PM +0100, Rafael Knuth wrote:
Hej,
I stumbled upon this program here (Python 3.3.0) and I don't quite
understand how the for loop plays with the return True statement:
def is_prime(number):
for element in range(2, number):
if number % element
Hi,
What is the best way to log the output of a python script execution.
Do we need to use the logging module of python?
Regards,
Reuben
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
On 15/12/2013 16:54, Rafael Knuth wrote:
Hej,
I stumbled upon this program here (Python 3.3.0) and I don't quite
understand how the for loop plays with the return True statement:
def is_prime(number):
for element in range(2, number):
if number % element == 0:
return
On 15/12/13 16:54, Rafael Knuth wrote:
I stumbled upon this program here (Python 3.3.0) and I don't quite
understand how the for loop plays with the return True statement:
It doesn't.
Remember that indentation is all important in Python.
The return true statement is outside the loop so only
On 15/12/2013 17:43, Reuben wrote:
Hi,
What is the best way to log the output of a python script execution.
Do we need to use the logging module of python?
Regards,
Reuben
You don't need to, but why reinvent the wheel? Use your favourite
search engine to find lots of articles on how to
On 15/12/13 17:43, Reuben wrote:
Hi,
What is the best way to log the output of a python script execution.
Best is always going to be subjective and depend
on a lot of parameters.
It might be that the best way of capturing the output
is to use file redirection:
$ python myscript.py
Hi Reuben,
Yes, I think the logging module is the best way to do it.
And it's pretty easy, see this minimal example:
import logging
logging.basicConfig(filename=foo.log, level=logging.DEBUG)
logging.debug(This is a log message)
The log levels are a great way, to control how much will be
On 15/12/13 18:01, Tobias M. wrote:
Yes, I think the logging module is the best way to do it.
And it's pretty easy, see this minimal example:
import logging
logging.basicConfig(filename=foo.log, level=logging.DEBUG)
logging.debug(This is a log message)
But The OP didn't ask how to record
Hello,
I would to hear Your thoughts on introductory book Computer Science Using
Python: A Computational Problem-Solving Focus Charles Dierbach. I do not
see that in the introductory books. Please, advice is this a good book.
Thank You in Advance
___
Hello all,
I'm trying to script email from database data. Following the examples at
http://docs.python.org/3.3/library/email-examples.html I'm able to send simple
emails, multipart emails with attachments, and multipart emails with
alternative text. What I'm trying to do now is get multipart
On Sun, Dec 15, 2013 at 10:40 AM, Mark Lawrence wrote:
Are you saying that it can't do list comprehensions, recursive functions
and floating point arithmetic correctly?
My understanding is that the answer here is essentially yes: that quantum
computing requires a different approach to the
On Sun, Dec 15, 2013 at 09:08:49PM +0200, Arnas Ivoška wrote:
Hello,
I would to hear Your thoughts on introductory book Computer Science Using
Python: A Computational Problem-Solving Focus Charles Dierbach. I do not
see that in the introductory books. Please, advice is this a good book.
Thank
On 15/12/2013 19:08, Arnas Ivoška wrote:
Hello,
I would to hear Your thoughts on introductory book Computer Science
Using Python: A Computational Problem-Solving Focus Charles Dierbach. I
do not see that in the introductory books. Please, advice is this a good
book.
Thank You in Advance
I
Thanks everyone - your posts helped me.
On 16-Dec-2013 2:22 AM, Alan Gauld alan.ga...@btinternet.com wrote:
On 15/12/13 18:01, Tobias M. wrote:
Yes, I think the logging module is the best way to do it.
And it's pretty easy, see this minimal example:
import logging
23 matches
Mail list logo