HI:
I am trying to read a txt file and dump the columns in an access database
table. But getting problem:
>>> Unhandled exception while debugging...
Traceback (most recent call last):
File "C:\WindDuration\Reading_test.py", line 14, in
my_length_1 = nmAddrList[1]
IndexError: list index out
-Original Message-
From: Ethan Furman [mailto:et...@stoneleaf.us]
Sent: Friday, June 24, 2011 3:47 PM
To: Ahmed, Shakir
Cc: Python
Subject: Re: unzip problem
Ahmed, Shakir wrote:
> Thanks once again and you are right I am trying to unzip in the
network
> share drive. here is the
, Ahmed, Shakir wrote:
> Hi,
>
>
>
> I am getting following error message while unziping a .zip file. Any
> help or idea is highly appreciated.
>
>
>
> Error message>>>
>
> Traceback (most recent call last):
>
> File "C:\Zip_Proc
On Fri, 24 Jun 2011 10:55:52 -0400, Ahmed, Shakir wrote:
> Hi,
>
>
>
> I am getting following error message while unziping a .zip file. Any
> help or idea is highly appreciated.
How do you know it is when unzipping the file? Maybe it is, or maybe it
isn't. The line gi
Hi,
I am getting following error message while unziping a .zip file. Any
help or idea is highly appreciated.
Error message>>>
Traceback (most recent call last):
File "C:\Zip_Process\py\test2_new.py", line 15, in
outfile.write(z.read(name))
IOError: (22, 'Invalid argument')
2011 10:51:42 -0500, Ahmed, Shakir wrote:
> Hi,
>
> I am trying to create a list in a txt file from an ftp server. The
> following code is retrieving the list of the files but could not able
to
> write in a text file. Any help is highly appreciat
Hi,
I am trying to create a list in a txt file from an ftp server. The
following code is retrieving the list of the files but could not able to
write in a text file. Any help is highly appreciated.
Thanks
import os
import time
from ftplib import FTP
ftp = FTP("*.
Hi,
Is there any way that I can read the data source path of a .lyr file
using Arc Object gp processor.
Thanks
sa
--
http://mail.python.org/mailman/listinfo/python-list
HI,
I created a script to do some GIS process ( basic GIS operation exam:
create shape file, project and copy) and exporting one of the output to
dbf too. The Script is running without any problem where ArcGIS and
python are installed. I need to runt this application where both of the
applicat
-Original Message-
From: python-list-bounces+shahmed=sfwmd@python.org
[mailto:python-list-bounces+shahmed=sfwmd@python.org] On Behalf Of
Simon Brunning
Sent: Wednesday, May 19, 2010 6:13 AM
To: python-list
Subject: Re: Reading data from a Microsoft Access 2003 database
On 19 May 2
-Original Message-
From: python-list-bounces+shahmed=sfwmd@python.org
[mailto:python-list-bounces+shahmed=sfwmd@python.org] On Behalf Of
Tim Chase
Sent: Tuesday, April 13, 2010 2:36 PM
To: Majdi Sawalha
Cc: python-list@python.org
Subject: Re: Python, CGI and Sqlite3
On 04/13/2010 1
From: python-list-bounces+shahmed=sfwmd@python.org
[mailto:python-list-bounces+shahmed=sfwmd@python.org] On Behalf Of Stephen
Hansen
Sent: Thursday, December 03, 2009 10:22 PM
To: python-list@python.org
Subject: Re: memory error
On Thu, Dec 3, 2009 at 5:51 AM, Ahmed, Shakir
I am getting following error while uploading data to a ftp server. Any
help is highly appreciated.
ftp.storbinary("stor erp.shp", ffile2,8192)
File "C:\Python24\lib\ftplib.py", line 419, in storbinary
conn.sendall(buf)
File "", line 1, in sendall
error: (10054, 'Connection reset by p
I am grabbing few fields from a table and one of the columns is in date
format. The output which I am getting is "Wed Feb 09 00:00:00 2005" but
the data in that column is "02/09/2005" and I need the same format
output to insert those recodes into another table.
print my_service_DATE
Wed Feb 09 00:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, September 11, 2008 8:54 AM
To: python-list@python.org
Subject: Re: removing text string
Ahmed, Shakir:
> Actually the number I am getting it is from slicing from a l
]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dennis Lee Bieber
Sent: Wednesday, September 10, 2008 3:45 PM
To: python-list@python.org
Subject: Re: removing text string
On Wed, 10 Sep 2008 11:22:16 -0400, "Ahmed, Shakir" <[EMAIL PROTECTED]>
declaimed the following in comp.lang.python:
> I
I need to remove text string from the list of the numbers mentioned
below:
080829-7_A
070529-5_c
080824-7_O
070405_6_p
The output will be : 080829-7
070529-5
080824-7
070405-6
Any idea is
You can try
Import time
mytimeymd = time.strftime('%y%m%d')
print mytimeymd
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
frankrentef
Sent: Wednesday, September 03, 2008 1:21 PM
To: python-list@python.org
Subject: Using strftime
I have one line of c
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Werner F. Bruhin
Sent: Monday, August 18, 2008 1:04 PM
To: python-list@python.org
Cc: [EMAIL PROTECTED]
Subject: Re: help with parsing email
Ahmed, Shakir wrote:
> Thanks everyone who tried to help me
but getting error
Thanks
sk
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gabriel Genellina
Sent: Monday, August 18, 2008 6:43 AM
To: python-list@python.org
Cc: [EMAIL PROTECTED]
Subject: Re: help with parsing email
En Thu, 14 Aug 2008 12:50:57 -0300, Ahmed,
Hi all,
I do appreciate if any one can help me for my following problem:
I need to grab/parse numeric numbers such as app number from incoming
emails stored in Microsoft Outlook (Microsoft Exchange server) with
specified subject line.
Any help with the python script is highly appreciat
Windows scheduler is one of the option.
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Zach Hobesh
Sent: Monday, July 21, 2008 2:13 PM
To: python-list@python.org
Subject: automating python programs
Hi,
I'm trying to figure out h
HI,
I am working on a project where I need to parse incoming emails
(Microsoft outlook) with a specific subject into an excel file or a
Microsoft access table.
I am using python for my GIS works but not sure how I can use python
script here to work with Microsoft outlook email.
Any h
I need help to parse html file into Microsoft Access database table.
Right now I could parse it in a csv file but the way it is parsing is
not that I want and I could not import the list into access table as the
information is parsing one after another and it is not a row column
format.
Any
Thanks, works exactly what I needed.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, May 20, 2008 12:22 PM
To: python-list@python.org
Subject: Re: Removing Space and "-" from a string
On May 20, 11:02 am, &quo
I have thousands of records in MS Access database table, which records I
am fetching using python script. One of the columns having string like
'8 58-2155-58'
Desired output: '858215558'
I want to remove any spaces between string and any dashes between
strings. I could do it in access manually b
You need to install the same version on your pc, if you have 2.5 already
installed you need to download 2.5 pythonwin from http://sourceforge.net
Hope it will work for you.
Thanks
sk
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Clive_S
Sent: Friday,
I am getting application error message " The instruction at "0x7c910f29"
referenced memory at "0x". The memory could not be "read". I am
running one python script and it is running good without any exception
or error message but getting this message when I am closing python 2.4.1
applicatio
I have a Microsoft Access database that I want to delete whether anyone
is using that file.
The database is already read only mode residing in a server, users are
opening in read only mode. I want to delete that file, I remove read
only check but could not delete that file.
Getting error messag
I was used import odbc to connect oracle or access table before, now I
switched to python 2.4 and is giving me error message. I appreciate any
help on that.
Thanks
sh
--
http://mail.python.org/mailman/listinfo/python-list
I am trying to use python script to update a table by incremental value
based on struc_No but having problem to get right result on the value
field for the 3rd and 4th same number of struc_no.
I need to update the Value field only with the incremental value of 15
or so
Any help is highly apprec
Need help to copy a personal geodatabase from one location to another:
Trying to copy a personal geodatabase from one location to another
location where all the users are retrieving data from the second
location:
1. I can copy over the updated personal geodatabase to the working
location a
Is there any way to copy a file from src to dst if the dst is
exclusively open by other users.
I am using
src = 'c:\mydata\data\*.mdb'
dst = 'v:\data\all\*.mdb'
shutil.copyfile(src,dst)
but getting error message permission denied.
Any help is highly appreciated.
Thanks
sh
--
http://mail.py
I mean other than sysadmins, programmers, and web-site developers?
I have heard of some DBAs who use a lot of python.
I suppose some scientists. I think python is used in bioinformatics. I
think some math and physics people use python.
I suppose some people use python to learn "programming" i
I am trying to copy a geodatabase (.mdb) file from source to destination
using
shutil.copyfile(src, dest)
It is working fine but the main problem when the destination (.mdb) file
is locked by other users then it's bumped out and not copied over.
Is there any way to copy the locked .mdb fil
HI Group,
As I am very new in python field so this question might be very silly to
you but if I get any help is highly appreciated.
Problem:
I wrote a python script which is working fine to upload files to the ftp
server but the problem is it is reducing the actual size after
transferring. I ne
HI Group,
As I am very new in python field so this question might be very silly
but If I get any help that is highly appreciated.
Problem:
I have a python script which is working fine to upload files to the ftp
server but the problem is it is reducing the actual size after
transferring
37 matches
Mail list logo