I'm writing a python code, and it's giving me a error, that says that an space is an invalid sytanx, look:
from './getinput.py' import getInput as getInput
and it says this error:
line 1
from './getinput.py' import getInput as getInput
^
SyntaxError: invalid syntax
i don't know what to do, could you guys give me some help? Here is some code if necessary, let's start with my main file:
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()
here i have what's in getinput.py:
def getInput():
Userinput = input(">: ")
return Userinput
from .getinput import getInput