[python-win32] Debugging python with something like VS code, when working with flask web framework

2021-08-12 Thread jacob kruger
Hi there I am specifically trying to sort out debugging code and processes when working with the flask web development framework, while working with VS code insiders. Now, following things like the following steps, but, specifically using an external terminal, I can get it to pause on brea

[python-win32] Debugging python with something like VS code, when working with flask web framework

2021-08-12 Thread Jacob Kruger
Hi there I am specifically trying to sort out debugging code and processes when working with the flask web development framework, while working with VS code insiders. Now, following things like the following steps, but, specifically using an external terminal, I can get it to pause on breakpoints

Re: [python-win32] Pywin32 local variable

2021-08-12 Thread Greg Ewing
On 12/08/21 9:17 pm, Salih KUYUMCU via python-win32 wrote: I create a String value before the methods and try to return these values in another method. I get the problem local variable 'xxx' referenced before assignment. It sounds like you may want to store the value in an attribute of an obj

Re: [python-win32] windows images on clipboard

2021-08-12 Thread Mriswithe
Awesome, thank you so much for that info. That makes my tail chasing make more sense! Thanks for saving me from additional posterior extension pursuit. Last question I think, how do I put a file path reference on the clipboard similar to in explorer selecting a few files and hitting control c ? I

Re: [python-win32] windows images on clipboard

2021-08-12 Thread Dennis Lee Bieber
On Wed, 11 Aug 2021 18:33:14 -0500, Mriswithe declaimed the following: > >Is there a bit of an idiots example guide for how to say, put a PNG on the >clipboard or a JPG? Some example code? There is a ton of useful info in the >pywin32 repo, but I haven't found anything that has made this click fo

[python-win32] Pywin32 local variable

2021-08-12 Thread Salih KUYUMCU via python-win32
Hello dear authorized, I'm Salih from Abdullah Gül Univercity from Turkey. Now I'm tring to make a project with python and abap. I'm now using the pywin32 for com server in windows. I can send some variables to python from abap and get them. However, I have a problem with local variables. I crea

Re: [python-win32] windows images on clipboard

2021-08-12 Thread Tim Roberts
Mriswithe wrote: I was looking at making a little helper app for Windows that will take an image on your clipboard and ensure it is under 8MB for posting to discord, and if it isn't, use Pillow to resize it until it is the right size. I can use Pillow's ImageGrab.grabclipboard() to get the