Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

Quick help? No console window

Hi everyone so I have written a script in python that steals and decrypts cookies from google chrome on windows, but I am having one problem...I renamed my script to script.pyw and than compiled to executable but I am still getting a really quick console window opening and closing...How can I prevent this. Is there something I can write in my script to keep this from happening? I call the following modules os, shutil, sqlite3, and win32crypt I think it might be the os module that is causing this to happen... I only use the the getenv from os so it is needed.....thanks for any help
https://stackoverflow.com/questions/7646...n/15148338
[Image: bitcoin.png] Be Nice For Once 15hVUVz7xA4kazHdk2BuErENGCskVwjYXP
run it from command prompt to debug the exception being raised, it's either that or the program is starting/finishing properly and there are no inputs to pause the command prompt from exiting.
Contact for professional programming services.
unazed#5906
I just want the command prompt to not show or pop up at all....I need to run my program in the background as a standalone executable.
Did you make sure it's running with pythonw.exe and not python.exe. Iirc, that can matter.
(Oct 1, 2018 07:25 PM)zioncorp Wrote:  Hi everyone so I have written a script in python that steals and decrypts cookies from google chrome on windows, but I am having one problem...I renamed my script to script.pyw and than compiled to executable but I am still getting a really quick console window opening and closing...How can I prevent this. Is there something I can write in my script to keep this from happening? I call the following modules os, shutil, sqlite3, and win32crypt I think it might be the os module that is causing this to happen... I only use the the getenv from os so it is needed.....thanks for any help

compile it to an exe with no console using eg: Pyinstaller which give you that option


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by CrakxprooJun 21, 2018 07:34 AM 0 206 Jun 21, 2018 07:34 AM
Last Post: Crakxproo
[C] by KovaskaDec 5, 2017 02:24 PM 3 182 Dec 5, 2017 02:24 PM
Last Post: Hoodie+
[Python] by Solar_FlareDec 30, 2016 04:37 PM 4 158 Dec 30, 2016 04:37 PM
Last Post: Solar_Flare