Skip to content

Doesn't work in PYTHONSTARTUP #1

Description

@csm10495

I have a python startup file that I use to do a couple things on startup. For some reason if I do this:

import print_statement
print_statement.install()
from __past__ import print_statement

we get a traceback with:

Traceback (most recent call last):
  File "C:\Users\csm10495\pystartup.py", line 81, in <module>
    from __past__ import print_statement
ModuleNotFoundError: No module named '__past__'

Though if I do the import in interactive later, it works. Does this have to do with this not working in modules? Can we make this work here? Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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