{smcl} {* 16 August 2026}{...} {title:Title} {p 8 17 2} {bf:pythonedu} -- Python beginner's learning program: installation and basics {title:Syntax} {p 8 13 2} {cmd:pythonedu} [{cmd:install} {cmd:basic} {cmd:example} {cmd:all}] {title:Description} {p 4 4 2} {cmd:pythonedu} is an entry-level learning program for Python beginners, published by Dingyuan Accounting, which follows the academic principle of {bf:scientific and standardized, humane and good}. In three short lessons it helps you get to know Python quickly: installing Anaconda, the basic syntax, and a complete data-analysis example. {p 4 4 2} With no options, {cmd:pythonedu} displays all three lessons in turn. Use the options to review a single lesson at any time. {title:Options} {p 4 4 2} {cmd:install} displays only lesson 1: how to download, install, and verify Anaconda. {p 4 4 2} {cmd:basic} displays only lesson 2: print(), variables, data types, lists, dictionaries, loops, and pandas. {p 4 4 2} {cmd:example} displays only lesson 3: a complete, ready-to-run ROE analysis example. {p 4 4 2} {cmd:all} displays all three lessons (the default). {title:Examples} {p 4 4 2} {cmd:. pythonedu} {p 4 4 2} Displays all three lessons. {p 4 4 2} {cmd:. pythonedu, basic} {p 4 4 2} Displays only the Python basics. {p 4 4 2} {cmd:. pythonedu, example} {p 4 4 2} Displays only the ROE analysis example. {title:Remarks} {p 4 4 2} {bf:Learning tips} {p 4 8 2} 1. Run {cmd:pythonedu} and read all three lessons first. {p 4 8 2} 2. Open Spyder, paste the whole example from lesson 3 into a new file, and press Run (F5). {p 4 8 2} 3. Do not fear errors: reading error messages is the most important Python lesson. {p 4 8 2} 4. Be persistent: 30 minutes a day and you will be a Python beginner in one week. {p 4 4 2} {bf:Dingyuan Accounting} adheres to the principle of {bf:scientific and standardized, humane and good} and hopes every beginner learns with joy. {title:Author} {p 4 4 2} WU Lianghai {p 4 4 2} School of Business, Anhui University of Technology (AHUT), Ma'anshan, China {p 4 4 2} {browse "mailto:agd2010@yeah.net":agd2010@yeah.net} {p 4 4 2} WU Hanyan {p 4 4 2} Department of Accountancy, City University of Hong Kong (CityU) {p 4 4 2} {browse "mailto:2325476320@qq.com":2325476320@qq.com} {p 4 4 2} Development date: 16 August 2026 {title:Also see} {psee} {help mysuite} -- Dingyuan Accounting suite of 39 empirical-accounting Stata programs {psee} {browse "https://ideas.repec.org/c/boc/bocode/s459595.html":https://ideas.repec.org/c/boc/bocode/s459595.html} {p_end}