Python Forum
Simple Question - ' defined as "a". ?'
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Question - ' defined as "a". ?'
#6
(May-25-2023, 03:52 PM)Ryan012 Wrote: Python path means my main fils should be in the same directory. right?
No, the Python module path is a list of directory that you can print like this
>>> import sys
>>> print(sys.path)
Then you can learn how to modify this list if needed.

Also don't hesitate to read the official documentation about modules, although it is perhaps too exhaustive for a first approach.
Ryan012 likes this post
Reply


Messages In This Thread
Simple Question - ' defined as "a". ?' - by Ryan012 - May-25-2023, 01:37 PM
RE: Simple Question - ' defined as "a". ?' - by Gribouillis - May-25-2023, 04:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Very Beginner question on simple variables Harvy 1 338 Apr-12-2024, 12:03 AM
Last Post: deanhystad
  Very simple question about filenames and backslashes! garynewport 4 2,131 Jan-17-2023, 05:02 AM
Last Post: deanhystad
  Python Tkinter Simple Multithreading Question AaronCatolico1 5 1,757 Dec-14-2022, 11:35 PM
Last Post: deanhystad
  A simple "If...Else" question from a beginner Serena2022 6 1,847 Jul-11-2022, 05:59 AM
Last Post: Serena2022
  Simple arithmetic question ebolisa 5 2,177 Dec-15-2021, 04:56 PM
Last Post: deanhystad
  Simple Python script, path not defined dubinaone 3 2,796 Nov-06-2021, 07:36 PM
Last Post: snippsat
  Simple code question about lambda and tuples JasPyt 7 3,498 Oct-04-2021, 05:18 PM
Last Post: snippsat
Big Grin question about simple algorithm to my problem jamie_01 1 1,756 Oct-04-2021, 11:55 AM
Last Post: deanhystad
  Simple question 1234 4 2,367 Dec-04-2020, 12:29 PM
Last Post: DeaD_EyE
  Simple Timer Question cranberrica 3 2,291 Jun-22-2020, 06:29 PM
Last Post: cranberrica

Forum Jump:

User Panel Messages

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