View Single Post
Old 11-21-2009, 05:38 PM   #1
macr0t0r doesn't littermacr0t0r doesn't litter
macr0t0r's Avatar
Posts: 91
Karma: 108
Join Date: Jan 2008
Device: Palm Treo 680, Sony Reader
Question Importing local files within a plugin

So, I'm working on a plugin to automate generating HTML from a PDB that is specially-suited for the Sony PRS-500 LRF format(don't ask, my Mom refuses to send hers in for an upgrade for fear of losing it). I already have the scripts that do this, but they are broken into separate files and reference each other with the "import" command.

However, once I zip them up into a plugin, the import fails. The main function is called, but it can't find the other files. Originally, I just did:
"import filename"
since they were in the same folder. How should I reference these files so they can be found within the plugin? I'd hate to have to try and mash them all together into a single file.

- Jim
macr0t0r is offline   Reply With Quote