#๐ It doesn't want to open up
105 messages ยท Page 1 of 1 (latest)
@woeful citrus
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
do you intend to edit the .bat file and not run it? try to right click and open it with a text editor
left clicking might be opening it in the sense of executing it instea of opening it in the sense of editing it.
@woeful citrus hope that helps.
its doesnt work ;/
did i understand you correctly though that you intended to edit the file?
alternatively you can run your text editor and open the .bat file from that text editor window?
No, I don't want to edit it, I want to open the file, but IE closes directly when I want to open it,
oh okay
No, I don't want to edit it, I want to open the file, but it closes directly when I want to open it.*
well it sounds like it is being opened and part of what it does when its opened is it runs and then closes. you just dont want it to close?
yes
i think cmd /k will keep a console open
for cmd.exe on windows
you can add that command to the end of the .bat file i think and itll make it stay open ready to be interacted with further
you can also try a pause command which will make it stay and wait for you to push any key to continue
can you help maybe with anydesk im not so good with this
i dont know what anydesk is. i prefer to stay with discord.
are you able to edit the contents of that .bat file?
With AnyDesk you can access my PC and do it
i think youll just need to add pause or cmd \k to the last line of th file.
oh no im not interested in remote connecting to your PC, but i am patient so if youre interested in trying to do it yourself i can help you as long as youre willing.
I don't quite understand what you mean
if you want that console to stay open when you run the .bat file then you can open up the .bat file in a editor and add a line that says pause to the end of the file
and then next time you execute it it was pause and stay open for you.
if thats your goal
it will autoclose after it is done running unless it has a pause command at the end of the file
or cmd \k at the end of the file will also stop it from autoclosing after it is done executing.
the .bat file is a list of commands and so you will just have to add a command at the end of the list that tells it not to autoclose.
I've tried it now, it freezes now, but it still doesn't execute the program
do you mind sharing the contents of the bat file?
we can see if it has a command in there to execute whatever program you are expecting
can i send privat dm ?
uhh, its a lot easier to just deal with all the help in this channel, is it like sensitive information or something?
in your screenshot it looks like youre just running a pip command to install dependencies
i dont cant send you here in the chat
its usually a million times easier to keep everything in one channel
It blocks the file away
oh i just meant the text inside the bat file
The python bot kicks it out
maybe we can backup a little bit
whats your goal here youre just trying to havethe bat file run main.py?
oh okay
and when you run that mian.py file it autocloses?
Yes, this is exactly the file you want to run
yes
okay i misunderstood you originally and thought the .bat file was the problem
i think maybe you can do python -i main.py but i might have to double check that
who?
or you can add at the bottom of your main.py
input("Press enter to exit;")
and itll wait for you to hit enter to close
on the main py i dont can change anything
hmmm
only open and its autoclose to
what happens when you do python -i main.py?
it should keep it open with the python shell >>> interface
I wrote to you privately because that's the only way I can send the code to the main p
what is that
its a way to keep a console window open cuz it is waiting for user input at the >>> line in your console
and you can exit it by typing exit() or closing the window with your mouse
so it woul keep the console open which i think is your goal correct?
it will still be executed
its just that after it is done running it will sit in the shell interface mode and it will not autoclose
its really sketchy that your file is obfuscated with pyarmor though, what does it do?
What must it not do is the question
The problem is the one who wrote the code is not there for the time being, he could always help me in the cmd
Im trying to help you. Its really unclear if youre attempting to try the fixes im suggesting or if youre just trying to get me to run the file that i asked you to NOT send me via DM but you sent me anyway
at this point im questioning your intentions but i am still trying to help you.
my understanding is that when you run python main.py that it is successfully running but it just autocloses when it is done
and that python -i main.py would cause it to successfully run and then stay open after
when you execute that bat file the python code successfully runs and then autocloses? is that correct?
There is a window very briefly and then it is directly closed again, so I guess so
from what i can tell, that is the script siccessfully running and then closes after it runs.
beyond that we cant really trouble shoot because the python script is intentionally hidden from us
if its a cheat then i would question wether its really doing what someone told you it does because it sounds like you dont know what the python script does yourself.
like for example it is just quickly stealing all your passwords and then it closes when its done because it doesnt need to stay open after it already has sent your passwords to the guy who wrote it.
But it worked for months, but then I didn't hurry anymore, I accidentally deleted a lot of things#
oh it used to work and now it doesnt?
yes
its really hard to say without being able to actually see the code
I didn't know it was encrypted sry
I think is a lot more complicated than it originally seemed because your goal isnt just to keep[ the window open its to make it work correctly
yes
yeah and i could help you keep the window open, but i cant really fix the broken parts that broke when you deleted things
I have a youtube video I don't know if you want to watch it because there is a lot of how to set it up but I have missed it several times and it doesn't work
nah im sorry. if it were something other than a dishonest cheat then it would be a lot easier to help.
this server is mostly for people trying to learn.
Oh, I thought that Python itself is a cheat
no that is incorrect
Then I guess I'll have to wait until he's back, which can take a long time
sorry for disturbing thanks anyway for the help
no problem at all, sorry i couldnt help solve it. good luck waiting for the guy who originally made it. ๐
thx bye ๐
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.