CSCI2040

CodeCourse OfferingCSCI2040
TitleLong Course TitleIntroduction to PythonPython程序語言導論
OverviewLong Description This course aims to provide an intensive hands-on introduction to the Python scripting language. Topics include the basic Python language syntax, variable declaration, basic operators, programme flow and control, defining and using functions, file and operating system interface. Specific key features of the Python scripting language such as object-oriented support, functional programming support, lambda function, list comprehension, high level dynamic data types, embedding within applications, module creation etc. will be highlighted. Special topics include using Python for web/data access, animation, as well as using Python to develop a web crawler. Not for students who have taken CSCI1040.本科旨在密集介紹高階程序設計語言 Python 。內容包括基本高階程序設計語言Python 的語法、變數申明、基本運算符、程序編寫流程及控制、函數定義及應用、文件及操作系統接口。本科亦會介紹高階程序設計語言 Python 的特性,例如面向對象支援方法、函數式編程、lambda函數、列表解析、高階動態資料型式,嵌入於應用程式、創建模塊等。特別專題包括使用Python在網絡/數據訪問,動畫,以及使用Python開發網絡爬蟲。