Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

list the contents of a package python

import numpy
print(dir(numpy))
#Another example
from matplotlib import pyplot as plt
print(dir(matplotlib))
Source by www.dummies.com #
 
PREVIOUS NEXT
Tagged: #list #contents #package #python
ADD COMMENT
Topic
Name
1+5 =