【美今詩歌集】【作者:童驛采】1999年~2020年 |訪問首頁|
  【墨龍字畫】 墨界音樂 墨龍愛導航 我啦傳媒 『墨龍』畫堂 | 童驛采 【論壇】-字畫譚 楊冪量子景觀設計師
墨龍商務 【龍帝字畫】 楊鈺瑩 童驛采墨韻論壇 墨龍電視台BBS     篁宮字畫BBS 台灣字畫BBS  
操作系統字畫 數字字畫BBS 墨龍藝術 量子景觀設計師       ●腾讯企鹅98 墨龍

操作系統字畫

 找回密碼
 注冊發言【僅限墨文】
搜索
查看: 2|回復: 0

How to Run Your First Python Script From Windows Terminal

[複製鏈接]

189

主題

0

回帖

571

積分

高級會員

Rank: 4

積分
571
發表於 1 小時前 | 顯示全部樓層 |閱讀模式
After installing Python on Windows 11, create a folder for a small programming exercise. Save a plain-text file named hello.py containing print("Hello, Windows!"). Make sure the editor has not added a hidden .txt extension.

Open Windows Terminal or Command Prompt in that folder and run python hello.py, or use py hello.py if the Python launcher is available. This tests the interpreter with an actual script rather than only a version command. If the script cannot be found, check the current working directory and filename. IDLE and Visual Studio Code are also useful for beginners learning Python programming.

For related software information, my website ABDNOVA covers free Python programming software for Windows.

本版積分規則

操作系統字畫

GMT+8, 2026-11-29 16:25 , Processed in 0.031231 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回復 返回頂部 返回列表