title: How to remove special characters and letters from a line read from a text file in Python?
body: <p>How can I remove special characters and letters from a line read from a text file while preserving the whitespaces? Let's say we have the following contents in a file:</p>
  
  <p>16  `     C38#       26535 2010  4 14  2  7  7 3 8^@1 2
      15   100   140    30 $  14^]
    (2003      2   ! -6   �021      0  �  14 !    2      3!     1      0  35454
     0$ ^@0 0 0  "0 "63 194 (56 188  26  27" 24 0 0 10� 994!  8  58
     0      0    " �      0      0  32�47  32767  32767    ! 1</p>
  
  <p>The output basically should be:</p>
  
  <p>16         38        26535 2010  4 14  2  7  7 3 8  1 2
      15   100   140    30    14 
     2003      2     -6    021      0     14      2      3      1      0  35454
     0    0 0 0   0  63 194  56 188  26  27  24 0 0 10  994   8  58
     0      0             0      0  32 47  32767  32767      1</p>
  
  <p>What's the most straightforward way to do this?</p>