Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/279.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 在tkinter上显示带有GUI的pdf页面_Python_Python 2.7_Tkinter_Pypdf - Fatal编程技术网

Python 在tkinter上显示带有GUI的pdf页面

Python 在tkinter上显示带有GUI的pdf页面,python,python-2.7,tkinter,pypdf,Python,Python 2.7,Tkinter,Pypdf,我正在使用pyPdf裁剪pdf页面。 我唯一错过的就是这个脚本的GUI。 我选择了tkinter模块来做GUI,但是我找不到是否可以用tkinter创建的GUI显示pdf页面 有什么想法吗 多谢各位 我曾经尝试过做同样的事情,我在wxPython中用一个小部件做到了这一点。然而,在Qt上,我没有做到这一点,我怀疑你也能和Tkinter一起做到 我得到的最接近的结果是转换为图像并显示图像:参见 注意:我说的是wxPython和Qt,但我想同样的原理也适用于Tkinter。我曾经尝试过做同样的事情,

我正在使用pyPdf裁剪pdf页面。 我唯一错过的就是这个脚本的GUI。 我选择了tkinter模块来做GUI,但是我找不到是否可以用tkinter创建的GUI显示pdf页面

有什么想法吗


多谢各位

我曾经尝试过做同样的事情,我在wxPython中用一个小部件做到了这一点。然而,在Qt上,我没有做到这一点,我怀疑你也能和Tkinter一起做到

我得到的最接近的结果是转换为图像并显示图像:参见


注意:我说的是wxPython和Qt,但我想同样的原理也适用于Tkinter。

我曾经尝试过做同样的事情,我在wxPython中用一个小部件做到了这一点。然而,在Qt上,我没有做到这一点,我怀疑你也能和Tkinter一起做到

我得到的最接近的结果是转换为图像并显示图像:参见


注意:我说的是wxPython和Qt,但我想同样的原理也适用于Tkinter。

Tkinter不支持显示pdf

Tkinter不支持显示pdf