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

FEATURE: Allowing the User to Define the Path for PyWhatKit_DB.txt #307

Merged
merged 3 commits into from
Oct 21, 2023

Conversation

abijanu101
Copy link
Contributor

Description:
Added a function to set the absolute path for where the PyWhatKit_DB.txt file is to be made and edited.

Why is this Necessary?:
I wanted to launch a script using PyWhatKit on startup, but the relative pathing kept getting me Erno 13's and I had to give it an absolute path to fix the issue

Changes:
I defined a function that allows the user to enter a path and sets the value of a variable 'log_path'. This variable is then used as the path for all logging.

Added a function to set the absolute path for where the PyWhatKit_DB.txt file is to be made and edited 

(I needed this for a thing I was doing and thought it might be helpful to others as well - this is my first pull req, be gentle fr fr)
@Ankit404butfound Ankit404butfound merged commit 0162f9f into Ankit404butfound:master Oct 21, 2023
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

Successfully merging this pull request may close these issues.

3 participants