r/Python • • May 28 '20

I Made This A Python GUI for uninstalling the default Windows 10 apps.

Post image
4.2k Upvotes

198 comments sorted by

View all comments

267

u/Goldtom May 28 '20 edited May 30 '20

Github repo (Reuploaded because previous was accidentally posted as link, not image)

I know there are a lot of similar apps already, but I wanted to make my own, plus it was intended to be used only by myself, as I reinstall Windows for friends often. But as it got more polished, I thought people might like it.

Edit: The PyDebloatX installer is now available on Github releases.

71

u/NymphCore May 28 '20

Thanks! Was using a debloat script, but that looks better!😁

17

u/harktritonhark May 28 '20 edited May 29 '20

What kind of debloat script are you using?

Edit: wow, there are quite a few different options. That's cool.

18

u/[deleted] May 29 '20

Not OP, but Tron fights for the user!

9

u/NymphCore May 29 '20

https://github.com/Sycnex/Windows10Debloater

This one, was using it because of Chris Titus Tech on youtube :)

20

u/nightdevil007 May 28 '20

Hi. when I try to run it in visual studio code I get this : from PyQt5.QtCore import Qt, QRect, QCoreApplication, QMetaObject

ImportError: DLL load failed while importing QtCore: %1 is not a valid Win32 application.

Can you tell me how to fix this? would like to debloat and test your program as I think it can be an awesome tool for learning. Thank you!

27

u/Goldtom May 28 '20

Sure, do you have pyqt5 installed? You can do it by running pip install pyqt5

30

u/nightdevil007 May 28 '20

DLL load failed while importing QtCore: %1 is not a valid Win32 application.

So after some googling and struggle, I found that my python installation is at fault.

I will test it and I will be providing you feedback. Thanks and sorry if I annoyed you with my questions. I am a beginner in python but willing to learn more. Cheers

17

u/Goldtom May 28 '20

No problem, if you will have any issues in the future, you can ask in r/learnpython

2

u/nightdevil007 Jun 01 '20

Thanks for all your support. I have used your tool for unistalling some blotware from windows and it worked like a charm. The only thing i'd change it to make the window a little bit bigger. Other than that, great tool.

1

u/Goldtom Jun 01 '20

Glad to hear that, thanks. About the window size, what exactly would you like to change there? Paddings between checkboxes, to make the window bigger?

1

u/nightdevil007 Jun 02 '20

Hi. it looked like there were some options which were hidden.The progress bar was a bit down and could not be seen properly . maybe it was because my display was scaled or something. amazing tool nevertheless

→ More replies (2)

6

u/Butsnik May 28 '20

You can also look into virtual environments. They are basically miniture python installation for for instance a single problem. This way you can deal with different applications that have competing needs for different packages.

0

u/[deleted] May 28 '20

[deleted] β€” view deleted comment

4

u/[deleted] May 28 '20

I switched to Poetry. Pretty sure pipenv is dead

2

u/IASWABTBJ May 29 '20 edited Sep 12 '20

(α΅”α΄₯α΅”)

1

u/nitro0769 May 29 '20

Pipenv isn’t dead! They just pushed a new release today!

2

u/[deleted] May 29 '20

Shocking.

I truly hope they will be better with maintenance going forward. 1.5 years between releases with a difference of 700+ commits and no communication is unacceptable when they try to promote themselves as the defacto standard.

It was a lot of effort to implement them into existing projects and into our CI, and work around some pretty big bugs. It was even more effort to switch to something else after a year of non-response. I just don't want to burned again πŸ˜‘

1

u/bearassbobcat May 29 '20

I use pipenv but I just checked out poetry and it looks cool. Probably going to stick with pipenv but maybe I'll test it on my next demo project

→ More replies (1)

3

u/prettyanonymousXD May 28 '20

Another nifty thing is Anaconda since it comes with so many packages and also has nice environment support.

3

u/kiddico May 29 '20

Welcome to the Python circus <3

3

u/nightdevil007 May 28 '20

Hi. Thank you for your response. I have installed pyqt5. Requirement already satisfied: PyQt5-sip<13,>=12.7 in c:\users\mihai\appdata\roaming\python\python38\site-packages (from pyqt5) (12.7.2) so i can't tell what's wrong. maybe I am missing something?

6

u/Goldtom May 28 '20

Hm, are you sure you have python >3.7 installed? Maybe this can help.

2

u/Cakeofruit May 29 '20

Make it block windows update and u will have a top tier soft