pywinrt / python-winsdk

Python package with bindings for Windows SDK
https://python-winsdk.readthedocs.io
MIT License
77 stars 8 forks source link

Adding few samples on how to use the package #15

Open debakarr opened 2 years ago

debakarr commented 2 years ago

Planning to add examples on how to use the package.

Something similar to:

debakarr commented 2 years ago

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

dlech commented 2 years ago

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 commented 2 years ago

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.