Abdullah Albanna

Results 15 comments of Abdullah Albanna

works like a charm on Big Sur with Intel Centrino Advanced-N 6205, connects to a hidden networks and remembers it. thank you so much

@kayhayen Well yeah my way won't work if you just run a non gui app, it won't allocate a console if you already have one Try with a gui app...

@kayhayen ok to see what I mean by ascii logs, compile this import tkinter from loguru import logger import sys import win32console def allocateConsole() -> None: win32console.AllocConsole() sys.stdout = open("CONOUT$",...

@kayhayen I do not want to open a new console for the logs, isn't that what `attach` purpose is? All I want is the same effect as I told you...

@kayhayen > you failed to tell me that. I provided an example, with how to compile it what do you mean I failed?

@kayhayen Alright I'll clear things out before you guys implemented the `attach` option, I was using `AllocConsole`, which works fine, I configured it to whenever I pass in `-d` it...

hmm, interesting, so I did print("\x1b[92m2024-07-16 11:29:18\x1b[0m - \x1b[94mexample log\x1b[0m") import colorama colorama.init() print("\x1b[92m2024-07-16 11:29:18\x1b[0m - \x1b[94mexample log\x1b[0m") and still shows like so with CMD: ![Captures](https://github.com/user-attachments/assets/2df305ec-7094-47d2-a082-f4c84289b487) but it look fine...

> there is a difference in how colorama.init() behaves on the real console and on the pseudo one (?) of git bash. Ahh, so it's not possible to get `colorama.init()`...

> ANSI colors are available by default in Windows version 1909 or newer. Hmm, mine is 19045 if it's not supported yet then what does `colorama.init()` does to get it...

> Also one thing I am doing is to use --run Yeah why is that?, when I pass in the `--run` when compiling, it shows the colors fine!