<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>pnotepad.org forums &#187; Tag: python - Recent Posts</title>
		<link>http://pnotepad.org/forums/tags/python</link>
		<description>Programmer&#039;s Notepad Forums</description>
		<language>en-US</language>
		<pubDate>Thu, 09 Feb 2012 07:25:58 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.3</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://pnotepad.org/forums/search.php</link>
		</textInput>
		<atom:link href="http://pnotepad.org/forums/rss/tags/python" rel="self" type="application/rss+xml" />

		<item>
                        <title>PyPN for Python 2.7 (Patabugen)</title>
			<link>http://pnotepad.org/forums/topic/7452#post-10649</link>
			<pubDate>Wed, 08 Feb 2012 01:18:35 +0000</pubDate>
			<dc:creator>Patabugen</dc:creator>
			<guid isPermaLink="false">10649@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;In case you have had much trouble finding it as I did (since it's not listed on the Python website any longer) you can download 2.6 from here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.python.org/ftp/python/2.6.6/&#34; rel=&#34;nofollow&#34;&#62;http://www.python.org/ftp/python/2.6.6/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Simon, it might be handy to chuck a link to that on the PyPN add-ons page ( &#60;a href=&#34;http://www.pnotepad.org/add-ons/&#34; rel=&#34;nofollow&#34;&#62;http://www.pnotepad.org/add-ons/&#60;/a&#62; ).
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>auto-indent Python code (fongandrew)</title>
			<link>http://pnotepad.org/forums/topic/5441#post-10636</link>
			<pubDate>Sun, 05 Feb 2012 07:09:54 +0000</pubDate>
			<dc:creator>fongandrew</dc:creator>
			<guid isPermaLink="false">10636@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;In case anyone is stumbling on this via Google, here's a fix for the comment and multiple indentation bugs. Edit PN_dir\init.py and change the python_indent function as follows:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;import re

# Indention regex - look for colon, then optional spaces and comment
PY_INDENT_RE = re.compile(r&#38;#039;:\s*(#.*)?$&#38;#039;)

@indenter(&#38;quot;python&#38;quot;)
def python_indent(c, doc):
    sci = scintilla.Scintilla(doc)
    if c == &#38;#039;\n&#38;#039; or c == &#38;#039;\r&#38;#039;:
        pos = sci.CurrentPos
        line = sci.LineFromPosition( pos )
        prev_line = sci.GetLine(line - 1)

        # If the previous line matches regular expression above, then indent
        if PY_INDENT_RE.search(prev_line):
            indent = sci.GetLineIndentation( line )

            # The DumbIndent system may already have indented this line...
            previndent = sci.GetLineIndentation( line - 1 )
            if indent == previndent or indent == 0:
                indent += 4
                sci.IndentLine( line, indent )&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
                        <title>PyPN for Python 2.7 (simon)</title>
			<link>http://pnotepad.org/forums/topic/7452#post-10633</link>
			<pubDate>Wed, 01 Feb 2012 08:52:40 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">10633@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;It's intentional in that I haven't had a chance to build PyPN with 2.7 and test it yet. Other than that, there will be a version at some point that uses 2.7.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN for Python 2.7 (tanveer)</title>
			<link>http://pnotepad.org/forums/topic/7452#post-10631</link>
			<pubDate>Wed, 01 Feb 2012 02:08:13 +0000</pubDate>
			<dc:creator>tanveer</dc:creator>
			<guid isPermaLink="false">10631@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I find the installer for PyPN for Python 2.6 but there is no installer for Python 2.7. Is this intentional or unsupported on 2.7?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Enable code folding on new file [Untitled*] (pn4drp)</title>
			<link>http://pnotepad.org/forums/topic/5451#post-8325</link>
			<pubDate>Tue, 13 Sep 2011 17:17:09 +0000</pubDate>
			<dc:creator>pn4drp</dc:creator>
			<guid isPermaLink="false">8325@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;OK, After some attempts, I realize it's very simple!&#60;/p&#62;
&#60;p&#62;All I needed was set the default scheme under:&#60;br /&#62;
Tools-&#38;gt;Options-&#38;gt;Files-&#38;gt;New Files-&#38;gt;Scheme; &#34;Python&#34;.&#60;/p&#62;
&#60;p&#62;It did the trick!&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Enable code folding on new file [Untitled*] (pn4drp)</title>
			<link>http://pnotepad.org/forums/topic/5451#post-8324</link>
			<pubDate>Tue, 13 Sep 2011 15:54:26 +0000</pubDate>
			<dc:creator>pn4drp</dc:creator>
			<guid isPermaLink="false">8324@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hi All,&#60;br /&#62;
I like PN so much but only one complain: I want to have code folding enabled by default, based on TABS, like python style. Currently I have to change the scheme via View-&#38;gt;Change Scheme-&#38;gt;Python, and indeed it's just a text file, but having ability to code fold saves me from lot of scrolling and helps in organizing things in order. &#60;/p&#62;
&#60;p&#62;Probably there is a better way but this to me is a low memory footprint fast editing tool for keeping my notes in order.&#60;/p&#62;
&#60;p&#62;Any help greatly appreciated.&#60;br /&#62;
Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>auto-indent Python code (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5441#post-8301</link>
			<pubDate>Wed, 07 Sep 2011 15:43:19 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">8301@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Lol, it bet it indents more and more 'cause it ignores whitespace in the findPrevLineLastChar function:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;def findPrevLineLastChar(p, sci):
	while p &#38;gt; 0:
		p = p - 1
		c = chr( sci.GetCharAt(p) )

		# Look for a non-whitespace character ending the previous line.
		if not c in [&#38;#039;\n&#38;#039;,&#38;#039;\r&#38;#039;,&#38;#039;\t&#38;#039;,&#38;#039; &#38;#039;]:
			return c
	return None&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;But simply removing the white-space check won't work, nor dropping just the '\t'. It should check whether the whole previous line is white-space or comment and go back further until it fetches the right character.&#60;/p&#62;
&#60;p&#62;Or perhaps do a completely new algorithm. I made an indentation script for C++, which went all over the file and increased indentation on the next line after { (it kept track of the opening and closing braces). Dunno if this would work for Python, as there are no closing brackets or end-keyword...
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>auto-indent Python code (simon)</title>
			<link>http://pnotepad.org/forums/topic/5441#post-8300</link>
			<pubDate>Wed, 07 Sep 2011 13:45:21 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">8300@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Yes, there are a couple of bugs in the python indenter. Comments is one, and the other is it will keep indenting if you add extra lines below the indent point. i.e. this:&#60;/p&#62;
&#60;p&#62;type: def monkey():&#60;br /&#62;
type: [enter]&#60;br /&#62;
type: [enter]&#60;/p&#62;
&#60;p&#62;Would be happy to accept patches for any of these issues or other indenters!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>auto-indent Python code (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5441#post-8299</link>
			<pubDate>Wed, 07 Sep 2011 10:20:46 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">8299@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Just came to my mind:&#60;br /&#62;
Python indent won't work if you enter a comment after a colon!&#60;/p&#62;
&#60;p&#62;Example:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;if condition &#38;lt; 1: # check something
no auto-indent, as previous line&#38;#039;s last character isn&#38;#039;t a colon&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;On the other hand, it may indent for no reason, if a comment ends with a colon&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;call_function() # smiley (:
	stupid auto-indent&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
                        <title>auto-indent Python code (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5441#post-8293</link>
			<pubDate>Mon, 05 Sep 2011 13:27:17 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">8293@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Here is the code:&#60;br /&#62;
PN_dir\ini.py&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;@indenter(&#38;quot;python&#38;quot;)
def python_indent(c, doc):
	sci = scintilla.Scintilla(doc)
	if c == &#38;#039;\n&#38;#039; or c == &#38;#039;\r&#38;#039;:
		pos = sci.CurrentPos
		line = sci.LineFromPosition( pos )

		lc = findPrevLineLastChar( pos, sci )

		# If the previous line ended with a colon, then indent
		if lc == &#38;#039;:&#38;#039;:
			indent = sci.GetLineIndentation( line )

			# The DumbIndent system may already have indented this line...
			previndent = sci.GetLineIndentation( line - 1 )
			if indent == previndent or indent == 0:
				indent += 4
				sci.IndentLine( line, indent )&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Next stable release should contain indenters for the most used languages out of the box, that'd be awesome!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>auto-indent Python code (simon)</title>
			<link>http://pnotepad.org/forums/topic/5441#post-8292</link>
			<pubDate>Mon, 05 Sep 2011 12:34:45 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">8292@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Indeed, and PyPN already comes with auto-indent support for Python, so you don't need to write your own indenter.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>auto-indent Python code (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5441#post-8289</link>
			<pubDate>Thu, 01 Sep 2011 19:14:36 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">8289@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;There is:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pnotepad.org/docs/howto/automatic_indentation&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/docs/howto/automatic_indentation&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>auto-indent Python code (bhengh)</title>
			<link>http://pnotepad.org/forums/topic/5441#post-8288</link>
			<pubDate>Thu, 01 Sep 2011 18:44:01 +0000</pubDate>
			<dc:creator>bhengh</dc:creator>
			<guid isPermaLink="false">8288@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I would like to use Programmer's Notepad to write Python apps.  Is there anyway to get Programmer's Notepad to auto-indent after a block statement?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Python 2.6 Installer (simon)</title>
			<link>http://pnotepad.org/forums/topic/5356#post-8149</link>
			<pubDate>Thu, 28 Jul 2011 14:12:26 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">8149@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Thanks guys, linking to Python 2.6 is probably a good idea in the short term. I'm also looking into the following:&#60;/p&#62;
&#60;p&#62;1. a Python 2.7 build of PyPN&#60;br /&#62;
2. Taking CoDEmanX's bundling of Python and using similar packaging to include Python with PyPN&#60;br /&#62;
3. Always including PyPN with PN
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Python 2.6 Installer (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5356#post-8148</link>
			<pubDate>Wed, 27 Jul 2011 13:00:59 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">8148@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I found the 2.6.x installer in less than 20 seconds ^^&#60;br /&#62;
However, you can also get my ultra-light python pack, which doesn't require to install python:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pnotepad.org/forums/topic/603#post-7947&#34; rel=&#34;nofollow&#34;&#62;http://pnotepad.org/forums/topic/603#post-7947&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I guess i should update it to Python 2.6.7, but there's no binary release for windows :(
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>Python 2.6 Installer (Patabugen)</title>
			<link>http://pnotepad.org/forums/topic/5356#post-8145</link>
			<pubDate>Tue, 26 Jul 2011 11:13:06 +0000</pubDate>
			<dc:creator>Patabugen</dc:creator>
			<guid isPermaLink="false">8145@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;I had a hard time finding a Python 2.6 installer, required for PyPN. Since Python 2.7 is what they want you to use, they seem to have made it hard to get hold of an installer for the old.&#60;/p&#62;
&#60;p&#62;However with this link you can get it:&#60;br /&#62;
&#60;a href=&#34;http://www.python.org/download/releases/2.6.6/&#34; rel=&#34;nofollow&#34;&#62;http://www.python.org/download/releases/2.6.6/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Simon, can I suggest/request you either update the python PyPN requires, or host a copy of the Python 2.6 installer yourself to make it easier for us to find.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Sami&#60;br /&#62;
p.s I've just been in Netbeans for a few months, and it feels very good to be back in PN :)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN - Defects and Enhancement requests (simon)</title>
			<link>http://pnotepad.org/forums/topic/5267#post-7984</link>
			<pubDate>Thu, 02 Jun 2011 17:34:45 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7984@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Uh oh, the recording issue looks like a unicode translation problem. Probably crept in with 2.1 but I didn't notice. Interestingly the recording functionality is mostly written in Python (pypn\record.py) so you may be able to fix it if you fancy taking a look before I get to it!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN - Defects and Enhancement requests (ignac)</title>
			<link>http://pnotepad.org/forums/topic/5267#post-7969</link>
			<pubDate>Sun, 29 May 2011 14:03:16 +0000</pubDate>
			<dc:creator>ignac</dc:creator>
			<guid isPermaLink="false">7969@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;After trying to record 'abcd', my script looks slightly different:&#60;/p&#62;
&#60;p&#62;import pn, scintilla&#60;/p&#62;
&#60;p&#62;@script(&#34;New Script&#34;, &#34;Recorded&#34;)&#60;br /&#62;
def RecordedScript():&#60;br /&#62;
	doc = pn.CurrentDoc()&#60;br /&#62;
	sci = scintilla.Scintilla(doc)&#60;br /&#62;
	sci.ReplaceSel(&#34;a'\xcbb'\xcbc'\xcbd'\xcb&#34;)&#60;/p&#62;
&#60;p&#62;And playing the script back now results in:&#60;/p&#62;
&#60;p&#62;a'Ëb'Ëc'Ëd'Ë
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN - Defects and Enhancement requests (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5267#post-7968</link>
			<pubDate>Sat, 28 May 2011 23:59:28 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7968@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Interesting... i get those extra chars no matter of the line endings. Script looks like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;import pn, scintilla&#60;/p&#62;
&#60;p&#62;@script(&#34;New Script&#34;, &#34;Recorded&#34;)&#60;br /&#62;
def RecordedScript():&#60;br /&#62;
	doc = pn.CurrentDoc()&#60;br /&#62;
	sci = scintilla.Scintilla(doc)&#60;br /&#62;
	sci.ReplaceSel('a\x01\x01b\x01\x01c\x01\x01d\x01\x01')&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN - Defects and Enhancement requests (ignac)</title>
			<link>http://pnotepad.org/forums/topic/5267#post-7967</link>
			<pubDate>Sat, 28 May 2011 15:29:59 +0000</pubDate>
			<dc:creator>ignac</dc:creator>
			<guid isPermaLink="false">7967@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;So changing the defaults to CRLF (as opposed to CR) makes the error go away, but then a recorded script doesn't really work properly.&#60;/p&#62;
&#60;p&#62;1. I open a new document and click record&#60;br /&#62;
2. I type in abcd&#60;br /&#62;
3. I clock stop&#60;br /&#62;
4. I double click on the script to play it back and junk characters appear along with the abcd. ie:&#60;/p&#62;
&#60;p&#62;aÐbÐcÐdÐ
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN - Defects and Enhancement requests (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5267#post-7955</link>
			<pubDate>Fri, 27 May 2011 14:05:32 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7955@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;(This is meant as a collective thread)&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;&#60;strong&#62;GetCharAt returns an int instead of a character&#60;/strong&#62;&#60;br /&#62;
&#60;code&#62;GetCharAt(self, pos) : int 	Get the character at the given position.&#60;/code&#62;&#60;br /&#62;
The PyPN API doc is right, it returns a number, which is basically what you pass to it (pos). Doesn't make much sense, it should return the character - shouldn't it?&#60;/p&#62;
&#60;p&#62;Workaround: GetTextRange(pos, pos+1)&#60;/li&#62;
&#60;li&#62;&#60;strong&#62;Stock PyPN textclip contain bad indentation&#60;/strong&#62;&#60;br /&#62;
PyPN Script File and PyPN Script Method got 4 leading spaces here:&#60;br /&#62;
&#60;code&#62;${0:pass}&#60;/code&#62;&#60;br /&#62;
The above comment line uses tab indent, leading to indentation error.&#60;/p&#62;
&#60;p&#62;Moreover, the $0 placeholder of PyPN Undo Block is at the beginning of the line, followed by a tab. Either the tab is too much or $0 should be behind it.
&#60;/li&#62;
&#60;li&#62;&#60;strong&#62;PyPN in textclip - problems with line endings and indentation&#60;/strong&#62;&#60;br /&#62;
PyPN code only works in textclips, if you set line endings of your document to Unix (LF) &#60;a href=&#34;http://code.google.com/p/pnotepad/issues/detail?id=1339&#38;amp;sort=-id&#34;&#62;issue #1339&#60;/a&#62;&#60;br /&#62;
Multi-line PyPN script in textclip doesn't work if you insert it in a line with leading whitespace via shortcut &#60;a href=&#34;http://code.google.com/p/pnotepad/issues/detail?id=1346&#38;amp;sort=-id&#34;&#62;issue #1346&#60;/a&#62;
&#60;/li&#62;
&#60;li&#62;Unfortunately, it's not possibly to combine &#60;strong&#62;PyPN in textclip and the placeholder&#60;/strong&#62; system. It would be quite useful tho. &#60;a href=&#34;http://code.google.com/p/pnotepad/issues/detail?id=1345&#38;amp;sort=-id&#34;&#62;issue #1345&#60;/a&#62;
&#60;/li&#62;
&#60;/ul&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7947</link>
			<pubDate>Fri, 27 May 2011 00:54:09 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7947@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;After a couple experiments, i found an easy solution to create a lightweight python package:&#60;br /&#62;
- Remove all .pyc files&#60;br /&#62;
- Run some PyPN scripts in PN and check libs\ for new .pyc files&#60;br /&#62;
- Remove all .py files, which do NOT have a corresponding .pyc&#60;br /&#62;
- Remove the new .pyc files as well&#60;br /&#62;
Result: Only 22 .py files left (may differ, depends on what modules you use)&#60;/p&#62;
&#60;p&#62;Here my UltraLight pack:&#60;br /&#62;
&#60;a href=&#34;http://www.mediafire.com/?un51qan22wnbfb5&#34;&#62;PyPN-1.0.2300_Python-2.6.6_UltraLight.exe&#60;/a&#62; (1.23 MB, hosted at MediaFire.com)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7945</link>
			<pubDate>Thu, 26 May 2011 15:34:34 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7945@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;okay, i removed the lib\ dir entirely, but it broke python (couldn't import traceback...)&#60;br /&#62;
But it seems alright to delete files, which belong to a module which is already removed.&#60;/p&#62;
&#60;p&#62;So i dropped database support incl. sqlite&#60;br /&#62;
hash and encryption stuff (md5, ssl...)&#60;br /&#62;
compression stuff (bz2, tar, zip)&#60;br /&#62;
audio stuff (we don't want to edit waves files while coding lol!)&#60;br /&#62;
distutils (python distribution)&#60;br /&#62;
2to3 (converter python v2 to v3)&#60;br /&#62;
msilib (reads Microsoft Installer files)&#60;br /&#62;
idlelib (belongs to tcl/tkinter)&#60;br /&#62;
pydoc (python help file stuff)&#60;br /&#62;
python executables (python.exe / pythonw.exe / w9xpopen.exe - obviously not needed as we still have python DLL)&#60;br /&#62;
python-2.6.6.msi (uninstall information?)&#60;/p&#62;
&#60;p&#62;I compressed the rest together with PyPN and a ~2 mb self-extracting archive came out. I think this is pretty good already, nonetheless i could remove even more (threading, internet stuff except XML parser...)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (simon)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7939</link>
			<pubDate>Wed, 25 May 2011 13:05:16 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7939@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Nice! I think it would be fine to remove more, yes. The idea I guess is to get to the point of a minimal distribution that enables common scenarios in PyPN. Users can then opt to use their own full Python installation (have to work out how to do that).
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7932</link>
			<pubDate>Mon, 23 May 2011 20:11:31 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7932@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Yeah, i'm not sure though if one can delete libs without errors. I gave it a try and ended up with 4mb 7zip archive incl. PyPN, seems to work fine.&#60;/p&#62;
&#60;p&#62;removed:&#60;br /&#62;
include\ source header files?&#60;br /&#62;
tcl\ gui lib?&#60;br /&#62;
doc\ python help file&#60;br /&#62;
scripts\ and tools\ which are basically examples&#60;br /&#62;
tests\ test and exploit scripts?&#60;br /&#62;
tkinter library, doesn't work anyway at the moment cause argv array isn't set&#60;br /&#62;
i could also remove database stuff except sqlite, perhaps multimedia and multithreading too?
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (simon)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7916</link>
			<pubDate>Thu, 19 May 2011 11:15:39 +0000</pubDate>
			<dc:creator>simon</dc:creator>
			<guid isPermaLink="false">7916@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;Great! 13mb is pretty heavy though, I wonder if we could cut that down to a sensible subset of Python to include with PN?&#60;/p&#62;
&#60;p&#62;I'd like to offer a PN+PyPN download with more stuff done via python, but would like to see the size cut down first.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7915</link>
			<pubDate>Thu, 19 May 2011 10:55:54 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7915@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I made a self-extracting archive that contains PyPN v1.0.2300 and Python 2.6.6. Select your PN root directory and extract. Run &#60;code&#62;pn.exe --findexts&#60;/code&#62; afterwards. For  PN v2.3.2.2300-rc1 and v2.3.3.2332-rc2 (should work for both, installed and portable distribution)&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.mediafire.com/?3fpd4qcii68io78&#34;&#62;PyPN-1.0.2300_Python-2.6.6.exe&#60;/a&#62; (~13 MB, hosted at MediaFire.com)
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7912</link>
			<pubDate>Tue, 17 May 2011 17:30:25 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7912@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I searched the registry to see if python created any keys, but is doesn't - thats good.&#60;/p&#62;
&#60;p&#62;Also tried if one can put the python files in a subfolder instead of right into pn's root dir. This requires pypn files to be in that subdir as well. I added an extension entry to pn\config.xml - with on effect. So i added it to settings\config.xml, path: Python26\pypn.dll&#60;br /&#62;
gave me error, boost python dll not found. Apparently it's not possible to have extensions in subdirs - thats bad.
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>PyPN can&#039;t find python26.dll (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/603#post-7911</link>
			<pubDate>Tue, 17 May 2011 11:02:32 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7911@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I tried your solution (PortablePython 2.6.1 + Portable PN 2.3.2.2300-rc1), but I got application runtime errors and no or not all scripts listed in the dock.&#60;/p&#62;
&#60;p&#62;But this works for me:&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;Get latest portable PN (2.3.3.2332-rc2) and PyPN (v1.0.2300)&#60;/li&#62;
&#60;li&#62;Python 2.6.6 MSI-installer from &#60;a href=&#34;http://www.python.org/download/releases/2.6.6/&#34;&#62;Python.org&#60;/a&#62;&#60;/li&#62;
&#60;li&#62;&#60;a href=&#34;http://dreamlusion.wordpress.com/2008/06/15/unpack-an-msi/&#34;&#62;Unpack the MSI&#60;/a&#62; to pn dir: &#60;code&#62;C:\pn_dir\&#38;gt; msiexec /a python-2.6.6.msi TARGETDIR=C:\pn_dir\ /qb&#60;/code&#62;&#60;/li&#62;
&#60;li&#62;Add pypn.dll to settings\config.xml or run pn.exe --findexts&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;Tested on WinXP with user-rights, no environment variables involved.&#60;br /&#62;
All stock python-scripts appear in scripts-dock and work, so does PyPN in textclips!
&#60;/p&#62;</description>
		</item>
		<item>
                        <title>A little bit of code completion, please (Latex) (CoDEmanX)</title>
			<link>http://pnotepad.org/forums/topic/5237#post-7873</link>
			<pubDate>Wed, 27 Apr 2011 10:18:19 +0000</pubDate>
			<dc:creator>CoDEmanX</dc:creator>
			<guid isPermaLink="false">7873@http://pnotepad.org/forums/</guid>
			<description>&#60;p&#62;I put couple LaTeX commands into the scheme file, tried &#60;strong&#62;&#38;#092;widetilde&#60;/strong&#62; and &#60;strong&#62;\widetile&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;added wordchars-attribute to language tag (a-z, A-Z, 0-9, underscore, minus and &#60;strong&#62;backslash&#60;/strong&#62;)&#60;/p&#62;
&#60;p&#62;also created an API file&#60;/p&#62;
&#60;p&#62;but: it did not work. I then removed the leading backslash - worked.&#60;/p&#62;
&#60;p&#62;AutoComplete doesn't seem to work with backslash characters, so you did it right but there's an internal limitation.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>

