On Mar 11, 2014, at 7:50 PM, William Ray Wing w...@mac.com wrote:
Simple. In Mail Preferences - Composing - Message Format - Plain Text
(Your setting is probably currently Rich Text.)
Got it, hopefully that helps.
___
Tutor maillist -
On Mar 11, 2014, at 1:57 AM, Alan Gauld alan.ga...@btinternet.com wrote:
OK so far, you don't need all the print statements
but that's just a style issue. (You could just
insert '\n' characters instead.)
You’re right, I’m actually not sure why I did it that way.
if guess secret - 10
On Mar 10, 2014, at 11:18 PM, Dave Angel da...@davea.name wrote:
if guess secret - 10 or guess secret - 10:
Think about that line. You might even want to put in a separate
function to test what it does.
HINT: it's wrong.
Got it! I realized what I was doing wrong. I needed that
Hello all,
I was following along in a book called 'Python Programming for the Absolute
Beginner' by Michael Dawson and I ran into an odd problem with a loop.
Dawson has the following code in his book:
health = 10
trolls = 0
damage = 3
while health != 0:
trolls += 1
health -= damage
This
On 11/03/14 14:27, Gabriele Brambilla wrote:
Is it a library or a program?
A program. it should use only standard C++ libraries.
OK, If it's a program, that is, it compiles into an
executable that you can run then you can run it from
within Python using the subprocess module.
Do you
On 11/03/14 20:09, Dave Angel wrote:
Alan Gauld alan.ga...@btinternet.com Wrote in message:
I am using Python 3.3. I did some google searches and found something
called dbfpy to read dbase, so I downloaded and installed it.
File C:\Python33\lib\site-packages\dbfpy\dbf.py, line 260
On 11/03/14 13:53, Yanni Phone wrote:
health = 10
trolls = 0
damage = 3
while health != 0:
trolls += 1
health -= damage
This seems simple enough. (This is an example of a non-terminating loop,
by the way, so it is not suppose to work correctly.)
My problem is that when I enter
On 03/12/2014 05:13 AM, Scott Dunning wrote:
if guess secret - 10 or guess secret - 10:
This is the right idea for cutting the line count but you
have the comparison values wrong. Look back to earlier
emails, you are repeating the same error as before.
Manually think through what
Scott W Dunning scott@cox.net Wrote in message:
On Mar 11, 2014, at 7:50 PM, William Ray Wing w...@mac.com wrote:
Simple. In Mail Preferences - Composing - Message Format - Plain Text
(Your setting is probably currently Rich Text.)
Got it, hopefully that helps.
Perfect, thanks.
On 12/03/2014 09:13, Alan Gauld wrote:
On 11/03/14 20:09, Dave Angel wrote:
Alan Gauld alan.ga...@btinternet.com Wrote in message:
I am using Python 3.3. I did some google searches and found something
called dbfpy to read dbase, so I downloaded and installed it.
File
Alan Gauld, 12.03.2014 10:11:
If it were a library then you would have to call
the individual C++ functions directly using
something like ctypes, which is usually more
complex.
ctypes won't talk to C++, but Cython can do it quite easily.
Stefan
this one http://code.activestate.com/lists/python-tutor/99408/
and there are other ones as well ___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
On Wed, Mar 12, 2014 at 12:46 PM, S Tareq stare...@yahoo.com wrote:
this one http://code.activestate.com/lists/python-tutor/99408/
and there are other ones as well
This is a mailing list. Once an email is sent, you can't unsend it.
--
Zach
___
so you can't delete the question that i have asked long time ago
On Wednesday, 12 March 2014, 18:03, Zachary Ware zachary.ware+py...@gmail.com
wrote:
On Wed, Mar 12, 2014 at 12:46 PM, S Tareq stare...@yahoo.com wrote:
this one http://code.activestate.com/lists/python-tutor/99408/
and
No.
On Wed, Mar 12, 2014 at 1:33 PM, S Tareq stare...@yahoo.com wrote:
so you can't delete the question that i have asked long time ago
On Wednesday, 12 March 2014, 18:03, Zachary Ware
zachary.ware+py...@gmail.com wrote:
On Wed, Mar 12, 2014 at 12:46 PM, S Tareq stare...@yahoo.com wrote:
In fact all of these messages are being distributed and saved to various
mailing list web mirrors as we send them. Your requests to delete the
message will also appear pretty soon after you send them.
On Wed, Mar 12, 2014 at 2:38 PM, Tim Krupinski tdkrupin...@gmail.comwrote:
No.
On Wed, Mar
On 12/03/14 17:46, S Tareq wrote:
this one http://code.activestate.com/lists/python-tutor/99408/
and there are other ones as well
As others have said you can't delete them
One of the features of a mailing list is that everyone
on the list has a copy of the email and can keep that
for as long
On 12/03/14 16:49, Stefan Behnel wrote:
Alan Gauld, 12.03.2014 10:11:
If it were a library then you would have to call
the individual C++ functions directly using
something like ctypes, which is usually more
complex.
ctypes won't talk to C++, but Cython can do it quite easily.
I thought it
Such errors are either obvious or invisible. A remedy is often to figure the
problem on paper (or in your head if you're good at thinking visually).
Here, just draw a line segment with secret in the middle and the interval
borders around. Then, write there on the drawing the _values_ of the
This particular loop condition looks very suspicious. I would look at
it more closely. When is it false? When is it true?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
On 12/03/2014 23:18, Danny Yoo wrote:
This particular loop condition looks very suspicious. I would look at
it more closely. When is it false? When is it true?
Context please Danny, we're not all mind readers and we don't all have
photographic memories :)
--
My fellow Pythonistas, ask
The context is the beginning of the thread:
https://mail.python.org/pipermail/tutor/2014-March/100543.html
with the loop:
###
while health != 0:
...
###
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
22 matches
Mail list logo