1 |
# Copyright (C) 2004-2005 Paul Cochrane |
2 |
# |
3 |
# This program is free software; you can redistribute it and/or |
4 |
# modify it under the terms of the GNU General Public License |
5 |
# as published by the Free Software Foundation; either version 2 |
6 |
# of the License, or (at your option) any later version. |
7 |
# |
8 |
# This program is distributed in the hope that it will be useful, |
9 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
10 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
11 |
# GNU General Public License for more details. |
12 |
# |
13 |
# You should have received a copy of the GNU General Public License |
14 |
# along with this program; if not, write to the Free Software |
15 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
16 |
|
17 |
# $Id: utils.py,v 1.1 2005/06/24 00:55:59 paultcochrane Exp $ |
18 |
|
19 |
""" |
20 |
Pyvisi utility functions |
21 |
""" |
22 |
|
23 |
def loadAscii(fname=None): |
24 |
""" |
25 |
Reads and returns the data from a whitespace-delimited ascii file |
26 |
|
27 |
@param fname: the filename of the input data file |
28 |
@type fname: string |
29 |
""" |
30 |
|
31 |
return |
32 |
|
33 |
|
34 |
def loadCsv(fname=None): |
35 |
""" |
36 |
Reads and returns the data from a comma separated format ascii file |
37 |
|
38 |
@param fname: the filename of the input data file |
39 |
@type fname: string |
40 |
""" |
41 |
|
42 |
return |
43 |
|