<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Pythonwin startup script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/pythonwin-startup-script/m-p/502388#M39460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm at work now and cannot remember how I selected a python script to run when I open Pythonwin.&amp;nbsp; The purpose is simply to import arcpy modules and python modules.&amp;nbsp; Through my training I learned how to do it in Windows by choosing the script path within the properties of the program somewhere.&amp;nbsp; I am unable to locate the resource I used, but think that it is somewhere in a book or webpage closeby.&amp;nbsp; My other thinking is that I have to set an environment variable or something to that effect.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know the process for selecting a python script to run at the startup of PythonWin?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Richard&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Dec 2013 16:05:57 GMT</pubDate>
    <dc:creator>RichardHughes3</dc:creator>
    <dc:date>2013-12-23T16:05:57Z</dc:date>
    <item>
      <title>Pythonwin startup script</title>
      <link>https://community.esri.com/t5/python-questions/pythonwin-startup-script/m-p/502388#M39460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm at work now and cannot remember how I selected a python script to run when I open Pythonwin.&amp;nbsp; The purpose is simply to import arcpy modules and python modules.&amp;nbsp; Through my training I learned how to do it in Windows by choosing the script path within the properties of the program somewhere.&amp;nbsp; I am unable to locate the resource I used, but think that it is somewhere in a book or webpage closeby.&amp;nbsp; My other thinking is that I have to set an environment variable or something to that effect.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know the process for selecting a python script to run at the startup of PythonWin?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Richard&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2013 16:05:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pythonwin-startup-script/m-p/502388#M39460</guid>
      <dc:creator>RichardHughes3</dc:creator>
      <dc:date>2013-12-23T16:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pythonwin startup script</title>
      <link>https://community.esri.com/t5/python-questions/pythonwin-startup-script/m-p/502389#M39461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Richard, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm at work now and cannot remember how I selected a python script to run when I open Pythonwin.&amp;nbsp; The purpose is simply to import arcpy modules and python modules.&amp;nbsp; Through my training I learned how to do it in Windows by choosing the script path within the properties of the program somewhere.&amp;nbsp; I am unable to locate the resource I used, but think that it is somewhere in a book or webpage closeby.&amp;nbsp; My other thinking is that I have to set an environment variable or something to that effect.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Does anyone know the process for selecting a python script to run at the startup of PythonWin?&amp;nbsp; &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe you're thinking of PYTHONSTARTUP environment variable.&amp;nbsp; If you point this system environment to a .py file, it will run the .py for any interactive prompt (PythonWin or otherwise).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Dave&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2013 16:06:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pythonwin-startup-script/m-p/502389#M39461</guid>
      <dc:creator>DavidWynne</dc:creator>
      <dc:date>2013-12-30T16:06:03Z</dc:date>
    </item>
  </channel>
</rss>

