Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
29 views

How to correctly display static files in Django when debug = False?

what should I do if I used a command python manage.py collectstatic and don’t understand what needs to be done in order for static files to be located and displayed, i get only 404 when i try to load ...
Леонид Селеззнев's user avatar
0 votes
0 answers
27 views

I get AttributeError [duplicate]

import requests from bs4 import BeautifulSoup image_number = 0 strogram_number = 1 link = f"https://kartinki.pics/108401-haski-motocikl.html" responce = requests.get(link).text soup = ...
BlFoc's user avatar
  • 1
0 votes
1 answer
39 views

What is causing the route to change (ikely because form is submitting), i also added return false in the function?

I am currently building a single page web app and wanted that js handle the form submission and so that route remain the same. But when i click the submit button route changes, JS Code: document....
Aarav Kumar's user avatar
0 votes
0 answers
84 views

How to make a transparent button/animation without a button (flet)

I have a website, here is part of its code: c = ft.Container( ft.Text(value="Admin Page", color="cyan", size=50), border_radius = 10, ...
Zailox's user avatar
  • 121
0 votes
0 answers
44 views

Account in flask, Sql Aalchemy is created but I get werkzeug error AttributeError: 'NoneType' object has no attribute 'is_active'

I am building a flask web app using sql alchemy as database, when I try to make a new account it gives me error AttributeError: 'NoneType' object has no attribute 'is_active' in werkzeug, but the ...
Code Freak's user avatar
0 votes
2 answers
59 views

Cannot get button element of Website in python

I am using the Selenium API and Python. Trying to get a button element of a website. The element is this: <button class="bg-gray-600 hover:bg-gray-800 items-center font-semibold text-white ...
user334991's user avatar
0 votes
0 answers
83 views

I make simple chat using python flask and html/css/js but after adding new messages to database they don't appear on page

I have attempted different approaches to solve the problem, but new messages still do not appear. I would prefer not to use AJAX or Flask-Socket. I also make the page reload every second with JS, but ...
David's user avatar
  • 1
0 votes
0 answers
55 views

How to run a link and a website script from Colab?

I generate a .json file in my Colab notebook that I need to upload to the following website: https://neuralmmo.github.io/client/ This will then run an in-browser simulation. Is there a way to do this ...
Michal's user avatar
  • 3
-1 votes
1 answer
47 views

Allow python script to be executed by Apache, but not read in a browser

I have a website that uses a python script to get information from a separate entity. The python script is required due to the libraries in use and the structure of the other entity. The retrieved ...
Apolymoxic's user avatar
0 votes
0 answers
28 views

Why does an SMS containing a link via Twilio not work?

from twilio.rest import Client account_sid = '[AccountSid]' auth_token = '[AuthToken]' client = Client(account_sid, auth_token) message = client.messages.create( from_='[TwilioNumber]', body='...
Rodrigo Bianco de Carvalho's user avatar
0 votes
0 answers
27 views

G2G selenium sessions

I used code from How to save and load cookies using Python + Selenium WebDriver but it doesn't work for https://www.g2g.com/. Another example import pickle from selenium import webdriver import time #...
user11225404's user avatar
0 votes
2 answers
64 views

inconsistency with selenium library

I'm trying to create a selenium code in my computer but it is not working. The code is: from selenium import webdriver from pathlib import Path chromedriver_path:str = Path(__file__)....
mack lee's user avatar
0 votes
0 answers
94 views

Using python and visual studio, how do I intercept a toast notification on Windows, copy the text from it, and then paste it in desired location?

I am trying to create a program (an automated process) that logs into a certain website, which prompts a Duo Push (authentication method) that sends a text message to my phone. I need to copy this ...
user23298923's user avatar
-1 votes
1 answer
55 views

Can any one scrap this link using python https://merolagani.com/MarketSummary.aspx?type=losers

Please explain it The code that caused this warning is on line 10 of the file C:\Users/PycharmProjects\merolaganiwebscrap\test5.py. soup=BeautifulSoup(con.text) <table class="table table-...
Hacker Boy's user avatar
0 votes
0 answers
60 views

web scraping with python and extract the HTML data and format it into a data excel

I am currently working on a web scraping project using Python, and I'm facing a challenge when it comes to extracting HTML data and formatting it for Excel. Here are the key details: I have ...
rim mdimagh's user avatar

15 30 50 per page
1
2 3 4 5
243