def dos2unix():
    fn = askFilename(multi=True)
    if fn:
        for f in fn:
            message("Converting file to UNIX: %s" % f)
            utils.dos2unix(f)
Example #2
0
def dos2unix():
    fn = askFilename(multi=True)
    if fn:
        for f in fn:
            message("Converting file to UNIX: %s" % f)
            utils.dos2unix(f)
Example #3
0
def save_job_script(fjob, commands):
    ''' !!! Missing docstring.'''
    with open(fjob, 'w') as fid:
        print(commands, file=fid)
    utils.dos2unix(fjob)
def dos2unix():
    fn = askFilename(multi=True)
    print("selected %s" % fn)
    if fn:
        for f in fn:
            utils.dos2unix(f)
Example #5
0
def save_args_file(fargs, lines):
    ''' !!! Missing docstring.'''
    with open(fargs, 'w') as fid:
        for task in lines:
            print(task, file=fid)
    utils.dos2unix(fargs)