GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Support for Python 3 relative imports? · Issue #66 · HDE/python-lambda-local Open DescriptionWe're currently running multi-package code on AWS Lambda, eg: On AWS Lambda, we're able to use: from . import utils from package_two import other These imports don't work locally, presumably due to the way that if __name__[:8] in ['__main__', 'request-'] and not __package__: import os import sys __package__ = 'package_one' sys.path.append(...) Are we missing something obvious here, or would a PR be welcomed to either inject this boilerplate automatically, or have Reacted by Hiroyuki Wakabayashi and Robert J. Berger Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |