<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Python on Nico Maas</title>
        <link>https://www.nico-maas.de/tags/python/</link>
        <description>Recent content in Python on Nico Maas</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>en-us</language>
        <lastBuildDate>Fri, 29 Jan 2021 16:00:00 +0000</lastBuildDate><atom:link href="https://www.nico-maas.de/tags/python/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>xkcdpass - secure passwords for transport</title>
            <link>https://www.nico-maas.de/posts/2021-01-29-xkcdpass-secure-passwords-for-transport/</link>
            <pubDate>Fri, 29 Jan 2021 16:00:00 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2021-01-29-xkcdpass-secure-passwords-for-transport/</guid>
            <description>&lt;p&gt;Passwords are problematic. Always. Especially during COVID-19 - were you have to securely transport data via insecure means. What I want to say: Sending confidential data via email. Actually, thats quite easy: (7)-zip everything with AES256 using a long enough key - transfer the key via additional, more secure lines of communication (e.g. phone) and you are ok for the most part.&lt;/p&gt;&#xA;&lt;p&gt;However, spelling &lt;code&gt;%-FoPN#~OeJQ0h9g3_JWrvnq9h^ip))srzg{\vnj&lt;/code&gt; via phone is &amp;ldquo;a bit cumbersome&amp;rdquo;. Thats the moment you recall Randall Munroe&amp;rsquo;s xkcd #936 Password strength:&lt;/p&gt;</description>
        </item><item>
            <title>Quickly check python imports</title>
            <link>https://www.nico-maas.de/posts/2020-04-02-quickly-check-python-imports/</link>
            <pubDate>Thu, 02 Apr 2020 14:14:36 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2020-04-02-quickly-check-python-imports/</guid>
            <description>&lt;p&gt;If you happen to write a lot of python scripts and just want to check which of the added &amp;ldquo;imports&amp;rdquo; are actually needed to function - and do not want to use an IDE - just check out &lt;a class=&#34;link&#34; href=&#34;https://pypi.org/project/importchecker/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;https://pypi.org/project/importchecker/&lt;/a&gt; - it comes down to a quick&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;easy_install importchecker&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;and afterwards you can check your scripts by using&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;importchecker myScript.py&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;It will only output the imports NOT needed, which you can then remove by hand&lt;/p&gt;</description>
        </item><item>
            <title>[ØMQ] Getting started with ØMQ and Python on Windows 7, x64</title>
            <link>https://www.nico-maas.de/posts/2015-04-15-omq-getting-started-with-omq-and-python-on-windows-7-x64/</link>
            <pubDate>Wed, 15 Apr 2015 15:36:40 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2015-04-15-omq-getting-started-with-omq-and-python-on-windows-7-x64/</guid>
            <description>&lt;p&gt;ØMQ (zeroMQ) is one of these sexy &amp;ldquo;new&amp;rdquo; Message Queue Systems. I wanted to dive into it right away, starting with Java. However, building zeroMQ with Java Binding on Windows 7, x64 is a pain (read: Did not work out fast enough - as I wanted to get my feet wet fast!) - so I switched over to Python. Well. Getting that to work is quite easy.&lt;/p&gt;&#xA;&lt;p&gt;1.) Download and install latest zeroMQ&lt;br&gt;&#xA;You can get the Windows Downloads on &lt;a class=&#34;link&#34; href=&#34;https://zeromq.org/distro:microsoft-windows&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;https://zeromq.org/distro:microsoft-windows&lt;/a&gt;, i choose the Stable Release 4.0.4 for Windows, x64 Release for Vista and newer. Just download and install it.&lt;/p&gt;</description>
        </item><item>
            <title>[Python] Python HTTP Server One Liner</title>
            <link>https://www.nico-maas.de/posts/2015-01-19-python-python-http-server-one-liner/</link>
            <pubDate>Mon, 19 Jan 2015 21:22:50 +0000</pubDate>
            <guid>https://www.nico-maas.de/posts/2015-01-19-python-python-http-server-one-liner/</guid>
            <description>&lt;p&gt;As fidepus learned the &amp;ldquo;Python HTTP Server One Liner&amp;rdquo; from anyk, I needed to duplicate this wisdom myself - because I&amp;rsquo;ll forget it as well ;)!&lt;/p&gt;&#xA;&lt;p&gt;These commands will start an HTTP server on the current directory, listening on Port 8080.&lt;/p&gt;&#xA;&lt;p&gt;Python 2.X:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;python -m SimpleHTTPServer&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Python 3.X:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;python -m http.server&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Original Post and Kudos to: &lt;a class=&#34;link&#34; href=&#34;http://www.fidepus.de/2014/05/python-server-one-liner/&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;http://www.fidepus.de/2014/05/python-server-one-liner/&lt;/a&gt;&lt;/p&gt;</description>
        </item></channel>
</rss>
