On 01/12/15 10:16, Alan Gauld wrote:
>>> def count_down():
>>> # start with 4 minutes --> 240 seconds
>>> for t in range(240, 120, -1):
>>> # format as 2 digit integers, fills with zero to the left
>>> # divmod() gives minutes, seconds
>>> sf = "{:01d}:{:02d}".forma
He may be looking for something like the logging facility of Gnu screen.
'Please capture all the output of my python program and show it to me
later'. Of course this will be of little or no use if his program
has a GUI.
Laura
___
Tutor maillist - Tuto
In a message of Tue, 01 Dec 2015 05:04:15 +, jo stone via Tutor writes:
>Hello,
>I am trying to teach myself Python, and got hung up on the definition of
>Assignment signs...The explination I have is:
>"A good way to understand the statement userAge = 0 is to think of it as
>userAge <- 0."
>
On 30/11/15 19:23, Evan Sommer wrote:
> Hello again Alan!
>
> Do you think you could write a revised code with the modifications that
> you suggested? I tried changing the code with your recommendations and I
> keep getting syntax errors.
My code was just an approximation known as 'pseudo code'
On 30/11/15 21:50, Tyler Smithers wrote:
> find out how to code python into recording everything that happens when i
> run the program. And can you please help me soon because i don't have much
> time. Thank you!
You need to be a bit more precise about how you define an "event".
Everything that h
On 01/12/15 05:04, jo stone via Tutor wrote:
> Hello,
> I am trying to teach myself Python, and got hung up on the definition of
> Assignment signs...
This is usually only a big problem for those who are strong in
mathematics where = means that two things are equal in value and does
not mean that
Hello,
I am trying to teach myself Python, and got hung up on the definition of
Assignment signs...The explination I have is:
"A good way to understand the statement userAge = 0 is to think of it as
userAge <- 0."
I read this as "userAge is less than minus 0" which make absolutely NO sense
t
2015-11-30 22:50 GMT+01:00 Tyler Smithers :
> I am doing a project for my school and i am trying to find out how to make
> a event log. But every where i look all it has is just making a text
> document and it having in their what they put in their script. But i cant
> find out how to code python
On 30Nov2015 16:50, Tyler Smithers wrote:
I am doing a project for my school and i am trying to find out how to make
a event log. But every where i look all it has is just making a text
document and it having in their what they put in their script.
That is normally what an event log it; a text