Skip to content

runfile() sometimes failed #1

@GengPeiLin

Description

@GengPeiLin

While I testing the ex_*.py, in OSX with vs code terminal , runfile() appeared as undefined error.

runfile('SMC.py', wdir='.')

I suggest a general solution that change it to from SMC import * .
This should enable more use case under different environment.

Thanks for sharing this implementation, learn a lot from it.

GP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions