cinap_lenrekadd hg and python4bb9e2215 years agoHistory
527 lines · 14.7 KB · Python
RawDownload
        ofp.close()     if os.name == 'mac':        nfinfo = ofss.GetFInfo()        nfinfo.Creator = finfo.Creator        nfinfo.Type = finfo.Type        nfinfo.Flags = finfo.Flags        ofss.SetFInfo(nfinfo)     ifp.close() def _test():    if os.name == 'mac':        import macfs        fss, ok = macfs.PromptGetFile('File to convert:')        if not ok:            sys.exit(0)        fname = fss.as_pathname()    else:        fname = sys.argv[1]    binhex(fname, fname+'.hqx')    hexbin(fname+'.hqx', fname+'.viahqx')    #hexbin(fname, fname+'.unpacked')    sys.exit(1) if __name__ == '__main__':    _test()

Lines 501–527 of 527. Previous lines

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t