#pyinstaller

2026-01-08

I created a desktop application with pyinstaller. When I double-click on the icon, Ubuntu says:

Can't open the file
Failed to find default application for content type 'application.x-executable'

I *can* run it by right-clicking and choosing "Run as a program".

How can I get double-clicking to launch it?

(Yes, I already set it to be executable from the command line.)

#python #pyinstaller #ubuntu

2025-12-27
Fine this should do *sigh*

Why was this so annyoing to make ... ?
So many copy errors, unresponsive progressbar and bla.
Bleh.
(And why can neither #Powershell not #cmd handle it well ? Even with Encoding enabled...)

https://codeberg.org/alceawisteria/AdbTools/src/branch/main/copytool

Added aprecompiled binary via #pyinstaller.
(Untested. I have no idea if it works...)

I can only tell if everything copied fine tomorrow, as the copy process is not super slow, but there are too many files...)
https://infosec.exchange/@alcea/115792254837781148
#CodeAlcea
Uploaded AdbCopyToolForCopyingMountsToCompouter.jpg
Zelphir Kaltstahlzelphirkaltstahl
2025-12-23

I created an actual "release" today, for my Xiaolong Dictionary language learning tool [1].

I wonder however, why the GNU/Linux built is bigger. Maybe 'cause I ran another command making the executable. Makefile target:

pyinstaller --clean --onefile --noconsole --add-data "$(TCL_LIBRARY):tcl8.6" --add-data "$(TK_LIBRARY):tk8.6" "$(MODULE)")

While on Windows I have no idea how to do that.

[1]: codeberg.org/ZelphirKaltstahl/

:rss: Qiita - 人気の記事qiita@rss-mstdn.studiofreesia.com
2025-09-27
Marcus Adamsgerowen
2025-09-02

If you have installed and want to verify what's going on with being flagged as malicious, here's all you need to do.

Create a file with the following content; maybe name it "hello.py":

print ("Hello world!")

Then compile it with PyInstaller, doesn't matter if you use the onefile argument or not:

pyinstaller --onefile hello.py

If Defender doesn't nuke it on sight, find your .exe in the dist folder and upload it to virustotal(.)com. It'll pop hot for a trojan.

2025-08-24

Иконки прямо в коде: как мы избавились от assets, портируя приложение на Linux и macOS

Привет, Хабр! Мы в ChameleonLab разрабатываем тулкит для стеганографии, который уже работает на Windows и macOS . Сейчас мы портируем его на Linux, и, как это часто бывает, именно на этом этапе классические проблемы с ресурсами (иконками, картинками) проявили себя во всей красе. После релиза пользователи увидели наше решение и стали спрашивать, как оно устроено и почему приложение не тащит за собой папку с картинками. Раз уж сообществу это интересно, мы решили дать развёрнутый ответ. Расскажем, как встроили все иконки прямо в код с помощью SVG, и как внутренние итерации и поиски идеального решения привели нас к финальному варианту.

habr.com/ru/articles/940180/

#python #PyQt #PySide #Qt #SVG #векторная_графика #ui #PyInstaller #hidpi #кроссплатформенная_разработка

2025-07-17

VPN-клиент для Windows своими руками: L2TP, PPTP, маршруты и Telegram-уведомления

Рабочая задача: развернуть VPN на MikroTik с поддержкой L2TP и PPTP, авторизация — через Radius. В роли серверов — стандартные для нас RouterOS CCR1016-12G. Параллельно возникло требование: подобрать клиент под Windows, чтобы можно было просто передать пользователям исполняемый файл, и они могли подключиться — без инструкций, .bat-файлов и шаманства.

habr.com/ru/articles/928242/

#vpnclient #mikrotik #python3 #pyinstaller #gui #l2tp #pptp #powershell

2025-06-29

Figured out how to create a Linux, MacOS (ARM) and Windows executable in a GitHub action for our PyGame mini game: github.com/jhutar/CatWars/blob

Uploaded to jhutar.itch.io/catwars if you would be able to try if Windows and MacOS "builds" work - thank you 🙂

#pygame #gamedev #pyinstaller

Rost Glukhovros@techhub.social
2025-01-17
Alexandre B A Villares 🐍villares@ciberlandia.pt
2024-12-15

Today I managed to cobble up a #Python script to remove your name from #PDF annotations using #PyMuPDF and #FreeSimpleGUI, then I tried #pyinstaller and I have something that seems to run on Linux... so many steps!!!

It never ceases to amaze me how hard it its to provide software for other people to run!

If you think it could be useful to you or someone, I AGPL licensed it here:

github.com/villares/anonymize-

UPDATE: @Introscopia built a Windows.exe version for me also using pyinstaller, yay!

screenshot of the tool panel with fields:
"Input file", "Output file" and "Change names in notes to"
A checkbox to remove the name from main metadata, a "Create modified PDF" button and a "CLOSE/EXIT" button.

@sirber though we don’t use ffmpeg, we do use #Python and #qt. We compile with #pyinstaller and the result is a regular standalone binary for our users.

2024-10-18

Простая защита скрипта на Python

Стек : Python 3.11.7, ntplib, subprocess, getpass для времени, системы, пароля, PyArmor 8+ для обфускации. Сценарий: Разработано приложение, которое дает преимущество перед конкурентами, или ваш код содержит конфиденциальные данные. Приложение предстоит установить нескольким сотрудникам (можно увеличить количество немного изменив подход), при этом вы не планируете переносить часть логики на сервер. Возможны и другие сценарии, я описал наиболее на мой взгляд вероятный случай, когда такого рода защита может понадобиться. В данной статье я расскажу несколько способов, которые не дадут запустить приложение, где не следует, и скорее всего отобьют желание лишний раз лезть в ваш код.

habr.com/ru/articles/851760/

#PyArmor #PyArmor8+ #pyinstaller #защита #зависимости

@w4ffl35 at work we use #pyinstaller and have been happy with the results.

I want #pixi to build me a vent. I’ll use it in #pycharm to start but later #pyinstaller. Pixi wants to build things. It’s mad about A which can’t be built. It’s mad about my app, down inside B. Doesn’t like that my #pyprojecttoml is not at the top of B. Doesn’t like that my app can’t be built. My virtual environment has all the external packages it needs, but isn’t working in PyCharm because it doesn’t have any of the things I need from A.

My app _will_ be getting a repo of its own.

2024-08-28

I created an update to #icsquery for Windows cmd users. You can download ics-query.exe to check what is happening in .ics calendar files.

Releases: github.com/niccokunzmann/ics-q
Documentation: github.com/niccokunzmann/ics-q

#icsquery #pyinstaller #icalendar #ics #cmd #rfc5545

Running the command
ics-query.exe --help
on the Windows CMD command line.
Bobe'bot on securityBobe_bot@mastobot.ping.moi
2024-05-12

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst