Skip to main content
Filter by
Sorted by
Tagged with
-3 votes
0 answers
77 views

Short context: I’m building a local Python agent with a llama.cpp-backed 3B model and MCP-style tools. One tool should open a YouTube search in the browser. What works Tool is called URL is ...
Alex_zlat's user avatar
0 votes
0 answers
35 views

I'm on windows using vscode, while True: command = input("enter to next, 0 to append and next (or type 'e' to quit): ") if command.lower() == 'e': print("Exiting ...
Deepak's user avatar
  • 1
0 votes
2 answers
353 views

Using this default model, if I separate one of these URLs in a new window and use it for reading, the next URL open will open in the window I've separated for reading, obviously hindering my reading. ...
Digital Farmer's user avatar
0 votes
0 answers
134 views

I can't use Selenium or any other type of option that controls the browser, because I need to use it on sites that have strict restrictions against bots and automations, so I need to use the browser ...
Digital Farmer's user avatar
-1 votes
1 answer
50 views

I am programming python programs on a device that using android as an operation system ,and while I was trying to display HTML File using webbrowser library ,i have got this error as a text from the ...
Mohammed Elwathig's user avatar
0 votes
2 answers
157 views

From what I am reading Python webbrowser documentation you can either use Open() with a new=1 argument or using open_new() should open a new window. Not another tab. I was working on a bigger project ...
MrPrecise's user avatar
1 vote
0 answers
56 views

I am using the below code to launch firefox browser, and then to connect to existing firefox browser The problem is the control remains at firefox_driver = webdriver.Firefox(service=service, options=...
Nishtha Sharma's user avatar
-1 votes
2 answers
59 views

I'm new(ish) to Python, and am trying to create a link manager software. I have ran into an issue in my code, however: apparently, the webbrowser module doesn't work with lists? I tried doing simple ...
Loquacious Lizard Lover's user avatar
1 vote
1 answer
72 views

I am using Raspberry Pi 4 to run webbrowser.open(). But instead of open pop-up window, it show this in terminal. After choosing 'A', it shows the webpage content in terminal. How can I solve? I ...
yolopoi's user avatar
  • 59
0 votes
0 answers
83 views

I have developed a Python-based Web API using frameworks such as Flask or FastAPI and need to deploy it on an IIS (Internet Information Services) server. The goal is to make the API accessible within ...
Praveen Kumar's user avatar
0 votes
2 answers
396 views

Normally I work with Ruby and I don't have this issue thanks to some gems I have installed, but for Python I'm not sure how to handle this. I'm on a Windows machine, and I develop with VS Code using ...
Jason Sturgeon's user avatar
0 votes
0 answers
88 views

I create a pyd compiled python file of a function called sm that calculate the sum of two numbers (just to test the use of compiled python file). The compiled file name is somme.pyd To test I create ...
mlri's user avatar
  • 23
-3 votes
3 answers
105 views

Basically in my project I open a web page using webbrowser and then type something into the search bar with pyautogui, which opens a new page. I need a function that finds the link of the new page and ...
Blakely Schreiber's user avatar
1 vote
1 answer
52 views

On Windows, calling webbrowser.open steals the e.g. keyboard input focus, and sets it to the newly opened webbrowser tab. Is there a way to avoid this, that is: to open the page in the background ?
serv-inc's user avatar
  • 38.8k
0 votes
1 answer
24 views

I'm trying to make a program that redirects the user to a HTML file after they have logged in. The redirecting part of the code works like this: print("You have reached the end: Redirecting."...
hummusman's user avatar
0 votes
1 answer
44 views

if request.method == 'POST': k = request.FILES obj = request.FILES['upload'] t = int(time.time()) jobid = 'jobid'+str(t) job_name = jobid + '_' + obj.name print(job_name) ...
Ezra Corli's user avatar
0 votes
1 answer
127 views

I made an app that opens urls in a web browser, when you enter them into a gui. from tkinter import * import webbrowser def WebOpen(): url = (WebEntry.get()) webbrowser.open(url) gui = Tk() ...
msh's user avatar
  • 1
0 votes
0 answers
58 views

i do not need to open new page in chrome, I have to use the same existing page I am trying to send WhatsApp messages using Python from the web, but every time it opens a new page and downloads ...
عدنان المغيره's user avatar
0 votes
2 answers
704 views

why is it that my python webview code does not work import webview webview.create_window("Ridola Web View", "www.google.com") webview.start() Giving me this error Traceback (most ...
Ridola's user avatar
  • 21
0 votes
0 answers
245 views

i trying to run google Oauth with django project on vps ubuntu server the google flow file use python module webbrowser.py , when run the app get error "could not locate runnable browser" ...
Moetaz Darwish's user avatar
1 vote
0 answers
82 views

Trying to determine how I would use pythons webbrowser library to search a string on the USERS set search engine. My current line is wb.open_new(f"https://www.google.com/search?q={string}") ...
Sokoloft's user avatar
0 votes
0 answers
87 views

I am trying to use the spotify api which uses OAuth. Once you have been authorized, accessing the authorization url redirects you to your specified redirect_uri with a code in the URL parameters. When ...
corplou's user avatar
0 votes
1 answer
90 views

I have been trying to build up a webpage using Flask.I am currently on the login form: from flask import Flask,render_template,request from flask_sqlalchemy import SQLAlchemy app = Flask(__name__) ...
Root's user avatar
  • 49
0 votes
0 answers
261 views

I came across an import problem causing a runtime warning at debug time. As soon as my python script invokes the open method of the webbrowser package, VSCode prints the following: /snap/core20/...
Andrea Moro's user avatar
  • 1,041
1 vote
1 answer
2k views

My Docker configuration: FROM python:3.11 WORKDIR /app COPY /app . RUN pip install --upgrade pip && \ pip install --no-cache-dir -r requirements.txt && \ rm requirements....
Aleksey Romanov's user avatar
0 votes
1 answer
678 views

Previously, subprocess.run() still only opened the Edge browser and executed the next command without closing Edge. Currently, subprocess.run() will wait for Edge to close before executing the next ...
Dave Carlee's user avatar
0 votes
0 answers
59 views

I have created the following script in tkinter. The initial outcome of the script that I am trying to achieve is for each on the following functions to automate with very little manual effort. For ...
jpotter20's user avatar
-1 votes
1 answer
62 views

I am trying to parse an HTML Page using Regualr Expressions. I have to find out the sum of all comments from this web page: https://py4e-data.dr-chuck.net/comments_42.html Everything else is working ...
Rikhil Taneja's user avatar
-2 votes
2 answers
72 views

To parse the site, I need to collect information in real time from the page I am on. And I need to get a link, which is always completely different. I did this through the mouse library and keyboard, ...
Klonmine's user avatar
0 votes
1 answer
1k views

I know you guys will remove this question, cause this has been asked, but i can really not understand this question!! Stack overflow has been useless for me due to you guys rejecting my questions even ...
Aarav's LEARNING Videos's user avatar
1 vote
0 answers
978 views

am trying to build a streamlit web app i have installed streamlit in my anaconda environment with the command : conda create --name streamlit_env python=3.10 conda activate streamlit_env pip install ...
frentych's user avatar
0 votes
2 answers
779 views

I'm having a problem with my Flask app where it doesn't update the data fetched from the database when I insert new data. The app only fetches the old data that was fetched when I started the app. No ...
Mekkaoui_Redouane's user avatar
0 votes
1 answer
45 views

import webbrowser a = str(input("Enter Your Website : ...")) print(a) print('Searching '+ a) webbrowser.open(a) The problem is that it is opening in Firefox, but my default browser is ...
Noob_Master_69's user avatar
1 vote
0 answers
33 views

I am trying to write a progam that is supposed to open random links in my browser, using the webbrowser module and the random module. I am also using a .txt file where all the links are saved. I have ...
ojilhkugz's user avatar
1 vote
0 answers
153 views

I'm trying to open an url using python webbrowser module. When the code below runs nothing happens. import webbrowser webbrowser.open_new('http://www.python.org') But when a sleep time is given, the ...
Shyam3089's user avatar
  • 509
-1 votes
1 answer
765 views

Is there a way so I can get the page content from the page I launch using: import webbrowser url = 'http://docs.python.org/' # MacOS #chrome_path = 'open -a /Applications/Google\ Chrome.app %s' # ...
user982455's user avatar
2 votes
1 answer
100 views

I have some links in a list and I need to open all these links in my browser import webbrowser browserpath='C:\Program Files (x86)\Google\Chrome\Application\chrome.exe %s' lis=[ITS FILLED WITH LINK ...
Lesbian's user avatar
  • 21
0 votes
1 answer
241 views

Its stuck here I tried Downloading the pyodide but is still gives error of
kushlawati devi's user avatar
0 votes
1 answer
58 views

When I send the GET request via postman there is an option to send and download and the download file(an html file) is executable which opens In a browser. I wish to do the same via python via ...
Harsh Prakash Agarwal's user avatar
0 votes
1 answer
180 views

I am new to Python and coding and i am trying to make an object detection application. For this i have used a loop which will print out buttons for the objects that was detected. For example if we ...
kabloeyyy23's user avatar
0 votes
1 answer
536 views

I don't understand how this works: If I open a website by hand in for example Safari or Chrome, I can log me on and if I close the browser I automatically log in after reopen the browser. So I once ...
DerFranzG's user avatar
0 votes
1 answer
114 views

I am trying to download a file from MS Edge. The webpage is protected by a username and a password. I am able to open up MS Edge, and navigate to the appropriate page, however, I can't navigate the ...
Erik's user avatar
  • 43
0 votes
0 answers
21 views

I assigned the website link I got from the database to a variable and I want to open this variable with the webbrowser module, but it gives an error connection = mysql.connector.connect(host="...
ufuuk999's user avatar
0 votes
1 answer
2k views

I needed to launch Chrome programmatically, then open some more tabs, then close them all when I was done, even if an existing Chrome browser was already open. I could find partial answers, but ...
Rich Lysakowski PhD's user avatar
-1 votes
1 answer
1k views

Is there any packages or ways to detect what is being clicking in a web browser? I mean get tag/xpath from the web browser (of what is being clicked)? To afterwards find it via selenium or similar? Or ...
sdoedos's user avatar
  • 41
0 votes
2 answers
121 views

I'm quite an infrequent coder, I hope my question won't be too obvious. I have this very simple code to open some websites based on string (open website for a specific word) which works on Windows but ...
Sebastian's user avatar
0 votes
1 answer
260 views

I want to open web browser with url my python script. I have a more than 100+ user. I want to run the my python script with every user desktop portable chrome for ex. C:\Users\user1\Desktop\chrome\...
Enes Aksu's user avatar
0 votes
0 answers
350 views

I am trying to get my followers and the followers of my followers to make a graph for a project Below is the function that i get the error from. The error from the followers[1].click(). I tried ...
jimmys's user avatar
  • 11
0 votes
1 answer
137 views

I have the following code which will import a .txt file with a list of urls that, with the for statement, I'd like open one by one. Unfortunately webbrowser won't open the link by one by one, but it ...
Salah's user avatar
  • 9
9 votes
2 answers
13k views

Here's the breakdown of my Windows WSL environment: Windows 11 WSL version 2 Ubuntu version 20.04.3 LTS Python 3.8.10 I have a super simple Python program I'm using to open a web page in my default ...
Gharbad The Weak's user avatar

1
2 3 4 5
9