Skip to content

Python command gives weird result! #1

Description

@yahyasheikhnejad

I know maybe my question is not relevant but please help!
print( os.path.isfile(os.getcwd()) )
gives False!
and
print(os.path.isfile('C:/Windows'))
print(os.path.isfile('C:\Windows'))
False
False
how could it be possible?
would you please help in this regards?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions