Example: air traffic controller
Basic Python Programming: for loops and reading files

Basic Python Programming: for loops and reading files

Back to document page

C:\AI\python\sample.txt In Chapter 1 we noted that the backslash character ‘\’ has special meaning in Python strings—namely that the next character should be interpreted in some special way. In order to get actual backslashes in a Python string we need to put a backslash before each of them. For example: filename = 'C:\\AI\\python\\sample ...

  Programming, Python, Basics, Loops, Reading, Basic python programming, For loops and reading

Download Basic Python Programming: for loops and reading files


Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Related search queries