<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>TShopping - Python</title>
    <link>https://www.tshopping.com.tw/forum-333-1.html</link>
    <description>Latest 20 threads of Python</description>
    <copyright>Copyright(C) TShopping</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Sat, 11 Apr 2026 22:30:44 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.tshopping.com.tw/static/image/common/logo_88_31.gif</url>
      <title>TShopping</title>
      <link>https://www.tshopping.com.tw/</link>
    </image>
    <item>
      <title>py檔 如何看編碼 (UTF-8, BIG5) pycharm 設定編碼</title>
      <link>https://www.tshopping.com.tw/thread-265072-1-1.html</link>
      <description><![CDATA[要查看.py 檔案的編碼，可以在檔案開頭新增一個「程式碼宣告」（Magic comment），例如 # coding=utf-8，讓Python 直譯器知道如何正確讀取檔案。 如果檔案沒有這個宣告，通常可以透過檔案編輯器的功能查看，或者使用 chardet 模組來自動偵測編碼。

方法一：手動在.py  ...]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Wed, 01 Oct 2025 10:59:27 +0000</pubDate>
    </item>
    <item>
      <title>用python selenium 洗網站流量測試</title>
      <link>https://www.tshopping.com.tw/thread-264992-1-1.html</link>
      <description><![CDATA[先到網站拿原始碼並修改


到CRX Emulator 下載插件




下載後把檔案修改成CRX-Emulator-Chrome.crx 並放入路徑 C:\\%users\\\\Administrator


測試了之後出現訊息

發現是VPN那段有問題

這段還不知如何處理
測試修改後在PO上
 ...]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Thu, 05 Jun 2025 04:23:14 +0000</pubDate>
    </item>
    <item>
      <title>PyCharm Pro 打開ESLint 或 安裝 Prettier (JavaScript)</title>
      <link>https://www.tshopping.com.tw/thread-264970-1-1.html</link>
      <description><![CDATA[在WINDOWS下要debug JavaScript 真是很困擾



pycharm下可安裝 Prettier (pycharm內建ESLint 也可以開啟使用)
File-&gt;settings-&gt;Languages &amp; Frameworks -&gt; JavaScript -&gt; ESLint -&gt; Automatic ESLint 打開


言歸正傳 安裝 Prettier
在WINDOWS下須先安裝NODE.JS YARN

 ...]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Mon, 21 Apr 2025 13:50:03 +0000</pubDate>
    </item>
    <item>
      <title>from…import * 語句與import 區別</title>
      <link>https://www.tshopping.com.tw/thread-264955-1-1.html</link>
      <description><![CDATA[首先你要了解import與from…import的差別。

import 模組：導入模組；註：相當於導入的是資料夾，是相對路徑。
from…import：導入了一個模組中的一個函數；註：相當於導入的是一個資料夾中的文件，是個絕對路徑。
所以使用上的差異是當引用檔案時是:

import //模組.函 ...]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Wed, 26 Mar 2025 10:55:48 +0000</pubDate>
    </item>
    <item>
      <title>WinHex to Dec 16進位轉換成10進位 位址程式</title>
      <link>https://www.tshopping.com.tw/thread-264914-1-1.html</link>
      <description><![CDATA[WinHex to Dec 16進位轉換成10進位 位址程式可針對 Sector per cluster 及 Hidden Sector 設定


把BusHound 抓到的TXT檔案轉存XXX.TXT
編輯XXX.TXT，把-----------------------------以上都刪除(包含---------------)
轉存XXX-A.TXT


打開WinHex2Dec.exe程式
按上圖輸 ...]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Tue, 28 Jan 2025 15:05:34 +0000</pubDate>
    </item>
    <item>
      <title>CPanel apache error log path</title>
      <link>https://www.tshopping.com.tw/thread-264908-1-1.html</link>
      <description><![CDATA[python flask 開發時
容易出錯
找LOG就能清楚知道哪裡出了問題
提供APACHE ERROR LOG路徑



查找XXX自元的訊息]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Thu, 23 Jan 2025 11:28:59 +0000</pubDate>
    </item>
    <item>
      <title>Python 3.9 抓取 Google search 搜尋結果的連結</title>
      <link>https://www.tshopping.com.tw/thread-264896-1-1.html</link>
      <description><![CDATA[Google搜尋：
這就和熱門的主題網路爬蟲有關，但如果我們只是要先簡單的google搜尋，那我們可以使用googlesearch-python，安裝如下：

簡單的範例如下，我們可搭配Python內建的requests和lxml撈到網頁的標題：
我們查個時事的關鍵字\&quot;強鹼\&quot;，列出10個結果，而網頁的標題 ...]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Tue, 07 Jan 2025 14:14:03 +0000</pubDate>
    </item>
    <item>
      <title>4070 python torch安裝cuda 11.8 , cudnn 118</title>
      <link>https://www.tshopping.com.tw/thread-264868-1-1.html</link>
      <description><![CDATA[環境：
4070 RTX
Nvidia 546.17


1. 先到官方網站
https://pytorch.org/get-started/previous-versions/


2. 到NVIDIA網站下載CUDA 11.8
https://developer.nvidia.com/cuda-11-8-0-download-archive?target_os=Windows&amp;target_arch=x86_64&amp;target_version=10&amp;target_ ...]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Wed, 13 Nov 2024 15:13:15 +0000</pubDate>
    </item>
    <item>
      <title>Pandas 讀取TXT後，用 iloc ˊ只抓取某行的數值(字串)</title>
      <link>https://www.tshopping.com.tw/thread-264859-1-1.html</link>
      <description><![CDATA[]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Mon, 14 Oct 2024 14:35:57 +0000</pubDate>
    </item>
    <item>
      <title>python 如何抓取視窗位址及在視窗輸入文字</title>
      <link>https://www.tshopping.com.tw/thread-264735-1-1.html</link>
      <description><![CDATA[新竹網頁設計,竹北網頁設計,竹南網頁設計,中壢網頁設計,網頁設計,免費模板,免費網頁套件,架設網站,網站架設 ,修改模板,主機代管,Android App]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Mon, 15 Jan 2024 15:47:03 +0000</pubDate>
    </item>
    <item>
      <title>Python 如何用Pytesseract OCR 辨識影像的字元</title>
      <link>https://www.tshopping.com.tw/thread-264713-1-1.html</link>
      <description><![CDATA[1. 到 Github 下載 tesseract-ocr-w64-setup-5.3.3.20231005.exe 來安裝Tesseract。

2. 記錄Tesseract安裝的路徑，預設路徑通常為 C:\\Program Files\\Tesseract-OCR。

3. 將Tesseract.exe路徑新增到環境變數 \&quot;PATH\&quot; 中

4. 安裝pytesseract



代碼


結果圖：




文 ...]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Fri, 10 Nov 2023 09:55:18 +0000</pubDate>
    </item>
    <item>
      <title>Python中執行Pytesseract模組錯誤</title>
      <link>https://www.tshopping.com.tw/thread-264712-1-1.html</link>
      <description><![CDATA[Python中執行Pytesseract模組錯誤  - 錯誤訊息




解決方法:
1. 到 Github 下載 tesseract-ocr-w64-setup-5.3.3.20231005.exe 來安裝Tesseract。

2. 記錄Tesseract安裝的路徑，預設路徑通常為 C:\\Program Files\\Tesseract-OCR。

3. 將Tesseract.exe路徑新增到環境變 ...]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Fri, 10 Nov 2023 09:43:41 +0000</pubDate>
    </item>
    <item>
      <title>python在win pytorch環境多進程報錯 &quot;freeze_support()&quot;</title>
      <link>https://www.tshopping.com.tw/thread-264711-1-1.html</link>
      <description><![CDATA[在測試 mnist 數字辨識時

代碼來源
https://hackmd.io/@Maxlight/SkuYB0w6_#3-hyperparameter



跑一跑出現


在這行上面增加
變成
這樣就正常了

文章出處： NetYea 網頁設計]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Fri, 10 Nov 2023 04:12:06 +0000</pubDate>
    </item>
    <item>
      <title>Python用PyInstaller打包成exe時報錯：tuple index out of range</title>
      <link>https://www.tshopping.com.tw/thread-264704-1-1.html</link>
      <description><![CDATA[運行環境


解決方案：
[*]定位到C:%users\\hp\\AppData\\Local\\Programs\\Python\\Python310\\Lib\\dis.py(每個人的路徑可能不同）
[*]找到_unpack_opargs(code)函數
[*]在else中加入extended_arg = 0語句
[*]如圖



文章出處： NetYea 網頁設計 ...]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Tue, 31 Oct 2023 14:04:26 +0000</pubDate>
    </item>
    <item>
      <title>Win 10下安裝labelImg標註工具及自訂labels</title>
      <link>https://www.tshopping.com.tw/thread-264702-1-1.html</link>
      <description><![CDATA[一、下載windows免安裝版本
1. 進入下載位址：https://github.com/tzutalin/labelImg/releases，選擇windows_v1.8.1.zip，下載並解壓縮，直接雙擊exe檔案即可開啟。


2、使用labelImg

3. 開啟圖片資料夾(images)



4. 建立自訂labes-&gt;打開資料夾-&gt;找到predefined_cla ...]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Tue, 24 Oct 2023 11:33:41 +0000</pubDate>
    </item>
    <item>
      <title>Yolov8 照片偵測後如何抓物體座標位置的方法</title>
      <link>https://www.tshopping.com.tw/thread-264695-1-1.html</link>
      <description><![CDATA[1. 法一


結果圖：


座標：


法二、程式比法一簡單(速度慢數幾ms)程式碼







文章出處： NetYea 網頁設計

參考文章
https://medium.com/@batuhansener ... yolov8-682dcdc0f451
https://stackoverflow.com/questi ... ect-detection-model


 ...]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Thu, 05 Oct 2023 15:56:30 +0000</pubDate>
    </item>
    <item>
      <title>YoloV8 物體模型訓練</title>
      <link>https://www.tshopping.com.tw/thread-264693-1-1.html</link>
      <description><![CDATA[訓練強大且準確的目標偵測模型需要全面的資料集。本指南介紹了與 Ultralytics YOLO 模型相容的各種資料集格式，並深入了解其結構、用法以及如何在不同格式之間進行轉換。

支援的資料集格式Ultralytics YOLO 格式Ultralytics YOLO 格式是一種資料集配置格式，可讓您定義 ...]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Wed, 04 Oct 2023 10:37:41 +0000</pubDate>
    </item>
    <item>
      <title>Yolov8 AttributeError: \'str\' object has no attribute \'items\'</title>
      <link>https://www.tshopping.com.tw/thread-264692-1-1.html</link>
      <description><![CDATA[這邊出錯


改成(冒號後多一個空格)



文章出處： NetYea 網頁設計

參考文章
https://github.com/ultralytics/ultralytics/issues/639]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Wed, 04 Oct 2023 07:26:12 +0000</pubDate>
    </item>
    <item>
      <title>Yolov8 Models 測試</title>
      <link>https://www.tshopping.com.tw/thread-264689-1-1.html</link>
      <description><![CDATA[官方文件鏈結 https://docs.ultralytics.com/models/

程式碼


原始圖片


結果圖：


文章出處：NetYea 網頁設計]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Thu, 28 Sep 2023 10:19:54 +0000</pubDate>
    </item>
    <item>
      <title>Yolov8 解决 OMP: Error #15: Initializing libiomp5md.dll, but found</title>
      <link>https://www.tshopping.com.tw/thread-264688-1-1.html</link>
      <description><![CDATA[解決方法：程式碼前加入兩行如下程式碼即可]]></description>
      <category>Python</category>
      <author>woff</author>
      <pubDate>Thu, 28 Sep 2023 10:06:59 +0000</pubDate>
    </item>
  </channel>
</rss>