Module Finder

From Digi Developer

Jump to: navigation, search

Module Finder

Introduction

Using modulefinder Python Tool to Determine which Files to Load

When developing Python programs to run on the Digi gateway (Digi WAN, Connect Port X2, X4, X8, etc.), it is useful to have a tool that can tell you dependancies. For most programs, determining which files should be moved onto the Digi device should be fairly simple, because most likely you are writing most program modules and content yourself. However, when using third party modules or those provided by the standard distribution, a tree of dependencies may exist, making it difficult to determine which files must be placed on the device.

The standard Python distribution provides a tool called modulefinder.py that is useful in this scenario. This tool examines imports in Python programs to build a list of modules that may be used.

Example use: ftp://ftp1.digi.com/support/images/moduleFinder_example.txt


Sample Usage

Media:modulefinder___howtouse.zip

Personal tools
Wiki Editing