Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Case sensitive path
#3
Sorry for missing some important information.
So i want to install an specific app from a python script using this:

os.system('path_to_setup.exe')

This script will be executed on different machines. The app I want to install has multiple versions and for some of them the kit is with uppercase (Setup.exe) and for some of them with lowercase(setup.exe). I have a variable that has the path with lowercase for now:

myInstallPath = path\setup.exe

What I want is to be able to execute, os.system(myInstallPath) no matter if the kit installer is with uppercase or with lowercase.

Thank you
Reply


Messages In This Thread
Case sensitive path - by asheru93 - Jan-28-2019, 08:30 AM
RE: Case sensitive path - by Larz60+ - Jan-28-2019, 11:33 AM
RE: Case sensitive path - by asheru93 - Jan-28-2019, 12:03 PM
RE: Case sensitive path - by mlieqo - Jan-28-2019, 01:00 PM
RE: Case sensitive path - by buran - Jan-28-2019, 01:03 PM
RE: Case sensitive path - by snippsat - Jan-28-2019, 01:50 PM
RE: Case sensitive path - by asheru93 - Jan-28-2019, 01:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Context-sensitive delimiter ZZTurn 9 1,394 May-16-2023, 07:31 AM
Last Post: Gribouillis
  Switch case or match case? Frankduc 9 4,388 Jan-20-2022, 01:56 PM
Last Post: Frankduc
  WebDriverException: Message: 'PATH TO CHROME DRIVER' executable needs to be in PATH Led_Zeppelin 1 2,150 Sep-09-2021, 01:25 PM
Last Post: Yoriz
  Case sensitive checks kam_uk 2 1,968 Nov-30-2020, 01:25 AM
Last Post: bowlofred
  How do I copy files without case sensitive? mcesmcsc 8 4,851 Dec-18-2019, 02:19 PM
Last Post: mcesmcsc
  case-sensitive search saisankalpj 1 2,187 Jul-03-2018, 02:46 PM
Last Post: gruntfutuk
  .pth file does not show up in sys.path when configuring path. arjunsingh2908 2 5,671 Jul-03-2018, 11:16 AM
Last Post: arjunsingh2908

Forum Jump:

User Panel Messages

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