doit
This commit is contained in:
1 parent
98bac35ca4
commit
a71924c2e9
2 files changed
+5
-5
No files matched your search
@@ -55,11 +55,11 @@ def backwards(delay, steps):
|
|||||||
time.sleep(delay)
|
time.sleep(delay)
|
||||||
|
|
||||||
# 20 langsame Schritte Vorwärts
|
# 20 langsame Schritte Vorwärts
|
||||||
delay = 20
|
# delay = 20
|
||||||
steps = 20
|
# steps = 20
|
||||||
forward(int(delay) / 1000.0, int(steps))
|
# forward(int(delay) / 1000.0, int(steps))
|
||||||
|
|
||||||
# 200 schnelle Schritte Rückwärts
|
# 200 schnelle Schritte Rückwärts
|
||||||
delay = 1
|
delay = 1
|
||||||
steps = 1000
|
steps = 10000
|
||||||
backwards(int(delay) / 1000.0, int(steps))
|
backwards(int(delay) / 1000.0, int(steps))
|
||||||
+1
-1
@@ -8,7 +8,7 @@ import time
|
|||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
|
||||||
def load_database():
|
def load_database():
|
||||||
file = os.path.join(os.path.expanduser("~"), "Robotik-Ablage", "fragen2.csv")
|
file = os.path.join(os.path.expanduser("~"), "Robotik-Ablage", "quiz.csv")
|
||||||
|
|
||||||
#with open(file, newline="", encoding="utf-8") as csvfile: #
|
#with open(file, newline="", encoding="utf-8") as csvfile: #
|
||||||
with open(file, newline="", encoding="cp1252") as csvfile: # Code wird als Excel Windows-1252 Input CSV gelesen
|
with open(file, newline="", encoding="cp1252") as csvfile: # Code wird als Excel Windows-1252 Input CSV gelesen
|
||||||
|
|||||||
Reference in new issue
Block a user