pdjstone / cloudpets-web-bluetooth

Demo of CloudPets toy functionality using Web Bluetooth
MIT License
29 stars 12 forks source link

def download_audio(filename: str): Invalid Syntax #6

Open Daigtas opened 1 year ago

Daigtas commented 1 year ago

i am trying to run local server with python2.7 and getting this error. File "cloudpets_server.py", line 64 def download_audio(filename: str): SyntaxError: invalid syntax And it is pointing to the filename: str

jepler commented 1 year ago

This project is not compatible with Python 2.7. The ": str" is a type annotation, first added in python 3.5 (released 2015).