<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>advanced python &#8211; Greg Laden&#039;s Blog</title>
	<atom:link href="https://gregladen.com/blog/tag/advanced-python/feed/" rel="self" type="application/rss+xml" />
	<link>https://gregladen.com/blog</link>
	<description></description>
	<lastBuildDate>Fri, 15 Feb 2019 01:21:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.8</generator>

<image>
	<url>https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2017/10/Greg_Ladens_Blog_Favicon_black_GLb.png?fit=32%2C32&#038;ssl=1</url>
	<title>advanced python &#8211; Greg Laden&#039;s Blog</title>
	<link>https://gregladen.com/blog</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">77525483</site>	<item>
		<title>Serious Python Programming</title>
		<link>https://gregladen.com/blog/2019/02/09/serious-python-programming/</link>
					<comments>https://gregladen.com/blog/2019/02/09/serious-python-programming/#comments</comments>
		
		<dc:creator><![CDATA[Greg Laden]]></dc:creator>
		<pubDate>Sat, 09 Feb 2019 16:56:14 +0000</pubDate>
				<category><![CDATA[Books]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[advanced python]]></category>
		<category><![CDATA[Book review]]></category>
		<category><![CDATA[Python coding]]></category>
		<category><![CDATA[Python Programming]]></category>
		<guid isPermaLink="false">https://gregladen.com/blog/?p=31559</guid>

					<description><![CDATA[Julien Danjou&#8217;s Serious Python: Black-Belt Advice on Deployment, Scalability, Testing, and More is serious. This book takes Python programming well beyond casual programming, and beyond the use of Python as a glorified scripting language to access statistical or graphics tools, etc. This is level one or even level two material. If you are writing software &#8230; <a href="https://gregladen.com/blog/2019/02/09/serious-python-programming/" class="more-link">Continue reading <span class="screen-reader-text">Serious Python Programming</span> <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p>Julien Danjou&#8217;s <a target="_blank" href="https://www.amazon.com/gp/product/1593278780/ref=as_li_tl?ie=UTF8&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1593278780&#038;linkCode=as2&#038;tag=grlasbl0a-20&#038;linkId=1b3afa8818eafa178ee2060504728f99">Serious Python: Black-Belt Advice on Deployment, Scalability, Testing, and More</a><img decoding="async" src="//ir-na.amazon-adsystem.com/e/ir?t=grlasbl0a-20&#038;l=am2&#038;o=1&#038;a=1593278780" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> is serious.</p>
<p><img fetchpriority="high" decoding="async" data-attachment-id="31561" data-permalink="https://gregladen.com/blog/2019/02/09/serious-python-programming/seriouspythoncover/" data-orig-file="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2019/02/SeriousPythonCover.jpg?fit=378%2C499&amp;ssl=1" data-orig-size="378,499" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="SeriousPythonCover" data-image-description="" data-image-caption="" data-medium-file="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2019/02/SeriousPythonCover.jpg?fit=227%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2019/02/SeriousPythonCover.jpg?fit=378%2C499&amp;ssl=1" src="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2019/02/SeriousPythonCover-227x300.jpg?resize=227%2C300" alt="" width="227" height="300" class="alignright size-medium wp-image-31561" srcset="https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2019/02/SeriousPythonCover.jpg?resize=227%2C300&amp;ssl=1 227w, https://i0.wp.com/gregladen.com/blog/wp-content/uploads/2019/02/SeriousPythonCover.jpg?w=378&amp;ssl=1 378w" sizes="(max-width: 227px) 100vw, 227px" data-recalc-dims="1" />This book takes Python programming well beyond casual programming, and beyond the use of Python as a glorified scripting language to access statistical or graphics tools, etc. This is level one or even level two material.  If you are writing software to distribute to others, handling time zones, want to optimize code, or experiment with different programming paradigms (i.e. functional programming, generating code, etc.) then you will find <a target="_blank" href="https://www.amazon.com/gp/product/1593278780/ref=as_li_tl?ie=UTF8&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1593278780&#038;linkCode=as2&#038;tag=grlasbl0a-20&#038;linkId=d35818f9a127a8c170e1eed120fc430c">Serious Python</a><img decoding="async" src="//ir-na.amazon-adsystem.com/e/ir?t=grlasbl0a-20&#038;l=am2&#038;o=1&#038;a=1593278780" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" /> informative and interesting.  Multi-threading, optimization, scaling, methods and decorators, and integration with relational databases are also covered.  (A decorator is a function that &#8220;decorates,&#8221; or changes or expands, a function without motifying i.) The material is carefully and richly explored, and the writing is clear and concise. <span id="more-31559"></span></p>
<p>An example of the kind of information in this book: Objects you create in your Python programming have to be kept track of by Python. But you might create simple objects that can&#8217;t, and don&#8217;t need to, do much. Such an object still carries with it overhead as thought the object might be asked to do more. But if it never will be, you can create a simper version of that object that is less powerful (but powerful enough) but that uses, maybe, 20% of the memory space to exist, which can add up if this is an object you need a lot of instances of.  But is that always the best solution? What if you don&#8217;t need the object to be stored with full-on meta-information, but you do want something more than the simplest possible. There is a way to do that too, so you get considerable memory savings but maybe not as much.  This book tells you how to do this.</p>
<p>Another example: Say you have a function that does nothing but return a single value, and you use it a lot. But, the value you send it, while it varies across the use of the program (otherwise you wouldn&#8217;t have a function, most likely) it is often the same.  You are computing a simple conversion, but over several thousand conversions, there are only a few hundred possible values you ever actually convert.  Wouldn&#8217;t it be great to have the ability to cache the results of a function, so if the same thing is asked of it again, it simply returns the previously calculated value rather than re-doing what it just did? Well, you can do that, it is in this book.</p>
<p>This is a great advanced Python book. To give you a better idea if it is good for you, specifically, here is the TOC:</p>
<p>Chapter 1: Starting Your Project<br />
Chapter 2: Modules, Libraries, and Frameworks<br />
Chapter 3: Documentation and Good API Practice<br />
Chapter 4: Handling Timestamps and Time Zones<br />
Chapter 5: Distributing Your Software<br />
Chapter 6: Unit Testing<br />
Chapter 7: Methods and Decorators<br />
Chapter 8: Functional Programming<br />
Chapter 9: The Abstract Syntax Tree, Hy, and Lisp-like Attributes<br />
Chapter 10: Performances and Optimizations<br />
Chapter 11: Scaling and Architecture<br />
Chapter 12: Managing Relational Databases<br />
Chapter 13: Write Less, Code More</p>
<p>Author Julien Danjou is a Principal Software Engineer at Red Hat and a contributor to OpenStack, the largest existing open source project written in Python. He has been a Free Software and Open Source hacker for the past 15 years.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://gregladen.com/blog/2019/02/09/serious-python-programming/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">31559</post-id>	</item>
	</channel>
</rss>
