Python Forum
importing module - not working
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
importing module - not working
#4
(Jun-22-2020, 07:29 PM)Gribouillis Wrote: Your files don't seem to have the extension .py, this is probably the cause of the error. Rename the files pizza.py and making_pizzas.py

I'm an idiot... that was exactly it... I was assuming Sublime was saving everything with the .py extension.

Ugh... thanks for the help... really appreciate it.
Reply


Messages In This Thread
importing module - not working - by jdhamblett - Jun-22-2020, 07:00 PM
RE: importing module - not working - by menator01 - Jun-22-2020, 07:14 PM
RE: importing module - not working - by Gribouillis - Jun-22-2020, 07:29 PM
RE: importing module - not working - by jdhamblett - Jun-22-2020, 07:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  importing variables from module 8376459 1 289 Feb-18-2024, 02:24 PM
Last Post: deanhystad
  no module named 'docx' when importing docx MaartenRo 1 899 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  working with TLV module Object Jennifer_Jone 3 1,159 Mar-14-2023, 07:54 PM
Last Post: Jennifer_Jone
  Unsure why module is not working garynewport 0 776 Feb-15-2023, 03:21 PM
Last Post: garynewport
  My code displays too much output when importing class from a module lil_e 4 1,169 Oct-22-2022, 12:56 AM
Last Post: Larz60+
  Pandas module not working Hass 2 1,733 Apr-14-2022, 03:13 PM
Last Post: snippsat
  Importing module in jupyter Noteboook ajitnayak1987 0 1,759 Jun-04-2021, 12:26 PM
Last Post: ajitnayak1987
  ERROR: importing desired module mbgamer28 0 1,692 Apr-05-2021, 07:46 PM
Last Post: mbgamer28
  importing same python library in multiple custom module escape_freedom13 6 3,846 May-10-2020, 07:01 PM
Last Post: escape_freedom13
  Importing module from a package results in import error goghvv 2 2,412 Mar-27-2020, 07:13 PM
Last Post: goghvv

Forum Jump:

User Panel Messages

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