python:How to print the character from a variable with unicode string -


How do I print Unicode in Python

My question is: How do I code the following Can I edit just to translate to Unicode for printing on 2014-07-16? Print 'day:% s \ n'% (release)

My original output: Day: [u2014-07- 16] ]
I want the result: day: 2014-07-16

I will try print u'day:%

Please teach me thank you

if prints In the output, you can:

1) From that list Get the first element

  print 'day:% s \ n'% releaseey [0]   

2) Insert all elements from the list

  Print 'day:% s \ n'% ''. Add (Relay)   

3) Repeat elements from the list and print it separately

 < Code> Relay X: Print 'day:% s \ n'% x   

But this is the basic knowledge in the "pure" python and it is not treated in any way.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -