Tagged Questions
0
votes
1answer
23 views
How would you record votes using a python program?
I have to make a survey using html and python. The html is finished but recording the answers to the survey using python does not work properly. I tried programming it such that when the radio buttons ...
2
votes
2answers
40 views
How can I convert HTML into text without markup in Python?
I need to get plain text from an HTML document while honoring <br> elements as newlines. BeautifulSoup.text does not process <br> and newlines. HTML2Text is quite nice, but it converts to ...
0
votes
0answers
15 views
I wanna set the background of my app transparent
I used Python and html to make this app
I wanna set transparency on it, but just on background. I tried using def set_transparency(0) but it set all the app transparent
Here's the code
from ...
0
votes
0answers
10 views
I wanna set transparency on my background in python
Here's the code of my app
from lib.HTMLWindow import HTMLWindow
from gi.repository import Gtk
class MyWindow(HTMLWindow):
def __init__(self):
super(MyWindow, self).__init__(442, 442)
...
0
votes
1answer
20 views
How to keep a Progress bar running, after a form CGI SUBMIT with JS (Back end Python server)
I have a process that takes 5 minutes to generate a report and the user is left wondering what is going on, seeing nothing happening on the screen. I am not using AJAX for submitting.
function ...
1
vote
1answer
20 views
Using Python FTP Server (pyftplib) - create HTML file on log in
I have a FTP server working great using Python and the pyftplib library (https://code.google.com/p/pyftpdlib/). I would like to, on login (either anonymous or user), create a html file reflecting the ...
0
votes
1answer
31 views
BeautifulSoup4 : Ampersand in text
I have a problem using BeautifulSoup4... (I'm quite a Python/BeautifulSoup newbie, so forgive me if i'm dumb)
Why does the following code:
from bs4 import BeautifulSoup
soup_ko = ...
2
votes
2answers
53 views
How to execute jquery on page update
I have used jquery multi-select to render my django app muslitiselect in an user friendly way. When My Page First render I have putted script given below on page, this script bind any element having ...
0
votes
1answer
37 views
Page redirect to next page
I am using a map api in my app.For selecting marker, button named "Add marker" and "Refresh map" for refresh map.I am facing the here.
After saving the data,the save button will redirect to next ...
0
votes
1answer
57 views
Identify Webpage
Hi I am trying to parse a webpage in Python. This webpage is in a restricted area so I can not give the link. In this webpage you can do queries which then are published in a table which is added on ...
0
votes
1answer
33 views
Searching for multiple kinds of tags at once using Beautiful Soup 4
I am trying to use find_all to get all of the instances of several tag types (I don't care about class), in order, for a bit of soup using bs4.
I want to do something like this:
...
-1
votes
0answers
25 views
What technology use to web without recharge of content? [closed]
I'm learning Python + Django for web pages, and the web that will be small and the want to do without being completely reloading the web (such as flash web).
As the small web, a good technique would ...
0
votes
0answers
13 views
Pygame PGU - Inserting Text into a DIV/Textarea/etc
So I'm trying to make an app using the PGU library for Pygame. I'm using the html module to render html, at the moment I have a div and an input. I would like to be able to insert text into the div ...
-1
votes
0answers
31 views
python html text send mail has messy code [closed]
good friends
when send html text email as that:
...
htmltext="""<table><tr><td bgcolor="#fe45se"> one</td><td bgcolor="#dddddd">two</td> ...
0
votes
0answers
42 views
options for building single page html apps in python?
I'd like to mix the ubiquity of HTML/JS with the pleasure of programming in Python. Further, I'm interested in building single page apps (SPAs) so that I can target the web, iOS, Android, Win8, etc. ...