DaniWeb Forum Index
>
Search Forums
Search Results
•
•
•
•
Showing results 1 to 1 of 1
Search took
0.01
seconds.
Search:
Posts Made By:
manpreets7
; Forum:
Python
and child forums
Save these search results for 24 hours
Forum:
Python
Jun 20th, 2009
Replies:
2
Code Snippet:
Word Frequency in a Text String (Python)
Views:
7,043
Posted By
manpreets7
The stripping of characters can be better handled...
The stripping of characters can be better handled this way:
<snippet>
chars = ",.!?;"
word2 = word.rstrip(chars);
</snippet>
This will strip more than one characters in the end if needed.
Showing results 1 to 1 of 1
Latest Posts
Today's Posts
All Forums
Unanswered Threads
All Forums
Related Forum Features
DaniWeb News Stories
DaniWeb Code Snippets
DaniWeb Tutorials
DaniWeb Product Reviews
DaniWeb White Papers
Forum Search
About Us
|
Contact Us
|
Advertise
|
DaniWeb
|
Acceptable Use Policy
|
©2003 - 2009 DaniWeb® LLC