Я пишу код Python, и он выдает ошибку, в которой говорится, что пробел является недопустимым sytanx, посмотрите:
from './getinput.py' import getInput as getInput
и выдает такую ошибку:
line 1
from './getinput.py' import getInput as getInput
^
SyntaxError: invalid syntax
Я не знаю, что делать, не могли бы вы мне помочь? Если необходимо, вот код, начнем с моего основного файла:
def WhereDoIStart():
print("Hi! How are you? Whats your name?")
name = input()
print('''Well, '''+name+''' i hope you're doing well! This here is not the text i have, but i can include it's features! it has somethings like this: "+", "-", "*", "/"''')
getInput()
WhereDoIStart()
вот что есть в getinput.py:
def getInput():
Userinput = input(">: ")
return Userinput