Hi,
I really do not know how to do this.
Is there any way to detect what are the third party packages used when we are using code developed by others. Not by eye-ball check (I want auto-detect).
The example code below: I imported openpyxl, pandas
I want to list them.
I really do not know how to do this.
Is there any way to detect what are the third party packages used when we are using code developed by others. Not by eye-ball check (I want auto-detect).
The example code below: I imported openpyxl, pandas
I want to list them.
1 2 3 4 5 6 7 8 9 |
import pandas as pd df_hyper = pd.read_excel(r 'D:\Mekala_Backupdata\PythonCodes\hyperlink.xlsx' ,escape = False ) df_hyper.to_html( 'mylink.html' ,escape = False ,index = False ) import openpyxl wb = openpyxl.load_workbook(r 'D:\Mekala_Backupdata\PythonCodes\hyperlink.xlsx' ) ws = wb.get_sheet_by_name( 'Hyperlinks' ) print (ws.cell(row = 2 , column = 1 ).hyperlink.target) |