Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
import
#1
Hello everybody,
I want to use my own library in my program

import mylib
I don't know what can I do this.
And can you give me a folder with this type of library please.
Can you help me please.

In fact is good I just do a big error.
Excuse me
But if you have question I can respond.
Reply
#2
Here is the import statement from the docs
Documentation of Import statement

You statement should work if mylib.py is in the same folder as your program.
Reply
#3
(Sep-27-2020, 11:23 AM)jefsummers Wrote: Here is the import statement from the docs
Documentation of Import statement

You statement should work if mylib.py is in the same folder as your program.

Thank you
But I already resolve my problem
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020