Ubuntu在普及sudo上做了不少工作,强迫而非鼓励用户使用su转换到root帐号安装软件和执行其他管理任务。
Ubuntu has done a lot to popularize sudo by enforcing its use in place of encouraging users to use su to switch to the root account to install software and perform other administrative tasks.
Python中既有强制类型转换也有强迫同型,通常使用更多的是前者(“显式优于隐式”)。
Python contains a mixture of casts and coercions, with a usual preference for the former (" explicit is better than implicit ").
通过造型,我们可明确设置这种类型的转换,或者在一般没有可能进行的时候强迫它进行。
Casting allows you to make this type conversion explicit, or to force it when it wouldn't normally happen.
应用推荐