Pyinstaller Recipes

3+) implementation of the SSHv2 protocol, providing both client and server functionality. Gourmet Recipe Manager is a recipe-organizer available for Windows, Linux, and other Unix systems (including Mac OS X, i. 81)后,在PyCharm中使用,没有任何问题,但进行pyinstaller(版本3. >> To the PyInstaller team: we found (and is reproducible with the >> code in the appendices below) that even with -w, a console window >> flashes for a tiny fraction of a second. It's all Git and Ruby underneath, so hack away with the knowledge that you can easily revert your modifications and merge upstream updates. The python script of Xwo contains code copied from XBash: Figure 1: Xwo code (left) copied from Xbash (right). Use the icon= argument to specify a custom icon for the. wxPython is licenced under the "wxWindows Library Licence". How to run and install Pyinstaller Recipes and Examples. exe ) from the Release page linked above. Here are a few examples of how to use the email package to read, write, and send simple email messages, as well as more complex MIME messages. Due to the author's ignorance, the user would like to have the code in matlab than Python. win-amd64-py3. This feature is off by default. Go Recipes contains recipes that deal with the fundamentals o f Go, allowing you to build simple, reliable, and efficient software. install python 3. ----- Google Drive ----- Traceback (most recent call last): File "", line 21, in File "p:\d\a\wpyh5-vm-7. I just used Gnome Builder and build as Flatpak app, everything “straightforward”, though that was the case with the simple app I build for my own needs. 1) has a new build system which has been applied to the ancient python recipe, allowing us to bump the python2 version number to 2. Click on Advanced System Settings. 0, the way to package it has been changed because it uses lml for all plugins. The user can run the packaged app without installing a Python interpreter or any modules. install python 3. Tek Recipes Solutions for everyday computing. 내 프로젝트에서는 파이썬 다중 처리 라이브러리를 사용하여 __main__에 여러 프로세스를 작성했습니다. Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful? Type the answer to 4 plus 6 before clicking "Submit" below. I'm reproducing the code here:. 我们开发的Python程序想要发布出去,那么我们如何打包成可执行文件exe呢 PyInstaller是一个十分有用的第三方库,它能够在Windows、Linux、Mac OS X 等操作系统下将 Python 源文件打包,通过对源文件打包,Python 程序可以在没有安装 Python 的环境中运行,也可以作为一个独立文件方便传递和管理。. txt文档,但是用python去打开这个文档会报错OSError: [Errno 22] Invalid argument: '\u202a\u202a\u202aD:\\b. How to install PyInstaller - Free download as PDF File (. I need help to make exe file form *. I've got a simple test case that consistently breaks on my machine. detail: PyInstaller 是一个用来将 Python 程序打包成一个独立可执行软件包,支持 Windows、Linux 和 Mac OS X。 info:pdf2htmlEX. They are extracted from open source Python projects. To build for Python 3, add the python3crystax recipe to the requirements option, e. Ложим туда свой крутой py-файл, создаем директории Build и Dist. py2exe - Freezes Python scripts (Windows). PyQt contains over 620 classes that cover graphical user interfaces, XML handling, network communication, SQL databases, Web browsing and other technologies available in Qt. It even covers creating an installer for your app. EXE file from a QGIS Python Script Using PyInstaller? Stack Exchange Network Stack Exchange network consists of 175 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. I generally peel and add them to a Ziploc until I have three (most recipes call for 3 bananas or 1 1/2 cups. Installing Pyinstaller Into Python. We’ll use the same lame wxPython script from the last article for one of our examples, but we’ll also try a normal console script to … Continue reading A PyInstaller Tutorial – Build a Binary Series! →. This is the place to post completed Scripts/Snippets that you can ask for people to help optimize your code or just share what you have made (large or small). Here are a few examples of how to use the email package to read, write, and send simple email messages, as well as more complex MIME messages. Anyone is free to copy, modify, publish, use, compile, sell, or distribute these recipes, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means. Not able to include html files and static content of django project to installer. Tek Recipes Solutions for everyday computing. 4)打包后,运行会提示以下问题: 找不到xgboost. Browse icons by category, artist, popularity, date. This video demonstrate how to create executable file in linux platform. ) Если вы только собираетесь поддерживать системы * nix, не нужно беспокоиться об этом. Thanks again for your help. json (JSON API). Look through the Cookbook, find a matching recipe, copy, paste, run within minutes. 添加'runserver'你'pyinstaller'命令的末尾,以便它可以检测到额外的依赖? – anatoly techtonik 05 9月. How to Convert an EXE File. It downloads and sets up all the prequisites for python-for-android, including the android SDK and NDK, then builds an apk that can be automatically pushed to the device. 打包带多进程的Python程序时,需要额外的做些处理。 参考SO上面的讲解,更容易采用的方式是--onedir 模式。 采用 --onedir 模式打包,我们需要在main方法里,第一行加入如下代码:. 1, you can build an executable from a project using Django 1. py script, which is something that you use with Python's distutils. This is where we can add Python to the PATH environmental variable. Because the web image doesn’t exist yet, Compose builds it from the current directory, as specified by the build:. 3 way of handling these constants rather than wait for py2exe, py2app etc to work around this. Known issues¶. In our environment, all stderr and stdout goes to logs, so as this is recipe is written, we'd need to use communicate() to pull it from the pipe to the file handles. PyInstaller builds apps that are compatible with the Mac OS X release in which you run it, and following releases. A book contains one or more sheets and a sheet is consisted of a sheet name and a two dimensional array of cells. py, you must replace hyphens (-) with underscores (_). 打包带多进程的Python程序时,需要额外的做些处理。 参考SO上面的讲解,更容易采用的方式是--onedir 模式。 采用 --onedir 模式打包,我们需要在main方法里,第一行加入如下代码:. PyInstaller是一个能将Python程序转换成单个可执行文件的程序, 操作系统支持Windows , Linux , Mac OS X , Solaris和AIX。并且很多包都支持开箱即用,不依赖环境。. So, we should have a great market to distribute our apps. The previous Python freezing application bbfreeze is not compatible with Python 3 and the project is no longer maintained. I found out about Tomcat 5's built-in HTTP/1. Finally the day of the release is nearing so I want to build this application as an exe. The problem is in your server side code. pyinstaller. ) Use the osx-bundle-identifier= argument to add a bundle identifier. Use the osx-bundle-identifier= argument to add a bundle identifier. 1, you can build an executable from a project using Django 1. py2app is a freeze tool specifically for building Mac. Build up-to-date documentation for the web, print, and offline use on every version control push automatically. В папке Dist найдете свой exe файл, но после. ) If I’m really in a rush, I’ll just chuck the browned banana into the freezer, skin and all. Fabric users may also be interested in two strictly optional libraries which implement best-practice user-level code: Invocations (Invoke-only, locally-focused CLI tasks) and Patchwork (remote-friendly, typically shell-command-focused, utility functions). adding this code is not longer required, it is already added by a run-time hook. In each case, it will attempt to locate the latest available version that meets your criteria. However, unlike PyInstaller, there are some important differences, listed in the README file. Check out the Chatty Cathy project page for more information, screenshots and source code or jump straight on to the DevDungeon Discord https://discord. Full automatic support for CRTs: no need to manually distribute MSVCR*. pyinstallerのWikiに方法が記載されていますが、いろいろとハマったため、メモを残します。 Recipe Executable From Django · pyinstaller. x and PyQt5 which will only build against 5. Use the osx-bundle-identifier= argument to add a bundle identifier. ; Note: In case where multiple versions of a package are shipped with a distribution, only the default version appears in the table. Pyinstaller Version 3. If you are looking for common Python recipes and patterns, you can browse the ActiveState Python Cookbook. app bundles. Select “Email” for your channel. See the list of Supported Packages. com UPDATED BLOG: https://arcologydesigns. py2exe is a Windows-only freeze tool. spec 原创文章,转载请注明: 转载自 勤奋的小青蛙 本文链接地址: 【整理】PyInstaller针对包含Python3. The closest you can get is to follow a long recipe of steps — which I propose to outline here. They display a nice graphical user interface, display some information about the module distribution to be installed taken from the metadata in the setup script, let the user select a few options, and start or cancel the installation. Find patient medical information for Doans Pills Oral on WebMD including its uses, side effects and safety, interactions, pictures, warnings and user ratings. VARIANT object can be used for advanced control over. Fix recipe for matplotlib: that recipe caused an exception with current versions of matplotlib and pytz. Entry point and dependency collection for PyInstaller-based standalone conda tool for validating conda recipes and conda packages 2019-07-19: Anaconda Community. Each recipe is a self-contained answer to a practical programming problem in Go. For our finale, we are to look at Andrea Gavana's wxPython-based GUI2Exe, a nice graphical user interface to py2exe, bbfreeze, cx_Freeze, PyInstaller and py2app. Executable installers are the natural format for binary distributions on Windows. iQuail stands for "Installer quail" Our goal is to make deploying and updating desktop applications as simple as possible. ) If I’m really in a rush, I’ll just chuck the browned banana into the freezer, skin and all. cryptography - A package designed to expose cryptographic primitives and recipes to Python developers. If you want to map or act depending of the gesture, you might be interested by the Scatter. com网站上,貌似有些广告经常不显示了 不确定是:没有强制翻墙的原因 还是:crifan. The PyInstaller FAQ page has work-arounds for some common problems. A directory dist/default will be created, including the result of the whole arm compilation. Ask questions and learn more about the Anaconda Python/R Distribution Open Source Community, specifically with dask, bokeh and numba. Organization created on Apr 11, 2015. However, unlike PyInstaller, there are some important differences, listed in the README file. Support for code-signing executables (see Recipe Win Code Signing for details). 7, Python 3. sphinx - Python Documentation generator. Homebrew’s package index. ) Если вы только собираетесь поддерживать системы * nix, не нужно беспокоиться об этом. 내 프로젝트에서는 파이썬 다중 처리 라이브러리를 사용하여 __main__에 여러 프로세스를 작성했습니다. Pyinstaller Version 3. Passlib - Secure password storage/hashing library, very high level. This means that public repositories, like conan-center assume the use of the latest version of the Conan client, and using an older version may result in failure of packages and recipes created with a newer version of the client. Web2py slides (old). Recommended for you by Steam Labs Based on the games you've played. Tutorial de uso do PyInstaller Recipes and Examples for Specific. Then click on Environment Variables. Complete summaries of the Gentoo Linux and openSUSE projects are available. The Python Package Index (PyPI) is a repository of software for the Python programming language. Use the icon= argument to specify a custom icon for the. Thanks to all the help I've received here, it is crazy to look back to my first programs and see my progress. UPDATE: There is now a DevDungeon chat bot project for Discord built with Python 3 and AIML. Using a Python recipe? Installing ActivePython is the easiest way to run your project. Anyways there's probably some data files around and if you're running a site-based app then your program depends on html, js, css files too. One thing I’d like to say about PyInstaller — I was absolutely surprised how easy it was to freeze my python application, while putting minimal efforts from my side, chasing mythical dependencies. YAPF is an open-source Python Formatter that makes writing clean Python code a lot easier, so you can spend more time writing code and less time worrying about how it looks. py, without any modifications. Pyinstaller Version 3. txt文档,但是用python去打开这个文档会报错OSError: [Errno 22] Invalid argument: '\u202a\u202a\u202aD:\\b. Available libraries as for today: jpeg pil png sdl sqlite3 pygame kivy android libxml2 libxslt lxml ffmpeg openssl. 参考:PyInstaller-built Windows EXE fails with multiprocessing. ConfigImportProblems Fixing problems with importing Bio. 現在最新の PowerShell のバージョンは 4. PyInstaller does not sign executables itself: it only allows the generated executables to be signed without this damaging its functionality. Buildozer is a tool that automates the entire build process. If your packed application does not run as expected, please read If Things Go Wrong. 问题: crifan. ui files loaded via PyQt. Libraries for generating project documentation. ビルド済み配布物を作成する¶ "ビルド済み配布物" とは、おそらく皆さんが通常 "バイナリパッケージ" とか "インストーラ" (背景にしている知識によって違います) と考えているものです。. The managed operating system was designed to provide manufacturers with all the ingredients for a winning IoT recipe: certified hardware, rich developer APIs, and secure managed software updates via Google’s infrastructure. In the bad case, when I have dynamic import, I add --hiddenimport flag, PyInstaller run detects all submodules (again, with the hook) but will not detect submodule's. 1, just like they do in Windows 7, the Libraries section from File Explorer is not shown by default. PyInstaller bundles a Python application and all its dependencies into a single package. Homebrew’s package index. freeze_support() straight after the if __name__ == '__main__': line of the main module. A book contains one or more sheets and a sheet is consisted of a sheet name and a two dimensional array of cells. I decided to give PI a try, because it claims to be more selective about what it bundles into its executable files by default, and it also integrates UPX (Ultimate Packer for eXecutables) into the build process, if you have it installed. iQuail Overview. I'd like to create an application without a console window, so I pass --noconsole to pyinstaller. 0, the way to package it has been changed because it uses lml for all plugins. By Jonathan Helmus. VARIANT object can be used for advanced control over. Use the osx-bundle-identifier= argument to add a bundle identifier. They display a nice graphical user interface, display some information about the module distribution to be installed taken from the metadata in the setup script, let the user select a few options, and start or cancel the installation. In the last quarter of 2018 the python recipes has been changed, the new recipe for python3 (3. Tek Recipes Solutions for everyday computing. Include data files in single exe. 파일 배포 보통 `` pyinstaller``로. There are other available installers for different systems, which might come with a bundled python interpreter, so that you don’t have to install python first. Development stopped for a long time, but at the time of. Catalog of questions and answers on programming. It is expected (and hoped) that developers will improve and refine this process over time - there are still some rough. PyQt를 설치하기 전에 SIP를 먼저 설치해야합니다. Data models and data structures¶. 81)后,在PyCharm中使用,没有任何问题,但进行pyinstaller(版本3. Using these supported packages make packaging applications pretty straightforward, but when wee need to use a third-party not supported module, it can be tricky to make it work. cElementTree. 示例还是以之前的为例,解压进入工程目录,命令行执行打包命令. adding this code is not longer required, it is already added by a run-time hook. python configure. User guide¶. PyInstaller로 빌드 된 Windows EXE가 다중 처리와 함께 실패합니다. 22%), it is better than average. PyInstaller bundles a Python application and all its dependencies into a single package. Can anyone assist with this error? Everything google found about this involved SQLAlchemy but seemed to indicate this was already fixed. PyInstaller 3. 3+, and PyPy. , distutils “distribution” names), and package+version specifiers. 4, PyQt, Pandas, Multiprocess的程序打包. 学点编程吧原创译文,禁止转载! 此列表跟踪第三方软件包与PyInstaller的兼容性状态。 大多数软件包都可以与PyInstaller一起使用。 对于纯Python包和不需要其他文件的包尤其如此。. In the last quarter of 2018 the python recipes has been changed, the new recipe for python3 (3. ’ Thus Pyinstaller is not a magic bullet. PyInstaller builds the app by executing the contents of the spec file. Popen calls (redirecting STDIN, STDOUT, and STDERR) seems to correct this issue. Robot Hacks Hack Like a Pro Forensics Recon Social Engineering Networking Basics Antivirus Evasion Spy Tactics MitM Advice from a Hacker Best New iOS 13 Features. py as the actual executable you use when building with pyinstaller is not run directly as a python script a la 'python pyinstaller. Not able to include html files and static content of django project to installer. Data models and data structures¶. com网站上,貌似有些广告经常不显示了 不确定是:没有强制翻墙的原因 还是:crifan. PyInstaller runs in Mac OS X 10. We discovered that code which ran perfectly correctly by executing the scripts in the POSIX environment or via python on the PyInstaller. multiprocessing. Each recipe is a self-contained answer to a practical programming problem in Go. pyz), XAR, Nuitka (compiles Python into a native binary), pyninst (creates windows installer), PEP 441 style. PyInstaller builds minimal versions of these elements. It supports Python 2. By Jonathan Helmus. The official forum for Python programming language. Also usage reports are welcomed: let us know if PyInstaller works for you and how, or what problems you found in using it. 1 PyInstaller简介 1. Or be nicer and port your process into a recipe/definition file. Tek Recipes Solutions for everyday computing. hashids - Implementation of hashids in Python. Code examples for some advanced uses and some common problems are available on our PyInstaller Recipes page. For instance, it will parse all your files and find all the dotted-names strings that refer to module names (eg: within settings. I've got a project that depends on pyOpenSSL which I'm currently using pyinstaller to package into one file. py folder as well as any other external scripts. Let me know how you fared. txt file for pip:. I am using multiprocessing within my python (v3. In particular it seems that there is some strange problem with using the read_csv function,. txt) or read online for free. When dealing with excel files, pyexcel pay attention to three primary objects: cell, sheet and book. 5虽然自带mysql驱动,不再需要像QT4那样自己进行编译。但是QT对mysql总归不是那么友好,在连接过程中,遇到了一坨又一坨的问题,参考了一坨又一坨的资料,用了将近一整天的时间,终于搞定了. You can vote up the examples you like or vote down the ones you don't like. cryptography - A package designed to expose cryptographic primitives and recipes to Python developers. Packaging with PyInstaller¶. I am using multiprocessing within my python (v3. Fabric users may also be interested in two strictly optional libraries which implement best-practice user-level code: Invocations (Invoke-only, locally-focused CLI tasks) and Patchwork (remote-friendly, typically shell-command-focused, utility functions). This becomes the CFBundleIdentifier used in code-signing (see the PyInstaller code signing recipe and for more detail, the Apple code signing overview technical note). The usual googling does not turn up any obvious fixes, so there will be no pyinstaller files for Windows until further notice. save_book_as¶ pyexcel. And you need to do the same for pyexcel-io plugins too. py my_script. To install pywin32 version 221 : Download the correct installer (. We have kept the solution simple to help you resolve the issue faster. pyz), XAR, Nuitka (compiles Python into a native binary), pyninst (creates windows installer), PEP 441 style. Installing Pyinstaller Into Python. WonderHowTo Null Byte WonderHowTo Gadget Hacks Next Reality Null Byte Forum Metasploit Basics Facebook Hacks Password Cracking Top Wi-Fi Adapters Wi-Fi Hacking Linux Basics Mr. 问题: crifan. In particular it seems that there is some strange problem with using the read_csv function,. If your packed application does not run as expected, please read If Things Go Wrong. So you end up needing a tool like PyInstaller or cx_Freeze. txt $ pip install --editable. See the list of Supported Packages. python configure. spec 原创文章,转载请注明: 转载自 勤奋的小青蛙 本文链接地址: 【整理】PyInstaller针对包含Python3. PACK (Password Analysis and Cracking Toolkit) is a collection of utilities developed to aid in analysis of password lists in order to enhance password cracking through pattern detection of masks, rules, character-sets and other password characteristics. The application you see below with a working menu was created in 20 lines of Python code. I personally didn't got time to test it yet. In this recipe, we will learn how to control the output resolution. 4 Pyinstaller can run into some minor issues with MacOS, but solving it might take you longer if you do not get the right guidance. 3 (The name of this option is unfortunate, because the values are requirements, not egg names. 0, the way to package it has been changed because it uses lml for all plugins. Get Pyinstaller to import ttkthemes. 1 (currently the latest version obtainable through pip) seemed to work without issue with this version of pywin32. 1) has a new build system which has been applied to the ancient python recipe, allowing us to bump the python2 version number to 2. The Python Discord. However, unlike PyInstaller, there are some important differences, listed in the README file. web2py Enterprise Web Framework Tutorial. Changes - Free download as Text File (. already installed (including Qt and tons of other often used ones). Check our list of Projects Using PyInstaller. 7 and Python 3. win-amd64-py3. I would suggest you look at PyInstaller and Nuitka. It has support for a configurable backend for storage with current implementations for in-memory, redis and memcache. 打包带多进程的Python程序时,需要额外的做些处理。 参考SO上面的讲解,更容易采用的方式是--onedir 模式。 采用 --onedir 模式打包,我们需要在main方法里,第一行加入如下代码:. >>> Python Software Foundation. install python 3. What PyInstaller Does and How It Does It¶ This section covers the basic ideas of PyInstaller. check_output 冲突,使得命令无法. com/tacorna/taco. 81)后,在PyCharm中使用,没有任何问题,但进行pyinstaller(版本3. Introduction ¶. PyInstaller can not detect this when passed the script. Use the WinPython Control Panel program to install the PyInstaller package you got. Make it run elsewhere: Python and PyInstaller recipe bluedots Uncategorized August 31, 2014 August 31, 2014 2 Minutes I'm doing a little dabbling in Python, and am a total novice at programmer. py project I use python pyinstaller. Powershell - Send Multiple Email Attachments using Send-MailMessage. Data models and data structures¶. I found lots of PyInstaller 1. Robot Hacks Hack Like a Pro Forensics Recon Social Engineering Networking Basics Antivirus Evasion Spy Tactics MitM Advice from a Hacker Best New iOS 13 Features. DO NOT leave stdin None. Use the icon= argument to specify a custom icon for the. 1, you can build an executable from a project using Django 1. (If you do not specify an icon file, PyInstaller supplies a file icon-windowed. 1 PyInstaller特性 Ø 可以将Python脚本打包成可执行程序,在没有Python环境的机器上运行。 Ø 可以在以下环境中执行: Windows (32-bit and 64-bit), Linux (32-bit and 64-bit), Mac OS X (32-bit and 64-bit), experimentally Solaris and AIX. How to create a 3D Terrain with Google Maps and height maps in Photoshop - 3D Map Generator Terrain - Duration: 20:32. This video demonstrate how to create executable file in linux platform. CCleaner is one example of a program that you can download for Windows as an EXE or on a Mac as a DMG file. Anaconda Cloud is a package management service that makes it easy to find, access, store and share public notebooks, environments, and conda and PyPI packages. Complete summaries of the openSUSE and Debian projects are available. Pyinstaller / Python. 81)后,在PyCharm中使用,没有任何问题,但进行pyinstaller(版本3. Options and special cases are covered below, under Using PyInstaller. 使用PyInstaller打包Python程序 PyInstaller介绍: PyInstaller是一个能将Python程序转换成单个可执行文件的程序, 操作系统支持Windows, Linux, Mac OS X, Solaris和AIX。. I've tried numerous ways to get data files (--I have two Qt. PyInstaller also knows about the GUI packages Qt (imported via PyQt or PySide), WxPython, TkInter, Django, and other major packages. Now, in order to be able to create the executable we need to create a file called setup. A directory dist/default will be created, including the result of the whole arm compilation. It should mostly work automatically with existing recipes, though at this stage there may be bugs or problems with a few, and some will need modification. Category: Python. One thing I'd like to say about PyInstaller — I was absolutely surprised how easy it was to freeze my python application, while putting minimal efforts from my side, chasing mythical dependencies. I really like this. uic--)into an. Support the project¶. Python 101: Episode #43 Creating Executables with PyInstaller January 24, 2019 Books , Python Python Mike In this screencast, we will learn how to turn your Python code into a Windows executable file using the PyInstaller project. py generates a spec file automatically. Recipes and Instructions for special Modules 18 pyinstaller. Refusing to "mess with something that already works" is a recipe for disaster. In this recipe, we will learn how to control the output resolution. It converts Python scripts into executable Windows programs, able to run wit How to use nmake and makefile. pyinstaller -F --distpath release main. This is very important if you want to use subprocess and Pyinstaller together. Recommend:python - PyInstaller and PySide, how to include the imageformats folder. I'm using PyInstaller. The Recipe. , distutils “distribution” names), and package+version specifiers. Note that some of these installers might have some limitations, especially those created with pyinstaller (such as Windows exe & Linux deb). In each case, it will attempt to locate the latest available version that meets your criteria. The user can run the packaged app without installing a Python interpreter or any modules. pdf), Text File (. This is the place to post completed Scripts/Snippets that you can ask for people to help optimize your code or just share what you have made (large or small). 4 library module subprocess. Use the icon= argument to specify a custom icon for the. Executable installers are the natural format for binary distributions on Windows. This package will be a single file that can be run without installing Kivy or Python on the Mac. The following are code examples for showing how to use tkMessageBox. See the list of Supported Packages. PyInstaller development can only continue if users and companies provide sustainable funding. The source code is copyrighted but freely distributed (i. PyInstaller reads a Python script written by you. pip install pyinstaller 打包exe. Complete summaries of the BlackArch Linux and Debian projects are available. Recommended for you by Steam Labs Based on the games you've played. adding this code is not longer required, it is already added by a run-time hook. Docker containers wrap up software and its dependencies into a standardized unit for software development that includes everything it needs to run: code, runtime, system tools and libraries. Category: Python. Some of the recipes there include: Some of the recipes there include: A more sophisticated way of collecting data files than the one shown above ( Adding Files to the Bundle ). json (JSON API). IMPORTANT NOTICE FROM LINUX JOURNAL, LLC: On August 7, 2019, Linux Journal shut its doors for good. 81)后,在PyCharm中使用,没有任何问题,但进行pyinstaller(版本3. A recipe at PyInstaller's homepage claims that I have to modify my code to enable multiprocessing in Windows when packaging the application as a single file. PySimpleGUI + PyInstaller to the rescue!! Combining PySimpleGUI with PyInstaller creates something truly remarkable and special, a Python program that looks like a Windows WinForms application. The fact-checkers, whose work is more and more important for those who prefer facts over lies, police the line between fact and falsehood on a day-to-day basis, and do a great job. Today, my small contribution is to pass along a very good overview that reflects on one of Trump’s favorite overarching falsehoods. Namely: Trump describes an America in which everything was going down the tubes under  Obama, which is why we needed Trump to make America great again. And he claims that this project has come to fruition, with America setting records for prosperity under his leadership and guidance. “Obama bad; Trump good” is pretty much his analysis in all areas and measurement of U.S. activity, especially economically. Even if this were true, it would reflect poorly on Trump’s character, but it has the added problem of being false, a big lie made up of many small ones. Personally, I don’t assume that all economic measurements directly reflect the leadership of whoever occupies the Oval Office, nor am I smart enough to figure out what causes what in the economy. But the idea that presidents get the credit or the blame for the economy during their tenure is a political fact of life. Trump, in his adorable, immodest mendacity, not only claims credit for everything good that happens in the economy, but tells people, literally and specifically, that they have to vote for him even if they hate him, because without his guidance, their 401(k) accounts “will go down the tubes.” That would be offensive even if it were true, but it is utterly false. The stock market has been on a 10-year run of steady gains that began in 2009, the year Barack Obama was inaugurated. But why would anyone care about that? It’s only an unarguable, stubborn fact. Still, speaking of facts, there are so many measurements and indicators of how the economy is doing, that those not committed to an honest investigation can find evidence for whatever they want to believe. Trump and his most committed followers want to believe that everything was terrible under Barack Obama and great under Trump. That’s baloney. Anyone who believes that believes something false. And a series of charts and graphs published Monday in the Washington Post and explained by Economics Correspondent Heather Long provides the data that tells the tale. The details are complicated. Click through to the link above and you’ll learn much. But the overview is pretty simply this: The U.S. economy had a major meltdown in the last year of the George W. Bush presidency. Again, I’m not smart enough to know how much of this was Bush’s “fault.” But he had been in office for six years when the trouble started. So, if it’s ever reasonable to hold a president accountable for the performance of the economy, the timeline is bad for Bush. GDP growth went negative. Job growth fell sharply and then went negative. Median household income shrank. The Dow Jones Industrial Average dropped by more than 5,000 points! U.S. manufacturing output plunged, as did average home values, as did average hourly wages, as did measures of consumer confidence and most other indicators of economic health. (Backup for that is contained in the Post piece I linked to above.) Barack Obama inherited that mess of falling numbers, which continued during his first year in office, 2009, as he put in place policies designed to turn it around. By 2010, Obama’s second year, pretty much all of the negative numbers had turned positive. By the time Obama was up for reelection in 2012, all of them were headed in the right direction, which is certainly among the reasons voters gave him a second term by a solid (not landslide) margin. Basically, all of those good numbers continued throughout the second Obama term. The U.S. GDP, probably the single best measure of how the economy is doing, grew by 2.9 percent in 2015, which was Obama’s seventh year in office and was the best GDP growth number since before the crash of the late Bush years. GDP growth slowed to 1.6 percent in 2016, which may have been among the indicators that supported Trump’s campaign-year argument that everything was going to hell and only he could fix it. During the first year of Trump, GDP growth grew to 2.4 percent, which is decent but not great and anyway, a reasonable person would acknowledge that — to the degree that economic performance is to the credit or blame of the president — the performance in the first year of a new president is a mixture of the old and new policies. In Trump’s second year, 2018, the GDP grew 2.9 percent, equaling Obama’s best year, and so far in 2019, the growth rate has fallen to 2.1 percent, a mediocre number and a decline for which Trump presumably accepts no responsibility and blames either Nancy Pelosi, Ilhan Omar or, if he can swing it, Barack Obama. I suppose it’s natural for a president to want to take credit for everything good that happens on his (or someday her) watch, but not the blame for anything bad. Trump is more blatant about this than most. If we judge by his bad but remarkably steady approval ratings (today, according to the average maintained by 538.com, it’s 41.9 approval/ 53.7 disapproval) the pretty-good economy is not winning him new supporters, nor is his constant exaggeration of his accomplishments costing him many old ones). I already offered it above, but the full Washington Post workup of these numbers, and commentary/explanation by economics correspondent Heather Long, are here. On a related matter, if you care about what used to be called fiscal conservatism, which is the belief that federal debt and deficit matter, here’s a New York Times analysis, based on Congressional Budget Office data, suggesting that the annual budget deficit (that’s the amount the government borrows every year reflecting that amount by which federal spending exceeds revenues) which fell steadily during the Obama years, from a peak of $1.4 trillion at the beginning of the Obama administration, to $585 billion in 2016 (Obama’s last year in office), will be back up to $960 billion this fiscal year, and back over $1 trillion in 2020. (Here’s the New York Times piece detailing those numbers.) Trump is currently floating various tax cuts for the rich and the poor that will presumably worsen those projections, if passed. As the Times piece reported: