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

Generalize deleteifempty #9

Open
CLocs opened this issue Aug 3, 2023 · 0 comments
Open

Generalize deleteifempty #9

CLocs opened this issue Aug 3, 2023 · 0 comments

Comments

@CLocs
Copy link

CLocs commented Aug 3, 2023

Summary

  • The script is now generalized to accept an argument for path and handle any OS

Gaps and Changes

  • Gap 1: argument for path to the roam export
  • Change 1: added an argument for the path
  • Gap 2: handling paths for different OSs
  • Change 2: used os.path.normpath to handle path formats for any OS
  • Change 3: added a usage statement

Submission

  • I was not able to push a branch, so I attached the file here.
  • Also, strangely, I couldn't upload a PY file here, so I changed it to TXT.
  • deleteifempty.txt

I hope this helps. Thanks for your support.

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