Python Forum
Add file to sys.path permanently
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add file to sys.path permanently
#6
(Jan-31-2021, 11:10 AM)Gribouillis Wrote: I think you can create the directory by yourself if they don't exist.

I did and removed the contents of PYTHONPATH and reloading the sys.path contains my library. The strange thing is I've been searching the web for hours and got different ideas how to implement this and they were obviously all wrong.
Thanks! Smile
Reply


Messages In This Thread
Add file to sys.path permanently - by hcccs - Jan-30-2021, 08:18 PM
RE: Add file to sys.path permanently - by hcccs - Jan-31-2021, 11:07 AM
RE: Add file to sys.path permanently - by hcccs - Jan-31-2021, 11:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  save values permanently in python (perhaps not in a text file)? flash77 8 1,204 Jul-07-2023, 05:44 PM
Last Post: flash77
  File path by adding various variables Mishal0488 2 1,025 Apr-28-2023, 07:17 PM
Last Post: deanhystad
  Script File Failure-Path Error? jerryf 13 3,448 Nov-30-2022, 09:58 AM
Last Post: jerryf
  WebDriverException: Message: 'PATH TO CHROME DRIVER' executable needs to be in PATH Led_Zeppelin 1 2,201 Sep-09-2021, 01:25 PM
Last Post: Yoriz
  Subprocess.Popen() not working when reading file path from csv file herwin 13 14,986 May-07-2021, 03:26 PM
Last Post: herwin
  PyDrive download file path MiniMinnow 0 3,234 Apr-28-2020, 03:01 PM
Last Post: MiniMinnow
  String to File Path creedX 4 3,269 Apr-06-2020, 07:29 PM
Last Post: creedX
  Add path to a local file in pop-up field pythonscripting 1 1,636 Feb-08-2020, 10:57 PM
Last Post: Larz60+
  How to get file name without the full path details and without extension aruncom2006 1 5,911 Jan-13-2020, 07:37 AM
Last Post: Larz60+
  How to include Variable in File Path penahuse 3 7,287 Jan-05-2020, 03:08 AM
Last Post: ichabod801

Forum Jump:

User Panel Messages

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