![]() That is, without being given the link, the book provides no way to access the file. So in that case, I didn’t have the opportunity to find the link that you display here. I wish that were easier! But as you say, there is perhaps no way around that in particular.īut the issue that I faced, rather, was that, using the instructions given in the book, the only way I could see to make use of the URL was to type it in and get to the webpage. webarchive file, which did not help when I tried to open it up in Atom. So when I opened the context menu for that page, it’s true, I could only save it as a. As you mention, I suppose this is my browser (Safari) trying to ‘fix’ the file. Reading through the print book at least, what I did was type the URL given into the web browser, and what came up was the page displaying the text file (or rather, what is in the text file, but, I would imagine, in ASCII). That was in fact one issue I had - but it was slightly different. What’s happening is one context menu (that’s what happens when you right-click on things, a menu for that context of that thing) is for a link, and another (Green eels taste purple) is for the whole page.Ĭan you try that out and confirm I’m right this is what you did? In fact, the menu should say “Save Page As…” when you right-click on “Green eels taste purple”. The misstep here is if you hovered over “Green eels taste purple” and did the exact same thing and did a right click and selected Save As… you get some kind of webarchive. Now, if you hover your mouse over the actual blue text of the link (such that your mouse pointer turns into a hand with a pointing finger) then a right click will give you a Save As… that saves only the languages.txt file. So, let’s say you have this link here:Īnd then, let’s say I have this text here: Green eels taste purple. I think what’s happening then is you are right clicking on the page and not the link. There’s all kinds of weird problems with doing that as a text file, not including that browsers try to “fix” it by converting it to odd encodings depending on where the person is from.īut, are you telling me that you right click on that link above, and then your browser does not make a languages.txt file? It makes a. I hope this feedback is helpful thank you for your work to help us all understand, learn, and be able to actually use Python. All this to say that ‘download’ the file is perhaps a bit too vague to be of use to someone who has not downloaded a webpage from the internet. inputrc files and things like that, I was in way over my head anyway), and it was only after coming to this page (and watching the video for this exercise) that I realized that the issue was not the Terminal, but the original file. I then attempted to make my Terminal display UTF-8 for a few hours, and nothing worked (and getting into talk about. webarchive file, and so instead copied and pasted the text (which, as I found out above, is in ASCII, not UTF-8) into a new. Upon doing so, right-clicking on the page I was able to Save As… but I was only able to save it as a. ![]() For me at least, what I attempted to do was to type that URL in and visit the webpage. For me personally, again, the issue was the psychological categorization I formed early on, where in my mind ‘What You Should See’ did not contain any information about what I had to put in, but only what would be returned however this could be overcome might help out.Īnother aspect of Exercise 23 that I found difficult (eventually finding this thread) is that you write, “you’ll need to download a text file that I’ve written named languages.txt ( ).” In ‘Initial Research’, you repeat the term ‘download’. I’m not sure if perhaps somehow splitting up the command line and what is returned (which is of course not how the Terminal actually looks), or perhaps renaming the section of each chapter from ‘What You Should See’ to something more like ‘The Terminal Window’ or ‘The Command Line and What You Should See’. Even by Ex 23, I forget at times that ‘What You Should See’ also includes the command line. I think the issue is, at its root, that in the first exercises in the book, the ‘What You Should See’ section, though it does include the command line, is presented just as that: what you should see returned once you have executed the command line. ![]() I’m going through Exercise 23 now, and I thought I might offer a reply to this, as (not in this exercise, but in others) I had trouble understanding that my issue was the command line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |