Skip to content

Importing functions from other custom script? #7735

Answered by jeremystretch
PaulWestphal asked this question in Q&A
Discussion options

You must be logged in to vote

There's nothing special about importing other Python modules from within a script; they just need to be accessible from within the Python environment. Are you sure it's within the same directory as the module importing it? Maybe try from . import utils.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kkthxbye-code
Comment options

@PaulWestphal
Comment options

Answer selected by PaulWestphal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants