<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[l_eaf的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/l_eaf</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; l_eaf]]></copyright><item><title><![CDATA[虚拟机安装Ubuntu 16.04.5 图解]]></title><link>https://blog.youkuaiyun.com/l_eaf/article/details/105640585</link><guid>https://blog.youkuaiyun.com/l_eaf/article/details/105640585</guid><author>l_eaf</author><pubDate>Mon, 20 Apr 2020 17:46:15 +0800</pubDate><description><![CDATA[https://blog.youkuaiyun.com/qq1326702940/article/details/82322079

]]></description><category></category></item><item><title><![CDATA[安装ubuntu后，你的屏幕尺寸太小，无法设置，该怎么解决]]></title><link>https://blog.youkuaiyun.com/l_eaf/article/details/105640430</link><guid>https://blog.youkuaiyun.com/l_eaf/article/details/105640430</guid><author>l_eaf</author><pubDate>Mon, 20 Apr 2020 17:40:15 +0800</pubDate><description><![CDATA[安装完虚拟机之后，你的Ubuntu可能会在尺寸很小，(这种情况可能有，可能没有)
想要点击设置，选中Display里的分辨率下拉框，但是却因为这个窗口太大，无法点击apply按钮。悲剧啦!!!
Ctrl + Alt + T打开终端
输入命令
xrandr -s 1280x800　　　　
后面的1280x800就是分辨率大小，只要敲击enter，立即显示效果
要注意的是，两数字间是x字母，而不是数字...]]></description><category></category></item><item><title><![CDATA[彻底理解生成器]]></title><link>https://blog.youkuaiyun.com/l_eaf/article/details/105616750</link><guid>https://blog.youkuaiyun.com/l_eaf/article/details/105616750</guid><author>l_eaf</author><pubDate>Sun, 19 Apr 2020 16:06:09 +0800</pubDate><description><![CDATA[1. 生成器定义
在Python中，一边循环一边计算的机制，称为生成器：generator。
2. 为什么要有生成器
列表所有数据都在内存中，如果有海量数据的话将会非常耗内存。
如：仅仅需要访问前面几个元素，那后面绝大多数元素占用的空间都白白浪费了。
如果列表元素按照某种算法推算出来，那我们就可以在循环的过程中不断推算出后续的元素，这样就不必创建完整的list，从而节省大量的空间。
简单一句话：我...]]></description><category></category></item><item><title><![CDATA[pip异常解决办法 Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr]]></title><link>https://blog.youkuaiyun.com/l_eaf/article/details/95510714</link><guid>https://blog.youkuaiyun.com/l_eaf/article/details/95510714</guid><author>l_eaf</author><pubDate>Thu, 11 Jul 2019 19:35:03 +0800</pubDate><description><![CDATA[如果出现上述问题 只需要 在命令后边添加 --user :    pip install django-ckeditor --user  即可解决


]]></description><category></category></item><item><title><![CDATA[Python 一行代码提取字符串每个单词首字母的两种方法]]></title><link>https://blog.youkuaiyun.com/l_eaf/article/details/93397601</link><guid>https://blog.youkuaiyun.com/l_eaf/article/details/93397601</guid><author>l_eaf</author><pubDate>Sun, 23 Jun 2019 18:54:24 +0800</pubDate><description><![CDATA[第一种方法:
使用知识点:
列表推导式
切片 split() 方法
实现案例:
In [1]: a_str = “I Love Python”
In [2]: [i[0] for i in a_str.split(" ")]
Out[2]: [‘I’, ‘L’, ‘P’]
第二种方法:
使用知识点:&nbsp;
正则
\b : 是空格定位符, 匹配一个单词边界，即字与空格间的位置 ;
\w : 匹...]]></description><category></category></item><item><title><![CDATA[u'buntu中pip无法使用，AttributeError: module 'lib' has no attribute 'Cryptography_HAS_SSL_ST'解决办法]]></title><link>https://blog.youkuaiyun.com/l_eaf/article/details/90757034</link><guid>https://blog.youkuaiyun.com/l_eaf/article/details/90757034</guid><author>l_eaf</author><pubDate>Mon, 03 Jun 2019 18:50:27 +0800</pubDate><description><![CDATA[问题描述：
$ pip3
Traceback (most recent call last):
File “/usr/local/bin/pip3”, line 7, in 
from pip._internal import main
File “/usr/local/lib/python3.5/dist-packages/pip/_internal/init.py”, line 42, in ...]]></description><category></category></item></channel></rss>