Skip to content

Benjr.tw

  • Linux
    • Stress & Performance
    • Hardware Info
    • System Monitor
    • Security
    • Desktop
    • PXE
    • Filesystem Hierarchy Standard
    • Linux 開機選項
    • Linux Package Manager
    • 備份 Backup
  • Virtualization
    • Docker & Podman
    • CoreOS
  • NAS/SAN
  • Programming Language
    • Python
    • Bash shell script
    • Perl
    • PHP
    • Node.JS
    • VBA
    • javascript
    • Power Query
    • PowerShell
  • WordPress
  • DataBase
    • 資料庫安裝
    • 資料庫語法
    • SQLite
    • MariaDB JSON

Programming Language

Excel Power Query + VBA – 寫入 ODBC ( MySQL )

2022-10-142022-10-25 adminMysql, Power Query, VBA, Windows

Loading

前面一篇利用 ODBC 讓 Excel 讀取資料庫的資料 – https://benjr.tw/104821 , 那可以把 Excel 資料回寫到資料庫嗎? 可以利用 VBA 的功能來做到. 參考文章 https://www.youtube.com/watch?v=VRm8tUerrZU […]

Read more

Excel Power Query – ODBC ( MySQL )

2022-10-072022-10-17 adminMysql, Power Query, Windows

Loading

Excel 的 Data Source 支援多種來源, 除了從檔案外還支援 ODBC 如 MySQL 等資料庫來源 ,下面就來看一下要怎麼從 Excel 同步 (synchronization) 資料庫的資料. 參考文章 https://www.youtube.com/watch?v=VRm8tUe […]

Read more

Python – 使用 Flask 模組建立 API

2022-09-212022-09-21 adminLinux, Python, RedHat / CentOS

Loading

參考 – https://jeffwen0105.com/%E7%AC%AC%E4%B8%80%E6%AC%A1%E4%BD%BF%E7%94%A8-python-flask-restful-api-%E5%B0%B1%E4%B8%8A%E6%89%8B-get-%E6%96%B9%E6 […]

Read more

Python – singledispatch decorator

2022-09-212022-09-21 adminLinux, Node.JS, Python, RedHat / CentOS

Loading

使用 functools.singledispatch 可以讓程式更容易閱讀,來看以下2個範例. 測試環境為 CentOS 8 x86_64 , 參考範例 – https://towardsdatascience.com/simplify-your-functions-with-func […]

Read more

Python – with 語法

2022-09-052022-09-06 adminLinux, Python, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 (虛擬機) Python 使用 with 語法時,可以免除自行編寫 try 與 finially ,但只限定使用在 context manager class (內容管理員類別) 或是自行定義 __enter__ 與 __exit__ method (方法 […]

Read more

Python – KeyBert ( + Tag)

2022-08-312022-11-01 adminLinux, Python, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 (虛擬機) 如何透過 Python 套件將文章內容自動加 Tag(標籤) , 參考文章 – https://www.analyticsvidhya.com/blog/2022/01/four-of-the-easiest-and-most-ef […]

Read more

Python – Json 資料格式

2022-08-302022-09-26 adminLinux, Python, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 (虛擬機) Python 的資料格式是沒有 JSON (JavaScript Object Notation , 輕量級資料交換語言), JSON 格式如下: 這格式跟 Python 的 dict ( dictionary )資料型態物件類似,資料一樣由 […]

Read more

Python – SQLite

2022-08-232022-09-13 adminLinux, Python, RedHat / CentOS, SQLite

Loading

測試環境為 CentOS 8 x86_64 (虛擬機) 參考範例 – https://note.charlestw.com/python-how-to-connect-sqlite/ python 可以將資料儲存在 sqlite 資料庫裡. 匯入 sqlite3 套件. 透過 sqlit […]

Read more

Python – Set 資料型態物件

2022-08-222022-08-31 adminLinux, Python, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 (虛擬機) 參考文章 – https://docs.python.org/zh-tw/3/tutorial/datastructures.html#sets 集合 (Sets) 存儲一組無序且不重複的元素,支援 and 聯集 , or 交集 , not 差 […]

Read more

Python – while & while else

2022-08-182022-08-18 adminLinux, Programming Language, Python, RedHat / CentOS

Loading

測試環境為 CentOS 8 x86_64 (虛擬機) 參考文章 – https://shengyu7697.github.io/python-while/ 範例 : while 範例 : while else 範例 : while True

Read more

文章導覽

較舊的文章
較新的文章

近期文章

  • Windows – Network Sharing + Port forwarding to VM
  • Ansible – gather facts
  • Ansible – host_vars 定義特定的變量
  • Ansible 範例 – Chrony daemon
  • Ubuntu NTP Client 校時設定

近期留言

  • 「Jackson2734」於〈Ubuntu NTP Client 校時設定〉發佈留言
  • 「w」於〈Ubuntu 16.04 Server PXE 安裝〉發佈留言
  • 「admin」於〈TCP/IP 常見封包〉發佈留言
  • 「stu」於〈TCP/IP 常見封包〉發佈留言
  • 「student」於〈Linux command – tcpdump〉發佈留言

分類

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文
  • Privacy Policy
  • 隱私權政策
Powered by WordPress | Theme: Astrid by aThemes.