X hits on this document

Powerpoint document

Python for NLP and the Natural Language Toolkit - page 4 / 47

169 views

0 shares

0 downloads

0 comments

4 / 47

Modules and Packages

Python modules “package program code and data for reuse.” (Lutz)

Similar to library in C, package in Java.                                             

Python packages are hierarchical modules (i.e., modules that contain other modules).

Three commands for accessing modules:

import

from…import

reload

Document info
Document views169
Page views169
Page last viewedFri Jan 20 10:18:38 UTC 2017
Pages47
Paragraphs392
Words1978

Comments