All Questions
28,073 questions
3
votes
2
answers
75
views
Python (no Django/Flask) - CSS and other static files not being recognized in base template
Apologies for the basic question, but I can't figure out why the CSS sheet called out in my base template's header isn't hooked up when I check my index.html file on http.server.
I'm migrating my site ...
0
votes
0
answers
70
views
Font Awesome isn’t displaying the icon
I'm working on a simple Flask app that renders an HTML page with Font Awesome icons. I've included the Font Awesome CDN in the , and while the background styles and layout appear correctly, the icons ...
-2
votes
0
answers
75
views
How to create <p> automatically when adding paragraph text without creating it one by one [closed]
I'm a newbie and I just starting created a code for my personal website about novel. I'm having a bit of trouble transferring the results of my novel into Visual Studio Code. I pasted it, the entire ...
-5
votes
1
answer
70
views
How to download csv file from India's NSE website using python
I'm trying to download a csv file using python from the India's stock exchange website. That is from https://www.nseindia.com/market-data/most-active-underlying. The problem I have is that when in &...
-3
votes
1
answer
69
views
Is there any way that we can take in data from a web app, store it into a csv file using python?
I have just begun learning how to use python for web apps. I don't plan on using it but I was just curious and trying it.
I'm trying to take student data like name,roll no, branch and course from html ...
1
vote
1
answer
62
views
How can I display a table in a template with additional category/section rows?
Have a nice day!
I have a non-standard table.
Which I plan to display in the template.
I load the table into the template from the model.
And I have additional sections - additional fields.
These ...
-1
votes
0
answers
72
views
HTML url format from requests response.text() method is different from mhtml file [duplicate]
I am learning Professor Evans CS101, the web crawler part. I found that if I save a website such as https://xkcd.com/, then I get the contents such as:
<li><a href=3D"https://xkcd.com/...
2
votes
2
answers
91
views
How to convert a datetime to period
How can I format a datetime in HTML from flask render_template so it displays how much time has passed since the datetime?
I am getting cabinet table from flask_sqlalchemy where the date is formatted ...
2
votes
1
answer
137
views
How can I embed a TikTok LIVE in my html?
I'm developing a Flask application designed to manage and initiate live streams to multiple platforms. In my app I'm implementing a "live monitor" where users can paste a stream URL and then ...
0
votes
1
answer
34
views
how to query a flask sqlalcheme tha has two relationship from another single table
I am trying to query a table that contains userId, which references users, and taggedNameId, which also references users and view it in my template. But i keep getting this error "int object' has ...
0
votes
0
answers
43
views
Get a limit of organizations on the screen (CKAN)
I'm developing a theme on CKAN (inspired by https://data.gov.sg/) and I'm trying to display my organizations in cards at my index.html (see image and don't mind design errors :P) image of cards
I've ...
2
votes
3
answers
125
views
Can someone help me access a link from a web page using Python?
Specifically, I'm trying to extract the link to the screenwriter's page from a Rotten Tomatoes movie page. So for example, from https://www.rottentomatoes.com/m/dangerous_animals, I'm trying to get ...
0
votes
1
answer
73
views
Trying to display error message in tagify but my js seems incorrect
I am using Tagify in my Python Flask SqlAlchemy project. I am trying to create a tag system using the tagify library, however I want it to behave a little different to the standard tagify.
I am trying ...
0
votes
0
answers
61
views
How to Force WeasyPrint to Generate a Single-Page PDF with Dynamic Height for Large Content
I’m using WeasyPrint with FastAPI and Jinja2 to generate a PDF resume from a JSON data structure. The resume is rendered as HTML using a Jinja2 template and converted to PDF with WeasyPrint. My goal ...
0
votes
3
answers
99
views
Selenium can't click visible <button> with text "Download All"
I'm trying to click a "Download All" button using Selenium in Python. Here's the relevant HTML from inspect:
<button title="" type="button" class="bds-button ...