Schach PGN Datei splitten aufteilen
- __blackjack__
- User
- Beiträge: 14424
- Registriert: Samstag 2. Juni 2018, 10:21
- Wohnort: 127.0.0.1
- Kontaktdaten:
@PeterL: Es gibt in der Python-Dokumentation ein Grundlagentutorial. Man kann nicht einfach Syntax raten und hoffen der Rechner macht was man eigentlich will. Der macht immer nur genau das was man sagt, und wenn man das syntaktisch falsch macht, oder wenn man von Objekten Operationen verlangt, die sie nicht kennen/können, dann gibt es entsprechende Fehlermeldungen.
“Design patterns are kind of like sarcasm: hard to use well, not always appropriate,
and disgustingly bad when applied to problems they are not meant to solve.” — ajones in c.l.python
and disgustingly bad when applied to problems they are not meant to solve.” — ajones in c.l.python
Hallo, es schein zu laufen.
Jetzt erhalte ich nun das gewünschte Ergebnis.
Das Schlüsselwort end="" entfernt die Zeilenumbrüche.
[Event "8th RUS-CHN Summit Women Classical"]
[Site "St Petersburg RUS"]
[Date "2012.07.02"]
Code: Alles auswählen
for zahl in daten:
print(zahl , end="") Das Schlüsselwort end="" entfernt die Zeilenumbrüche.
[Event "8th RUS-CHN Summit Women Classical"]
[Site "St Petersburg RUS"]
[Date "2012.07.02"]
- __blackjack__
- User
- Beiträge: 14424
- Registriert: Samstag 2. Juni 2018, 10:21
- Wohnort: 127.0.0.1
- Kontaktdaten:
@PeterL: `zahl` ist irgendwie nicht wirklich passend als Name.
“Design patterns are kind of like sarcasm: hard to use well, not always appropriate,
and disgustingly bad when applied to problems they are not meant to solve.” — ajones in c.l.python
and disgustingly bad when applied to problems they are not meant to solve.” — ajones in c.l.python
