#๐Ÿ”’ It doesn't want to open up

105 messages ยท Page 1 of 1 (latest)

fallow citrusBOT
#

@woeful citrus

Python help channel opened

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.

shut egret
#

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.

woeful citrus
#

its doesnt work ;/

shut egret
#

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?

woeful citrus
#

No, I don't want to edit it, I want to open the file, but IE closes directly when I want to open it,

shut egret
#

oh okay

woeful citrus
#

No, I don't want to edit it, I want to open the file, but it closes directly when I want to open it.*

shut egret
#

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?

woeful citrus
#

yes

shut egret
#

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

woeful citrus
#

can you help maybe with anydesk im not so good with this

shut egret
#

i dont know what anydesk is. i prefer to stay with discord.

#

are you able to edit the contents of that .bat file?

woeful citrus
#

With AnyDesk you can access my PC and do it

shut egret
#

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.

woeful citrus
shut egret
#

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.

woeful citrus
#

I've tried it now, it freezes now, but it still doesn't execute the program

shut egret
#

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

woeful citrus
#

can i send privat dm ?

shut egret
#

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

woeful citrus
#

i dont cant send you here in the chat

shut egret
#

its usually a million times easier to keep everything in one channel

woeful citrus
#

It blocks the file away

shut egret
#

oh i just meant the text inside the bat file

woeful citrus
#

The python bot kicks it out

shut egret
#

maybe we can backup a little bit

woeful citrus
#

only this

shut egret
#

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?

woeful citrus
shut egret
#

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

woeful citrus
#

who?

shut egret
#

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

woeful citrus
#

on the main py i dont can change anything

shut egret
#

hmmm

woeful citrus
#

only open and its autoclose to

shut egret
#

what happens when you do python -i main.py?

#

it should keep it open with the python shell >>> interface

woeful citrus
#

I wrote to you privately because that's the only way I can send the code to the main p

woeful citrus
shut egret
#

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?

woeful citrus
#

The file should be executed

#

She's supposed to run

shut egret
#

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?

woeful citrus
#

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

shut egret
#

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.

woeful citrus
#

its a valorant cheat

#

And I can't run it

#

thats the point

shut egret
#

my understanding is that when you run python main.py that it is successfully running but it just autocloses when it is done

woeful citrus
#

yes

#

not main

shut egret
#

and that python -i main.py would cause it to successfully run and then stay open after

woeful citrus
#

this bat

shut egret
#

when you execute that bat file the python code successfully runs and then autocloses? is that correct?

woeful citrus
#

There is a window very briefly and then it is directly closed again, so I guess so

shut egret
#

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.

woeful citrus
#

But it worked for months, but then I didn't hurry anymore, I accidentally deleted a lot of things#

shut egret
#

oh it used to work and now it doesnt?

woeful citrus
#

yes

shut egret
#

its really hard to say without being able to actually see the code

woeful citrus
#

I didn't know it was encrypted sry

shut egret
#

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

woeful citrus
#

yes

shut egret
#

yeah and i could help you keep the window open, but i cant really fix the broken parts that broke when you deleted things

woeful citrus
#

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

shut egret
#

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.

woeful citrus
#

Oh, I thought that Python itself is a cheat

shut egret
#

no that is incorrect

woeful citrus
#

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

shut egret
#

no problem at all, sorry i couldnt help solve it. good luck waiting for the guy who originally made it. ๐Ÿ‘

woeful citrus
#

thx bye ๐Ÿ™‚

fallow citrusBOT
#
Python help channel closed

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.