问题标签 [tktable]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
python - 您在 tkinter 中将哪个小部件用于类似 Excel 的表格?
我想要一个类似 tkinter 中的表格小部件的 Excel 用于我正在编写的 gui。你有什么建议吗?
python - ImportError:没有名为 tktable 的模块
我正在尝试导入tktable以创建一个简单的表,但出现以下错误:
文件“prob.py”,第 7 行,在 import tktable ImportError: No module named tktable
r - 在带有 R 的 Tcl Tk 窗口中显示表格
我想使用 Tcl Tk 工具在新窗口中显示数据框表。'tktable' 必须是解决方案,但我不知道如何将它与数据框一起使用。谁能告诉我怎么做?
python - 在 PyCharm 中导入 Tktable.py 时出现“TclError:找不到包 Tktable”
我正在尝试Tktable在 Python 2.7 中导入。
我已将Tktable.py文件放在我的项目文件夹中。上次,当我使用 时Canopy,它运行良好。在我更改PyCharm并卸载后Canopy,很多库都出错了,我已经成功修复了除Tktable.
任何人都可以帮助我吗?
这是我得到的错误:
r - 将数据复制并粘贴到 tktable
我正在使用 Tcl/Tk 构建 GUI,我想知道是否有一种方法可以将数据从 Excel 复制并粘贴到tktable?
现在,如果我逐列进行操作是可能的,但这没有用。如果还有其他方法,请告诉我。
python-2.7 - 如何为 tktable 的每一列设置不同的列宽?
我有一个使用 Python 2.7 和 tktable v1.1 制作的表格,如下所示:
为了不抛出一堵代码墙,不相关的代码被忽略了。我的愿望是为每列独立调整列宽。例如,在第 0 列我只有 3 个数字,在第 1 列我有一个 10 个字符的单词。我知道我可以使用
设置列的宽度,但这适用于所有列。有没有办法在每列的基础上做到这一点?更好的是,有没有办法让列宽适合列的内容?任何帮助表示赞赏。
python-2.7 - Compile a Python 2.7 program that uses tktable
I have a program which uses a tkinter GUI along with the tktable module (I use it to display the results of a SQL query). It works fine when running it as a .py file, but compiling it into a .exe results in an error with the program not being able to locate tktable.
I am using pyinstaller to make my .exe and I know that tktable is not on the list of supported modules. Is there a way to make this work? I made an attempt to use py2exe as well using the following code:
but the compiled executable simply crashes (works fine for pyodbc, but not for tktable). Is there support out there for compiling the tktable module to be used with an executable?
python - _tkinter.TclError: 找不到包 Tktable
我想运行这里发布的这个程序http://tkinter.unpythonic.net/wiki/TkTableCalendar,但是要运行这个我需要tktable包装器https://tkinter.unpythonic.net/wiki/TkTableWrapper,但是包装器会抛出一个错误
我不明白为什么它会这样。如何解决这个问题?
python - 如何最初选择 tktable 的单元格?
我正在使用 Python tktable(不是 tkintertable)制作一个带有tkinter.
现在我的问题是:我希望最初选择表格中的单元格。例如,当我打开 GUI 时,row=1, col=1将自动选择单元格。
我检查了tcl tktable 手册,但没有运气。
那么,如何做到这一点呢?