Re: check if dir exists

Discussion in 'Python' started by Bob Gailer, Jul 9, 2003.

  1. Bob Gailer

    Bob Gailer Guest

    At 09:01 PM 7/9/2003 +0200, Geiregat Jonas wrote:

    >How can I check if a dir exists ?


    os.path.exists(path) # Return true if path refers to an existing path.

    Bob Gailer

    303 442 2625



    ---
    Outgoing mail is certified Virus Free.
    Checked by AVG anti-virus system (http://www.grisoft.com).
    Version: 6.0.492 / Virus Database: 291 - Release Date: 6/24/2003
     
    Bob Gailer, Jul 9, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UnVkeQ==?=

    Sub Dir, Virtual dir, what do I use?

    =?Utf-8?B?UnVkeQ==?=, Jun 12, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    438
    =?Utf-8?B?UnVkeQ==?=
    Jun 12, 2005
  2. Geiregat Jonas

    check if dir exists

    Geiregat Jonas, Jul 9, 2003, in forum: Python
    Replies:
    3
    Views:
    569
    Dave Reed
    Jul 9, 2003
  3. Jason Stacy
    Replies:
    2
    Views:
    4,770
    Roedy Green
    Apr 27, 2008
  4. Ulf Meinhardt
    Replies:
    8
    Views:
    6,216
  5. Matthew Denner
    Replies:
    1
    Views:
    195
Loading...

Share This Page