169 похожих чатов

It'S just.. idk I've only ever provided scripts or web

based solutions lol. I want to make a little CLI program for myself though and share it with the community. Can I just use python or node and try n get a binary out of the script? xd or should I go and learn C or use Rust. Maybe that's my opportunity to get back into learning Rust.

5 ответов

9 просмотров

Why would you try to make a binary out of a python script?

you don't need to make a binary, you can just publish your python/node file with a dependency to python/node, so when the users install it they will be able to execute it just put a proper shebang in your files and they will open correctly

Crypto Caevee- Автор вопроса
Nex
you don't need to make a binary, you can just publ...

So I can just write my script and publish it without converting? Cool

Crypto Caevee
So I can just write my script and publish it witho...

yes, linux can execute scripts seamlessly as long as the interpreter is in the shebang (and installed ofc) you can even configure a linux distro to execute .jar files, windows programs or even programs for others architectures, seamlessly (see binfmt)

Похожие вопросы

Обсуждают сегодня

А чем вам питонисты не угодили?😂
.
79
Всем привет, написал код ниже, но он выдает сегфолт, в чем причина? #include <stdio.h> #include <stdlib.h> #include <string.h> struct product { char *name; float price; };...
buzz базз
75
Ещё такой вопрос. Мне необходимо хранить пароль пользователя локально. Для этого планирую использовать ini файл. Это для автозаполнения полей логин и пароль при авторизации. Е...
Евгений
19
Ты просто гитлеровскую эстетику плохо понимаешь. Он же всё под Цезаря делал. А это как бы запрещённый приём в политике. Пиджаки они зачем все носят? Чтобы показать что они тип...
Ivan Kropotkin
4
а чем лучше всего сделать глобальный лок, если много нодов, до сотни? ну то есть мне надо, чтобы некоторые операции с объектом не происходили одновременно. перемещение между н...
Д. П.
15
А как лучше конвертировать физический адрес в виртуальный при маппинге? В случае ядра у меня, например, direct mapping, первые 768МБ я как есть мапплю в higher half, а остальн...
Evg Resh
26
Hi guys, I'm looking for a good LLM course. Is there any course to learn LLMs in advanced? I'm aiming to use them in my apps, so a perfect course in my openion, is not only a ...
Taha
14
База данных не поможет. Шифрование не поможет. Какие там ещё варианты? Накидывайте.
КТ315
20
А табстоп это сообщение от окна или от элемента управления?
The Bird of Hermes
18
$params = [ 'formid' => 'feedbackForm', 'formTpl' => '@CODE: <form class="form-validate" data-id="ajax_form"> <fieldset class="margin-bottom-md"> ...
Pathologic
1
Карта сайта