Pls solve the bug in console

I didn’t change the of the console
Pls solve this bug

Expected vs Current Behavior:

Steps to reproduce:

Bug appears at this link: https://replit.com/~?supportform=true

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36

Replit Profile: https://replit.com/@MadhavKaura

Are you referring to these?

:wave: Hi @MadhavKaura!

/nix/store/zqk3m21442kvpjwd3rh41wdavqkzkyik-python3-wrapper/bin/python3 $file

The reason this message is showing up is due to a few new updates on Replit and is completely normal. If you would like to remove it, go to your .replit file and put the following code on line 1: run = "clear && python3 main.py".

If this helps, please mark it as solution.

1 Like

There’s no difference.
Always /nix/store/zqk3m21442kvpjwd3rh41wdavqkzkyik-python3-wrapper/bin/python3 $file on the console.
I have already put the code run = "clear && python3 main.py" on line 1 but always not working.

Welcome to Ask! Could you provide the link to the Repl you tried this on? Also the nix/store output is simply the command used to run the Repl, and once prybar (interactive console) returns, it will do away.

https://replit.com/@MichaelDai2/TP-Structure-de-donnees-la-liste

1 Like

You have to add the run command to .replit, not main.py. .replit is a hidden file so you’ll need to click the 3 dots and “Show hidden files” to be able to see it. nix/store is not an error or a bug though.
image

1 Like

Ok, it’s resolved.
Thank you very much.
Have a nice day

1 Like

An another question, from now, for every repl, I need to put this code on the .replit ?

In order to get rid of the nix/store output, that is a solution. Once prybar returns that will also fix it. Another solution would be to make the following code be lines 1 and 2 of your Python Repl:

clear = lambda: print("/033c", end="", flush=True)
clear()

Or this works too:

from replit import clear
clear()
3 Likes

OK, and did you know when prybar returns?

No I do not but NuclearPasta pointed out that running python3 -i main.py will have the same functionality as prybar. You could even set that as your run command if you felt the need to.

2 Likes

Sorry to bother you. It’s not working again. Can you see what the problem is?

You have lots of classes and functions in your program but you aren’t calling any functions so it has nothing to do.

But if I call functions and create a class in the console, it tells me bash: syntax error near unexpected token `(’

You can’t call functions or create any new code from the console at this time. That feature was removed but it shall return.

You’ll have to re-run this to run python in the console:

That’ll temporarily restore functionally.

1 Like

https://replit.com/@replit/Python-with-Prybar
Prybar has returned!