error with input

Detlev Offenbach detlev at die-offenbachs.de
Wed May 20 16:01:52 BST 2020


Hello,

there was an issue that was fixed in release 20.5. Please make sure you have 
that relese installed.

Regards,
Detlev

Am Mittwoch, 20. Mai 2020, 12:54:05 CEST schrieb Javier Madrazo:
> Good morning, I'm starting to program in Python, I have this code:
> 
> name=input("Insert your name: ")
> print("your name is "+name)
> 
> But when I run the script (F2) I get the following error.
> 
> Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64
> bit (AMD64)] en ULTIMATE, Standard
> 
> >>> Excepción "unhandled TypeError"
> 
> input() takes 2 positional arguments but 3 were given
> Archivo:
> C:\Python\Python38\Lib\site-packages\eric6\DebugClients\Python\DebugClientBa
> se.py, Línea: 74
> 
> 
> Running it through the console does not give me any error.

-- 
Detlev Offenbach
detlev at die-offenbachs.de




More information about the Eric mailing list