Re: cant use def command

2019-02-02 Thread John Doe
On 2019-02-01, mb1541def 0 <12345678mb1541...@gmail.com> wrote: > > Hello, > I need help on the def command. > > My script: > > Import os > Test > > def Test(): > print(“test”) > os.system(“pause”) > > someone please help,it gives me an error in python 3. > I did everything right. > On 2019-02-01,

Re: cant use def command

2019-02-02 Thread MRAB
On 2019-02-01 15:49, mb1541def 0 wrote: Hello, I need help on the def command. My script: Import os Test def Test(): print(“test”) os.system(“pause”) someone please help,it gives me an error in python 3. I did everything right. --mb1541def You didn't say what the error was, so I'll just co

Re: cant use def command

2019-02-02 Thread Terry Reedy
On 2/1/2019 10:49 AM, mb1541def 0 wrote: Hello, I need help on the def command. My script: Import os Test def Test(): print(“test”) os.system(“pause”) someone please help,it gives me an error in python 3. The python authors already did by providing you with a traceback that explains what

cant use def command

2019-02-02 Thread mb1541def 0
Hello, I need help on the def command. My script: Import os Test def Test(): print(“test”) os.system(“pause”) someone please help,it gives me an error in python 3. I did everything right. --mb1541def -- https://mail.python.org/mailman/listinfo/python-list