[英]How do I get excel into python (tkinter)
Help! 救命! I'm trying to get excel into my program but I can't figure it out.
我正在尝试使Excel进入我的程序,但我无法弄清楚。 Can someone suggest a way to do this.
有人可以建议一种方法来做到这一点。 I have tried to figure out how to use Tktables, but because I'm doing this at school we don't have all the packs.
我试图弄清楚如何使用Tktables,但是由于我在学校里这样做,所以我们没有所有的背包。
Thank you so much :) 非常感谢 :)
If you are at school, one way to use built in functionality is to save the excel file as a .csv and then use the built in csv package to read what you need into python. 如果您在学校,使用内置功能的一种方法是将excel文件另存为.csv,然后使用内置的csv包将所需的内容读入python。
csv is easy to use and described here: https://docs.python.org/2/library/csv.html csv易于使用,并在此处进行了描述: https : //docs.python.org/2/library/csv.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.