by: Curious Expatriate |
last post by:
Hi-
I'm completely stumped. I'm trying to write some code that will parse
a file and rewrite it with all URLs replaced by something else.
For example: if the file looks like this:
<b>click...
|
by: could ildg |
last post by:
I want to retrieve all urls in a string. When I use re.fiandall, I get
a list of tuples.
My code is like below:
url=unicode(r"((http|ftp)://)?((((+\.)+){3}+(/+)?)|(\w*((\.\w+)+){2,})(*)*)")...
|
by: |
last post by:
After peforming a basic redirect with two query string parameters I load the
page successfully...however the url does not look pretty...can anyone tell
me why these percentage signs and extra...
|
by: sinister |
last post by:
After doing a websearch, it appears that it's OK to omit the "http:" to form
a relative URL. Are there any pitfalls to this?
For example, if there is a page
http://www.domain1.com/page1.html...
|
by: Michael Ferrier |
last post by:
Hi,
I've used fopen() extensively to open web pages. I've found that there is a
small minority
of web pages that open fine in a browser, but are inaccessible using
fopen(). Here are
two such...
|
by: Wanderer |
last post by:
Hi all,
who knows how to correctly make assembly resolving in
asp.net?
In WinApplications AppDomain.CurrentDomain.AssemblyResolve
event works fine, but this is not a case of asp.net. If I...
|
by: tom |
last post by:
hi group,
i desperately need a function that will transform relative URLs to
absolute URLs in the SRC part of <img> tags.
ie:
function makeAbsolute($html,$basehref)
{
//if regex match =...
|
by: rjbr |
last post by:
ASP.NET problem
I have ASP.NET 1.1 application installed on 3 server Win2003/IIS6
Relative paths are being resolved in 2 of those but not on one
dir structire
/app/
/import
|
by: Richard Townsend |
last post by:
If I have a windows shortcut to a URL, is there a way to get the URL
in a Python app?
I found some code that uses pythoncom to resolve shortcuts to local
files, but I haven't found any examples...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|