0
votes
3answers
24 views

Passing Data to Bootstrap Modals

I am trying to create a simple modal using twitter bootstrap. The function of that modal is to take the name of the link clicked on, and use that name as a header. Each of the names are in a Django ...
1
vote
1answer
55 views

how to convert html links?

suppose that I download many html pages which contain links for each other , suppose the links is as follow : '<go to first lesson>' '<go to second lesson>' '<go to third lesson >' ...
0
votes
1answer
19 views

Python-Unable to locate CSS class using BeautifulSoup

I'm writing a script to collect weather data from a webpage. My code goes as follows: import urllib.request from bs4 import BeautifulSoup # open the webpage and assign the content to a new variable ...
0
votes
1answer
9 views

LPTHW ex50. : Error while using the template code

I am on this exercise. I am having trouble understanding the template code that is given. When I copy-pasted the code and made a template as desired just so that I could run it , I got the error No ...
0
votes
4answers
53 views

bash script to replace spaces in html

I need a linux bash script that can replace the spaces in name="this is a test". example: <input name="this is a test" id="testing 1 2 3" /> would change to this: <input ...
0
votes
2answers
63 views

regex not returning match but there is clearly a match

I am searching an html formatted site for a string ("s") which has this format: <td class="number">$0.48</td> I am trying to return the "$0.48" by using a regex. It was working until ...
1
vote
1answer
43 views

HTMLParser.HTMLParser().unescape() doesn't work

I would like to convert HTML entities back to its human readable format, e.g. '&pound;' to '£', '&deg;' to '°' etc. I've read several posts regarding this question Converting html source ...
0
votes
1answer
20 views

Python-HTML-How to strip out content in between tags using BeautifulSoup

What I'm doing: I'm writing a webpage extractor to gather weather data. This is what I did so far: import urllib.request from bs4 import BeautifulSoup # open the webpage and assign the content to a ...
-2
votes
0answers
24 views

Python - My Bot script doesn't works

Well thats my problem, it just doesn't skip the login phase, so I can't reach the interface. :/ from twill import get_browser from twill.commands import * # debug('http', 1) ...
-2
votes
0answers
20 views

Python: Invalid login to website? [on hold]

from twill import get_browser from twill.commands import * # debug('http', 1) go('http://xrshellbooter.com/login.php') # It shows me there the forms, everything is correct showforms() # Forms ...
-3
votes
4answers
99 views

Can a client view the source code of a server-side python application [on hold]

I am starting learning programming languages. I struggled between PHP and Python. I want to build a website and to parse strings from a form to a database. But I just read, that you can't hide the ...
-6
votes
1answer
38 views

grep with python to match string inside quotes in html files [on hold]

I am newbie in grep and I'm familiar with Python. My problem is to find and replace every string inside the quote like "text" by < em >text< /em > The source file has the html form Thanks
1
vote
1answer
21 views

Is it possible to add a border to an image in ReportLab?

I'm building a PDF for some products that include images. A lot of these images have a white background so I would really like to add borders around them. I'm given an image url when creating the PDF, ...
0
votes
2answers
27 views

HTML Image Insertion Django

I'm working to build a django web application. I'm using adobe brackets for the html and I'm trying to use an image from my folders on the website. The image appears during the brackets simulation, ...
0
votes
0answers
33 views

Creating a custom registration form in Google Course Builder

I need to create a registration form for the Google Course Builder to be opened without a Gmail account and just register with the personal email using a customized registration form. I checked the ...

1 2 3 4 5 141
15 30 50 per page