Pycharm Url

Answered

If I am using input() and I type my urls in and press enter it takes me to the webpage how to change this ?

1
4 comments

Do you mean that when you hit <Enter> in the "Run" tool window after typing URL, PyCharm opens browser with the given address? Do you use "webbrowser" module in your program? Please also specify your OS and Pycharm version.

0
Avatar
Permanently deleted user

Yes and my os is Mac Sierra and Pycharm Version 2016.3.2. I am not using the web browser module.

0
Avatar
Permanently deleted user

I am having a similar problem with urllib.request.  when I open a URL using the actual URL, i get the HTML.  But when i use a variable assigned to the URL, then it automatically opens my default browser.  I've looked through preferences re browser etc.  Any help appreciated.  I am not using the web browser module

 

I have Mac Sierra and

PyCharm Community Edition 2017.1.4
Build #PC-171.4694.38, built on June 13, 2017
JRE: 1.8.0_112-release-736-b21 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.5

0
Avatar
Permanently deleted user

Having the similar issue in Ubuntu 16.04. I am trying to take URL as an input in but whenever I enter the URL in PYcharmConsole it automatically turns blue and input() statement doesn't terminate.

I am using Python3 interpreter.

PyCharm Community Edition 2017.2.3
Build #PC-172.3968.37, built on September 1, 2017
JRE: 1.8.0_131-b11 amd64
JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation
Linux 4.4.0-97-generic

0

Please sign in to leave a comment.