On 16/05/18 02:43, Steven D'Aprano wrote:
> The traceback Sam posted says (in part):
>
> Move = input('What Will You Do? Fight or Run: ')
> File "", line 1, in
> NameError: name 'Run' is not defined
>
> so the failed line was the call to input(). In Python 3, it would return
> a string.
Hello,
Please I would like you to help me solve the problem above which is related to
loops and prime numbers so please get back to me, I also want to know how to
sign up and get a online tutor for this python course
Here is what is supposed to be done:
The prime numbers and their code has alre
Hello All,
I have testing environment.
Code is written under Python 2.6.
testing output should be redirected to log file.
I am using two different file handling, in order to log output:
1. logging module:
import unittest2
import logging
import sys
class TestMyEnvClass (unittest2.TestCase):
On 05/15/2018 03:26 PM, Mahamed Ahmed wrote:
> Hello,
>
> Please I would like you to help me solve the problem above which is related
> to loops and prime numbers so please get back to me, I also want to know how
> to sign up and get a online tutor for this python course
>
> Here is what is sup
On 15/05/18 22:26, Mahamed Ahmed wrote:
> Please I would like you to help me solve the problem above
We see no problem. this is a text only list so if you included
a binary attachment the server will have stripped it off for
security reasons.
Please repost the text of the problem description and
On 16/05/18 09:53, Yosef Levy wrote:
> Hello All,
>
> I have testing environment.
> Code is written under Python 2.6.
> testing output should be redirected to log file.
You don't say which OS you are using but if it's a
Unix variant you could just use command line
redirection of stdout/stderr. Th
On 05/16/2018 02:53 AM, Yosef Levy wrote:
> Hello All,
>
> I have testing environment.
> Code is written under Python 2.6.
Why? 2.6 was retired in October 2013. For long life of your code you
should be using Python 3, but at least 2.7 is still current and getting
updates (for another 18 months o