>> You can only join simple statements with a semicolon. None of the >> statements that use colons between parts are simple statements. > >Is there any way to work around this for the purpose of simple unix >scripts using python -c, then? Other than putting the python in a >separate file, of course. Type the following in a shell and press ^J for newlines. It works: python -c " for i in range(10): print i " Gerhard -- mail: gerhard <at> bigfoot <dot> de web: http://highqualdev.com
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4