Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: invalid syntax line 32 #1

Open
AxelHoss opened this issue May 7, 2024 · 0 comments
Open

SyntaxError: invalid syntax line 32 #1

AxelHoss opened this issue May 7, 2024 · 0 comments

Comments

@AxelHoss
Copy link

AxelHoss commented May 7, 2024

Hi, ich bekomme folgenden Fehler, wenn ich diesen Befehl ausführe:
Befehl:
python ~/src/ckw-ha-mqtt/mqtt.py -i 192.168.178.120 -t rpiGarage

Fehler:
File "/home/pi/src/ckw-ha-mqtt/mqtt.py", line 32 print "=" * len(startup_msg) ^ SyntaxError: invalid syntax

Auch wenn ich folgenden Befehl ausführe erhalte ich einen Fehler.

Befehl:
python ~/src/ckw-ha-mqtt/test_piface.py

Fehler:
File "/home/pi/src/ckw-ha-mqtt/test_piface.py", line 7 print "[{}] Switch {} pressed".format(datetime.datetime.now(), event.pin_num) ^ SyntaxError: invalid syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant