Some features in CLI don't work anymore

Bug description:
I use the language Python. It used to be possible to check functions like type(), int(),… in theCLI. Now I always get the message syntax error. Do I do something wrong? Or is this possibility deleted?

Steps to reproduce:

type(12.21)
bash: syntax error near unexpected token `12.21'

int("12")
bash: syntax error near unexpected token `"12"'

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

Hi @FrederikThomas1 , welcome to the forums!
This is because the Prybar (the thing used to run Python commands) was removed. Here is the Python template with the Prybar:
Python with Prybar official template
Hope this helps!
If this answers your question, you can mark this post as a Solution.

1 Like

I still get the same syntax errors

 type("12.21")
bash: syntax error near unexpected token `"12.21"'
 int("12")
bash: syntax error near unexpected token `"12"'

@FrederikThomas1 What is the command you are running?

If I run commands in the CLI like:

type(12.21)
int("45")
str(12.21)

I always get the syntax error, also in the prybar template.

1 Like

@FrederikThomas1 It works fine for me, though. Could you send a screen recording of the issue? I reccommend loom.com.

1 Like

You need to run your code in the prybar template before you can use prybar in the console. This includes even if you don’t have anything in your main.py file.

4 Likes