Search found 8 matches

by 417_TheFog
Sat Jan 04, 2025 3:02 pm
Forum: General
Topic: How to run *.py(w) _without command line popping out_?
Replies: 12
Views: 614

Re: How to run *.py(w) _without command line popping out_?

dusoft wrote: Sat Jan 04, 2025 12:47 pm provide some Lua code.
here. the problem is not in writing the code, but in the fact that I literally do not know what function to use.

Code: Select all

os.execute("pythonw.exe Script.pyw 1>stdout.txt 2>stderr.txt")
kov_serg wrote: Sat Jan 04, 2025 1:39 pm ...
oh wow, thanks a lot :awesome: !
by 417_TheFog
Sat Jan 04, 2025 12:14 pm
Forum: General
Topic: How to run *.py(w) _without command line popping out_?
Replies: 12
Views: 614

Re: How to run -.py without command line popping out?

Why do you need to run something in a different language I need to use the API of one program and this API is only in python. I don't write everything in python because creating a distribution on it is a pain. It's strange that you ask such a question, like bro a huge number of projects on github a...
by 417_TheFog
Sat Jan 04, 2025 11:51 am
Forum: General
Topic: How to run *.py(w) _without command line popping out_?
Replies: 12
Views: 614

Re: How to run -.py without command line popping out?

RNavega wrote: Sat Jan 04, 2025 9:38 am A Python installation comes with python.exe and pythonw.exe, this is their difference:
https://stackoverflow.com/a/30313091
the thing is it still appears :?
by 417_TheFog
Sat Jan 04, 2025 9:43 am
Forum: General
Topic: Hwlp with setting up perlin noise gen?
Replies: 1
Views: 280

Re: Hwlp with setting up perlin noise gen?

well love.math.noise gives random values because you are using it absolutley randomly. it is more mess_data then mesh_data. better use it like this (literally stole this from https://love2d.org/wiki/love.math.noise): local grid = {} local function generateNoiseGrid() --fills grid with noise local ba...
by 417_TheFog
Sat Jan 04, 2025 8:01 am
Forum: General
Topic: How to run *.py(w) _without command line popping out_?
Replies: 12
Views: 614

How to run *.py(w) _without command line popping out_?

How to run *.py from *.lua or at least properly execute python code without command line popping out???
(on Windows 11)

NOTE: it still appears even with -.pyw. The problem is probably in the ways *.py(w) is executed - os.execute and io.popen. How then?
by 417_TheFog
Mon Dec 30, 2024 5:53 am
Forum: Support and Development
Topic: copy /b love.exe+game.love amalgamation, stable or not?
Replies: 3
Views: 483

Re: copy /b love.exe+game.love amalgamation, stable or not?

MrFariator wrote: Mon Dec 30, 2024 1:23 am so it is stable.
Thanks :nyu: !
by 417_TheFog
Sun Dec 29, 2024 6:48 pm
Forum: Support and Development
Topic: Could not decode image
Replies: 2
Views: 367

Re: Could not decode image

You are using -jpg, it is not supported + you've tried to call -png. Also, I dont think using chica is legal because, you know, copyright.
by 417_TheFog
Sun Dec 29, 2024 2:18 pm
Forum: Support and Development
Topic: copy /b love.exe+game.love amalgamation, stable or not?
Replies: 3
Views: 483

copy /b love.exe+game.love amalgamation, stable or not?

I am using 64-bit Windows 11, and "win+r >>> cmd >>> cd C:\path\thing >>> copy /b love.exe+game.love game.exe" pretty much works for me. But is this method stable? If it is not, how can I build clear -.exe file (or at least hide love.exe somewhere)? If it is stable, can I do the same with ...