Skip to content

Re-add execfile() function? #362

@pfalcon

Description

@pfalcon

Python3 killed execfile() function (see http://docs.python.org/3/whatsnew/3.0.html). However, trying bare-metal pyboard immediately shows that it would be nice to have convenience function to easily execute arbitrary source file. There's pyb.main() with some meaning, but having something "standard" and well-known would help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementFeature requests, new feature implementationsportsRelates to multiple ports, or a new/proposed port

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions