Python add your current file in startup folder in windows (💀)
Add This Code Above Your Code An Then This Code Create A Shortcut On Your Windows Pc Automatically.
You Can See Shorcut Added Or Not Using CTR+R And Then Enter This Text In Run Window shell:startup.
not recommended
if you want to run this file like a malware you can install Pyinstaller a using
pip install pyinstaller
and then make your code .exe to do this do like this
pyinstaller --onefile --noconsole your_script.py
if your run this it will make a file in your system dist/fie.exe
and then run this file it's if you run one time it's run your program in backgorund
add a while loop to run continues in background
Comments
Post a Comment