背景
大家存比赛的时候一般都会把源码一起存下来
但有些同学交源码之前喜欢编译一下
于是就有很多废的.exe
文件
而且这些文件大小都在$1M$以上,所以占用了极大的空间
qCleaner
于是我就用Python写了一个小工具
大概就长这样啦:
我知道很丑
它会递归扫描指定目录下的所有目录
然后每找到一个.cpp
文件就会在同一个目录下查找同名.exe
文件
如果存在的话,就会把同名.exe
文件删掉
怎么样?是不是很贴心?
我大概用这货删掉了快$2G$的.exe
文件吧!
获取与使用
- 打开https://github.com/yongzhengqi/qCleaner/releases
- 下载
qCleaner.zip
并解压 - 双击
qCleaner
即可打开程序 - 手动输入路径,或者点击
浏览
来选择路径。之后点击清理
即可
为什么不用脚本
- qCleaner有可视化界面,便于使用
- qCleaner可以实时显示清理进度,也可以随时强行终止
- 我编不出来了qwq
后记
总之,qCleaner作为我正式写的第一个Python程序,我还是很满意的
而且这货的GUI是用的PyQt,所以还有很大的提升空间
嗯,大概就这样了吧
这可能是我退役前写的第一个也是最后一个自己想写的程序了吧
建议把.in .out .ans啥的一起清了。。数据占的空间大多了= =
You could definitely see your skills within the work you write.
The sector hopes for even more passionate writers like you who
aren’t afraid to mention how they believe. Always follow your heart.
Hello! This is my first visit to your blog! We
are a group of volunteers and starting a new initiative in a
community in the same niche. Your blog provided us valuable information to work on. You
have done a outstanding job!
It’s appropriate time to make some plans for the long run and it is time to be happy.
I have read this post and if I may I wish to counsel you few fascinating issues or advice.
Maybe you can write next articles regarding this article.
I desire to learn more things approximately it!
It’s not my first time to pay a quick visit this site, i am visiting this web page dailly and obtain nice
information from here everyday.
Hi there every one, here every one is sharing these knowledge, thus it’s pleasant to read this webpage,
and I used to visit this webpage all the time.
I seriously love your blog.. Great colors & theme.
Did you create this amazing site yourself? Please reply back as I’m attempting
to create my own site and want to know where you got this from or just what the theme is called.
Thanks!
This website was… how do I say it? Relevant!! Finally
I have found something which helped me. Thanks!
I loved as much as you will receive carried out right here.
The sketch is attractive, your authored material stylish.
nonetheless, you command get got an edginess over that you wish be delivering the following.
unwell unquestionably come more formerly again as exactly the same nearly a lot often inside case you
shield this increase.
Hello very cool blog!! Man .. Excellent .. Superb ..
I will bookmark your website and take the feeds also?
I am satisfied to find numerous helpful info here in the publish, we need develop more techniques in this regard,
thanks for sharing. . . . . .
Thanks for the marvelous posting! I actually enjoyed reading it, you
are a great author. I will ensure that I bookmark your blog and will eventually come back from now on. I want
to encourage yourself to continue your great work, have a nice holiday weekend!
Fantastic beat ! I wish to apprentice at the same time as you amend your
site, how could i subscribe for a weblog website?
The account helped me a acceptable deal. I were tiny bit
acquainted of this your broadcast provided bright clear idea
Nice weblog here! Additionally your web site lots up fast!
What web host are you the usage of? Can I get your associate link for your
host? I want my website loaded up as quickly as yours lol
For hottest information you have to visit the web and on internet I found this website as a most excellent web page for hottest updates.
Incredible quest there. What happened after?
Take care!
I really like it when folks get together and share opinions.
Great site, keep it up!
It is appropriate time to make some plans for the future and it is time to be happy.
I have read this put up and if I may I desire to counsel you some fascinating issues or advice.
Maybe you could write next articles referring to this article.
I desire to learn more things approximately it!
Thanks on your marvelous posting! I genuinely enjoyed reading it, you can be a great author.
I will make sure to bookmark your blog and will often come back from now on. I
want to encourage yourself to continue your great job, have a nice day!
Great website you have here but I was wanting to know if you knew of any discussion boards that cover the same topics
discussed in this article? I’d really love to be a part of group where I can get
advice from other experienced individuals that share the same interest.
If you have any recommendations, please let me know. Thank you!
If you wish for to grow your knowledge simply keep visiting
this site and be updated with the most up-to-date gossip posted here.
hello!,I like your writing very so much! percentage we communicate more approximately your post on AOL?
I need a specialist on this area to solve my problem.
May be that is you! Looking forward to see you.
Hey there just wanted to give you a brief heads up and let you know a few of the
pictures aren’t loading correctly. I’m not sure why but I think its a linking issue.
I’ve tried it in two different internet browsers
and both show the same outcome.
Thanks in support of sharing such a nice thought, article is pleasant, thats why i have read it fully
Hey there would you mind letting me know which web
host you’re utilizing? I’ve loaded your blog in 3 different browsers and I must say this blog loads a
lot faster then most. Can you recommend a good internet hosting provider at a honest price?
Kudos, I appreciate it!
My spouse and I absolutely love your blog
and find almost all of your post’s to be what precisely I’m looking for.
Would you offer guest writers to write content in your case?
I wouldn’t mind publishing a post or elaborating on a few of the subjects you write regarding here.
Again, awesome blog!
Hurrah! At last I got a webpage from where I
be able to genuinely take helpful data concerning my study and
knowledge.
Amazing issues here. I am very satisfied to see your post.
Thank you a lot and I am looking forward to contact you.
Will you kindly drop me a mail?
Whoa! This blog looks just like my old one!
It’s on a completely different topic but it has
pretty much the same layout and design. Excellent choice of
colors!
Good post. I learn something new and challenging on websites
I stumbleupon everyday. It’s always helpful to read through articles from other authors and practice something from their sites.
Hi, awesome work. I really appeaciate the data you are providing through your website, i have alwasy find it helpful. Keep up the awsome work.
This is a topic which is close to my heart…
Best wishes! Where are your contact details though?
What i do not understood is in truth how you are now not really much
more neatly-favored than you might be now. You’re so intelligent.
You realize therefore considerably relating to this topic, produced
me for my part imagine it from so many numerous angles.
Its like men and women don’t seem to be involved unless it is one
thing to accomplish with Girl gaga! Your personal stuffs nice.
All the time care for it up!
I read this piece of writing completely regarding the resemblance of most recent
and preceding technologies, it’s amazing article.
plenty of fish natalielise
I was suggested this web site by my cousin. I am not sure whether
this post is written by him as no one else know such detailed about my problem.
You are incredible! Thanks!
Great blog right here! Additionally your site quite a bit up fast!
What host are you using? Can I am getting your
affiliate link in your host? I want my web site loaded up as fast as yours lol
Every weekend i used to pay a quick visit this web page, for the reason that i wish for
enjoyment, as this this web site conations genuinely
pleasant funny data too.
Do you mind if I quote a couple of your articles as long as
I provide credit and sources back to your site? My blog site is in the very same area
of interest as yours and my visitors would certainly benefit from a lot of the information you present here.
Please let me know if this ok with you. Appreciate it!
Hi, i feel that i noticed you visited my weblog so i
came to go back the favor?.I am trying to find things
to improve my web site!I suppose its adequate to make use of a few
of your ideas!! pof natalielise
This website was… how do I say it? Relevant!!
Finally I’ve found something that helped me. Cheers!
Hi to all, how is all, I think every one is getting more from this website, and
your views are fastidious in support of new visitors.
Each forms off software have their personal advantages and drawbacks, it’s your choice to determine which form of Foreign currency trading softtware may beneffit you most.
Thus, gemstone buyiny and selling can aalso bee promising in gemstone forums.
Retail stores online formula ffor success depended
heavily on advertising, it advertised on famous social networking sites
and appearance engines.
I must thank you for the efforts you’ve put in penning this website. I’m hoping to see the same high-grade blog posts by you later on as well. In fact, your creative writing abilities has encouraged me to get my own, personal blog now 😉
Undeniably believe that which you stated. Your favorite reason appeared to
be on the web the simplest thing to be aware of. I say to you, I definitely get irked while people consider worries that they plainly don’t know about.
You managed to hit the nail upon the top and also defined out the whole thing without having side-effects , people could take a signal.
Will probably be back to get more. Thanks
My coder is trying to persuade me to move to .net from PHP.
I have always disliked the idea because of the expenses.
But he’s tryiong none the less. I’ve been using WordPress on several websites
for about a year and am concerned about switching to another platform.
I have heard fantastic things about blogengine.net.
Is there a way I can transfer all my wordpress posts into it?
Any kind of help would be really appreciated!
My brother suggested I might like this blog.
He was entirely right. This post actually made my day.
You cann’t imagine just how much time I had spent for this information! Thanks!
Hi there friends, how is all, and what you wish for to
say about this paragraph, in my view its really amazing for me.
Hello! Do you know if they make any plugins to
safeguard against hackers? I’m kinda paranoid about
losing everything I’ve worked hard on. Any recommendations?
You really make it seem so easy with your presentation but
I find this matter to be actually something which I think I would never
understand. It seems too complicated and extremely broad for me.
I am looking forward for your next post, I’ll try to
get the hang of it!
Attractive component to content. I just stumbled upon your weblog and in accession capital to claim
that I acquire in fact enjoyed account your blog posts.
Any way I will be subscribing in your feeds or even I success you get entry to persistently quickly.
Very nice post. I just stumbled upon your blog and wanted to say that I’ve truly
enjoyed surfing around your blog posts. In any case I’ll
be subscribing to your rss feed and I hope you write again very soon!
Hi, Neat post. There is an issue with your website in web explorer, might test this?
IE still is the market leader and a good element of other folks will leave out your excellent writing due to this problem.
magnificent post, very informative. I ponder why the other experts of this sector don’t realize
this. You must proceed your writing. I am sure, you’ve a great
readers’ base already!
I’m curious to find out what blog system you are using? I’m experiencing
some small security issues with my latest website and I’d like to find something more
safe. Do you have any solutions?
Heya i am for the first time here. I found this board and I find It really useful & it helped
me out a lot. I hope to give something back and help others like
you helped me.
This piece of writing will help the internet people for building up new
weblog or even a blog from start to end.
I think that everything posted was very logical. But, what about this?
suppose you added a little content? I am not
suggesting your information is not good, but what if you added a headline that makes people want more?
I mean 【Python】qCleaner – Qizy's Database is kinda boring.
You could glance at Yahoo’s front page and see how
they create news headlines to grab people to click. You might try adding a video or a pic
or two to get people excited about everything’ve got to say.
Just my opinion, it could bring your blog a little livelier.
Hello I am so thrilled I found your website, I really found you by error, while I was browsing on Digg for
something else, Anyways I am here now and would just like to say cheers for a fantastic post and a all round entertaining
blog (I also love the theme/design), I don’t have time to read it all at the minute but I have bookmarked
it and also added in your RSS feeds, so when I have time I will be back to read a lot
more, Please do keep up the great work.
I am actually delighted to read this webpage posts which includes tons of useful information, thanks for providing these information.
Excellent goods from you, man. I’ve understand your stuff previous to and you’re just extremely excellent.
I really like what you’ve acquired here, certainly like what
you’re saying and the way in which you say it.
You make it entertaining and you still take care of to keep it smart.
I can’t wait to read far more from you. This is really a great
website.
Howdy just wanted to give you a quick heads up. The text in your post seem to be running off the screen in Firefox. I’m not sure if this is a formatting issue or something to do with internet browser compatibility but I thought I’d post to let you know. The style and design look great though! Hope you get the problem resolved soon. Many thanks
certainly like your web site however you have to check the spelling
on quite a few of your posts. Several of them are rife with spelling issues and I find it very
bothersome to inform the reality then again I’ll definitely come again again.
Attractive section of content. I just stumbled upon your
web site and in accession capital to say that I acquire in fact loved account
your weblog posts. Anyway I’ll be subscribing on your
augment and even I fulfillment you access persistently quickly.
This web page is really a walk-through for all the info you wished about this and didn’t know who to ask. Glimpse here, and also you’ll undoubtedly discover it.
Wonderful post! We are linking to this particularly great content on our site.
Keep up the great writing.
I’m really impressed with your writing skills and also with
the layout on your blog. Is this a paid theme or did you customize it yourself?
Anyway keep up the nice quality writing, it’s rare to see a great blog like this one these days.
Greetings! Quick question that’s completely off topic. Do you know how to make your site mobile friendly?
My website looks weird when viewing from my iphone4.
I’m trying to find a template or plugin that might be able to correct this
problem. If you have any recommendations, please share. Appreciate it!
Hello friends, nice paragraph and pleasant arguments commented at this place, I
am really enjoying by these.
At this moment I am ready to do my breakfast, later than having my breakfast coming again to
read additional news.
Greetings, I think your website might be having browser compatibility issues.
Whenever I look at your blog in Safari, it looks fine however,
if opening in Internet Explorer, it’s got some overlapping
issues. I just wanted to provide you with a quick heads
up! Aside from that, wonderful blog!
There’s certainly a lot to know about this issue.
I really like all the points you’ve made.
Definitely believe that which you said. Your favorite justification appeared to be on the internet the simplest thing to be aware of.
I say to you, I definitely get annoyed while people think about worries that they just do not know about.
You managed to hit the nail upon the top as well as defined out the whole thing without having side effect
, people can take a signal. Will likely be back to
get more. Thanks
I would like to express thanks to you for bailing me out of such a condition. Because of searching through the the web and obtaining views which are not beneficial, I was thinking my life was over. Existing without the presence of answers to the issues you have solved by way of your good guideline is a crucial case, as well as the ones which could have badly damaged my entire career if I had not come across your web site. The mastery and kindness in controlling all the pieces was important. I am not sure what I would’ve done if I hadn’t come upon such a stuff like this. I can now look ahead to my future. Thanks so much for the skilled and effective help. I will not be reluctant to propose the blog to anybody who should get direction about this issue.
I am genuinely pleased to read this blog posts
which consists of lots of useful information, thanks for providing these data.
Hey this is kind of of off topic but I was wondering if blogs use WYSIWYG
editors or if you have to manually code with HTML.
I’m starting a blog soon but have no coding know-how so I wanted to get advice from someone
with experience. Any help would be enormously appreciated!
Paragraph writing is also a fun, if you be familiar with after that you can write otherwise it is
complicated to write.
each time i used to read smaller articles or reviews which also clear their
motive, and that is also happening with this paragraph which I am reading
here.
Wow, this piece of writing is nice, my younger sister
is analyzing these things, so I am going to tell her.
Hello, i think that i saw you visited my blog thus i came to “return the favor”.I’m attempting to find things to enhance my
web site!I suppose its ok to use some of your ideas!!
It’s a pity you don’t have a donate button! I’d definitely donate to this brilliant
blog! I suppose for now i’ll settle for book-marking and adding your RSS feed to my
Google account. I look forward to brand new updates and will talk
about this blog with my Facebook group. Talk soon!
Hello mates, good article and fastidious arguments commented here, I am genuinely enjoying by these.
I needed to thank you for this great read!! I absolutely loved every bit of it.
I have you book-marked to check out new stuff you post…
It is appropriate time to make some plans for the future and it is time to be happy.
I have read this submit and if I may I wish to counsel you
some interesting issues or advice. Perhaps you can write subsequent articles
regarding this article. I desire to learn even more issues about it!
I have read a few good stuff here. Certainly price bookmarking for
revisiting. I wonder how a lot attempt you place to create the
sort of fantastic informative site.
This piece of writing is truly a nice one it helps new internet people, who are wishing in favor of blogging.
Thanks on your marvelous posting! I really enjoyed reading it, you happen to be a great author.I will be sure to bookmark your blog and will often come back down the road. I want to encourage you continue your great posts, have a nice holiday weekend!
Hi there to every one, the contents present at this website are genuinely awesome for people experience, well, keep up the good work fellows.
This is really attention-grabbing, You’re a very skilled blogger.
I have joined your feed and look forward to seeking more of your wonderful
post. Also, I’ve shared your web site in my social networks
Spot on with this write-up, I seriously believe that this web site
needs far more attention. I’ll probably be returning to see
more, thanks for the advice!
I relish, cause I found just what I used to be having a look for.
You’ve ended my 4 day long hunt! God Bless you man. Have a nice day.
Bye
I’ve read several good stuff here. Certainly price bookmarking for
revisiting. I surprise how so much attempt you set to make
one of these great informative web site.
Hurrah, that’s what I was seeking for, what a information! present here at this
website, thanks admin of this website.
Oh my goodness! Amazing article dude! Many thanks,
However I am going through problems with your RSS. I don’t know why I cannot
subscribe to it. Is there anyone else having similar RSS problems?
Anybody who knows the solution will you kindly respond?
Thanx!!
Spot on with this write-up, I absolutely believe this amazing site needs far more attention.
I’ll probably be returning to read more, thanks for
the info!
I really like your writing style, fantastic info , thanks for posting : D.
I have to thank you for the efforts you have put in writing this blog.
I really hope to see the same high-grade blog posts from
you later on as well. In fact, your creative writing abilities has
encouraged me to get my very own blog now 😉
Your style is so unique compared to other folks I have read stuff from.
I appreciate you for posting when you have the
opportunity, Guess I will just bookmark this blog.