Thank you Jerry! The suggestion you told me make my code worked!
>
>
>
> dbf = Dbf(d,new=False, readOnly=True)
>
>
>
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
> When I run the script I got the next error:
import crawler_shp
> Traceback (most recent call last):
> File "", line 1, in
> File "crawler_shp.py", line 105, in
> dbf = Dbf(d,new=False)
> File "C:\Python26\lib\site-packages\dbf.py", line 125, in __init__
> self.stream = file(f
On Tue, Dec 7, 2010 at 12:20 PM, Susana Iraiis Delgado Rodriguez <
susana.delgad...@utzmg.edu.mx> wrote:
> My other message was incomplete, it was a mistake: This is the correct one
>
> 2010/12/7 Susana Iraiis Delgado Rodriguez
>
> I make a script to redirect a txt file from an external director
My other message was incomplete, it was a mistake: This is the correct one
2010/12/7 Susana Iraiis Delgado Rodriguez
> I make a script to redirect a txt file from an external directory, but in
> this directory I don't have permission to write, just to read data. So I
> make this module:
> import
I make a script to redirect a txt file from an external directory, but in
this directory I don't have permission to write, just to read data. So I
make this module:
import os, time,fnmatch
from xlwt import Workbook
from osgeo import ogr,gdal,osr
from dbf import *
gdal.AllRegister()
file_list = []
f
Susana Iraiis Delgado Rodriguez wrote:
[UPPER CASE text is interpreted as shouting in emails and usenet posts.
Please don't shout. Because spammers do it all the time it's more likely to
make potential readers turn away from your writ rather than pay extra
attention.]
> I'm trying to save file
I'm trying to save files into a specific directory, the file will be
generated from a python script. The script will look for some data stored in
a directory which only allows to read files, it doesn't let the user write
or modify information. But when I run the script I got the next error:
Python