平台
Win10
Python 3.6.1
选择工具
现在主流的python打包工具就三个
1. py2exe
2. pyinstaller
3. cx_Freeze
因为我是用的Python 3.6.1
这货只有cx_Freeze支持
于是就用cx_Freeze辣!
安装
直接pip install cx_Freeze
即可
如果你想直接在命令行里直接用(一般是会这么用的)
那你还需要进入到Python的安装目录下的Scripts
文件夹
比如我的系统在C:\Users\dell\AppData\Local\Programs\Python\Python36\Scripts\
然后执行python cxfreeze-postinstall
使用
建议参考其官方文档:https://cx-freeze.readthedocs.io/en/latest/overview.html
值得注意的有以下三点:
1. icon只支持.ico
文件,可以用这个网站在线转:https://converticon.com/
2. 如果想去掉黑框,加上base = "Win32GUI"
3. 64位的cx_Freeze只能生成64位可执行文件。如要生成32位的,只能将python和cx_Freeze都装成32位才行
Hello, great work. I really appeaciate the data you are providing through your site, i have alwasy find it helpful. Keep up the awsome work.
You will forever find on line solutios that advertise
a whole lot and subsequently drop flat however, there is big hopes regarding the Site –
Bldz solution. Thus, gemstone buyiny and selling can be promising in gemstone forums.
But the methods forecasted throuth the expert ensure
to measure its level by analyzing the on-line conversion rate off sales and thee increase of visitors in your website.
I would like to thank you for the efforts you’ve put in penning this blog. I’m hoping to check out the same high-grade blog posts by you in the future as well. In fact, your creative writing abilities has encouraged me to get my own, personal blog now 😉
I’m really loving the theme/design of your site. Do you ever run into any web browser compatibility problems? A small number of my blog audience have complained about my website not operating correctly in Explorer but looks great in Chrome. Do you have any ideas to help fix this problem?
Hi, i think that i saw you visited my web site thus i came to “return the favor”.I’m trying to find things to improve my web site!I suppose its ok to use some of your ideas!!
Hello, Neat post. There is a problem together with your web site in internet explorer, could check thisK IE nonetheless is the marketplace leader and a huge component of people will leave out your great writing because of this problem.
Hi, I think your site might be having browser compatibility issues. When I look at your website in Safari, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, fantastic blog!
Write more, thats all I have to say. Literally, it seems as though
you relied on the video to make your point. You obviously know what youre talking about, why waste your intelligence on just
posting videos to your weblog when you could be giving us something
informative to read?
You are my breathing in, I have few blogs and sometimes run out from to post : (.
Sweet blog! I found it while surfing around on Yahoo News.
Do you have any tips on how to get listed in Yahoo News?
I’ve been trying for a while but I never seem to get there!
Many thanks
That is a great tip especially to those new to the
blogosphere. Brief but very accurate information… Appreciate your sharing this one.
A must read post!
We absolutely love your blog and find the majority of your
post’s to be just what I’m looking for. Do you offer guest writers to write
content available for you? I wouldn’t mind producing a post
or elaborating on many of the subjects you write with regards to here.
Again, awesome web site!
It’s very straightforward to find out any matter on net as compared to textbooks, as I
found this post at this website.
What’s up, I wish for to subscribe for this website to take newest updates, thus where can i do
it please help out.
I got this website from my friend who told me on the topic of this
web site and now this time I am browsing this website and reading very informative
articles or reviews at this place.
Simply want to say your article is as astonishing.
The clarity in your post is simply spectacular and i can assume you are an expert on this subject.
Fine with your permission allow me to grab your RSS feed to keep up to date with forthcoming post.
Thanks a million and please continue the rewarding work.
Great article! That is the type of information that are supposed to be shared around the web.
Disgrace on Google for not positioning this
put up higher! Come on over and discuss
with my web site . Thank you =)
Actually when someone doesn’t understand then its up to other visitors that they will help, so here it
takes place.
I was more than happy to uncover this site. I wanted to
thank you for your time for this wonderful read!! I definitely enjoyed
every little bit of it and i also have you bookmarked to
see new things on your web site.
Hurrah! After all I got a website from where I know
how to truly take valuable data concerning my study and knowledge.
Hello! I’m at work browsing your blog from my new
iphone 3gs! Just wanted to say I love reading your
blog and look forward to all your posts! Keep
up the great work!
Good day very nice website!! Man .. Beautiful ..
Superb .. I will bookmark your web site and take the feeds additionally?
I’m glad to search out numerous useful info here within the post,
we’d like work out extra techniques in this regard, thank you for sharing.
. . . . .
Wonderful paintings! That is the type of info that should be shared around the web. Shame on the search engines for not positioning this submit upper! Come on over and discuss with my site . Thank you =)
Amazing blog! Is your theme custom made or did you download it
from somewhere? A theme like yours with a few
simple adjustements would really make my blog jump
out. Please let me know where you got your theme.
Kudos
We are a group of volunteers and starting a new scheme in our community.
Your site offered us with valuable info to work on. You have done a formidable job and
our whole community will be thankful to you.
Spot on with this write-up, I truly believe this web site needs a
great deal more attention. I’ll probably be returning to see more, thanks for the information!
My relatives all the time say that I am wasting my time here at web, but I know
I am getting experience everyday by reading thes good posts.
This post offers clear idea in favor of the new users of blogging,
that actually how to do blogging and site-building.
Greetings! Very useful advice in this particular post!
It’s the little changes that produce the most
important changes. Thanks for sharing!
I am truly grateful to the holder of this web site who has shared this enormous post at at this
time.
Hiya, I am really glad I have found this info. Nowadays bloggers publish just about gossips and internet and this is really annoying. A good blog with interesting content, this is what I need. Thank you for keeping this web site, I will be visiting it. Do you do newsletters? Cant find it.
Outstanding post but I was wanting to know if you could write a litte more on this subject?
I’d be very grateful if you could elaborate a little bit further.
Bless you!