Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.exe prob
#7
I guess I'm not really understanding what you want to do. I thought you wanted to be able to run the program from a different place to where the database ia stored. You then either need to hardcode the path to it (meaning you'd have to change the program if you moved it) or pass it in to the program somehow (command line argument, config file, environment variable, ...). Of course, your program could scan your file system(s) to try and discover where the file is, but that may be slow and do you really want to write code to do that anyway?
Reply


Messages In This Thread
.exe prob - by Kundan - Nov-05-2020, 05:10 AM
RE: .exe prob - by ndc85430 - Nov-05-2020, 05:17 AM
RE: .exe prob - by Kundan - Nov-06-2020, 04:54 AM
RE: .exe prob - by Kundan - Nov-06-2020, 04:56 AM
RE: .exe prob - by ndc85430 - Nov-06-2020, 05:26 AM
RE: .exe prob - by Kundan - Nov-07-2020, 03:39 AM
RE: .exe prob - by ndc85430 - Nov-07-2020, 05:26 AM
RE: .exe prob - by Kundan - Nov-09-2020, 04:14 AM
RE: .exe prob - by ndc85430 - Nov-09-2020, 05:34 AM
RE: .exe prob - by Kundan - Nov-12-2020, 05:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Newbie prob Snakecharmer 3 30,676 Jan-29-2019, 10:04 PM
Last Post: Snakecharmer

Forum Jump:

User Panel Messages

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