index.html 19.0 KB
Newer Older
T
TRHX 已提交
1 2 3 4 5 6 7 8 9 10
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  <title>Tag: 文件 | TRHX&#39;s Blog - Live for code!</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="一个大学生用于自学的个人博客">
<meta property="og:type" content="website">
<meta property="og:title" content="TRHX&#39;s Blog - Live for code!">
T
TRHX 已提交
11
<meta property="og:url" content="https://trhx.top/tags/文件/index.html">
T
TRHX 已提交
12 13 14 15 16 17 18
<meta property="og:site_name" content="TRHX&#39;s Blog - Live for code!">
<meta property="og:description" content="一个大学生用于自学的个人博客">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="TRHX&#39;s Blog - Live for code!">
<meta name="twitter:description" content="一个大学生用于自学的个人博客">
  
T
TRHX 已提交
19 20
    <link rel="alternative" href="/atom.xml" title="TRHX&#39;s Blog - Live for code!" type="application/atom+xml">
  
T
TRHX 已提交
21 22 23 24
  
    <link rel="icon" href="/img/trhx2.png">
  
  
T
TRHX 已提交
25 26
      <link rel="stylesheet" href="//cdn.bootcss.com/animate.css/3.5.0/animate.min.css">
  
T
TRHX 已提交
27 28 29 30 31 32 33 34 35 36 37 38 39 40
  <link rel="stylesheet" href="/css/style.css">
  <link rel="stylesheet" href="/font-awesome/css/font-awesome.min.css">
  <link rel="apple-touch-icon" href="/apple-touch-icon.png">
  
  
      <link rel="stylesheet" href="/fancybox/jquery.fancybox.css">
  
  <!-- 加载特效 -->
    <script src="/js/pace.js"></script>
    <link href="/css/pace/pace-theme-flash.css" rel="stylesheet" />
  <script>
      var yiliaConfig = {
          rootUrl: '/',
          fancybox: true,
T
TRHX 已提交
41
          animate: true,
T
TRHX 已提交
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
          isHome: false,
          isPost: false,
          isArchive: false,
          isTag: true,
          isCategory: false,
          open_in_new: false
      }
  </script>
</head>
<body>
  <div id="container">
    <div class="left-col">
    <div class="overlay"></div>
<div class="intrude-less">
    <header id="header" class="inner">
        <a href="/" class="profilepic">
            
T
TRHX 已提交
59
            <img lazy-src="/img/trhx.png" class="js-avatar">
T
TRHX 已提交
60 61 62 63
            
        </a>

        <hgroup>
T
TRHX 已提交
64
          <h1 class="header-author"><a href="/" title="斯是陋室 惟吾德馨">TRHX</a></h1>
T
TRHX 已提交
65 66 67
        </hgroup>

        
T
TRHX 已提交
68
        <p class="header-subtitle">路漫漫其修远兮 吾将上下而求索</p>
T
TRHX 已提交
69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
        
        
            <form>
                <input type="text" class="st-default-search-input search" id="search" placeholder=" Search...">
            </form>
        
        
            <div id="switch-btn" class="switch-btn">
                <div class="icon">
                    <div class="icon-ctn">
                        <div class="icon-wrap icon-house" data-idx="0">
                            <div class="birdhouse"></div>
                            <div class="birdhouse_holes"></div>
                        </div>
                        <div class="icon-wrap icon-ribbon hide" data-idx="1">
                            <div class="ribbon"></div>
                        </div>
                        
                        
                        <div class="icon-wrap icon-me hide" data-idx="3">
                            <div class="user"></div>
                            <div class="shoulder"></div>
                        </div>
                        
                    </div>
                    
                </div>
                <div class="tips-box hide">
                    <div class="tips-arrow"></div>
                    <ul class="tips-inner">
                        <li>菜单</li>
                        <li>标签云</li>
                        
                        
                        <li>关于我</li>
                        
                    </ul>
                </div>
            </div>
        
        <div id="switch-area" class="switch-area">
            <div class="switch-wrap">
                <section class="switch-part switch-part1">
                    <nav class="header-menu">
                        <ul>
                        
                            <li><a href="http://trhx.top">博客首页</a></li>
                        
                            <li><a href="/archives">所有文章</a></li>
                        
                            <li><a href="/tags">静心阅读</a></li>
                        
                            <li><a href="/Message Board">友链 &amp; 留言板</a></li>
                        
                        </ul>
                    </nav>
                    <nav class="header-nav">
                        <ul class="social">
                            
T
TRHX 已提交
128
                                <a class="f1 Github" target="_blank" href="https://github.com/TRHX" title="Github">Github</a>
T
TRHX 已提交
129 130 131
                            
                                <a class="f1 CSDN" target="_blank" href="https://blog.csdn.net/qq_36759224" title="CSDN">CSDN</a>
                            
T
TRHX 已提交
132
                                <a class="f1 Zhihu" target="_blank" href="https://www.zhihu.com/people/tan-70-56/activities" title="Zhihu">Zhihu</a>
T
TRHX 已提交
133 134 135
                            
                                <a class="f1 QQ" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2273902448&site=qq&menu=yes" title="QQ">QQ</a>
                            
T
TRHX 已提交
136 137 138 139 140 141 142
                                <a class="f1 Wechat" target="_blank" href="https://i.imgur.com/TZGIpSD.jpg" title="Wechat">Wechat</a>
                            
                                <a class="f1 Weibo" target="_blank" href="http://weibo.com/TRHX1" title="Weibo">Weibo</a>
                            
                                <a class="f1 bilibili" target="_blank" href="http://space.bilibili.com/314463806?" title="bilibili">bilibili</a>
                            
                                <a class="f1 Mail" target="_blank" href="mailto:&#116;&#114;&#104;&#120;&#64;&#102;&#111;&#120;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;" title="Mail">Mail</a>
T
TRHX 已提交
143
                            
T
TRHX 已提交
144 145
                                <a class="f1 RSS" target="_blank" href="/atom.xml" title="RSS">RSS</a>
                            
T
TRHX 已提交
146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
                        </ul>
                    </nav>
                </section>
                
                <section class="switch-part switch-part2">
                    <div class="widget tagcloud" id="js-tagcloud">
                        <a href="/tags/Dream/" style="font-size: 10px;">Dream</a> <a href="/tags/Github-Pages/" style="font-size: 10px;">Github Pages</a> <a href="/tags/Hexo/" style="font-size: 20px;">Hexo</a> <a href="/tags/Life/" style="font-size: 10px;">Life</a> <a href="/tags/Markdown/" style="font-size: 20px;">Markdown</a> <a href="/tags/Ubuntu/" style="font-size: 10px;">Ubuntu</a> <a href="/tags/VMware/" style="font-size: 10px;">VMware</a> <a href="/tags/if语句/" style="font-size: 10px;">if语句</a> <a href="/tags/input-函数/" style="font-size: 10px;">input()函数</a> <a href="/tags/while循环/" style="font-size: 10px;">while循环</a> <a href="/tags/主题个性化/" style="font-size: 10px;">主题个性化</a> <a href="/tags/函数/" style="font-size: 10px;">函数</a> <a href="/tags/列表/" style="font-size: 10px;">列表</a> <a href="/tags/变量/" style="font-size: 10px;">变量</a> <a href="/tags/字典/" style="font-size: 10px;">字典</a> <a href="/tags/异常/" style="font-size: 10px;">异常</a> <a href="/tags/技巧/" style="font-size: 10px;">技巧</a> <a href="/tags/操作列表/" style="font-size: 10px;">操作列表</a> <a href="/tags/数据类型/" style="font-size: 10px;">数据类型</a> <a href="/tags/文件/" style="font-size: 10px;">文件</a> <a href="/tags/模块/" style="font-size: 10px;">模块</a> <a href="/tags/类/" style="font-size: 10px;"></a> <a href="/tags/继承/" style="font-size: 10px;">继承</a> <a href="/tags/编辑器/" style="font-size: 10px;">编辑器</a>
                    </div>
                </section>
                
                
                
                
                <section class="switch-part switch-part3">
                
                    <div id="js-aboutme">单车入魔、编程入门、爱折腾、爱刺激、爱编程、爱科技</div>
                </section>
                
            </div>
        </div>
T
TRHX 已提交
166
    </header>
T
TRHX 已提交
167 168
</div>

T
TRHX 已提交
169
<!--网易云音乐
T
TRHX 已提交
170
<div style="position:absolute; bottom:55px; left:0px; width:50%">
T
TRHX 已提交
171 172
    <iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=300 height=90 src="//music.163.com/outchain/player?type=2&id=32405683&auto=0&height=66"></iframe>
</div>
T
TRHX 已提交
173
-->
T
TRHX 已提交
174 175 176 177 178 179 180 181 182 183 184
    </div>
    <div class="mid-col">
      <nav id="mobile-nav">
      <div class="overlay">
          <div class="slider-trigger"></div>
          <h1 class="header-author js-mobile-header hide"><a href="/" title="Me">TRHX</a></h1>
      </div>
    <div class="intrude-less">
        <header id="header" class="inner">
            <a href="/" class="profilepic">
                
T
TRHX 已提交
185
                    <img lazy-src="/img/trhx.png" class="js-avatar">
T
TRHX 已提交
186 187 188 189 190 191
                
            </a>
            <hgroup>
              <h1 class="header-author"><a href="/" title="Me">TRHX</a></h1>
            </hgroup>
            
T
TRHX 已提交
192
            <p class="header-subtitle">路漫漫其修远兮 吾将上下而求索</p>
T
TRHX 已提交
193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
            
            <nav class="header-menu">
                <ul>
                
                    <li><a href="http://trhx.top">博客首页</a></li>
                
                    <li><a href="/archives">所有文章</a></li>
                
                    <li><a href="/tags">静心阅读</a></li>
                
                    <li><a href="/Message Board">友链 &amp; 留言板</a></li>
                
                <div class="clearfix"></div>
                </ul>
            </nav>
            <nav class="header-nav">
                <div class="social">
                    
T
TRHX 已提交
211
                        <a class="Github" target="_blank" href="https://github.com/TRHX" title="Github">Github</a>
T
TRHX 已提交
212 213 214
                    
                        <a class="CSDN" target="_blank" href="https://blog.csdn.net/qq_36759224" title="CSDN">CSDN</a>
                    
T
TRHX 已提交
215
                        <a class="Zhihu" target="_blank" href="https://www.zhihu.com/people/tan-70-56/activities" title="Zhihu">Zhihu</a>
T
TRHX 已提交
216 217 218
                    
                        <a class="QQ" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2273902448&site=qq&menu=yes" title="QQ">QQ</a>
                    
T
TRHX 已提交
219 220 221 222 223 224 225
                        <a class="Wechat" target="_blank" href="https://i.imgur.com/TZGIpSD.jpg" title="Wechat">Wechat</a>
                    
                        <a class="Weibo" target="_blank" href="http://weibo.com/TRHX1" title="Weibo">Weibo</a>
                    
                        <a class="bilibili" target="_blank" href="http://space.bilibili.com/314463806?" title="bilibili">bilibili</a>
                    
                        <a class="Mail" target="_blank" href="mailto:&#116;&#114;&#104;&#120;&#64;&#102;&#111;&#120;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;" title="Mail">Mail</a>
T
TRHX 已提交
226
                    
T
TRHX 已提交
227 228
                        <a class="RSS" target="_blank" href="/atom.xml" title="RSS">RSS</a>
                    
T
TRHX 已提交
229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291
                </div>
            </nav>
        </header>                
    </div>
</nav>
      <div class="body-wrap">
  
  
    
    
      
      
      <section class="archives-wrap">
        <div class="archive-year-wrap">
          <a href="/archives/2018" class="archive-year">2018</a>
        </div>
        <div class="archives">
    
    <article class="archive-article archive-type-post">
  <div class="archive-article-inner">
    <header class="archive-article-header">
          <div class="article-meta">
              <a href="/2018/11/16/Python3 自学笔记 C09/" class="archive-article-date">
      <time datetime="2018-11-15T16:37:26.503Z" itemprop="datePublished">11-16</time>
</a>
        </div>
         
  
    <h1 itemprop="name">
      <a class="archive-article-title" href="/2018/11/16/Python3 自学笔记 C09/">Python3 自学笔记 C09</a>
    </h1>
  

        <div class="article-info info-on-archive">
          
    <div class="article-category tagcloud">
    <a class="article-category-link" href="/categories/Python/">Python</a>
    </div>


          
    <div class="article-tag tagcloud">
        <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/异常/">异常</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/文件/">文件</a></li></ul>
    </div>

        </div>
        <div class="clearfix"></div>
    </header>
  </div>
</article>
  
  
    </div></section>
  

    

</div>
      <footer id="footer">
    <div class="outer">
        <div id="footer-info">
            <div class="footer-left">
                &copy; 2018 <a href="http://trhx.top" target="_blank"> TRHX </a>
T
TRHX 已提交
292 293
                <a>斯是陋室 惟吾德馨</a>
                <!--
T
TRHX 已提交
294 295 296 297 298
                <span>
                <i class="fa fa-italic"> </i>
                <i class="fa fa-heartbeat"> </i>
                <i class="fa fa-yahoo"> </i>
                </span>
T
TRHX 已提交
299
                -->
T
TRHX 已提交
300 301 302
            </div>
            <div class="footer-right">
                <span><i class="fa fa-paw"> </i></span>
T
TRHX 已提交
303
                <a href="http://hexo.io/" target="_blank">Hexo</a>  Theme spfk by <a href="https://github.com/luuman/hexo-theme-spfk" target="_blank">luuman</a>
T
TRHX 已提交
304 305
                <span><i class="fa fa-paw"> </i></span>
            </div>
T
TRHX 已提交
306 307 308 309 310
        </div>
        
            <div class="visit">
                
                    <span id="busuanzi_container_site_pv" style='display:none'>
T
TRHX 已提交
311
                    <span><i class="fa fa-spinner fa-spin"> </i></span>
T
TRHX 已提交
312
                        <font color=#FFFFFF>
T
TRHX 已提交
313 314 315 316 317 318 319 320 321 322 323 324 325
                            <span id="timeDate">载入天数...</span><span id="times">载入时分秒...</span> 
                            <script> 
                                var now = new Date(); 
                                function createtime() 
                                { 
                                  var grt= new Date("08/10/2018 17:38:00");//此处修改你的建站时间或者网站上线时间 
                                  now.setTime(now.getTime()+250); 
                                  days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days); 
                                  hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours); 
                                  if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum); 
                                  mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;} 
                                  seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum); 
                                  snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;} 
T
TRHX 已提交
326
                                  document.getElementById("timeDate").innerHTML = " 鄙站已运行 "+ dnum +""; 
T
TRHX 已提交
327 328 329 330 331
                                  document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + "" + snum + ""; 
                                } 
                                setInterval("createtime()",250); 
                            </script>
                        </font>
T
TRHX 已提交
332 333 334
                        <span>
                         <i class="fa fa-paper-plane"> </i>
                        </span>
T
TRHX 已提交
335 336 337 338 339 340
                        <span id="site-visit" >本站到访数: 
                            <span id="busuanzi_value_site_uv"></span>
                        </span>
                    </span>
                
                
T
TRHX 已提交
341 342 343
                    <span>
                         <i class="fa fa-paper-plane"> </i>
                    </span>
T
TRHX 已提交
344 345 346 347 348
                
                
                    <span id="busuanzi_container_page_pv" style='display:none'>
                        <span id="page-visit">本页阅读量: 
                            <span id="busuanzi_value_page_pv"></span>
T
TRHX 已提交
349 350
                            <span id="busuanzi_value_page_pv"></span>
                            <span><i class="fa fa-spinner fa-spin"> </i></span>
T
TRHX 已提交
351 352 353 354 355 356 357 358 359 360 361 362 363
                        </span>
                    </span>
                
            </div>
        
    </div>
</footer>
    </div>
    <script src="https://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js"></script>
<script src="/js/main.js"></script>

    <script>
        $(document).ready(function() {
T
TRHX 已提交
364
            var backgroundnum = 44;
T
TRHX 已提交
365
            var backgroundimg = "url(/background/bg-x.jpg)".replace(/x/gi, Math.ceil(Math.random() * backgroundnum));
T
TRHX 已提交
366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431
            $("#mobile-nav").css({"background-image": backgroundimg,"background-size": "cover","background-position": "center"});
            $(".left-col").css({"background-image": backgroundimg,"background-size": "cover","background-position": "center"});
        })
    </script>




	<script>
		var _hmt = _hmt || [];
		(function() {
			var hm = document.createElement("script");
			hm.src = "https://hm.baidu.com/hm.js?68019af241ffe13fed16341dc16acd4f";
			var s = document.getElementsByTagName("script")[0]; 
			s.parentNode.insertBefore(hm, s);
		})();
		</script>


<div class="scroll" id="scroll">
    <a href="#"><i class="fa fa-arrow-up"></i></a>
    <a href="#comments"><i class="fa fa-comments-o"></i></a>
    <a href="#footer"><i class="fa fa-arrow-down"></i></a>
</div>
<script>
    $(document).ready(function() {
        if ($("#comments").length < 1) {
            $("#scroll > a:nth-child(2)").hide();
        };
    })
</script>

    <button class="hide-labels">TAG 开关</button>
    <script src="https://7.url.cn/edu/jslib/comb/require-2.1.6,jquery-1.9.1.min.js">
    </script>
    <script>
        $(document).ready(function() {
            $("button").click(function() {
                $(".article-info").toggle(200);
            });
        });
    </script>

<link rel="stylesheet" href="//cdn.bootcss.com/font-awesome/4.3.0/css/font-awesome.min.css">
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js">
</script>


    <script type="text/javascript">
      window.onload = function(){
        document.getElementById("search").onclick = function(){
            console.log("search")
            search();
        }
      }
      function search(){
        (function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
        (w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
        e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
        })(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');

        _st('install','A1Pz-LKMXbrzcFg2FWi6','2.0.0');
      }
    </script>

  </div>
T
TRHX 已提交
432
</body>
T
TRHX 已提交
433 434
</html>

T
TRHX 已提交
435
<!--动态线条背景
T
TRHX 已提交
436 437 438
<script type="text/javascript"
color="220,220,220" opacity='0.7' zIndex="-2" count="220" src="//cdn.bootcss.com/canvas-nest.js/1.0.0/canvas-nest.min.js">
</script>
T
TRHX 已提交
439
-->
T
TRHX 已提交
440

T
TRHX 已提交
441 442 443
<!--单击显示文字-->
<script type="text/javascript" src="/js/click_show_text.js"></script>

T
TRHX 已提交
444 445
<!--浏览器搞笑标题-->
<script type="text/javascript" src="\js\FunnyTitle.js"></script>