#nei3rd
1 messages · Page 1 of 1 (latest)
Okie so you got a syntax error
I was about to msg to Alex that I screencap the code
Alex was pointing to me origin
okie, if you print out origin do you get that string value?
ok
- Do you run this server on your local? What's your local Python version? Can you show me some screenshot telling the Python version?
Where do you run it? Heroku? Can you specify the service name?
Will it be all the same if I opt not to mention the serive name? I prefer not to, frankly
okie, I just want to know the Python version
ok,
So you would need to find our what Python version it is, either by your service documentation, or try using alex suggestion
import sys
print(sys.version)
Python 2.7
Okie that's the problem
the syntax you are using f'' is for Python version 3.6+
I would recommend to use Python 3 instead of Python 2 (as it's very old version and not very well supported nowsaday), by looking around on your service provider documentation
a moment,
well log out for now to dig around for a workaround so that the code may work
my thanks to the stripe dev team
you are welcome