예제 #1
0
파일: template.py 프로젝트: youngpong/pysal
    def __init__(self, *args, **kwargs):
        # initialize the parent class...
        FileIO.__init__(self, *args, **kwargs)
        # this gives you:
        # self.dataPath == the connection string or path to file
        # self.mode == the mode the file should be opened in

        self.fileObj = open(self.dataPath, self.mode)
예제 #2
0
파일: template.py 프로젝트: CartoDB/pysal
    def __init__(self, *args, **kwargs):
        # initialize the parent class...
        FileIO.__init__(self, *args, **kwargs)
        # this gives you:
        # self.dataPath == the connection string or path to file
        # self.mode == the mode the file should be opened in

        self.fileObj = open(self.dataPath, self.mode)
예제 #3
0
파일: template.py 프로젝트: youngpong/pysal
 def __init__(self, *args, **kwargs):
     FileIO.__init__(self, *args, **kwargs)
     self.fileObj = open(self.dataPath, self.mode)
예제 #4
0
파일: template.py 프로젝트: CartoDB/pysal
 def __init__(self, *args, **kwargs):
     FileIO.__init__(self, *args, **kwargs)
     self.fileObj = open(self.dataPath, self.mode)