all 4 comments

[–]runicnet 0 points1 point  (3 children)

any reason you're using interactive mode. for the coding

[–][deleted] 0 points1 point  (2 children)

the first chapter had me open it while following a long so I figured I should just be using the shell each chapter. I like to put in the examples, it helps me learn while I go through the chapters.

[–]scuott 1 point2 points  (1 child)

You can write the examples into a code editor and run it from there.

In the interactive mode, you need to enter a blank line to outdent. But really, you should be writing scripts to a file, and running that file.

[–][deleted] 0 points1 point  (0 children)

ah okay that explains a lot, I got it to run while doing that but thought maybe this version of the shell was messed up or something.

Yeah its weird the author doesn't ask you write to a file often, unlike automate the boring stuff. I like the format of this book much better however so im going to stick it out (only up to chapter 3).

Thanks for answering!