473,569 Members | 2,791 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Text & Unicode processing references on the web.

Hi,
I am starting my honours degree project and part of it is going to be
manipulating ASCII encoded XML files from a legacy database and
converting them to Unicode and doing text processing stuff on the data.

I am new to python ( total n00b ) but am keen to use it as the rest of
the software my application has to extend is already written in python,
plus I've always wanted to learn more about it - so here's my chance :-)

I've written stuff in Java and Perl so I expect I'll pick up the basics
without too much trouble.

Can anyone point out some good "Python & Unicode" and "Python & Text
processing" resources on the net to get me started? Any good book
recommendations ?

Thanks a lot for your help.

--
Mr Anthony Hornby RHCE BIT ALIATEC
Library Systems & Technology Coordinator
Charles Darwin University | CRICOS 300K
an************@ cdu.edu.au | office +61 8 89 466011

Jul 18 '05 #1
3 1373
anthony hornby wrote:
Can anyone point out some good "Python & Unicode" and "Python & Text
processing" resources on the net to get me started? Any good book
recommendations ?


As a quick Unicode tutorial, I'd recommend

http://www.jorendorff.com/articles/unicode/python.html
http://www.egenix.com/files/python/U...C2002-Talk.pdf

For text processing, you should read the "Strings" section of the
library reference:

http://www.python.org/doc/current/lib/strings.html

Notice there is also a separate section on SGML/XML

http://www.python.org/doc/current/lib/markup.html

PyXML has its own documentation page, on

http://pyxml.sourceforge.net/topics/docs.html

As for book recommendations : What language? I would recommend

Fischbeck, v. Löwis: Python 2

:-) It covers all of these topics.

Regards,
Martin
Jul 18 '05 #2
Hi Martin,
Thanks for the useful links :-)

Anthony.

On Sat, 2005-04-09 at 13:46 +0200, "Martin v. Löwis" wrote:
anthony hornby wrote:
Can anyone point out some good "Python & Unicode" and "Python & Text
processing" resources on the net to get me started? Any good book
recommendations ?


As a quick Unicode tutorial, I'd recommend

http://www.jorendorff.com/articles/unicode/python.html
http://www.egenix.com/files/python/U...C2002-Talk.pdf

For text processing, you should read the "Strings" section of the
library reference:

http://www.python.org/doc/current/lib/strings.html

Notice there is also a separate section on SGML/XML

http://www.python.org/doc/current/lib/markup.html

PyXML has its own documentation page, on

http://pyxml.sourceforge.net/topics/docs.html

As for book recommendations : What language? I would recommend

Fischbeck, v. Löwis: Python 2

:-) It covers all of these topics.

Regards,
Martin

--

Jul 18 '05 #3
Check David Mertz' book and web site

<http://gnosis.cx/TPiP/>

to start. There is more in some of the list here

<http://gnosis.cx/publish/tech_index_cp.h tml>.
/Jean Brouwers
anthony hornby wrote:
Hi,
I am starting my honours degree project and part of it is going to be
manipulating ASCII encoded XML files from a legacy database and
converting them to Unicode and doing text processing stuff on the data.
I am new to python ( total n00b ) but am keen to use it as the rest of the software my application has to extend is already written in python, plus I've always wanted to learn more about it - so here's my chance :-)
I've written stuff in Java and Perl so I expect I'll pick up the basics without too much trouble.

Can anyone point out some good "Python & Unicode" and "Python & Text
processing" resources on the net to get me started? Any good book
recommend ations?
Thanks a lot for your help. -
Mr Anthony Hornby RHCE BIT ALIATEC
Library Systems & Technology Coordinator
Charles Darwin University | CRICOS 300K
an************@ cdu.edu.au | office +61 8 89 466011


Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
17885
by: William Gill | last post by:
Is there a simple way to cut and paste from a tkinter text widget to an entry widget? I know I could create a mouse button event that triggers a popup (message widget) prompting for cut/paste in each of the widgets using a temp variable to hold the text, but I don't wnat to reinvent the wheel if there already is something that does the job. ...
28
2910
by: dingbat | last post by:
I'm writing a "tabbed folder" nav bar. Site standards are graphical prettiness, CSS throughout, valid code, but accesibility is ignored where it conflicts with prettiness. The particular issue here is that the graphic designer wants a pretty (non-webbable) font on the shaded nav tabs, so I'm reduced to using bitmaps. To make the 4-way...
13
6338
by: rbronson1976 | last post by:
Hi all, I have a very simple page that Firefox has problems with: www.absolutejava.com/testing.htm First of all, this page seems to be perfectly valid XHTML Strict. Both the W3C validator as well as Page Valet indicate it is valid. The page is being served with the proper MIME type of "application/xhtml+xml". Unfortunately, Firefox...
18
620
by: Chameleon | last post by:
I am trying to #define this: #ifdef UNICODE_STRINGS #define UC16 L typedef wstring String; #else #define UC16 typedef string String; #endif ....
0
7605
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...
0
7917
Oralloy
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7665
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...
1
5501
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
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...
0
3651
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...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1207
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.