V2EX Matrix24 的所有回复 第 1 页 / 共 2 页
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX    Matrix24    全部回复第 1 页 / 共 2 页
回复总数  22
1  2  
@ospider 十分感谢!!就缺了这一环~
2014 年 4 月 12 日
回复了 eric_zyh 创建的主题 问与答 一个数学方程式求解: 2^(x-3) = x
输入:Solve[2^(x - 3) == x, x]
结果:{{x -> -(ProductLog[-(Log[2]/8)]/Log[2])}, {x -> -(
ProductLog[-1, -(Log[2]/8)]/Log[2])}}
@a target="_blank" href="/member/zentorwie" rel="nofollow noopener">zentorwie 我在搜索解决方式的时候,也看到了这篇文章
2014 年 3 月 12 日
回复了 Rand01ph 创建的主题 程序员 毕业了才知道一切都是自作孽
@kurtrossel 笑死
@unfurl
[Warn信息]:

W: no module named matplotlib.rcParams (top-level import by matplotlib.figure)
W: no module named glib.Idle (top-level import by gobject)
W: no module named nt (conditional import by __main__)
W: no module named numpy.not_equal (top-level import by numpy.numarray.ufuncs)
W: no module named setuptools.Command (top-level import by setuptools.command.setopt)
W: no module named numpy.testing.Tester (top-level import by numpy.polynomial)
W: no module named numpy.compat.formatargspec (top-level import by numpy.ma.core)
W: no module named glib.Source (top-level import by gobject)
W: no module named numpy.testing.Tester (top-level import by numpy.random)
W: no module named msvcrt (conditional import by getpass)
W: no module named java (conditional import by xml.sax._exceptions)
W: no module named numpy.core.ravel (top-level import by numpy.linalg.linalg)
W: no module named numpy.core.atleast_3d (top-level import by numpy.lib.shape_base)
W: no module named matplotlib.MatplotlibDeprecationWarning (top-level import by matplotlib.legend)
W: no module named numpy.core.zeros (delayed import by numpy.testing.utils)
W: no module named numpy.compat.bytes (top-level import by numpy.core.numerictypes)
W: no module named setuptools.Command (top-level import by setuptools.command.easy_install)
W: no module named numpy.core.flatnonzero (top-level import by numpy.linalg.linalg)
W: no module named numpy.tanh (top-level import by numpy.numarray.ufuncs)
W: no module named PyQt4._qt (top-level import by PyQt4.QtCore)
W: no module named numpy.sinh (top-level import by numpy.numarray.ufuncs)
W: no module named glib.SPAWN_LEAVE_DESCRIPTORS_OPEN (top-level import by gobject)
W: no module named numpy.core.isscalar (delayed import by numpy.testing.utils)
W: no module named numpy.left_shift (top-level import by numpy.oldnumeric.ufuncs)
W: no module named Pyrex (delayed, conditional import by numpy.distutils.command.build_src)
W: no module named matplotlib.backends.pylab_setup (top-level import by matplotlib.pyplot)
W: no module named numpy.subtract (top-level import by numpy.numarray.ufuncs)
W: no module named matplotlib.rcParams (top-level import by matplotlib.ticker)
W: no module named numpy.arcsin (top-level import by numpy.numarray.ufuncs)
W: no module named numpy.lexsort (top-level import by numpy.numarray.functions)
W: no module named numpy.core.intc (top-level import by numpy.linalg.linalg)
W: no module named numpy.ndarray (top-level import by numpy.ma.extras)
W: no module named numpy.greater_equal (top-level import by numpy.oldnumeric.ufuncs)
W: no module named numpy.logical_not (top-level import by numpy.oldnumeric.ufuncs)
W: no module named Carbon (delayed import by plistlib)
W: no module named matplotlib.rcParams (top-level import by matplotlib.axis)
W: no module named _winreg (top-level import by distutils.msvccompiler)
W: no module named numpy.swapaxes (top-level import by numpy.oldnumeric.misc)
W: no module named numpy.diagonal (top-level import by numpy.numarray.functions)
W: no module named matplotlib.delaunay.__version__ (delayed, conditional import by matplotlib.mlab)
W: no module named numpy.arccos (top-level import by numpy.numarray.ufuncs)
W: no module named numpy.core.hstack (top-level import by numpy.lib.polynomial)
W: no module named numpy.sinh (top-level import by numpy.oldnumeric.ufuncs)
W: no module named numpy.core.max (conditional import by numpy)
W: no module named numpy.distutils.fcompiler.show_fcompilers (delayed import by numpy.distutils.interactive)
W: no module named numpy.core.concatenate (top-level import by numpy.fft.helper)
W: no module named numpy.arcsinh (top-level import by numpy.numarray.ufuncs)
W: no module named numpy.linalg.lstsq (top-level import by numpy.lib.polynomial)
W: no module named numpy.greater (top-level import by numpy.oldnumeric.ufuncs)
W: no module named numpy.core.atleast_2d (top-level import by numpy.lib.function_base)
W: no module named vms_lib (delayed, conditional import by platform)
W: no module named glib.set_application_name (top-level import by gobject)
W: no module named numpy.floor_divide (top-level import by numpy.numarray.ufuncs)
W: no module named numpy.testing.Tester (conditional import by numpy.distutils)
W: no module named numpy.less (top-level import by numpy.oldnumeric.ufuncs)
W: no module named matplotlib.rcParamsDefault (top-level import by matplotlib.pyplot)
W: no module named numpy_distutils (delayed, conditional import by numpy.f2py.diagnose)
W: no module named glib.MainContext (top-level import by gobject)
W: no module named numpy.ndarray (top-level import by numpy.ma.mrecords)
W: no module named matplotlib.rcParams (top-level import by matplotlib.text)
W: no module named numpy.eye (delayed import by numpy.core.numeric)
W: no module named numpy.searchsorted (top-level import by numpy.numarray.functions)
W: no module named numpy.core.
Mac mini,至于虚拟机,还是玩玩吧,不能干活
在GNOME3中搜索 nm
2014 年 3 月 3 日
回复了 artwalk 创建的主题 程序员 大家平时怎么码代码的?
第2种,我是业余选手
@binux 你的意思是说,所有定义的self.XXX是函数内的(self)决定的,突然明白了。哈哈,被打醒了,ThankYou,谢谢你的耐心~~
@binux
class AAA():
self.a='5'
def go(self):
pass


b=AAA()
b.a

---------
为什么不可以在class内和def平行关系,定义self.XXX这种实例化变量?
@binux 其实我就想问一句,class下的def XXX里面的定义的变量,加self和不加有什么区别,它是不是和其他的一样?

因为我现在认为__init__()下是一个特殊的区域,在这里定义self.xxx是正常可以引用的实例化变量
但是在class下和def并列的时候,定义 self.XX就不会引用成功
同样,我怀疑在def内,变量加和不加self都不同。

我有点混乱,求指点
@binux 哈哈,文章还是有瑕疵。除了这个地方没说。你知道么,可爱的网友?
为毛不可以修改问题。问题是这样子的:
具体的如下:
class AAA(object):
def Go(self):
self.one = 'hello'

和下面的
class AAA(object):
def Go(self):
One= 'hello'

两者的one,有什么区别?
@dylanninin 感谢,受用了
2014 年 2 月 13 日
回复了 menic 创建的主题 程序员 python 大拿和 python say goodbye 了,哎
感谢他对Python社区做的贡献
2013 年 12 月 30 日
回复了 cchange 创建的主题 Python Python有开发桌面程序的开源项目吗? 想参考一下
第一次听说快手,请问快手可以跨平台么?很感兴趣,想了解
@xavierskip 我在OS X上打包的程序,运行没有反应,可用Py2app却可以,请问为什么?
2013 年 12 月 30 日
回复了 hedaors 创建的主题 Python 像 Dropbox 的 python 程序是如何打包的?
看到知乎上有类似的解答
用到过的 Python 技术包括:

Twisted:基于事件的网络框架,他们用这个做了服务器端推送通知服务
PyObjC:OS X 客户端系统调用
PyWin32:Windows 客户端系统调用
WxPython:跨平台客户端界面
ctypes:外部功能调用,用来调用系统功能(如 Windows 的 DLL)
py2exe:Windows 平台打包工具
py2app:OS X 平台打包工具


PyCon 2011 上 Dropbox 的 Rian Hunter 对此有过介绍


http://www.zhihu.com/question/19550782?q=Dropbox
1  2  
About     Help     Advertise     Blog     API     FAQ     Solana     1322 Online   Highest 6679       Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 26ms UTC 23:47 PVG 07:47 LAX 16:47 JFK 19:47
Do have faith in what you're doing.
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86