![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
Winky_Dxy
这个作者很懒,什么都没留下…
展开
-
Python List中extend()、append()、insert()、+List的用法及区别
参考:Python List extend()方法Python中append和extend的区别python列表 中添加元素append(),extend(), insert(),+list的区别原创 2019-06-01 03:46:08 · 806 阅读 · 0 评论 -
Pycharm远程调试服务器上的代码
参考:如何通过pycharm实现远程代码的调试和开发Pycharm实现服务器端代码的远程调试PyCharm是我们在学习ML和DL时很流行的一个IDE。但是,当我们需要庞大的计算资源时,尤其是当我们在学习DL时,我们通常会借助远程服务器的GPU资源。通常,我们会将代码拷贝到服务器上运行,但是这样不便于我们修改调试。Luckily,PyCharm自身带有远程代码调试的功能,可以很方便的远...原创 2019-05-28 16:25:00 · 512 阅读 · 0 评论 -
Lambda表达式
参考:python lambda表达式关于Python中的lambda,这篇阅读量10万+的文章可能是你见过的最完整的讲解Python学习笔记十(lambda表达式)转载 2019-05-31 17:05:35 · 93 阅读 · 0 评论 -
Python format( )函数
参考:Python format() 函数Python format 格式化函数(菜鸟教程)转载 2019-05-31 17:34:59 · 293 阅读 · 0 评论 -
memory_profiler的使用
memory_profiler是用来分析每行代码的内存使用情况参考:memory_profiler的使用python 内存监控模块之memory_profiler转载 2019-06-03 20:07:24 · 2077 阅读 · 0 评论 -
Pycharm报错Can't get remote credentials for deployment server......
问题:Pycharm报错Can’t get remote credentials for deployment server…分析:出现该问题是因为配置远程Python Interpreter时没有配置SSH credentials解决方案:原创 2019-06-15 20:23:07 · 2897 阅读 · 0 评论 -
在PyCharm中设置source路径:this inspection detects names that should resolved but don't......
报错:this inspection detects names that should resolved but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are...转载 2019-06-04 18:35:44 · 732 阅读 · 0 评论 -
python学习--argparse的用法
参考:argparse基本用法argparse简要用法总结##argparse 是python自带的命令行参数解析包,可以用来方便的读取命令行参数。# 当你的代码需要频繁的修改参数的时候,使用这个工具可以将参数和代码分离开来,让你的代码更简洁,适用范围更广。它的使用也比较简单。# argparse是一个全面的参数处理库。。参数可以触发不同的动作,动作由add_argument() 方...原创 2019-05-22 16:08:21 · 184 阅读 · 0 评论 -
numpy系列1: np.arrange
参考:numpy常用函数之arange函数np.arange函数Python 基础——range() 与 np.arange()转载 2019-05-20 14:09:16 · 977 阅读 · 0 评论 -
TF控制流程学习参考
参考:tf.identity的意义以及用例Tensorfow中使用tf.identity()的作用转载 2019-05-05 17:52:23 · 298 阅读 · 0 评论 -
WARNING (theano.configdefaults): g++ not detected !解决方案
参考:theano提示:g++ not detected的解决办法Windows环境下,为Theano手动安装MinGW和libpython原创 2019-03-26 17:20:37 · 802 阅读 · 0 评论 -
ImportError: No module named 'urlparse'
问题:ImportError: No module named ‘urlparse’发现只有这两种package:参考这个链接:http://bbs.chinaunix.net/thread-4111555-1-1.html将import urlparse改成了urllib.parse,从而解决了问题...原创 2019-04-16 22:05:15 · 1148 阅读 · 0 评论 -
初识Anaconda(一)在windows环境下安装Anaconda
参考:1.Anaconda使用总结2.tensorflow学习笔记一:安装调试3.Python学习之路(1)——Anaconda的安装与配置4.anaconda安装及环境变量配置一、安装AnacondaTensorflow是基于python脚本语言的,并且需要numpy、scipy、matplotlib等十几个扩展包,因此这些都需要安装上,一个个安装的确很麻烦很心焦。。。不过,现在有了...原创 2019-04-18 13:54:55 · 662 阅读 · 0 评论 -
Python读取文件参考
参考:Python中read()、readline()和readlines()三者间的区别和用法python-用正则表达式筛选文本信息splitlines是将传入的字符串去除’\n’之后以数组的形式传出,而不是字符串形式#读取文本中的中英文数据并使用正则表达式将所需数据筛选入到一个新文本中python: line=f.readlines() 后如何消除line中的’\n’...转载 2019-04-19 15:00:28 · 106 阅读 · 0 评论 -
unicodedata.normalize()
参考:python Unicode转ascii码的一种方法字符编码笔记:ASCII,Unicode 和 UTF-8转载 2019-04-19 15:24:49 · 4557 阅读 · 2 评论 -
Numpy模块学习
numpy的random模块NumPy 教程(菜鸟教程)NumPy 中文文档NumPy教程(易百教程)numpy的文件存储.npy .npz 文件详解转载 2019-04-29 09:47:37 · 314 阅读 · 0 评论 -
AttributeError: module 'numpy' has no attribute 'dtype'
出错代码如下:出错原因:项目名称为“numpy”,,和模块numpy重名了,改一下项目名称即可原创 2019-04-29 11:18:56 · 4145 阅读 · 0 评论 -
cPickle和Pickle
参考:python中cPickle用法python pickle/cPickle模块转载 2019-03-26 17:02:29 · 865 阅读 · 0 评论