Skip to main content
3 votes
2 answers
136 views

Shift+enter inserts extra indents

I have a Python source file with some dummy code: a = 3 if a == 1: print("a = 1") elif a == 2: print("a = 2") else: print("Other") When I submit the code to ...
PingPong's user avatar
  • 1,007
1 vote
1 answer
54 views

Scala REPL missing commands

I have installed scala through coursier. Running scala --version in the terminal gives the following: C:\Users\Me>scala --version Scala code runner version: 1.4.3 Scala version (default): 3.5.1 ...
MukundKS's user avatar
  • 135
4 votes
1 answer
58 views

Using Swift as custom engine in knitr and including all previous content

Backrgound I'm working on a R Mardkown document which I'm renderring using the knitr package. The document uses Swift as a custom enginge. I'm defining the Swift engine as follows: ```{r, setup, eval=...
Konrad's user avatar
  • 18.7k
0 votes
3 answers
68 views

Common Lisp: Why does using read-from-string create two REPL outputs?

I have been learning Common Lisp for a short while, using the SBCL 2.0.0 REPL on a Windows 10 machine. At one point in time I inputted the 2 following lines into a REPL: (defvar var-string (print (* 5 ...
Ashley Ben Story's user avatar
2 votes
1 answer
228 views

How to best change the colour of the Python prompt?

I have an alias for python3 and one for a Python calculator (pm for Python Math): alias p3='python3 -q' alias pm='python3 -qic"from math import *; import sys; sys.ps1=\"] \"; sys.ps2=\&...
Walter Tross's user avatar
  • 12.7k
5 votes
1 answer
285 views

How to paste code into the REPL without adding extra spaces on the left

I am running Python 3.13.1. When I paste code into the Python REPL, Python adds extra spaces at the beginning of every line after the first. I wrote this code in Notepad and pasted it into Python. if ...
user27744573's user avatar
0 votes
1 answer
142 views

How to resolve vscode python REPL ModuleNotFoundError

In vscode I’m encountering a ModuleNotFoundError when trying to import a module (src) located in my project workspace folder in a Python REPL. Here's the situation: When I run: import os os.getcwd() ...
algebruh's user avatar
  • 360
0 votes
1 answer
61 views

How to Customize REPL Output Format in Guile Scheme?

The existing question How to have objects print nicely in Guile scheme repl focuses on customizing the printing of specific user-defined objects (e.g., GOOPS classes). In contrast, I want to globally ...
Rainb's user avatar
  • 2,475
0 votes
1 answer
23 views

How to spawn an interactive bash shell in Guile REPL with proper I/O redirection?

When attempting to spawn an interactive bash shell from within a Guile script using the system* function from the ice-9 popen module, the shell does not behave as expected. Specifically, the standard ...
Rainb's user avatar
  • 2,475
1 vote
1 answer
109 views

Python 3.13 REPL key-binding ctrl+arrows not working

Previously when I ran py3.12 in shell I could use ctrl + left arrow or ctrl + right arrow to move one word back or forward (skip words). Recently I've upgraded to py3.13 and it doesn't work anymore, ...
Mohamed Hany's user avatar
1 vote
1 answer
137 views

Make interactive ruby REPL display results for consecutive commands, not only the last?

If I run this a = "hello" b = "world" a b in ruby irb(main):007> a = "hello" => "hello" irb(main):008> b = "world" => "world" ...
stevec's user avatar
  • 53.6k
0 votes
1 answer
13 views

Common Lisp setting *print-circle* T causes list compression?

(setq *print-circle* T) ;; then create some list with a large number of items, of which a bunch ;; of them repeat If you then try to print the list in the repl, you will see a lot of unfamiliar text....
JEPrice's user avatar
  • 713
1 vote
0 answers
36 views

Efficently saving code from Python REPL without gui

I often use REPL in my terminal to quick test simple things. With 3.13 update repl gets better and much more usefull so increased my usage but i can't easily save from repl. My current solution is ...
Onuralp Arslan's user avatar
1 vote
1 answer
178 views

Python 3.13 REPL with vim or emacs key bindings?

I just upgraded to Python 3.13 and found that the vim key bindings that I had set up via readline and ~/.editrc, which worked in previous releases of the Python REPL, no longer work. Is there some way ...
Ben Kovitz's user avatar
  • 5,030
4 votes
1 answer
534 views

Kotlin REPL deprecated?

When I type kotlin (or kotlinc) to get into the REPL interactive shell in the latest 2.1 beta, I see this: Welcome to Kotlin version 2.1.0-Beta2 (JRE 21.0.4+8-LTS-274) Warning: this REPL ...
k314159's user avatar
  • 11.5k

15 30 50 per page
1
2 3 4 5
102