You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The Python homepage includes a slideshow of five sample Python programs, to provide a sense of what code written in the language looks like, and how to perform some common activities.
Code sample 5 is about reading input from the user and printing output, and has the comment-title # Simple output (with Unicode).
(pedantically speaking: the sample code shown does already use Unicode, if the reader is using Python 3 - because Unicode is the native string format for that version)
It'd be nice (and fun) to include at least one non-typical Unicode character - like an emoji animal character - to demonstrate the extent of Unicode support within Python more clearly.
Describe the solution you'd like
It would be great if code sample 5 of the "Dive into Python" section on the Python homepage could include at least one Unicode animal.
Perhaps the conversation could be updated to demonstrate a conversation between a snake and a robot? Are robots and snakes compatible as friends? I'm not really sure.
Describe alternatives you've considered
Python speaks to Python (small diff, but potentially not that interesting)
Python speaks to a bird (could be risky)
Python speaks to a different kind of snake (would be nice, although I don't know whether Unicode provides symbols representing that many different kinds of snake)
Additional context
The tricky part may be updating the HTML representation of the code sample's output that appears on the homepage. Although HTML does support Unicode, reference materials may be helpful to properly encode some characters.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The Python homepage includes a slideshow of five sample Python programs, to provide a sense of what code written in the language looks like, and how to perform some common activities.
Code sample 5 is about reading input from the user and printing output, and has the comment-title
# Simple output (with Unicode)
.(pedantically speaking: the sample code shown does already use Unicode, if the reader is using Python 3 - because Unicode is the native string format for that version)
It'd be nice (and fun) to include at least one non-typical Unicode character - like an emoji animal character - to demonstrate the extent of Unicode support within Python more clearly.
Describe the solution you'd like
It would be great if code sample 5 of the "Dive into Python" section on the Python homepage could include at least one Unicode animal.
Perhaps the conversation could be updated to demonstrate a conversation between a snake and a robot? Are robots and snakes compatible as friends? I'm not really sure.
Describe alternatives you've considered
Additional context
The tricky part may be updating the HTML representation of the code sample's output that appears on the homepage. Although HTML does support Unicode, reference materials may be helpful to properly encode some characters.
The text was updated successfully, but these errors were encountered: