<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[RSS Feed]]></title><description><![CDATA[RSS Feed]]></description><link>http://direct.ecency.com</link><image><url>http://direct.ecency.com/logo512.png</url><title>RSS Feed</title><link>http://direct.ecency.com</link></image><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 22:49:29 GMT</lastBuildDate><atom:link href="http://direct.ecency.com/@tengyue/rss" rel="self" type="application/rss+xml"/><item><title><![CDATA[参观北京自然博物馆]]></title><description><![CDATA[之前无数次路过自然博物馆，今天终于有机会陪儿子参观一下！！！ 据说有活恐龙！！！ 小孩子很兴奋啊 看着眼前如此巨大的怪兽，小孩儿被吓的哇哇叫，哈哈 真的很大，还会动。 一只小恐龙，可爱吗？ 看着这么多种类的恐龙，他也只能胡乱的告诉我：这是xxx龙，这是yyy龙。。。。。。 恐龙的繁盛！曾经的地球霸主！ 大海龟！儿子还没见过大海呢！ 好多鱼！ 这只熊大是白色的，咦? 熊二呢？ 人之由来？是猴子变的吗？]]></description><link>http://direct.ecency.com/life/@tengyue/5stukp</link><guid isPermaLink="true">http://direct.ecency.com/life/@tengyue/5stukp</guid><category><![CDATA[life]]></category><dc:creator><![CDATA[tengyue]]></dc:creator><pubDate>Thu, 11 Apr 2019 08:59:09 GMT</pubDate><enclosure url="https://images.ecency.com/p/8SzwQbWfyX8otd4eZcPbbT65oCCrJYBkzUhFnqvXz5LMhSyTojQpa7r1U8oNUKF9kLdZEfAeoPUR3KMZwbH1j3dqQAfR79pFqHcb3uz6kciyR8wHsYS?format=match&amp;mode=fit" length="0" type="false"/></item><item><title><![CDATA[python 读文件报错]]></title><description><![CDATA[代码: with open('C:\Users\tengy\Desktop\aaa.txt') as f: print(f.read()) 问题1、运行一段python代码，读取一个文件报错：UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 205: illegal multibyte sequence 解决： with]]></description><link>http://direct.ecency.com/python/@tengyue/python</link><guid isPermaLink="true">http://direct.ecency.com/python/@tengyue/python</guid><category><![CDATA[python]]></category><dc:creator><![CDATA[tengyue]]></dc:creator><pubDate>Thu, 17 Jan 2019 10:36:36 GMT</pubDate></item><item><title><![CDATA[Python2.7 Mtr路由跟踪解析IP]]></title><description><![CDATA[在linux在做路由跟踪时，在某一跳出问题时，并不知道是哪里的ISP有问题，在找到中断ip后必去查该ip的ISP才知道哪里路由有问题，但是每次查找都很麻烦，所以想在得出路由跟踪ip后直接查找ip的ISP并显示出来多好啊，IP库使用taobao的API接口。 ![]( [root@salt ~]# cat ip.py #!/usr/bin/python import]]></description><link>http://direct.ecency.com/python/@tengyue/python2-7-mtr-ip</link><guid isPermaLink="true">http://direct.ecency.com/python/@tengyue/python2-7-mtr-ip</guid><category><![CDATA[python]]></category><dc:creator><![CDATA[tengyue]]></dc:creator><pubDate>Wed, 16 May 2018 08:48:09 GMT</pubDate></item><item><title><![CDATA[基于OpenStack构建企业私有云（1）实验环境准备]]></title><description><![CDATA[一.基础软件包安装 1.安装EPEL仓库 # rpm -ivh 2.安装OpenStack仓库 # yum install -y centos-release-openstack-queens 3.安装OpenStack客户端 # yum install -y python-openstackclient 4.安装openstack SELinux管理包(实验环境关闭selinux可以不安装) #]]></description><link>http://direct.ecency.com/openstack/@tengyue/openstack-1</link><guid isPermaLink="true">http://direct.ecency.com/openstack/@tengyue/openstack-1</guid><category><![CDATA[openstack]]></category><dc:creator><![CDATA[tengyue]]></dc:creator><pubDate>Wed, 16 May 2018 05:31:42 GMT</pubDate></item><item><title><![CDATA[python中global 和 nonlocal 的作用域]]></title><description><![CDATA[最近在学习python，在这里记录学习中的问题 global global关键字用来在函数或其他局部作用域中使用全局变量。但是如果不修改全局变量也可以不使用global关键字。 In [5]: gcount = 0 In [6]: def global_test(): ...: gcount+=1 ...: print (gcount) ...: In [7]: global_test()]]></description><link>http://direct.ecency.com/python/@tengyue/python-global-nonlocal</link><guid isPermaLink="true">http://direct.ecency.com/python/@tengyue/python-global-nonlocal</guid><category><![CDATA[python]]></category><dc:creator><![CDATA[tengyue]]></dc:creator><pubDate>Tue, 08 May 2018 03:28:06 GMT</pubDate></item><item><title><![CDATA[centos7 安装python3.6及相应版本的ipython]]></title><description><![CDATA[环境 默认centos7的python版本是python2.7，并且没有安装ipython 安装python3.6 安装依赖 # yum install xz gcc zlib zlib-devel wget sqlite-devel openssl-devel -y 官网下载源码 # wget 解压文件 # tar xf Python-3.6.1.tar.xz 进入目录安装编译 # cd Python-3.6.1]]></description><link>http://direct.ecency.com/python3/@tengyue/centos7-python3-6-ipython</link><guid isPermaLink="true">http://direct.ecency.com/python3/@tengyue/centos7-python3-6-ipython</guid><category><![CDATA[python3]]></category><dc:creator><![CDATA[tengyue]]></dc:creator><pubDate>Sat, 23 Dec 2017 12:06:00 GMT</pubDate></item><item><title><![CDATA[tengyue的成绩]]></title><description><![CDATA[tengyue的成绩 tengyue的成绩从去年的60分提升到了今年的90分，请计算小明成绩提升的百分点，并用字符串格式化显示出'xx.x%'，只保留小数点后1位。 代码： #! /usr/bin/env python3 # -*- coding: utf8 -*- name = input('plz input your name: ') lys = int(input('plz input your]]></description><link>http://direct.ecency.com/python-study/@tengyue/tengyue</link><guid isPermaLink="true">http://direct.ecency.com/python-study/@tengyue/tengyue</guid><category><![CDATA[python-study]]></category><dc:creator><![CDATA[tengyue]]></dc:creator><pubDate>Thu, 21 Dec 2017 08:51:48 GMT</pubDate><enclosure url="https://images.ecency.com/p/2gsjgna1uruvUuS7ndh9YqVwYGPLVszbFLwwpAYXYga79gu85vUGpmkBGaTEyY6tKG9xZEbcw1jjefqHKGVkkmLufbWN3Kr9mLgiVXnM5tSCLoFUsQ?format=match&amp;mode=fit" length="0" type="false"/></item><item><title><![CDATA[markdown]]></title><description><![CDATA[一直想利用markdown记录生活和工作中的点滴 下边是markdown源码 # 欢迎在steemit上使用markdown --- > * 整理知识，学习笔记 > * 发布日志，杂文，所见所想 > * 撰写技术文档（代码支持） **** ![steemmit]( ## 1. 制作一份待办事宜 - [ ] 支持以 PDF 格式导出文稿 - [ ] 改进 Cmd]]></description><link>http://direct.ecency.com/test/@tengyue/test</link><guid isPermaLink="true">http://direct.ecency.com/test/@tengyue/test</guid><category><![CDATA[test]]></category><dc:creator><![CDATA[tengyue]]></dc:creator><pubDate>Wed, 20 Dec 2017 07:29:42 GMT</pubDate><enclosure url="https://images.ecency.com/p/2gsjgna1uruvUuS7ndh9YqVwYGPLVszbFLwwpAYXa4NrEhc3QRVLeDa3SWFuU7cpwWpmMcMMBgV3TeLA4J1HX4ukSmZYHos91AL5R78HECz3VK4Hze?format=match&amp;mode=fit" length="0" type="false"/></item></channel></rss>