r/pythonhelp • u/stormcat1228 • Apr 02 '22
I need assistance for coding for python
When I copied a piece of code from my old laptop to my new desktop computer it wouldn't work in VS Code because "%s" would come up blue and on my old laptop it would be orange.
webbrowser.get('C:/Program Files (x86)/Google/Chrome/Application/chrome.exe -profile-directory="Profile 1" %s').open(url)
This was the code that wasnt working.
0
Upvotes
1
u/MT1961 Apr 02 '22
Do you have Chrome installed on your new laptop, and is it in the same location?