Gary A.
Been spending a lot of time on here!
Dude, when you gotta go ... you gotta go.
Purely chance or luck.
Sent from my SAMSUNG-SM-G890A using Tapatalk
View attachment 147818 Mary Lou, Maggie and Gary have moved to the patio. Now we can watch the match, sip some wine and Maggie can get some exercise.
Banging away all night on keyboard, fixing a legacy program that doesn't speak well with modern operating systems.
01 WS-DATE.
03 WS-MM PIC XX.
03 FILLER PIC X VALUE "/".
03 WS-DD PIC XX.
03 FILLER PIC X VALUE "/".
03 WS-YYYY PIC XXXX.
Like riding a bike, lolBanging away all night on keyboard, fixing a legacy program that doesn't speak well with modern operating systems.
It's been a while, but . . .
Code:01 WS-DATE. 03 WS-MM PIC XX. 03 FILLER PIC X VALUE "/". 03 WS-DD PIC XX. 03 FILLER PIC X VALUE "/". 03 WS-YYYY PIC XXXX.
Like riding a bike, lolBanging away all night on keyboard, fixing a legacy program that doesn't speak well with modern operating systems.
It's been a while, but . . .
Code:01 WS-DATE. 03 WS-MM PIC XX. 03 FILLER PIC X VALUE "/". 03 WS-DD PIC XX. 03 FILLER PIC X VALUE "/". 03 WS-YYYY PIC XXXX.
#!/usr/bin/env python logfile = open("/var/log/syslog", "r") for line in logfile: line_split = line.split() print line_split list = line_split[0], line_split[1], line_split[2], line_split[4] print list
# stations.py
# Print station number and name
import arcpy
from arcpy import da
infc = r'Documents and Settings\Application Data\ESRI\ArcCatalog\GISPROD.sde\GISPROD.FSTATION'
flds = ['STATION', 'NAME', 'STATUS']
expr = 'STATUS = \'EXISTING\''
with da.SearchCursor(infc, flds, where_clause = expr,
sql_clause = ('None', ORDER BY STATION')) as cursor:
for row in cursor:
print('{0}: {1}'.format(row[0], row[1]))
# end