[Tutor] Problem with Import

2007-03-02 Thread Nagendra Singh
Hi Alan, I had installed Python through cygwin and then installed Gdal from source. I have tried everything but it does not work, my guess is I am missing something trivial, I am planning to uninstall everything (Cygwin and Gdal) and then reinstall all of it again over the weekend, this is my last

Re: [Tutor] Problem with Import

2007-03-01 Thread Nagendra Singh
Thanks for the suggestion, the Python path is correct. After a bit of experimenting I found out that it works with Python 2.3 but not 2.4 but I have no clue as to why. Nagendra On 2/28/07, Jalil <[EMAIL PROTECTED]> wrote: check your python path On 2/28/07, Nagendra Singh <[EMAIL

[Tutor] Problem with Import

2007-02-28 Thread Nagendra Singh
Hi all, I am running python on Cygwin and I have also installed gdal which is a raster translator library. When I run the command import gdal, Python gives me an error : Python 2.4.3 (#1, May 18 2006, 07:40:45) [GCC 3.3.3 (cygwin special)] on cygwin Type "help", "copyright", "credits" or "licens

Re: [Tutor] Running an exe from Python

2007-02-28 Thread Nagendra Singh
Thanks a lot for all you helps. Alan your tutorial is very helpful But I have another problem which I will post soon. On 2/26/07, Alan Gauld <[EMAIL PROTECTED]> wrote: "Nagendra Singh" <[EMAIL PROTECTED]> wrote > Thanks a lot for all the suggestions. I used the f

Re: [Tutor] Running an exe from Python

2007-02-26 Thread Nagendra Singh
Thanks a lot for all the suggestions. I used the function subprocess.call ( 'c:\abc.exe c:\data\file1'), but as before the command window opens and closes very fast a value of 1 is displayed. How do I see the results?? I am sorry if I sound dumb. Singh On 2/23/07, Alan Gauld <[EMAIL PROTECTED]

[Tutor] Running an exe from Python

2007-02-22 Thread Nagendra Singh
Hi, I am trying to learn Python and have no prior programming experience. My problem is that I am trying to call an .exe through Python, the exe gives certain information about a file when I simply type it at the command prompt, something like C:> getinfo C:\Singh\abc.bcd and it displays the in

[Tutor] GDAL- Help

2006-09-13 Thread Nagendra Singh
Hi, I am just starting to learn Python and I want to perform some GIS tasks which requires the gdal module (http://www.gdal.org/). I have installed FWTools which also comes with a built in Python interface but I also have a stand alone version of Python which I use. I am trying to use the gdal mod

[Tutor] Which Book

2006-08-17 Thread Nagendra Singh
Hi All, I have very little programming experience, I have decided to learn Python..there are tons of material and refernces on the web-pages, can you guys please suggest what is the best way to start or which ONE book which I should follow to start. thanks.. Nagendra