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

What is automation in python?

836


Define the usage of split?

925


What is abstract class in python?

756


Why python is popular now?

775


What are the possible ways to load an array from a text data file in python? How can the efficiency of the code to load data file be improved?

919


How to open a text file and display its contents?

931


How do I get a list of all files (and directories) in a given directory in Python?

814


How do you use super in python?

970


Explain how can you generate random numbers in python?

832


What does isnull mean in python?

802


What are the nameless functions in python?

799


Is python written in c?

788


Is there a reverse function in python?

874


Can you learn python with no experience?

868


What is the difference between range and xrange functions?

836