os.path.normpath

Discussion in 'Python' started by placid, Aug 18, 2006.

  1. placid

    placid Guest

    Hi all,

    I was just wondering if there is a anti-os.path.normpath function? For
    example if i have the path "C:\Program Files\Games" i want to
    anti-os.path.normpath is so that it becomes "C:\\Program Files\\Games"
    ?

    Cheers
     
    placid, Aug 18, 2006
    #1
    1. Advertising

  2. placid

    placid Guest

    placid wrote:
    > Hi all,
    >
    > I was just wondering if there is a anti-os.path.normpath function? For
    > example if i have the path "C:\Program Files\Games" i want to
    > anti-os.path.normpath is so that it becomes "C:\\Program Files\\Games"
    > ?
    >
    > Cheers


    Ahh ignore my post. I was using abspath, and normpath is what i what.

    Doh, stupid me!

    Cheers
     
    placid, Aug 18, 2006
    #2
    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. os.path.normpath

    , Aug 9, 2006, in forum: Python
    Replies:
    4
    Views:
    798
    Dennis Lee Bieber
    Aug 17, 2006
  2. Graham Dumpleton

    Re: os.path.normpath

    Graham Dumpleton, Aug 16, 2006, in forum: Python
    Replies:
    0
    Views:
    391
    Graham Dumpleton
    Aug 16, 2006
  3. billiejoex

    os.path.normpath bug?

    billiejoex, Jun 14, 2007, in forum: Python
    Replies:
    2
    Views:
    324
    billiejoex
    Jun 14, 2007
  4. Peng Yu
    Replies:
    1
    Views:
    320
    Lie Ryan
    Nov 24, 2009
  5. Benjamin Kaplan
    Replies:
    1
    Views:
    344
    Carl Banks
    Nov 24, 2009
Loading...

Share This Page