原创 matplotlib 畫圖以及ZT統計,
#!/usr/bin/python #coding=utf-8 #import talib import numpy as np import pandas as pd import tushare as ts import ma
原创 愛家項目筆記
前後端分離: 前後端分離爲何要用Nginx?: https://www.jianshu.com/p/801f503cc9ee 建立數據庫: 數據庫相關代碼如下: 2.網頁的緩存,藉助redis : 然後: 3
原创 Android 開發者學習路線(2020 版)
https://medium.com/mindorks/android-development-learning-path-2020-edition-3f464ac56dbf 視頻: https://www.youtube.com
原创 python sqlite3煎蛋(簡單程序)
在這裏偷一個例子db(chinook.db) : https://www.sqlitetutorial.net/sqlite-sample-database/ import sqlite3 conn = sqlite3.conn
原创 WIN10 FLASK 安裝 和第一個hello world
Microsoft Windows [版本 10.0.18362.778] © 2019 Microsoft Corporation。保留所有權利。 C:\Users\pc>F: F:>cd python_ven_demo F:\
原创 Check if any String is empty in list,First Non-Empty String in list
預備知識:any() Any(x)判斷x對象是否爲空對象,如果都爲空、0、false,則返回false,如果不都爲空、0、false,則返回true 請看https://docs.python.org/上的定義: any(iter
原创 operator.itemgetter,
operator.itemgetter函數 operator模塊提供的itemgetter函數用於獲取對象的哪些維的數據,參數爲一些序號(即需要獲取的數據在對象中的序號),下面看例子。 >>> a = [1,2,3,4,5,6]
原创 Python Property – The Problem and Solution
https://data-flair.training/blogs/python-property-problem-solution/ >> class Song: def __init__(self ,title): s
原创 八皇之戰
第一季,第一集。 鐵木真統一草原以後,雄心萬丈,率大軍呼嘯南下,向河套地區進軍,遇到了秦始皇大將蒙恬在長城附近的屯軍,蒙恬將軍和鐵木真短暫交手後落敗,嚴令各要塞堅守城池不出,並派飛騎去咸陽向秦始皇作述職報告。 就在鐵木真南征時,東
原创 list comprehension
>>> num = [x for x in range(100) if x%2 ==0] num [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32
原创 List,Set,Map三者的區別
List(對付順序的好幫手): List接口存儲一組不唯一(可以有多個元素引用相同的對象),有序的對象 List in Java provides ordered and indexed collection which may
原创 看毒梟學英語第2季
adequate 英 [ˈædɪkwət] 美 [ˈædɪkwət] adj. 充足的;適當的;勝任的 smuggle: 偷渡,走私, 英 [ˈsmʌɡl] 美 [ˈsmʌɡl] vt. 走私;偷運 philosoph
原创 LIN2.1
The LIN is a serial communications protocol which efficiently supports the control of mechatronics nodes in distrib
原创 將一個word文檔自動複製100份
import os from os.path import join import shutil def copy_file_to_dir(file,number): if os.path.exists(file
原创 think in Java note _組合與繼承
組合 ```java package thinginginJ; class WaterSource { private String s; WaterSource() { System.out.println("Wa