网上找了很久都没找到解决办法
gpsmap1.png (7.5 KB)
import jpype
import asposecells
jpype.startJVM()
from asposecells.api import Workbook
workbook = Workbook(r’R:\gpsdata.csv’)
workbook.save(r’R:\Pictures\gpsmap.png’)
jpype.shutdownJVM()
@nulee,
Please try the following code to test it again.
import jpype
from jpype import java
import asposecells
jpype.startJVM()
from asposecells.api import Workbook, SaveFormat, TxtLoadOptions, Encoding
options = TxtLoadOptions()
options.setEncoding(Encoding.getEncoding("gb2312"))
workbook = Workbook("gpsdata.csv", options)
workbook.save("gpsmap.png")
jpype.shutdownJVM()
Please check the attachment.gpsmap.png (10.7 KB)
1 Like