Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to write a Unicode string in Python?

Answer Posted / nashiinformaticssolutions

In Python 3, strings are Unicode by default. You can write Unicode characters directly in a string or use escape sequences like `u` or `U` for Unicode code points.
Example:
```python
unicode_string = "Hello, !"

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you create a dictionary which can preserve the order of pairs?

915


How would you define a protected member in a python class ?

829


How do I run a python script?

993


What is end in python?

955


Tell us what is module and package in python?

964


What is lambda function in python?

870


What does append () do in python?

822


What do you mean by overriding methods?

944


What is a private method?

916


Why python is better?

826


Is python string mutable?

921


What happens when you execute python == python?

1043


What is a numpy in python?

860


What is python? What do you understand of pep 8?

858


What is python private heap space?

1025