Sublime 3的最小Fortran

时间:2014-10-09 17:09:02

标签: fortran sublimetext3

如何在linux中为Sublime text 3安装Minimal Fortran? 我也试过这个代码在windows中升级并运行良好,但它在linux中不起作用。

import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)

还有{Pallete中的install package - >最小的Fortran。错误:无法下载Minimal Fortran,请查看控制台了解更多详情。

0 个答案:

没有答案