Wird dabei eigentlich ein NewLine in die Datei geschrieben?birkenfeld hat geschrieben:Wieso sollte `print >>file, x` schlecht sein?
pickle gibt convert error von string to float
Woher hast du das python 3.0? auch wenns nur alpha is *auchwoll*birkenfeld hat geschrieben:Da print eine Funktion wird, wird es ein Keyword-Argument geben.sape hat geschrieben: Dan hätte ich aber noch einer Frage: Warum wird das dann abgeschaft? (Die alte Begründung kann ja dann nicht zutreffen.). Wird stattdessen ein anderes Zeichen gewählt das die gleiche Aufgabe übernimmt?
Bzw. das Futur ist unzutreffendWobei momentan "print" als Statement noch vorhanden ist und die Funktion deswegen großgeschrieben ist.Code: Alles auswählen
Python 3.0x (p3yk:53421, Jan 31 2007, 08:41:24) [GCC 3.4.6 (Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.9)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> Print("a", "b", file=sys.stderr) a b
EDIT: Habs schon, danke
Ohloh | Mein Blog | Jabber: segfaulthunter@swissjabber.eu | asynchia – asynchrone Netzwerkbibliothek
In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.
In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.
-
- Python-Forum Veteran
- Beiträge: 16025
- Registriert: Freitag 20. Juni 2003, 16:30
- Kontaktdaten:
Übrigens, Python 3.0 ist noch nicht einmal alpha. Alpha-Versionen von Python werden nämlich auch richtig released, mit Ankündigung auf der Hauptseite usw.name hat geschrieben:Woher hast du das python 3.0? auch wenns nur alpha is *auchwoll*
My god, it's full of CARs! | Leonidasvoice vs (former) Modvoice
Im SVN bekomm ich immer 2.6Leonidas hat geschrieben:Übrigens, Python 3.0 ist noch nicht einmal alpha. Alpha-Versionen von Python werden nämlich auch richtig released, mit Ankündigung auf der Hauptseite usw.name hat geschrieben:Woher hast du das python 3.0? auch wenns nur alpha is *auchwoll*
Ohloh | Mein Blog | Jabber: segfaulthunter@swissjabber.eu | asynchia – asynchrone Netzwerkbibliothek
In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.
In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.
- birkenfeld
- Python-Forum Veteran
- Beiträge: 1603
- Registriert: Montag 20. März 2006, 15:29
- Wohnort: Die aufstrebende Universitätsstadt bei München