[Python]呼叫其他.py的function
February 2, 2018
Python
假如現在正在寫的檔案是main.py,而你想要呼叫fun.py這裡面的function, 要怎麼做呢?
假如現在正在寫的檔案是main.py,而你想要呼叫fun.py這裡面的function, 要怎麼做呢?
在讀取csv檔案時出現錯誤訊息
d <- read.csv("file.csv"), stringsAsFactors = FALSE)
# Error in type.convert(data[[i]], as.is = as.is[i], dec = dec, numerals = numerals, : invalid multibyte string at '<e8><8a><b1>?<ae>'