Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ファイルをjarに追加する必要がありますが、プログラムzipfileを実行すると、すべてのファイルが削除され、ファイルが追加されます。しかし、私は他のファイルが必要です!
私のコード: (これはテストです)
import zipfile m= zipfile.ZipFile("test.jar","w") m.write("test.jar","bgt.class") m.close()
下手な英語でごめんなさい