發表文章

目前顯示的是 6月, 2023的文章

黃俊珵微軟ACCESS查詢SQL語法ASC上升DESC下降

圖片
累積數目 簽證公司數目 match index 1 Large 339 第一大 408 勤業眾信聯合會計師事務所 340 227 第二大 752 資誠聯合會計師事務所 567 219 第三大 138 安侯建業聯合會計師事務所 786 106 第四大 32 安永聯合會計師事務所 892 28 第五大 375 國富浩華聯合會計師事務所 180 181 取得連結 Facebook Twitter

黃俊珵EXCEL樞紐分析PivotTable交叉篩選Slicer

圖片
EXCEL另存範圍為html 黃俊珵2023/5/1統計於德明科大A106教室 台灣上市公司簽證會計師 簽證公司數目 勤業眾信聯合會計師事務所      339 資誠聯合會計師事務所          227 安侯建業聯合會計師事務所      219 安永聯合會計師事務所          106 國富浩華聯合會計師事務所      28 正風聯合會計師事務所          14 立本台灣聯合會計師事務所      12 信永中和聯合會計師事務所      6 大中國際聯合會計師事務所      5 德昌聯合會計師事務所          5 致遠聯合會計師事務所          4 惠眾聯合會計師事務所          3 群智聯合會計師事務所          3 建智聯合會計師事務所          3 霈昇聯合會計師事務所   ...

黃俊珵類別class __init__(self, 其他參數)

圖片
w3schools類別class class Person: #定義類別class稱為Person def __init__(self, name, age): #起始屬性函數一律稱__init__ self.name = name self.age = age def myfunc(self): print("嗐,我的\n名字是" + self.name) #字串中\n換列 print("嗐,我的") print("名字是" + self.name) p1 = Person("黃俊珵", 36) #利用類別建構物件(實例) p1.myfunc() 多邊形類別class from tkinter import * #從函式庫 tkinter 輸入所有 * 方法 import math #從函式庫 math 輸入所有 * 方法 from time import * from random import * class Regular: def __init__(self, cx, cy, cr, s, t, c, w): #類別共同的設定必然 def __init__ initiate發起 self.cx, self.cy, self.cr = cx, cy, cr #取得中心座標cx, cy, 半徑cr self.s, self.t = s, t #取得邊角數目s,t尖銳程度,取代原來的k = s.get() self.c, self.w = c, w #取得顏色c,寬度w self.u = 2 * math.pi / self.s #使用模組 math 圓周率 pi self.x, self.y = [], [] for i in range( int(self.s * 1.5)): self.x.append(self.cx + self.cr*math.cos(i*self.u)) self.y.appe...

黃俊珵tkinter視窗套件Entry工具代替OptionMenu工具

圖片
from tkinter import * #從函式庫 tkinter 輸入所有 * 方法 import math #從函式庫 math 輸入所有 * 方法 from time import * from random import * class Regular: def __init__(self, cx, cy, cr, s, t, c, w): #類別共同的設定必然 def __init__ initiate發起 self.cx, self.cy, self.cr = cx, cy, cr #取得中心座標cx, cy, 半徑cr self.s, self.t = s, t #取得邊角數目s,t尖銳程度,取代原來的k = s.get() self.c, self.w = c, w #取得顏色c,寬度w self.u = 2 * math.pi / self.s #使用模組 math 圓周率 pi self.x, self.y = [], [] for i in range( int(self.s * 1.5)): self.x.append(self.cx + self.cr*math.cos(i*self.u)) self.y.append(self.cy + self.cr*math.sin(i*self.u)) def drawLine(self, x0, y0, x1, y1): canvas.create_line(x0, y0, x1, y1, width = self.w, fill=self.c) def draw(self): #類別的方法 secondTime = second.get() #取得輸入的second變數,當作區域變數secondTime for i in range( int(self.s * 1.5) - self.t): self.drawLine(self.x[i], s...