[Python]呼叫其他.py的function

假如現在正在寫的檔案是main.py,而你想要呼叫fun.py這裡面的function, 要怎麼做呢?

0 Comments

[Tutorial]Computer Networking筆記(22-26)

Computer Networking Tutorial

0 Comments

[Tutorial]Computer Networking筆記(16-21)

Computer Networking Tutorial

0 Comments

[Tutorial]Computer Networking筆記(12-15)

Computer Networking Tutorial

0 Comments

[R]read.csv出現編碼錯誤訊息

在讀取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>'
0 Comments

[R]如何刪除 U+00A0

在資料中有些含有空白的文字讀進R後會變成

<U+00A0>

而且不管用什麼方式都取代不了這個符號, 這時候該怎麼辦呢?

0 Comments

[Tutorial]Computer Networking筆記(9-11)

Computer Networking Tutorial

0 Comments

[Python]Google 翻譯 API 接口 googletrnas

使用前,先安裝googletrans

# windows
pip install googletrans
# mac
sudo pip install googletrans
0 Comments