Reputation: 1
I'm trying to create an app using quickly. I typed in a line of code to add a font button to work. When I did so, I "quickly ran" the app in terminal and got the following error:
Traceback (most recent call last):
File "bin/simplenotepad", line 35, in <module>
import simplenotepad
File "/home/tscholz2001/simplenotepad/simplenotepad/__init__.py", line 12, in <module>
from simplenotepad import SimplenotepadWindow
File "/home/tscholz2001/simplenotepad/simplenotepad/SimplenotepadWindow.py", line 29
def Gtk_font_button_get_font_name()
^
SyntaxError: invalid syntax
What could be the problem?
Upvotes: -1
Views: 59
Reputation: 2052
You probably forgot the colon :
after:
def Gtk_font_button_get_font_name()
It should be:
def Gtk_font_button_get_font_name():
Upvotes: 3