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
    • Bash shell script
    • Perl
    • PHP
    • Python
    • Node.JS
    • VBA
    • javascript
    • Power Query
    • PowerShell
  • WordPress
  • DataBase
    • 資料庫安裝
    • 資料庫語法
    • SQLite
    • MariaDB JSON

Programming Language

Python – 內建 CSV 模組

2023-02-032023-02-03 adminLinux, Python, RedHat / CentOS

測試環境為 CentOS8 (虛擬機) 這邊看一下 Python 內建的 CSV 模組,參考範例 – https://shengyu7697.github.io/python-write-csv-file/ Writer 先來看一下 Writer 的方法. csvwriter.write […]

Read more

Python – Export SQLite AS CSV File

2023-02-022023-02-03 adminPython, SQLite

測試環境為 CentOS8 (虛擬機) 怎麼透過 Python 把 SQLiet 的資料匯出成 CSV 格式(CommSeparated Values 以逗號做區隔)的檔案. 我這邊有一個 SQLite 的檔案,裡面有一個資料表 cpu_meminfo 用來記錄目前 CPU 與 MEM 的使用率 ( […]

Read more

Python – psutil (Disk , NetWork)

2023-02-022023-02-02 adminLinux, Python, RedHat / CentOS

測試環境為 CentOS8 (虛擬機) Python 的 psutil (python system and process utilities) 套件是一個可以跨平台讀取系統 關於 CPU 與 memory 請參考 – https://benjr.tw/105251 , disks 與 […]

Read more

Python – psutil (CPU , MEM)

2023-01-312023-02-02 adminLinux, Python, RedHat / CentOS

測試環境為 CentOS8 (虛擬機) Python 的 psutil (python system and process utilities) 套件是一個可以跨平台讀取系統 CPU 與 memory (這邊說明), 其他如 disks 與 network 請參考 – https:// […]

Read more

PowerShell – Invoke-WebRequest

2022-11-292022-11-29 adminPowerShell, Windows

測試環境 Windows 10 平時在 Linux 環境下會使用 curl (簡易文字版瀏覽器) , 在 Windows 下可以透過 PowerShell 的 Invoke-WebRequest 指令. 如果只需要看 Content ,可以透過以下方式. 如果是要看該網站有提供那些連結,可以透過以下 […]

Read more

Python – 執行 MySQL Stored Procedure

2022-11-232022-11-24 adminLinux, MariaDB, Mysql, Python, RedHat / CentOS

測試環境為 CentOS 8 x86_64 (虛擬機) , MariaDB 10.3.28 在 Python 中要怎麼去執行 MySQL(MariaDB) 的 Stored Procedure , 參考文章 https://pynative.com/python-mysql-execute-stor […]

Read more

Python – Spelling Correction

2022-11-222022-11-22 adminLinux, Python, RedHat / CentOS

測試環境為 CentOS 8 x86_64 (虛擬機) TextBlob 的 拼字檢查 是它綜多功能的其中一種,參考文章 – https://textblob.readthedocs.io/en/dev/quickstart.html#spelling-correction 首先安裝 t […]

Read more

Excel Power Query – Excel.Workbook & Excel.CurrentWorkbook

2022-11-102022-11-10 adminPower Query, Windows

測試環境 Windows 10 + Excel 2016 透過 Excel 的 Power Query 下面指令可以讀取到 Excel 的表格資料(資料須先做成表格). Excel.CurrentWorkbook – https://learn.microsoft.com/zh-tw/p […]

Read more

Excel VBA – For Each…Next 陳述式

2022-10-272022-10-27 adminVBA, Windows

測試環境 Windows 10 + Excel 2016 透過 For Each…Next 陳述式來搜尋資料 , 參考文章 – https://learn.microsoft.com/zh-tw/office/vba/language/concepts/getting-started/u […]

Read more

Excel VBA – Range.Find 方法

2022-10-272022-10-27 adminVBA, Windows

測試環境 Windows 10 + Excel 2016 透過Range.Find 方法搜尋資料 , 參考文章 – https://learn.microsoft.com/zh-tw/office/vba/api/excel.range.find 語法: expression 代表 Range 物件 […]

Read more

文章導覽

較舊的文章

近期文章

  • SQLite – WITH Clause
  • SQLite – Declare variable
  • SQLite Concat 函數
  • Python – 內建 CSV 模組
  • Python – Export SQLite AS CSV File

近期留言

  • 「菜单加密码」於〈Windows command – BCDEdit〉發佈留言
  • 「N/A」於〈Linux – iperf (Bind to host)〉發佈留言
  • 「topvpn」於〈就是要上網 – OpenVPN ( 二) Client〉發佈留言
  • 「zoeyalee」於〈在 WordPress 使用 Facebook 讚的連結〉發佈留言
  • 「Carter」於〈VMware PXE 安裝〉發佈留言

分類

其他操作

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