<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Unterschied Python 2.2 -&amp;gt; 2.5]]></title><description><![CDATA[<p>Hallo,</p>
<p>Ich wollte mal einw enig in Python reinschauen, und da ich Bücher eigentlich lieber mag als Tutorials hab ich mal in der Bibliothek nach Python Büchern geschaut. Allerdings behandelt dieses Buch Python 2.2. Wörtlich: &quot;...edition updated to reflect Python2.2 [...] In addition, discussion of anticipated changes in the upcoming 2.3 release have been incorporated throughout.&quot;</p>
<p>Ich hab zwar nach ein paar Unterschieden gesucht aber nichts wirklich konkretes gefunden.</p>
<p>Also meine Frage: Lohnt es sich das Buch noch durchzugehen oder sind die Unterschiede shcon zu groß? Sonst würde ich erstmal ein Tutorial durchgehen und bei weiterem Interesse ein aktuelles Buch kaufen. Aber lieber wäre mir hat erstmal, wenn ich das geliehene Buch benutzen könnte.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/190464/unterschied-python-2-2-gt-2-5</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 00:33:17 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/190464.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Aug 2007 01:10:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unterschied Python 2.2 -&amp;gt; 2.5 on Thu, 23 Aug 2007 01:10:19 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>Ich wollte mal einw enig in Python reinschauen, und da ich Bücher eigentlich lieber mag als Tutorials hab ich mal in der Bibliothek nach Python Büchern geschaut. Allerdings behandelt dieses Buch Python 2.2. Wörtlich: &quot;...edition updated to reflect Python2.2 [...] In addition, discussion of anticipated changes in the upcoming 2.3 release have been incorporated throughout.&quot;</p>
<p>Ich hab zwar nach ein paar Unterschieden gesucht aber nichts wirklich konkretes gefunden.</p>
<p>Also meine Frage: Lohnt es sich das Buch noch durchzugehen oder sind die Unterschiede shcon zu groß? Sonst würde ich erstmal ein Tutorial durchgehen und bei weiterem Interesse ein aktuelles Buch kaufen. Aber lieber wäre mir hat erstmal, wenn ich das geliehene Buch benutzen könnte.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1350121</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1350121</guid><dc:creator><![CDATA[TheToast]]></dc:creator><pubDate>Thu, 23 Aug 2007 01:10:19 GMT</pubDate></item><item><title><![CDATA[Reply to Unterschied Python 2.2 -&amp;gt; 2.5 on Thu, 23 Aug 2007 08:35:09 GMT]]></title><description><![CDATA[<p>Warum nicht gleich ein online-Buch verwenden, die sind meist auf dem aktuellen Stand. Ansonsten hilft dir sicher dier &quot;What's new in Python 2.x&quot;-Abschnitt in den neuen Releases bzw. der offiziellen Dokumentation weiter.<br />
So viel hat sich nicht geaendert, sind halt einige Sachen dazu gekommen (generators, &quot;set&quot;, ...) und ... hmm... man verwendet heutzutage lieber comprehensions als map/filter.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1350238</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1350238</guid><dc:creator><![CDATA[Blue-Tiger]]></dc:creator><pubDate>Thu, 23 Aug 2007 08:35:09 GMT</pubDate></item><item><title><![CDATA[Reply to Unterschied Python 2.2 -&amp;gt; 2.5 on Thu, 23 Aug 2007 11:14:15 GMT]]></title><description><![CDATA[<p>Ich lese lieber reale Bücher, da muss man nicht immer vorm Computer sitzen. Das &quot;What's new&quot; hatte ich zum Teil gelesen, wusste aber nicht so recht was davon alles relevant ist und was nicht. Ich dachte nur, vielleicht kann mir jemand da auskunft geben, der seit Python 2.2 dabei ist.</p>
<p>Naja, ich werd das erstmal anlesen, und dann evtl ein aktuelleres kaufen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1350351</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1350351</guid><dc:creator><![CDATA[TheToast]]></dc:creator><pubDate>Thu, 23 Aug 2007 11:14:15 GMT</pubDate></item><item><title><![CDATA[Reply to Unterschied Python 2.2 -&amp;gt; 2.5 on Thu, 23 Aug 2007 11:30:14 GMT]]></title><description><![CDATA[<p>Wenn du (wie ich) gerne Bücher liest und dir die Aktualität wichtig ist, würde ich einfach</p>
<p><a href="https://duckduckgo.com/?q=isbn+0132269937&amp;cppnetbooks" rel="nofollow">Core Python Programming | ISBN: 0132269937</a></p>
<p>nehmen. Damit habe ich Python gelernt. Wenn man schon eine anderen Sprache wie C++, Java, C# oder so kennt, ist das imo DAS Buch zu Python - und es ist für Python 2.5 - ansonsten hat sich nicht so viel geändert.</p>
<p>Was mir noch einfällt, ist die Decorator Syntax</p>
<pre><code>@classmethod
def SomeClassMethod(cls):
    pass
</code></pre>
<p>Da hatte ich nämlich das Problem, dass es mit Python 2.2 nicht lief <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
<p>Felix</p>
<p>EDIT: In dem Buch ist noch eine Liste, was sich von der ersten zur zweiten Edition verändert hat, d.h. von Python 2.0 nach Python 2.5... Das ist allerdings weitaus mehr, bei Python 2.0 gabs zum Beispiel noch nicht mal newstyle-classes. Ich poste die Liste trozdem mal <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<ul>
<li>Boolean and set types</li>
<li>New-style classes (Subclassing built-in types, static methods and classmethods, metaclasses, ...)</li>
<li>Functions (Generators, Functions decorators, Statically nested scoping, inner functions, closures, currying, PFA)</li>
<li>Looping constructs (Iterators, List comprehension)</li>
<li>...</li>
</ul>
<p>Die coolen Sachen davon sind Dekoratoren, PFA, closures, Iteratoren und List Comprehension, und natürlich die new-sytle classes. Was davon allerdings von 2.2 nach 2.5 neu ist, weiß ich nicht genau.</p>
<p>EDIT 2 <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /> :</p>
<ul>
<li>Boolean sind neu in 2.3</li>
<li>Decimal floating points numbers (unendlich genaue floats) sind neu in 2.4</li>
<li>Die MRO (Method Resolution Order wurde in 2.3 geändert), also in welcher Reihenfolge überschriebene Methoden in Betracht gezogen werden</li>
<li>Dekoratoren sind neu in 2.4</li>
<li>PFA (Partial Function Application) ist neu in 2.5</li>
</ul>
]]></description><link>https://www.c-plusplus.net/forum/post/1350353</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1350353</guid><dc:creator><![CDATA[Phoemuex]]></dc:creator><pubDate>Thu, 23 Aug 2007 11:30:14 GMT</pubDate></item><item><title><![CDATA[Reply to Unterschied Python 2.2 -&amp;gt; 2.5 on Thu, 23 Aug 2007 13:21:33 GMT]]></title><description><![CDATA[<p>Ne gute Anlaufstelle is auf jeden Fall das <a href="http://python-forum.de" rel="nofollow">deutsche Python Forum</a>.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1350486</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1350486</guid><dc:creator><![CDATA[long long double]]></dc:creator><pubDate>Thu, 23 Aug 2007 13:21:33 GMT</pubDate></item></channel></rss>