Python Forum
Import Python file with a name of a module in Stantard Library
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Import Python file with a name of a module in Stantard Library
#1
Hi,
I am doing a University Project and i need to import a file named time.py to the main projetc file that is main.py
The problem is that time is a module in Python Standart Library and when i run the program it is calling that module instead the time.py file.
I canĀ“t change the name of the file.
What shoud i do?
Thank you.
Reply


Messages In This Thread
Import Python file with a name of a module in Stantard Library - by tiago_code - Dec-06-2019, 06:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Frequency in first digit from csv file, NO IMPORT bryan0901 6 2,869 May-28-2020, 09:50 AM
Last Post: bryan0901
  How to create simple thread safe singletone that protect __init__ on import module umen 0 1,670 Apr-16-2020, 09:43 AM
Last Post: umen
  Math Module import Jack_Sparrow 3 6,451 Apr-30-2018, 01:41 PM
Last Post: snippsat
  Import a Data from a text file maxcom 1 2,437 Apr-01-2018, 07:30 PM
Last Post: Larz60+
  Import random from a txt file Liquid_Ocelot 4 7,526 May-05-2017, 10:14 PM
Last Post: Liquid_Ocelot

Forum Jump:

User Panel Messages

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