title: Python can't find my text file?
body: <p>I'm totally a noob at computer languages. </p>
  
  <p>In my school I downloaded a file called color.txt Then I was suppose to do some programming involving the file...... </p>
  
  <pre><code>import os.path
  filename=input("Enter name of input file &gt;")
  infile=open(filename,"r")
  </code></pre>
  
  <p>and so on. It worked at school. </p>
  
  <p>Now I came home and downloaded the file again but this time the same python program that worked in school does not recognizes color.txt</p>
  
  <p>My teacher told the class to try </p>
  
  <pre><code>import os.path
  if os.path.isfile("color.txt"):
   print("color.txt") 
  </code></pre>
  
  <p>to see if it exist but apparently it doesn't. </p>
  
  <p>To clarify both times I downloaded the file to the desktop. At my school we use linux. At home I have windows. At home when you open the file it opens with notepad. In school it open with something else..I forgot. Please help.</p>