<div dir="ltr">Hi,<div><br></div><div>Sorry for the newbie question. I am trying to create a QUrl out of a string. The sample code is here:</div><div><div><br></div><div>string = QInputDialog.getText(self, "Download URL", "Enter URL to download")</div><div>url = QUrl( str(string) ) </div></div><div>print ("the url is ", url)</div><div><br></div><div>the output gives me </div><div>the url is  PyQt5.QtCore.QUrl('')</div><div><br></div><div>What am I doing wrong?</div><div><br></div><div>Thanks,<br>Christopher</div><div><br></div><div><br></div><div><br></div><div><br></div></div>