please help me...

Please support our Python advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved

Join Date: Jan 2008
Posts: 14
Reputation: sarabhjeet is an unknown quantity at this point 
Solved Threads: 0
sarabhjeet sarabhjeet is offline Offline
Newbie Poster

please help me...

 
0
  #1
Jan 25th, 2008
Can u please tell me how to detect ascii and non-ascii strings in python?

Editor's note: In the future, please give your thread a meaningful title.
Last edited by vegaseat; Jan 26th, 2008 at 4:11 pm. Reason: use meaningful title
Reply With Quote Quick reply to this message  
Join Date: Dec 2006
Posts: 1,031
Reputation: woooee is a jewel in the rough woooee is a jewel in the rough woooee is a jewel in the rough 
Solved Threads: 290
woooee woooee is offline Offline
Veteran Poster

Re: please help me...

 
0
  #2
Jan 25th, 2008
I almost never read a thread that starts with "Please help me". It is too vague to even bother with. This was one of the results of a google for "python ascii" . You can also use the ord() function (google for it) on each character to see if the decimal value is within the ASCII range. You will also have to google for ASCII decimal ranges if you don't know what they are. Also, please add "Solved" to the topic if this answers your question, so others won't waste their time reading a thread that has already been solved.
http://aspn.activestate.com/ASPN/Coo.../Recipe/163743
Last edited by woooee; Jan 25th, 2008 at 12:59 pm.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Other Threads in the Python Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC