python 第一天基礎day1.1

1、設置編碼: 默認情況下,python源碼文件以utf-8編碼,所有字符串都是Unicode字符串 2、設置代碼作者信息 設置路徑:file—setting—editor—file and code templates,然後點擊python script 設置好之後每次新建一個python文件都會自動帶有這些editor信息 3、註釋單行 • Python中單⾏註釋以 # 開頭,實例如下: #-
相關文章
相關標籤/搜索