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

Adding few samples on how to use the package #15

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

debakarr
Copy link

Planning to add examples on how to use the package.

Something similar to:

@debakarr
Copy link
Author

@dlech can you check this PR. I added some extra sample for commonly asked questions in stackoverflow.

@dlech
Copy link
Contributor

dlech commented Jun 22, 2022

Thanks for working on this. It looks good to me.

The PDF appears to be corrupted. I would rather not have a random binary file here anyway. Maybe we could create a smaller file.

I've been looking into toasts lately since that seems to be the number 1 use for this library so far. That example will need some changes, but I am still learning so I don't know exactly what I want to do with it yet.

@debakarr
Copy link
Author

Thanks for working on this. It looks good to me.

The PDF appears to be corrupted. I would rather not have a random binary file here anyway. Maybe we could create a smaller file.

I've been looking into toasts lately since that seems to be the number 1 use for this library so far. That example will need some changes, but I am still learning so I don't know exactly what I want to do with it yet.

Sure. I modified to take pdf file as user input.
For toast I think this package use it: https://github.com/DatGuy1/Windows-Toasts, but it is not using async.


class Pickers:
def __init__(self) -> None:
self.last_folder_picked = None
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is one way to save the value which is obtained in a callback method

@@ -0,0 +1,4 @@
There are already packages available for Windows toast which uses python-winsdk:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://github.com/GitHub30/win11toast seems to also be using winsdk

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

Successfully merging this pull request may close these issues.

3 participants