Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion from Martin for file opening function #40

Open
xiaoliz0 opened this issue Jun 18, 2024 · 1 comment
Open

Suggestion from Martin for file opening function #40

xiaoliz0 opened this issue Jun 18, 2024 · 1 comment

Comments

@xiaoliz0
Copy link
Contributor

def openFile(path, permissions, encoding):
if (encoding != ""):
return open(path, permission, encoding=encoding)
else:
return open(path, permission)'

@xiaoliz0
Copy link
Contributor Author

def checkHospitalStr(hospital):
if(str(hospital) == "0.0"):
return "-"
else:
return hospital

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant