473,809 Members | 2,699 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

for web content analysis: python or other case?

5 New Member
For a project I need to analysis of web content. So I should get a web page as a input and then decompose information and other objects. Every object may have special processing after decomposition. I have doubt which language is more suitable for this situation. Do you think python is a good option or recommend Perl or other languages? I have to mention that I have C++ programming experience and a little JavaScript.
Jan 14 '07 #1
1 1819
ghostdog74
511 Recognized Expert Contributor
For a project I need to analysis of web content. So I should get a web page as a input and then decompose information and other objects. Every object may have special processing after decomposition. I have doubt which language is more suitable for this situation. Do you think python is a good option or recommend Perl or other languages? I have to mention that I have C++ programming experience and a little JavaScript.
Yes, it is an option. There are modules you can use, eg urllib , urllib or BeautifulSoup for getting web contents easily. For more information, you can have a look at web client programming . Of course, if you are comfortable with Perl, there are similar libraries, eg LWP for similar task.
Jan 14 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
2261
by: beliavsky | last post by:
If I run PyChecker on the following program, stored in xtry.py, m = 10000000 k = 0 for i in xrange(m): k = k + i print k x = range(3) print x
5
2419
by: Bishara Gabriel | last post by:
I encourage feedback from all parties and especially those which would like to be directly involved (I may include you in the grant proposal and budget). Send me your comments! -------> Project Objective We seek to introduce the advantages of object-oriented programming to the realm of social sciences. We believe the fields thereof (economics,
6
2008
by: dcolford2000 | last post by:
Hi All - I'm new to python Is there an impact analysis tool out there that can cross reference python -- VB has a couple of these tools (eg. Visual Expert) TIA, All comments welcome Dave
64
6439
by: Manfred Kooistra | last post by:
I am building a website with identical content in four different languages. On a first visit, the search engine determines the language of the content by the IP address of the visitor. What the user sees is content in only one language at a time. He or she can then switch to another language and set this as the preferred language, but again he or she sees content in only this one other language. The question now is: How do I get search...
5
3535
by: Ray Tomes | last post by:
Hi Folks I am an old codger who has much experience with computers in the distant past before all this object oriented stuff. Also I have loads of software in such languages as FORTRAN and BASIC, QBASIC etc that is very useful except that it really doesn't like to run on modern operating systems and has hopeless graphics resolution and lack of ease of use in some ways.
2
1348
by: showcaran | last post by:
For a project I need to analysis of web content. So I should get a web page as a input and then decompose information and other objects. Every object may have special processing after decomposition. I have doubt which language is more suitable for this situation. Do you think python is a good option or recommend Perl or other languages? I have to mention that I have C++ programming experience and a little JavaScript. ...
14
9518
by: Brad | last post by:
I have a .net 2.0 web application project that creates a pdf file, saves the pdf to disk (crystal reports does this part), and then my code reads the pdf file and writes it to the httpresponse The web app works great on win2003 and xp and the end result is a pdf file is displayed in the browser. When I run the same code on Vista, the browser displays the message "Internet Explorer cannot display the web page". If I open the same...
3
4047
by: Brad | last post by:
I have an aspx page that is sending pdf files to client browsers: it uses a filestream to read the pdf file and response.binarywrite to send content to the browser. This has worked great for years in IE, Firefox and Opera on windows, and it works on a Mac with Firefox and Opera. But this fails in Safari with the generic message "A network error occurred while accessing this document". Here is a link to try out ...
2
4766
jwwicks
by: jwwicks | last post by:
A Guide for the Beginning CIS Student Introduction It's that time again. A new semester is starting and CIS students all over the country are beginning to program. It can be an overwhelming experience trying to decipher syntax while learning to code an assignment effectively. There are many practices I see that cause beginning programming students to suffer through their assignments. I'm going to outline those problems in this article. ...
0
9721
marktang
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9603
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10376
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10387
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10120
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6881
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5689
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3861
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.