<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title></title>
 <link>http://community.activestate.com/rss/forums/py</link>
 <description></description>
 <language>en</language>
<item>
 <title>proxy script to accept a Http &#039;get&#039; request from my python program and forward it to the web server</title>
 <link>http://community.activestate.com/node/2641</link>
 <description>&lt;p&gt;I&#039;m looking for a simple proxy that would accept a Http &#039;get&#039; request from my python program and forward it to the web server.....could anyone plz provide me with a sample python script for such a proxy.....&lt;/p&gt;
&lt;p&gt;i intend to deploy the proxy on a virtual IP-say 192.168.19.6 on eth0:3.&lt;br /&gt;
so i need to be sending a Get requet via the proxy server to the URL( &lt;a href=&quot;http://www.example.com&quot; title=&quot;www.example.com&quot;&gt;www.example.com&lt;/a&gt;)......&lt;/p&gt;
&lt;p&gt;Plz help,Thanks in advance&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/node/2641#comments</comments>
 <category domain="http://community.activestate.com/forums/activepython-support-0">ActivePython Support</category>
 <category domain="http://community.activestate.com/os/debian-ubuntu">Debian / Ubuntu</category>
 <pubDate>Thu, 07 Aug 2008 17:08:35 +0100</pubDate>
 <dc:creator>borg</dc:creator>
 <guid isPermaLink="false">2641 at http://community.activestate.com</guid>
</item>
<item>
 <title>Using COM to run MS Office functionality (MODI)</title>
 <link>http://community.activestate.com/forum-topic/using-com-run-ms-office-functionality-modi</link>
 <description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am new to Python but have some programming/scripting experience.  I was looking at recipe 2.27 in the &quot;Python Cookbook&quot;, and thought this would be easy but ... :D&lt;/p&gt;
&lt;p&gt;I am trying to run the MS Office OCR component from a python script.  That is the Microsoft Office Document Interface (MODI) COM object that comes with Office 2003.  It was simple to get it up and running under VB, but now I want to take it further in Python.&lt;/p&gt;
&lt;p&gt;I have run &quot;COM makepy&quot; on the &quot;Microsoft Office 12.0 Object Library&quot; which appears under &quot;Type Libraries&quot;, and generated a &amp;gt;1MB python script full of information with no reference to OCR or anything that looks like MODI.&lt;/p&gt;
&lt;p&gt;I can open a Word document from the console window after importing PyWin32, so I know that the two are talking to each other (using win32com.client).  I have searched the recipes on this site and Googled quite a bit, but am stuck now.  &lt;/p&gt;
&lt;p&gt;I realise this is not a Python problem, but would appreciate any help as to where to look next... otherwise I may be forced to work in VB!! &lt;/p&gt;
&lt;p&gt;Thanks!&lt;br /&gt;
 Brendon&lt;/p&gt;
&lt;p&gt;PS I am running ActiveState Python 2.5 under Windows XP SP 2.&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/using-com-run-ms-office-functionality-modi#comments</comments>
 <category domain="http://community.activestate.com/forums/activepython-discussion-0">ActivePython discussion</category>
 <category domain="http://community.activestate.com/os/windows-xp-pro">Windows XP Pro</category>
 <pubDate>Thu, 31 Jul 2008 10:57:33 +0100</pubDate>
 <dc:creator>brendonwp</dc:creator>
 <guid isPermaLink="false">2633 at http://community.activestate.com</guid>
</item>
<item>
 <title>Python equiv. to PerlCtrl?</title>
 <link>http://community.activestate.com/forum-topic/python-equiv-perlctrl</link>
 <description>&lt;p&gt;G&#039;day everyone!&lt;/p&gt;
&lt;p&gt;Is there an ActivePython equivalent to the PDK&#039;s PerlCtrl? I&#039;d like to be able to develop a Python COM Server, but as a standalone that doesn&#039;t require the full installation of ActiveState Python.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;
Bruce.&lt;/p&gt;
&lt;p&gt;P.S. And also, that has a typelib that TLViewer can comprehend.&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/python-equiv-perlctrl#comments</comments>
 <category domain="http://community.activestate.com/forums/activepython-discussion-0">ActivePython discussion</category>
 <category domain="http://community.activestate.com/os/windows-xp-pro">Windows XP Pro</category>
 <pubDate>Mon, 28 Jul 2008 08:44:39 +0100</pubDate>
 <dc:creator>axtens</dc:creator>
 <guid isPermaLink="false">2622 at http://community.activestate.com</guid>
</item>
<item>
 <title>ActivePython installation error on Solaris 10 </title>
 <link>http://community.activestate.com/forum-topic/activepython-installation-error-solaris-10</link>
 <description>&lt;p&gt;I&#039;m installing ActivePython 2.5.2.2 in my home directory on a Solaris 10 machine.  I used gunzip to unzip and gtar to untar the tar.gz in my home directory.  When running install.sh I get an error.&lt;/p&gt;
&lt;p&gt;[user@server:~] $ cd ActivePython-2.5.2.2-solaris10-x86&lt;br /&gt;
[user@server:~/ActivePython-2.5.2.2-solaris10-x86] $ ./install.sh&lt;br /&gt;
./install.sh: ./INSTALLDIR/bin/python: cannot execute&lt;br /&gt;
[user@server:~/ActivePython-2.5.2.2-solaris10-x86] $ &lt;/p&gt;
&lt;p&gt;This is what is in the server&#039;s opt directory - would python already be installed here?  &lt;/p&gt;
&lt;p&gt;SUNWits    SUNWrtvc&lt;br /&gt;
SUNWmlib   SUNWvts&lt;/p&gt;
&lt;p&gt;I&#039;m not the admin and need to be able to add modules which is why I wanted to have my own version in my home directory, even if it was already installed.&lt;/p&gt;
&lt;p&gt;TIA&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/activepython-installation-error-solaris-10#comments</comments>
 <category domain="http://community.activestate.com/forums/activepython-support-0">ActivePython Support</category>
 <category domain="http://community.activestate.com/os/solaris-10-x86">Solaris 10 ( X86 )</category>
 <pubDate>Mon, 28 Jul 2008 00:47:43 +0100</pubDate>
 <dc:creator>nerdgir1</dc:creator>
 <guid isPermaLink="false">2621 at http://community.activestate.com</guid>
</item>
<item>
 <title>Unit tests on a remote server</title>
 <link>http://community.activestate.com/forum-topic/unit-tests-remote-server</link>
 <description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have some code I&#039;m working on, located on a remote server (so I&#039;m using Project &amp;gt; Add &amp;gt; Existing Remote File)&lt;/p&gt;
&lt;p&gt;And I have some tests that are also located on the same remote server (some already pre-written, others which I&#039;ve coded myself).&lt;/p&gt;
&lt;p&gt;The code is python and using standard unittest as the test framework.&lt;/p&gt;
&lt;p&gt;Now, I can run the tests on the remote server when I&#039;m ssh&#039;d into it, BUT, is there any way I can add the test plan to the project and use the built-in Project &amp;gt; Test &amp;gt; ?&lt;/p&gt;
&lt;p&gt;Or am I just missing something, because I can&#039;t see where to select a remote directory in the test plan properties ...&lt;/p&gt;
&lt;p&gt;Any help would be much appreciated.&lt;/p&gt;
&lt;p&gt;Cheers&lt;br /&gt;
H&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/unit-tests-remote-server#comments</comments>
 <category domain="http://community.activestate.com/forums/activepython-support-0">ActivePython Support</category>
 <category domain="http://community.activestate.com/os/all-any">All / Any</category>
 <pubDate>Fri, 18 Jul 2008 23:16:31 +0100</pubDate>
 <dc:creator>fastimprovement</dc:creator>
 <guid isPermaLink="false">2587 at http://community.activestate.com</guid>
</item>
<item>
 <title>Using sys.exit(0) when running PythonWin</title>
 <link>http://community.activestate.com/forum-topic/using-sys-exit-0-when-running-pythonwin</link>
 <description>&lt;p&gt;How do I gracefully exit a Python script launched from the PythonWin command prompt (&quot;&amp;gt;&amp;gt;&amp;gt;&quot;).  When my script uses &quot;sys.exit(0)&quot;, PythonWin registers a &quot;Firing event &#039;ProcessEnter&#039; failed&quot; exception in binding.py (line 141) with a long, messy traceback.  How can I avoid this?&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/using-sys-exit-0-when-running-pythonwin#comments</comments>
 <category domain="http://community.activestate.com/forums/activepython-support-0">ActivePython Support</category>
 <category domain="http://community.activestate.com/os/all-any">All / Any</category>
 <pubDate>Thu, 17 Jul 2008 22:53:11 +0100</pubDate>
 <dc:creator>wwbrown</dc:creator>
 <guid isPermaLink="false">2582 at http://community.activestate.com</guid>
</item>
<item>
 <title>Python25.dll not found</title>
 <link>http://community.activestate.com/forum-topic/python25-dll-not-found</link>
 <description>&lt;p&gt;I have ActivePython (2.5.2.2 MSC v.1400 64bit (AMD64)) on Windows Vista Ultimate 64 bit (all current service packs).&lt;/p&gt;
&lt;p&gt;WinCvs (2.0.9.1) requires Python, but when I start WinCvs I get the error &quot;WinCvs could not find Python installed on your system. ...&quot;.&lt;/p&gt;
&lt;p&gt;python25.dll is present in C:\Windows\System32\ but I cannot see it when I manually browse from within WinCvs&amp;gt;Admin&amp;gt;Preferences.&lt;/p&gt;
&lt;p&gt;I can run Python from a command prompt so I beleive I have a good installation.&lt;/p&gt;
&lt;p&gt;I have tried copying python25.dll to other locations with the same problem.&lt;/p&gt;
&lt;p&gt;If I run regsvr32 &quot;C:\Windows\System32\python25.dll&quot; I get an error message &quot;The module &quot;C:\Windows\System32\python25.dll&quot; was loaded but the entry-point DllRegisterServer was not found.&quot;&lt;/p&gt;
&lt;p&gt;I have also tried reinstalling ActivePython.&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/python25-dll-not-found#comments</comments>
 <category domain="http://community.activestate.com/forums/activepython-support-0">ActivePython Support</category>
 <category domain="http://community.activestate.com/os/windows-vista">Windows Vista</category>
 <pubDate>Mon, 07 Jul 2008 19:58:25 +0100</pubDate>
 <dc:creator>myourshaw@ucla.edu</dc:creator>
 <guid isPermaLink="false">2548 at http://community.activestate.com</guid>
</item>
<item>
 <title>IIS 7 &amp; Asp problem</title>
 <link>http://community.activestate.com/forum-topic/iis-7-asp-problem-0</link>
 <description>&lt;p&gt;I&#039;ve followed some tutorials which I found on how to setup active python and IIS 7 so they will work together but I am rather stumped with getting it to serve up pages using python scripts.&lt;/p&gt;
&lt;p&gt;If I have a page with this simple python code. (I&#039;m a python noob)&lt;/p&gt;
&lt;pre&gt;
&amp;lt;%@ LANGUAGE = Python %&amp;gt;
&amp;lt;%
	Response.Write(&quot;Hello World&quot;)
%&amp;gt;
&lt;/pre&gt;&lt;p&gt;I get the error, HTTP/1.1 500 Server Error&lt;/p&gt;
&lt;p&gt;This is with friendly warnings turned off and also asp sending the correct error messages to the client. I know this because if I change the &amp;lt;%@ LANGUAGE = Python %&amp;gt; to &amp;lt;%@ LANGUAGE = Gibberish %&amp;gt; I get a sensible error message.&lt;/p&gt;
&lt;p&gt;I also have tried the python pyscript.py --unregister and then python pyscript.py to no avail.&lt;/p&gt;
&lt;p&gt;Finally I am fully able to run python in a localhost/hello.py&lt;/p&gt;
&lt;p&gt;If anyone can shed some light on this I&#039;d be very grateful.&lt;/p&gt;
&lt;p&gt;Information&lt;br /&gt;
-Clasic Asp&lt;br /&gt;
-Vista Home Premium&lt;br /&gt;
-Added most of the IIS components and a few others to be sure&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/iis-7-asp-problem-0#comments</comments>
 <category domain="http://community.activestate.com/forums/activepython-support-0">ActivePython Support</category>
 <category domain="http://community.activestate.com/os/windows-vista">Windows Vista</category>
 <pubDate>Thu, 26 Jun 2008 22:51:37 +0100</pubDate>
 <dc:creator>Snake</dc:creator>
 <guid isPermaLink="false">2515 at http://community.activestate.com</guid>
</item>
<item>
 <title>IIS 7 &amp; Asp problem</title>
 <link>http://community.activestate.com/forum-topic/iis-7-asp-problem</link>
 <description>&lt;p&gt;I&#039;ve followed some tutorials which I found on how to setup active python and IIS 7 so they will work together but I am rather stumped with getting it to serve up pages using python scripts.&lt;/p&gt;
&lt;p&gt;If I have a page with this simple python code. (I&#039;m a python noob)&lt;/p&gt;
&lt;pre&gt;
&amp;lt;%@ LANGUAGE = Python %&amp;gt;
&amp;lt;%
	Response.Write(&quot;Hello World&quot;)
%&amp;gt;
&lt;/pre&gt;&lt;p&gt;I get the error, HTTP/1.1 500 Server Error&lt;/p&gt;
&lt;p&gt;This is with friendly warnings turned off and also asp sending the correct error messages to the client. I know this because if I change the &amp;lt;%@ LANGUAGE = Python %&amp;gt; to &amp;lt;%@ LANGUAGE = Gibberish %&amp;gt; I get a sensible error message.&lt;/p&gt;
&lt;p&gt;I also have tried the python pyscript.py --unregister and then python pyscript.py to no avail.&lt;/p&gt;
&lt;p&gt;Finally I am fully able to run python in a localhost/hello.py&lt;/p&gt;
&lt;p&gt;If anyone can shed some light on this I&#039;d be very grateful.&lt;/p&gt;
&lt;p&gt;Information&lt;br /&gt;
-Clasic Asp&lt;br /&gt;
-Vista Home Premium&lt;br /&gt;
-Added most of the IIS components and a few others to be sure&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/iis-7-asp-problem#comments</comments>
 <category domain="http://community.activestate.com/forums/activepython-support-0">ActivePython Support</category>
 <category domain="http://community.activestate.com/os/windows-vista">Windows Vista</category>
 <pubDate>Thu, 26 Jun 2008 22:51:34 +0100</pubDate>
 <dc:creator>Snake</dc:creator>
 <guid isPermaLink="false">2514 at http://community.activestate.com</guid>
</item>
<item>
 <title>scrolledwindow or scrolledpanel scrollable but hide scrollbar</title>
 <link>http://community.activestate.com/forum-topic/scrolledwindow-or-scrolledpanel-scrollable-hide-scrollbar</link>
 <description>&lt;p&gt;All,&lt;/p&gt;
&lt;p&gt;Is it possible to be able to scroll using scrolledwindow or scrolledpanel by using other controls like buttons and using Scroll(x, y) function. But I need to hide the scrollbar all the time. I tried doing this in both, but when I hide the scrollbar in scrolledwindow using setscrollbar function, it is disabling the scrolling also and Scroll(x, y) also does not work. This is not what I intend to do. Please help me here. Thank you.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Giri&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/scrolledwindow-or-scrolledpanel-scrollable-hide-scrollbar#comments</comments>
 <category domain="http://community.activestate.com/forums/activepython-discussion-0">ActivePython discussion</category>
 <category domain="http://community.activestate.com/os/all-any">All / Any</category>
 <pubDate>Thu, 29 May 2008 16:36:21 +0100</pubDate>
 <dc:creator>kolanupaka</dc:creator>
 <guid isPermaLink="false">2389 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
