Skip to main content

Operations for Text Processing

  • Chapter
  • First Online:
Programming with Python
  • 14k Accesses

Abstract

Information is printed/displayed in natural language character combinations. But computer communication and storage systems use only bit streams. Unicode which defines universally accepted conversion between character and bit streams is the basis to bridge the gap between the two. Different coding schemes of conversion are in vogue—UTF8 being the most widely used one. UTF8 is explained and coding/decoding related constructs in Python dealt with in detail. Character streams as strings and binary string related operations are treated comprehensively. ‘Bytes’ and ‘bytearray’ as sequence representations and number representations in different forms (binary, octal, hex, decimal, and radix-specified) and their conversions come in handy here. Exercises provided are in classical cryptography, cryptanalysis, and selected coding schemes; these are useful in relating Python operations with characters effectively.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 179.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to T. R. Padmanabhan .

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Springer Nature Singapore Pte Ltd.

About this chapter

Cite this chapter

Padmanabhan, T.R. (2016). Operations for Text Processing. In: Programming with Python. Springer, Singapore. https://doi.org/10.1007/978-981-10-3277-6_7

Download citation

  • DOI: https://doi.org/10.1007/978-981-10-3277-6_7

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-10-3276-9

  • Online ISBN: 978-981-10-3277-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics