Pyformat %s in a string

Asked

Viewed 13 times

-1

i have the following line of code to open a browser tab that is passed by the user, but with is the "%s" function since I am not passing any parameter to be replaced in place of "%s"

webbrowser.get("C:/Program Files (x86)/Google/Chrome/Application/Chrome.exe %s"). open(tab)

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.