Python Standard Library

Table of Contents

  • Ch 01 - 10
  • Ch 11 - 20
  • Ch 21 - 30
  • Ch 31 - 37
  • api
    • 06 Built-in Exceptions
    • 07 String Services
    • 08 Data Types
    • 09 Numeric and Mathematical Methods
    • 10 File and Directory Access
    • 11 Data Persistence
    • 12 Data Compression and Archiving
    • 13 File Formats
    • 14 Cryptographic Services
    • 15 Generic Operating System Services
      • os
        • Functions
          • os.WCOREDUMP()
          • os.WEXITSTATUS()
          • os.WIFCONTINUED()
          • os.WIFEXITED()
          • os.WIFSIGNALED()
          • os.WIFSTOPPED()
          • os.WSTOPSIG()
          • os.WTERMSIG()
          • os.abort()
          • os.access()
          • os.chdir()
          • os.chmod()
          • os.chown()
          • os.chroot()
          • os.close()
          • os.closerange()
          • os.confstr()
          • os.ctermid()
          • os.dup()
          • os.dup2()
          • os.execl()
          • os.execle()
          • os.execlp()
          • os.execlpe()
          • os.execv()
          • os.execve()
          • os.execvp()
          • os.execvpe()
          • os.fchdir()
          • os.fchmod()
          • os.fchown()
          • os.fdatasync()
          • os.fdopen()
          • os.fork()
          • os.forkpty()
          • os.fpathconf()
          • os.fstat()
          • os.fstatvfs()
          • os.fsync()
          • os.ftruncate()
          • os.getcwd()
          • os.getcwdu()
          • os.getegid()
          • os.getenv()
          • os.geteuid()
          • os.getgid()
          • os.getgroups()
          • os.getloadavg()
          • os.getlogin()
          • os.getpgid()
          • os.getpgrp()
          • os.getpid()
          • os.getppid()
          • os.getresgid()
          • os.getresuid()
          • os.getsid()
          • os.getuid()
          • os.initgroups()
          • os.isatty()
          • os.kill()
          • os.killpg()
          • os.lchown()
          • os.link()
          • os.listdir()
          • os.lseek()
          • os.lstat()
          • os.major()
          • os.makedev()
          • os.makedirs()
          • os.minor()
          • os.mkdir()
          • os.mkfifo()
          • os.mknod()
          • os.nice()
          • os.open()
          • os.openpty()
          • os.pathconf()
          • os.pipe()
          • os.popen()
          • os.popen2()
          • os.popen3()
          • os.popen4()
          • os.putenv()
          • os.read()
          • os.readlink()
          • os.remove()
          • os.removedirs()
          • os.rename()
          • os.renames()
          • os.rmdir()
          • os.setegid()
          • os.seteuid()
          • os.setgid()
          • os.setgroups()
          • os.setpgid()
          • os.setpgrp()
          • os.setregid()
          • os.setresgid()
          • os.setresuid()
          • os.setreuid()
          • os.setsid()
          • os.setuid()
          • os.spawnl()
          • os.spawnle()
          • os.spawnlp()
          • os.spawnlpe()
          • os.spawnv()
          • os.spawnve()
          • os.spawnvp()
          • os.spawnvpe()
          • os.stat()
          • os.stat_float_times()
          • os.statvfs()
          • os.strerror()
          • os.symlink()
          • os.sysconf()
          • os.system()
          • os.tcgetpgrp()
          • os.tcsetpgrp()
          • os.tempnam()
          • os.times()
          • os.tmpfile()
          • os.tmpnam()
          • os.ttyname()
          • os.umask()
          • os.uname()
          • os.unlink()
          • os.unsetenv()
          • os.urandom()
          • os.utime()
          • os.wait()
          • os.wait3()
          • os.wait4()
          • os.waitpid()
          • os.walk()
          • os.write()
        • Classes
        • Exceptions
      • io
      • time
      • argparse
      • optparse
      • getopt
      • logging
      • logging.config
      • logging.handlers
      • getpass
      • curses
      • curses.ascii
      • curses.panel
      • platform
      • errno
      • ctypes
    • 16 Optional Operating System Services
    • 17 Interprocess Communication and Networking
    • 18 Internet Data Handling
    • 19 Structured Markup Processing Tools
    • 20 Internet Protocols and Support
    • 21 Multimedia Services
    • 22 Internationalization
    • 23 Program Frameworks
    • 24 Graphical User Interfaces with Tk
    • 25 Development Tools
    • 26 Debugging and Profiling
    • 27 Software Packaging and Distribution
    • 28 Python Runtime Services
    • 29 Custom Python Interpreters
    • 30 Restricted Execution
    • 31 Importing Modules
    • 32 Python Language Services
    • 33 (depr) Python compiler package
    • 34 Miscellaneous Services
    • 35 MS Windows Specific Services
    • 36. Unix Specific Services
    • 37 Mac OS X specific services
Python Standard Library
  • Docs »
  • api »
  • os »
  • os.readlink()
  • View page source

os.readlink()¶

os.readlink(path) → path¶

Return a string representing the path to which the symbolic link points.

Next Previous

© Copyright 2016.

Built with Sphinx using a theme provided by Read the Docs.