我想加入多個文本文件一起使用zip功能,但我不斷收到錯誤加入兩個文本文件的一面,TypeError: coercing to Unicode: need string or buffer, generator found 這是我的代碼, filepaths = ['file1.txt', 'file2.txt', 'file3.txt']
with open('op.txt', 'w') as
我在Azure存儲中有一個zip文件,裏面有一個Excel文件。我想讀取excel文件,而不用使用C#下載文件。 我正在使用MemoryStream。代碼是: public void ReadZipStream(CloudBlockBlob blockBlob)
{
using (var msZippedBlob = new MemoryStream())
{
b
我在一個文件夾中有很多日誌,我想只抓取具有今天的日期的文件並將它們放在zip文件中。 這裏是我的代碼: static void Main(string[] args)
{
//Specify todays date
DateTime todaysDate = DateTime.Today;
//Create a zip file with the name log