commit message from python script
This commit is contained in:
11
meine_test/write_Datei.py
Executable file
11
meine_test/write_Datei.py
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env python3
|
||||
import time
|
||||
|
||||
#merge dir w schreibt neu a fügt hinzu :)
|
||||
|
||||
with open("Textdatei.txt", "a") as write_input :
|
||||
while True:
|
||||
eingabe = input("Gib etwas ein : ")
|
||||
if eingabe == "" :
|
||||
break
|
||||
print(time.strftime('%Y-%m-%d %H:%M:%S') + " input {my_input}".format(my_input=eingabe), file=write_input)
|
||||
Reference in New Issue
Block a user