Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why do people keep repeating it... Python doesn't have a REPL. It has an interactive shell. Read-eval-print-loop relies on being able to feed what you print back to the read function. Interactive shell doesn't need the ability to print code: it prints whatever information a function wants to print (often times nothing).

In Python sometimes you can feed back the results of a function into some other function (when you are in the interactive shell), but usually they are nothing like Python code...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: