Time of Update: 2017-07-15
標籤:python 1.函數本身也可以賦值給變數,即:變數可以指向函數。函數名其實就是指向函數的變數!650) this.width=650;" src="https://s5.51cto.com/wyfs02/M02/9B/EB/wKiom1loo-3htg2zAABIPnuFOsg743.png" title="H0C%QSG1~G%RTXU2(1$9I%J.png" alt="wKiom1loo-3htg2zAABIPnuFOsg743.png" />&
Time of Update: 2017-07-15
標籤:frame orm 測試 exist tpc import 對象 dal method 一、作業需要使用SELECT或SELECTORS模組實現並發簡單版FTP允許多使用者並發上傳下載檔案
Time of Update: 2017-07-15
標籤:obj cell object collect gen 產生器 斐波那契 after 不能 裝飾器產生器迭代器 一、裝飾器裝飾器是函數,官方叫文法糖,只不過該函數可以具有特殊的含
Time of Update: 2017-07-15
標籤:python 元祖************** 元組tuple ***************元組的定義 - 定義空元組 tuple = ()- 定義單個值的元組 tuple = (fentiao,)- 一般的元組(元素有列表,元組,字元)tuple = (fentiao, 8, male) >>> t = (1,2,(1,2),[1,2])
Time of Update: 2017-07-15
標籤:filename markdown ade line path add ide addclass with 在通過尾碼名尋找類型檔案的時候, 多次使用endwith,
Time of Update: 2017-07-15
標籤:href 如何 parameter 進程 標準 伺服器 9.png bin 隊列 一:RabbitMQ介紹 RabbitMQ是AMPQ(進階訊息協議隊列)的標準實現。也就是說
Time of Update: 2017-07-15
標籤:ogr put end pre use interface 伺服器 break list 伺服器端:# Echo server program from socket import *
Time of Update: 2017-07-14
標籤:sha pytho 磁碟 通過 bsp rem csharp 學習 sharp 檔案的操作一般分三步:1、開啟檔案,擷取檔案的指標(控制代碼)2、通過指標(控制代碼)操作檔案3、關閉檔案現
Time of Update: 2017-07-15
標籤:one code self == width imp 對象 log height 一、方法重新#!/usr/bin/python# -*- coding: UTF-8 -*- class
Time of Update: 2017-07-14
標籤:python列表的定義 定義一個空列表list = [] 定義一個包含元素的列表,元素可以是任意類型,包括數實值型別,列表,字串等均可。650) this.width=650;" src="http://img.blog.csdn.net/20170714164204028" alt="20170714164204028" />列表的索引下標是從0開始計算,比如list[0]讀取的是列表的第1個元素;list[-1]讀取的是列表的倒數第1個元素;650) this.width=650;"
Time of Update: 2017-07-13
標籤:port rcp utf-8 中文 title sim 標籤 tick param # encoding=utf-8import matplotlib.pyplot as pltfrom
Time of Update: 2017-07-13
標籤:src str 三元 res logs 執行 syntax image 基礎 一、範圍對於變數的範圍,執行聲明並在記憶體中存在,該變數就可以在下面的代碼中使用。123if 1==
Time of Update: 2017-07-13
標籤:基礎 cell 上傳 ftp 二進位 刪除 pad 自動 containe 對檔案操作流程開啟檔案,得到檔案控制代碼並賦值給一個變數通過控制代碼對檔案進行操作關閉檔案 現有檔案如
Time of Update: 2017-07-13
標籤:trace most card 元素 結果 成員 blog 不重複 基本操作 一、概述集合是無序的,天生不重複的資料群組合,它的作用如下:去重,即:把一個列表變成集合,就去重了關係測試,即
Time of Update: 2017-07-13
標籤:comm imp 它的 檢測 var doc pass script 關係型資料庫 由於之前在醫院採集的資料都是拍照得到的處方圖片,而需要用到的是處方的文本形式。因此這兩個星期寫了個小程式
Time of Update: 2017-07-14
標籤:md5 python import hashlib#樣本一hash = hashlib.md5()#將加密內容先用utf-8編碼,防止“Unicode-objects must be encoding before hashing”錯誤hash.update(‘admin‘.encode(‘utf-8‘))print(hash.hexdiges
Time of Update: 2017-07-14
標籤:執行 類型 沒有 name 狀態 資料 是什麼 方式 evel 解譯器執行Python的過程:
Time of Update: 2017-07-13
標籤:remove 結束 測試 reverse dex 執行 排列 app 輸出 註:本文測試環境為
Time of Update: 2017-07-13
標籤:tools form name elf set self tool tor virt pip3 install virtualenv
Time of Update: 2017-07-14
由於之前在醫院採集的資料都是拍照得到的處方圖片,而需要用到的是處方的文本形式。因此這兩個星期寫了個小程式把伺服器的圖片顯示給使用者(到時候雇一些人),讓使用者根據圖片錄入文字資訊。之前都是用java寫web,想到自己最近學機器學習要用python,所以用python來寫一下,此外,因為想用點新東西,也介於程式比較小,所以考慮用mongodb來儲存(雖然確實沒有必要)。基本架構是這樣:(後台語言)python +(web架構和web伺服器)tornado + (資料庫)mongodb