Find a reference entry

Python Functions

Collection of Python Functions and Methods

Reference entries

Collection of Python Functions and Methods

__COUNT__ entries on this page

Python os.path.dirname() MethodIt is an article on dirname() method in Python. We use this method to get the directory name from the path specified.Python os.path.exists() MethodThe os.path.exists() is used to check if a file exists and it returns true if a path/directory/link is found.Python os.path.expanduser() MethodThe os.path.expanduser() is an in-built Python function used to expand a file path component.Python os.path.expandvars() MethodThe os.path.expandvars() is an in-built Python function used to expand an environment variable.Python os.path.getatime() MethodThe os.path.getatime() is an in-built Python function used to get the latest access time of any specified file.Python os.path.getctime() MethodThe os.path.getctime() is an in-built Python function used to get a system's ctime for any specified file.Python os.path.getmtime() MethodThis article discuss the getmtime() method in Python. We use this method to return the modification time of the file.Python os.path.getsize() MethodThe os.path.getsize() is an in-built Python function used to check the size of a specified path/directory.Python os.path.isabs() MethodThis article is about the isabs() method in Python. We use this method to check whether the specified path is an absolute or not.Python os.path.isdir() MethodThis article discusses the os.path.isdir() method in Python. We use this method to check whether there is a directory or not for a specified path.Python os.path.isfile() MethodThe os.path.isfile() is an in-built python function used to check whether the specified path is a valid regular file or not.Python os.path.islink() MethodThis article educates about os.path.islink() method that validates a symbolic link.Python os.path.ismount() MethodThis is an article on the os.path.ismount() method in Python. We use this method to check whether the specified path is a mount point or not.Python os.path.lexists() MethodThe os.path.lexists() method validates a file system path or a symbolic link.Python os.path.normcase() MethodThe os.path.normcase() is an in-built Python function used to normalize the case of any given pathname.Python os.path.normpath() MethodThe os.path.normpath() is an in-built Python function used to normalize any given path as a parameter.Python os.path.realpath() MethodThis is an article on the os.path.realpath() method in Python. We use this method to get the canonical path of the provided filename.Python os.path.relpath() MethodThe os.path.relpath() is an in-built Python function used to get to a relative directory of a file path.Python os.path.samefile() MethodThe os.path.samefile() is an in-built Python function used to check the similarity of two filepaths.Python os.path.sameopenfile() MethodThe os.path.sameopenfile() method verifies if two file descriptors are associated with the same resource.Python os.path.samestat() MethodThe os.path.samestat() is a built-in Python function used to check the similarity of two stat tuples.Python os.path.split() MethodThe path.split() function splits the path into a pair head and tail component.Python os.path.splitdrive() MethodThe os.path.splitdrive() is an in-built Python function used to split the name of a directory.Python os.path.splitext() MethodThe os.path.splitext() is an in-built Python function used to split the path name.