我尝试git
使用命令在 Ubuntu 12.10 上安装sudo apt-get install git
。但我收到这样的错误消息:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package git is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'git' has no installation candidate
Run Code Online (Sandbox Code Playgroud)
我该怎么做?
我有一个.pyc
文件.我需要了解该文件的内容就知道反汇编是如何工作的蟒蛇,即我怎么能产生像输出dis.dis(function)
从.pyc
文件内容.
例如
>>> def sqr(x):
... return x*x
...
>>> import dis
>>> dis.dis(sqr)
2 0 LOAD_FAST 0 (x)
3 LOAD_FAST 0 (x)
6 BINARY_MULTIPLY
7 RETURN_VALUE
Run Code Online (Sandbox Code Playgroud)
我需要使用该.pyc
文件获得这样的输出.