Time of Update: 2017-11-24
標籤:else utf-8 coding 列印 pre style col += 字串 1 #!/usr/bin/env python 2 # -*- coding:utf-8 -*- 3 #
Time of Update: 2017-11-22
標籤:行資料 chm with inux white proc port cut 重要 一.
Time of Update: 2017-11-21
標籤:ssh 搭建 pytho mysql 運行 l資料庫 撥號 空閑 環境搭建 上班有點時間想把片段時間用來學python辦公電腦一台:win7
Time of Update: 2017-11-22
標籤:變數 ffffff 整數 lin 格式化 air height float ati 習題 3:
Time of Update: 2017-11-22
標籤:準備 工作 qq空間 safari es2017 secure roi requests 5.0 閑來無事準備寫一個爬蟲來爬取自己QQ空間的所有說說和圖片-。- 首先準備工作,進
Time of Update: 2017-11-23
標籤:string int als 執行 sum 數值 條件判斷 字元 keyword 一 條件判斷 if <條件判斷1>: <執行1>elif
Time of Update: 2017-11-21
標籤:mon func sof 複製 析構 成員變數 屬性 16px 對象 #!/usr/bin/env python# -*- coding: utf-8 -*-# @Time : 20
Time of Update: 2017-11-23
標籤:地址 efi query lex comm 說明 style dig pre Django-model基礎表的建立(模型建立)例1:from django.db import
Time of Update: 2017-11-22
標籤:pre win 好的 html 還需要 解析 簡潔 os
Time of Update: 2017-11-23
標籤:訪問 tuple toc 替代 包含 art 刪除元素 python lan a = ‘python‘print(‘hello,‘, a or ‘world‘)b = ‘‘print (‘
Time of Update: 2017-11-20
標籤:python之前學習了logger模組的使用,可以自訂一個logger實現同時向檔案和螢幕輸出。但是在使用軟體目錄開發規範來組織代碼的時候,需要將代碼做成一個一個的代碼塊,就遇到了一系列的問題。首先是自訂logger的例子:import logging# 先建立一個loggerlogger = logging.getLogger(__name__) # 定義Logger的名字,之前直接用logging調用的名字是roo
Time of Update: 2017-11-19
標籤:java 進位 使用 條件 處理 軌跡 super 一個 nbsp 程式、進程及線程的區別電腦程式是磁碟中可執行檔位元據(或者其他類型)他們只有在被讀取到記憶體中,被作業系統調用才開始他們
Time of Update: 2017-11-19
標籤:php 分詞 在採集美女站時,需要對關鍵詞進行分詞,最終採用的是python的結巴分詞方法.中文分詞是中文文本處理的一個基礎性工作,結巴分詞利用進行中文分詞。其基本實現原理有三點:基於Trie樹結構實現高效的詞圖掃描,產生句子中漢字所有可能成詞情況所構成的有向非循環圖(DAG)採用了動態規劃尋找最大機率路徑,
Time of Update: 2017-11-19
標籤:序列 插入 列表 pop extend 刪除元素 rem 字串轉換 list list函數可以將字串轉換為列表‘
Time of Update: 2017-11-24
python開搞,python開1. tranceback 是一條記錄2. print(name.title()) 首字母大寫 print(name.upper()) 大寫
Time of Update: 2017-11-23
Python2和3的主要區別,Python2區別一、print在 python2 中 print 是一條語句,而在 python3 中 print 作為函數存在。# python2>>> print ("hello")hello# python3 >>> print ("hello")hello 這樣看好像沒有什麼區別,python2 好像也可以把 print 當做函數使用,但是僅僅是表象而已,前者是把 ("hello")當作一個整體,而後者
Time of Update: 2017-11-24
01_python基礎練習_01login,01_python_01loginREADME:How to use it: There is a file with username and password named 'username.txt' in directory 'login'. When user inputs username and password, the program will verify it. If they are wrong, user can
Time of Update: 2017-11-22
Windows下載安裝Numpy、Scipy、py-matplotlib,numpyscipy一、安裝環境Windows10
Time of Update: 2017-11-21
CP1934-麥子深度學習深入與強化,cp1934-麥子麥子深度學習第三階段深入與強化隨筆背景:在很多時候,很多入門不久的朋友都會問我:我是從其他語言轉到程式開發的,有沒有一些基礎性的資料給我們學習學習呢,你的架構感覺一下太大了,希望有個循序漸進的教程或者視頻來學習就好了。對於學習有困難不知道如何提升自己可以加扣:1225462853進行交流得到協助,擷取學習資料.CP1934-麥子深度學習深入與強化:https://pan.baidu.com/s/2FjsshZ
Time of Update: 2017-11-20
使用虛擬環境virtualenv/Virtualenvwrapper隔離多個python,virtualenv系統中的多個python混用會導致$PYTHONPATH混亂,或者各個工程對於package的版本要求不同等等情況。有一個簡單的解決方案就是用virtualenv來隔離多個python,其本質只是實現隔離不同python中$PYTHONPATH的路徑,當然也可以衍生到隔離多個$PATH。安裝virtualenv# Ubuntu/Linux 64-bit$ sudo apt-get