Hallo,
ich suche eine Entwicklungsumgebung unter Pyhton (3) mit dem ich GUI`s
programmieren kann?
Könnt ihr mir eins oder mehrere empfehlen, das für Anfänger geeignet ist?
Mfg
Strunz_1975
Die Suche ergab 36 Treffer
- Samstag 6. Juni 2020, 13:36
- Forum: Sonstige (Pygame, PyOpenGL, ...)
- Thema: Gui gesucht?
- Antworten: 2
- Zugriffe: 1211
- Mittwoch 1. Januar 2020, 16:40
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
Re: Noch ein Python-Code?
Hier die Lösung:
python -m pip install tqdm and then python -c 'import tqdm'
python -m pip install tqdm and then python -c 'import tqdm'
- Mittwoch 1. Januar 2020, 16:35
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
Re: Noch ein Python-Code?
Ich bekomme folgende Fehlermeldung:
ImportError: No module named tqdm
Nachdem ich folgendes geändert habe:
ImportError: No module named tqdm
Nachdem ich folgendes geändert habe:
Code: Alles auswählen
import time
from tqdm import tqdm
for i in tqdm(range(10)):
time.sleep(3)
- Sonntag 29. Dezember 2019, 11:19
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
Re: Noch ein Python-Code?
Ich werde mal, diesen Code ausführen:
https://stackoverflow.com/questions/485 ... n-function
Mfg
Srunz_1975
https://stackoverflow.com/questions/485 ... n-function
Mfg
Srunz_1975
- Samstag 28. Dezember 2019, 14:54
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
- Samstag 28. Dezember 2019, 14:38
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
Re: Noch ein Python-Code?
Das erfährst Du wenn Du Python lernst schon recht schnell. Ich habe ausser Programmierung auch andere zeitfressende Hobbys! Kannst du mir nicht die Lösung posten, ich wäre dir sehr dankbar:- Was das Thema "Programmierung" anbelangt, bin ich ein Anfänger und verstehe nicht einmal das Sorti...
- Samstag 28. Dezember 2019, 14:30
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
- Samstag 28. Dezember 2019, 14:24
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
- Samstag 28. Dezember 2019, 13:48
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
Re: Noch ein Python-Code?
Jetzt habe ich es geändert: #!/usr/bin/env python import os import time import progressbar FROM = '/media/werner/USB1/' TO_TMP = '/home/werner/Restore/' TO_MULTI = TO_TMP + '/multivol_snapshot' TO_SNAP = TO_TMP + '/snapshot' def do(stuff): print stuff os.system(stuff) def m2s(path): assert path.star...
- Samstag 28. Dezember 2019, 12:45
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
Re: Noch ein Python-Code?
Ist aber nicht viel ![Sad :-(](./images/smilies/icon_sad.gif)
![Sad :-(](./images/smilies/icon_sad.gif)
- Samstag 28. Dezember 2019, 12:37
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
Re: Noch ein Python-Code?
Und was jetzt?
- Samstag 28. Dezember 2019, 11:58
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
Re: Noch ein Python-Code?
Kannst du mir nochmals helfen?
- Samstag 28. Dezember 2019, 11:19
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
Re: Noch ein Python-Code?
Weil ich nicht mehr weiter weiss ![Sad :-(](./images/smilies/icon_sad.gif)
![Sad :-(](./images/smilies/icon_sad.gif)
- Samstag 28. Dezember 2019, 10:57
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
Re: Noch ein Python-Code?
Hier ist nochmals der Code #!/usr/bin/env python import os import time import progressbar FROM = '/media/werner/USB2' TO_TMP = '/home/werner/workspace/Restore' TO_MULTI = TO_TMP + '/multivol_snapshot' TO_SNAP = TO_TMP + '/snapshot' def job(): bar = progressbar.ProgressBar() for i in bar(range(100)):...
- Samstag 28. Dezember 2019, 10:52
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
Re: Noch ein Python-Code?
Ich bekomme folgende Fehlermeldung:
File "DD.py", line 18
def do(stuff):
^
IndentationError: expected an indented block
File "DD.py", line 18
def do(stuff):
^
IndentationError: expected an indented block
- Freitag 27. Dezember 2019, 19:43
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
Re: Noch ein Python-Code?
Oder so:
import time
import progressbar
def job():
bar = progressbar.ProgressBar()
for i in bar(range(100)):
... # Code that you want to run
#time.sleep(0.02)
job()
import time
import progressbar
def job():
bar = progressbar.ProgressBar()
for i in bar(range(100)):
... # Code that you want to run
#time.sleep(0.02)
job()
- Freitag 27. Dezember 2019, 19:38
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
- Freitag 27. Dezember 2019, 18:58
- Forum: Installation/Konfigurieren
- Thema: Noch ein Python-Code?
- Antworten: 34
- Zugriffe: 5351
Re: Noch ein Python-Code?
Wie kann ich eine Fortschrittsanzeige mit diesem Code programmieren???
Das Script funktioniert![Smile :-)](./images/smilies/icon_smile.gif)
Mfg
Srunz_1975
Das Script funktioniert
![Smile :-)](./images/smilies/icon_smile.gif)
Mfg
Srunz_1975
- Samstag 21. Dezember 2019, 19:24
- Forum: Installation/Konfigurieren
- Thema: Python - Code
- Antworten: 24
- Zugriffe: 25147
Re: Python - Code
@Srunz_1975: Ergänzend zu sparrow's Anmerkung zu `Path`: Warum ist das auskommentiert und warum wird ``os.path`` importiert aber nirgends im Programm verwendet‽ Die übergabe von `sys.argv` minus dem ersten Element kann man sich sparen weil man der `ArgumentParser.parse()` auch einfach gar nichts üb...
- Samstag 21. Dezember 2019, 14:57
- Forum: Installation/Konfigurieren
- Thema: Backup-Script erstellen???
- Antworten: 1
- Zugriffe: 23122
Backup-Script erstellen???
Hallo, wie kann ich ein Backup-Script unter Python erstellen, dass funktioniert:-) Es sollte mittels dem Programm "Deja-Dup" (Linux) das "Home"-Verzeichnis der externen USB-Festplatte auf die lokale Festplatte wieder herstellen! Was das Thema "Programmierung" anbelangt,...