Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Python only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Python
Char to Decimal conversion
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Carlo Gambino
New Member
Join Date:
Feb 2008
Posts:
12
#1
Char to Decimal conversion
Feb 20 '08, 07:06 PM
I came across this article on MSDN and was hoping someone here can help me understand a similar way to accomplish this with Python?
jlm699
Contributor
Join Date:
Jul 2007
Posts:
314
#2
Feb 20 '08, 08:56 PM
Originally posted by
Carlo Gambino
I came across this article on MSDN and was hoping someone here can help me understand a similar way to accomplish this with Python?
ord() returns the decimal ordinal of a single char
[CODE=python]
>>> ord('c')
99
[/CODE]
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment