Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #49550

Re: File exists but Python says 'not found'.

Newsgroups comp.lang.python
Date 2013-07-01 04:32 -0700
References <5c1d1e47-b67e-4bce-8601-b14c0215f450@googlegroups.com> <e43b906e-a587-4711-8f60-a5e25d4f00c7@googlegroups.com> <mailman.4064.1372677314.3114.python-list@python.org>
Message-ID <95b8480f-5011-498e-bf36-278b89dced3a@googlegroups.com> (permalink)
Subject Re: File exists but Python says 'not found'.
From prerit86@gmail.com

Show all headers | View raw


My answers

I think Robert wanted to know how you started the program. 
What instruction do you use to launch? 
- used command c:\python27\python.exe c:\project_1\code.py

In what directory are you launching your program?
- working directory was c:
- python is in c:\python27
- code was in c:\project_1
- changed the working directory to c:\project_1 now and it worked

Is that the same directory where train.csv is present? 
- train.csv is present in c:\project_1

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

File exists but Python says 'not found'. prerit86@gmail.com - 2013-07-01 03:47 -0700
  Re: File exists but Python says 'not found'. Robert Kern <robert.kern@gmail.com> - 2013-07-01 11:56 +0100
  Re: File exists but Python says 'not found'. prerit86@gmail.com - 2013-07-01 03:57 -0700
    Re: File exists but Python says 'not found'. Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-07-01 13:15 +0200
      Re: File exists but Python says 'not found'. prerit86@gmail.com - 2013-07-01 04:32 -0700
  Re: File exists but Python says 'not found'. Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-07-01 12:59 +0200
    Re: File exists but Python says 'not found'. prerit86@gmail.com - 2013-07-01 04:00 -0700
      Re: File exists but Python says 'not found'. Dave Angel <davea@davea.name> - 2013-07-01 07:38 -0400
        Re: File exists but Python says 'not found'. prerit86@gmail.com - 2013-07-01 05:17 -0700

csiph-web