title: I want to take numbers from a file and skip any string, after that i want to append every number inside one list. in python
body: <p>so this is the file that I'm reading from
  I just want to extract the numbers from the file and put it in a list without taking any string along.</p>
  <pre class="lang-none prettyprint-override"><code>Salem Al Rashed
  1200
  Sara Al Kandari
  950
  Ahmad Al Fadli
  1550
  </code></pre>
  <p>and this is the codes that I wrote but didn't work</p>
  <pre><code>my_list = []
  file = open(&quot;employees.txt&quot;,&quot;r&quot;)    
  
  for lines in file:
      if lines == &quot;&quot;
      slicing = int[lines]
  </code></pre>