newbie question

Bermi bermi7 at gmail.com
Sat Dec 10 09:45:10 EST 2005


i have this program
===================
from sys import *
import math
import math, Numeric
from code import *
from string import *
from math import *
from dataSet import *
from string import *

def drawAsciiFile():
    _fileName=str(argv[1])
    __localdataSet=DataSet(_fileName)

    #_PlotCols=string.split(str(argv[2]),' ')
    #_PlotColsInt=[]
    '''for s in _PlotCols:
        _PlotColsInt.append(int(s))
    CountourPlots(__localdataSet,_PlotColsInt)
'''
    print
    __data=__localdataSet.GetData()
    print max(__data[:,11])
if __name__ == "__main__":
    drawAsciiFile()
================================

how i can link it to read my file examle.txt?

thanks 
michael




More information about the Python-list mailing list