Не уверен, почему он не отображается.
Так как это тоже стол, я просто пошел вперед и использовал Панд для .read_html
import pandas as pd
url = 'https://webs.iiitd.edu.in/raghava/antitbpdb/display.php?details=antitb_1001'
tables = pd.read_html(url)
table = tables[-1]
Вывод:
print (table)
0 1
0 Primary information NaN
1 ID antitb_1001
2 Peptide Name Polydim-I
3 Sequence AVAGEKLWLLPHLLKMLLTPTP
4 N-terminal Modification Free
5 C-terminal Modification Free
6 Chemical Modification None
7 Linear/ Cyclic Linear
8 Length 22
9 Chirality L
10 Nature Amphipathic
11 Source Natural
12 Origin Isolated from the venom of the Neotropical was...
13 Species Mycobacterium abscessus subsp. massiliense
14 Strain Mycobacterium abscessus subsp. massiliense iso...
15 Inhibition Concentartion MIC = 60.8 μg/mL
16 In vitro/In vivo Both
17 Cell Line Peritoneal macrophages, J774 macrophages cells...
18 Inhibition Concentartion Treatment of infected macrophages with 7.6 μg...
19 Cytotoxicity Non-cytotoxic, 10% cytotoxicity on J774 cells ...
20 In vivo Model 6 to 8 weeks old BALB/c and IFN-γKO (Knockout...
21 Lethal Dose 2 mg/kg/mLW shows 90% reduction in bacterial load
22 Immune Response NaN
23 Mechanism of Action Cell wall disruption
24 Target Cell wall
25 Combination Therapy None
26 Other Activities NaN
27 Pubmed ID 26930596
28 Year of Publication 2016
29 3-D Structure View in Jmol or Download Structure
Probably the vast majority of of tk-based applications place all the components in the default root window. This is the most convenient way to do it since it already exists. Choosing to hide the default window and create your own is a perfectly fine thing to do, though it requires just a tiny bit of extra work.
To answer your specific question about how to hide it, use the withdraw method of the root window:
import Tkinter as tk
root = tk.Tk()
root.withdraw()
If you want to make the window visible again, call the deiconify (or wm_deiconify) method.
root.deiconify()
Once you are done with the dialog, you can destroy the root window along with all other tkinter widgets with the destroy method:
root.destroy()
Для Python 3.0 и выше, для сокрытия окна необходимо записать следующее:
import tkinter
tkinter.Tk().withdraw()
I haven't tested since I don't have any Python/TKinter environment, but try this.
In pure Tk there's a method called "wm" to manage the windows. There you can do something like "wm withdraw .mywindow" where '.mywindow' is a toplevel.
In TkInter you should be able to do something similar to:
root = Tkinter.Tk()
root.withdraw() # won't need this
If you want to make the window visible again, call the deiconify (or wm_deiconify) method.
root.deiconify()