<div>Hello !</div>
<div> </div>
<div>I apoligize for the format of my last message, I didn&#39;t realize that putting my text in bold format will show those asterisks.</div>
<div>By the way you&#39;re Alan, for the pythom module I first had to read my arguments and passed them to the os.system(), it worked. Now when I execute this command, in my normal DOS Windows, I must change to another path before I run the .exe, I don&#39;t know how to tell this to my python module. This is my code:</div>

<div> </div>
<div>from dbf import *<br>from osgeo import ogr<br>import os<br>import sys</div>
<div>def call():<br>      os.chdir(&#39;C:\Python26&#39;)<br>      arg1 = &quot;R1G-GEODESIA2.shp&quot;<br>      arg2 = &quot;LAYER = &#39;R1G-GEODESIA&#39;&quot;<br>      arg4 = &quot;tapalpa_05_plani_point.shp&quot;<br>
      os.system(&#39;&quot;C:/Archivos de programa/FWTools2.4.7/setfw&quot;&#39;)<br>      os.system(&#39;&quot;C:/Archivos de programa/FWTools2.4.7/bin/ogr2ogr.exe&quot;&#39;+&quot; &quot; +&quot;arg1&quot; +&quot; &quot;+ &quot;-where&quot; +&quot; &quot;+ &quot;arg3&quot; +&quot; &quot; +&quot;arg4&quot;)</div>

<div>call()</div>
<div> </div>
<div>If I run it, it shows me the following error:</div>
<div>Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on<br>win32<br>Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.<br>&gt;&gt;&gt; import fw<br>
Ingresa el nombre para el nuevo mapa<br>R1G-GEODESIA2.shp<br>Ingresa la condicion<br>LAYER = &#39;R1G-GEODESIA&#39;<br>Ingresa el nombre del mapa original<br>tapalpa_05_plani_point.shp<br>FAILURE:<br>Unable to open datasource `arg3&#39; with the following drivers.<br>
  -&gt; ESRI Shapefile<br>  -&gt; MapInfo File<br>  -&gt; UK .NTF<br>  -&gt; SDTS<br>  -&gt; TIGER<br>  -&gt; S57<br>  -&gt; DGN<br>  -&gt; VRT<br>  -&gt; REC<br>  -&gt; Memory<br>  -&gt; BNA<br>  -&gt; CSV<br>  -&gt; NAS<br>
  -&gt; GML<br>  -&gt; GPX<br>  -&gt; KML<br>  -&gt; GeoJSON<br>  -&gt; Interlis 1<br>  -&gt; Interlis 2<br>  -&gt; GMT<br>  -&gt; SQLite<br>  -&gt; ODBC<br>  -&gt; PGeo<br>  -&gt; OGDI<br>  -&gt; PostgreSQL<br>  -&gt; MySQL<br>
  -&gt; XPlane<br>  -&gt; AVCBin<br>  -&gt; AVCE00<br>  -&gt; DXF<br>  -&gt; Geoconcept<br>  -&gt; GeoRSS<br>  -&gt; GPSTrackMaker<br>  -&gt; VFK<br>&gt;&gt;&gt;</div>
<div> </div>
<div> </div>