Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » [Python] A command-line shell, in your browser! (Sandboxed for the most part).
- MagicCrayon9342
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).
I've utilized pyscript to run my python shell PCLISH inside the browser.
Here it is!
It works 100%, though some features for the non-web version were cut out before release to make it stable and working.
Here it is!
It works 100%, though some features for the non-web version were cut out before release to make it stable and working.
Last edited by MagicCrayon9342 (June 23, 2022 15:15:46)
- MagicCrayon9342
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).

Most of it works, but some commands are non-functional because of the way user input is handled.
- Redstone1080
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).

- MagicCrayon9342
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).
Something is wrong on your end. What Linux distro are you running.
- Redstone1080
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).
I'm using a Mac and the web version.Something is wrong on your end. What Linux distro are you running.
Last edited by Redstone1080 (June 23, 2022 16:01:27)
- MagicCrayon9342
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).
You're on Mac, I don't know how Mac works, can't help. Google it!I'm using a Mac and the web version.Something is wrong on your end. What Linux distro are you running.
- mybearworld
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).
This loads, then asks for user input indefinetely, and when I press cancel, it does this:


- mybearworld
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).
(#7)Bump?
This loads, then asks for user input indefinetely, and when I press cancel, it does this:
- MagicCrayon9342
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).
The input box is where you input commands, type help.(#7)Bump?
This loads, then asks for user input indefinetely, and when I press cancel, it does this:
- mybearworld
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).
(#9)I typed help, and nothing happened still.The input box is where you input commands, type help.(#7)Bump?
This loads, then asks for user input indefinetely, and when I press cancel, it does this:
The website loads indefinetely asking for input WHILE loading. “Help” doesn't stop loading.
After pressing cancel, it stops loading, and this appears:

- MagicCrayon9342
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).
You are NEVER supposed to close the input box, that's the “shell” portion of the shell.(#9)I typed help, and nothing happened still.The input box is where you input commands, type help.(#7)Bump?
This loads, then asks for user input indefinetely, and when I press cancel, it does this:
The website loads indefinetely asking for input WHILE loading. “Help” doesn't stop loading.
After pressing cancel, it stops loading, and this appears:
- mybearworld
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).
You are NEVER supposed to close the input box, that's the “shell” portion of the shell.But it just loads! The shell doesn't APPEAR until I close the input box!

Last edited by mybearworld (June 25, 2022 22:06:30)
- MagicCrayon9342
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).
Do you have all the required python libraries installed? You're supposed to get that box, you type commands there. I will check edge support later, it's unlikely.You are NEVER supposed to close the input box, that's the “shell” portion of the shell.But it just loads! The shell doesn't APPEAR until I close the input box!
Last edited by MagicCrayon9342 (June 25, 2022 22:07:42)
- mybearworld
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).
(#13)I'm using this online…Do you have all the required python libraries installed? You're supposed to get that box, you type commands there. I will check edge support later, it's unlikely.You are NEVER supposed to close the input box, that's the “shell” portion of the shell.But it just loads! The shell doesn't APPEAR until I close the input box!
- MagicCrayon9342
-
Scratcher
1000+ posts
[Python] A command-line shell, in your browser! (Sandboxed for the most part).
I don't have edge installed on any of my machines at the moment (not even the Windows ones, and yes machine(s)), hold on.(#13)I'm using this online…Do you have all the required python libraries installed? You're supposed to get that box, you type commands there. I will check edge support later, it's unlikely.You are NEVER supposed to close the input box, that's the “shell” portion of the shell.But it just loads! The shell doesn't APPEAR until I close the input box!
- Discussion Forums
- » Advanced Topics
-
» [Python] A command-line shell, in your browser! (Sandboxed for the most part).


