I am looking for a light weight shell editor for Linux that a young child (eg 7-8 year old) can write python scripts in.
The motivation is to find something that is helpful for a beginning programmer without the frustrations of a steep learning curve.
It needs to accomplish the following:
- Simple interface like joe, pico etc.
- No complicated modes to think about like vim and emacs.
- Can be configured to turn tabs into whitespace for python.
- Ideally it should have some syntax colouring features.
- Must have a way to configure a hotkey to run the current script.
To clarify what I mean by the last point, my .vimrc file has these lines which allow me to press to execute the current script.
autocmd BufRead *.py set makeprg=python\ -c\ \"import\ py_compile,sys;\ sys.stderr=sys.stdout;\ py_compile.compile(r'%')\" autocmd BufRead *.py set efm=%C\ %.%#,%A\ \ File\ \"%f\"\\,\ line\ %l%.%#,%Z%[%^\ ]%\\@=%m autocmd BufRead *.py nmap <F5> :!python %<CR>