ich wollte die Python Programme für CFW am PC testen.
Folgende Schritte habe ich durchgeführt:
Nach Anleitung:
https://github.com/ftCommunity/ftcommun ... evelopment
Python 3.6.0 Installiert.
PyQt5-5.6-gpl-Py3.5-Qt5.6.0-x32-2 Installiert.
von hier: https://github.com/ftCommunity/ftcommun ... fs/opt/ftc
TouchStyle.py und TxtStyle.py runtergeladen und in Lib kopiert.
Code von hier:
https://github.com/ftCommunity/ftcommun ... -Anwendung
Code: Alles auswählen
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
#
import sys
from TouchStyle import *
class FtcGuiApplication(TxtApplication):
def __init__(self, args):
TouchApplication.__init__(self, args)
# create the empty main window
w = TouchWindow("Test")
w.show()
self.exec_()
if __name__ == "__main__":
FtcGuiApplication(sys.argv)
Fehlermeldung:
Code: Alles auswählen
Traceback (most recent call last):
File "C:/_PYTHON36/x.py", line 5, in <module>
from TouchStyle import *
File "C:\_PYTHON36\lib\TouchStyle.py", line 7
<!DOCTYPE html>
^
SyntaxError: invalid syntax
Gruß Grau