Python命令

-------- base --------

[1]. range, xrange
[2]. conda, conda env, jupyter notebook
[3]. isinstance, type, getattr, setattr, hasattr
[4]. enumerate
[5]. spyder
[6]. zip
[7]. matplotlib.pyplot
[8]. format
[9]. pdb.set_trace()
[10]. math.pi, math.sqrt

--------- numpy ----------

[1] .random, .random.choice
[2] .ndarray
[3].exp,
[4] .argwhere
[5] np.dot, np.multiply

--------- os -----------

  1. .path.join
  2. .path.exists
  3. .listdir

-------- torch ---------

  1. .reshape, .resize, .view
  2. .from_numpy, .numpy()

参考:

  1. 如何在Ubuntu 16.04上安装Anaconda Python Distribution
  2. Anaconda使用总结
  3. Anaconda and Jupyter Notebooks
  4. Python: 熟悉又陌生的字符编码
  5. Python教程
  6. 如何将 Debian Linux 中的默认的 Python 版本切换为替代版本
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值