<story><title>How to recover lost Python source code if it&apos;s still resident in-memory</title><url>https://gist.github.com/simonw/8aa492e59265c1a021f5c5618f9e6b12</url></story><parent_chain></parent_chain><comment><author>nisa</author><text>If it&amp;#x27;s a single file can&amp;#x27;t you just copy the deleted filehandle from procfs?&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;www.linux.com&amp;#x2F;news&amp;#x2F;bring-back-deleted-files-lsof&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.linux.com&amp;#x2F;news&amp;#x2F;bring-back-deleted-files-lsof&lt;/a&gt;</text></comment>
<story><title>How to recover lost Python source code if it&apos;s still resident in-memory</title><url>https://gist.github.com/simonw/8aa492e59265c1a021f5c5618f9e6b12</url></story><parent_chain></parent_chain><comment><author>bdowling</author><text>The method described is for recovering and decompiling bytecode into equivalent Python code, which is not exactly the same thing as source code, since it won&amp;#x27;t contain things like comments and unexported object names.&lt;p&gt;edit: made more accurate</text></comment>