nancylebov (nancylebov) wrote,

Trying to learn Python, or shaving the yak

I had some aggravating fun with intro to JavaScript codecademy, and I'd heard good things about Learn Python the Hard Way, so I thought I'd take a crack at Python.

I do not guarantee that this account has every precious, annoying detail.

Learn Python the Hard Way says I need Python on my computer. That seems simple enough-- I've installed perl. But you can't have python unless you put it in a path, and it doesn't seem to be working. I tell dcseain, and it turns out that I have Windows Home Premium and it's very hard to do path things in Windows Home Premium and it's easy to do them in Windows Professional.

I suspect that the sort of people who write pages on how to install Python wouldn't lower themselves to have Windows Home Premium.

I assume that the Upgrade Anytime on my start menu means that I can send money to Microsoft and Upgrade Anytime. However, I send the money and the email with my upgrade code does not arrive. The money has gone out of my bank account.

I talk with a number of people. Their script is polite, but I have to get passed around to several people until I get to someone who can find the transaction. I don't have the order number because I DID NOT GET THE CONFIRMATION EMAIL.

She wants me to order the upgrade again, and pay for it again. I tell her I want my money back. She's willing to send it back, but she's very serious about how it would be stealing if I use the upgrade number in the email I never received. There is a mysterious $1 charge to Microsoft in addition to the $90+ that the upgrade costs. She never acknowledges the existence of the $1.

Days later, I notice that the refund appeared the day after I complained. I still can't figure out how it took me so long to notice it. "Too angry to see straight" is the boring explanation, but I suspect poltergeists.

I decide that I will never deal directly with Microsoft again if I can possibly avoid it, and order the upgrade (slightly cheaper because of no sales tax) from New Egg. For whatever reason, New Egg sends the upgrade code in a moderately large plastic box, but at least it arrives.

Microsoft sends me a feedback form. I say the people I dealt with were polite but all they needed to do was resend the code, and they didn't. I wish I'd taken a screen shot of the page where they offered a range of buttons from "I was very pleased" to "I will go out of my way to complain about this". I'm not exaggerating on the last one, and it may have been stronger than I remember it.

I have a limited number of characters to explain what happened, and I forget to mention the mysterious $1 charge.

My laptop has been bluescreening on startup. I've been able to start the machine by following the directions, but this is unnerving. When I enter the New Egg code, it bluescreens again, and I decide not to chance further problems.

Anyway, I should have backups. My sister's boyfriend suggests CrashPlan. He's got enough experience that CrashPlan is probably decent. I've done some research on free backup software, and there didn't seem to be anything convenient about how reliable the restore is.

I know I own a terrabyte drive, but I can't find it. I use CrashPlan to back up to the cloud. It takes two and a half days.

I find the terrabyte drive. I'd connected it to the laptop, but I was looking for it in its cardboard wrapper. Now I know what a terrabyte drive might look like.

I learn about SafeMode. F8, F8, F8 (about twice per second) when the computer is booting. I can get to normal operation from safe mode. This is good, because the instructions which appear on the bluescreen aren't working any more.

I back up to the terrabyte disk (3 hours, I think), but I'm inclined to think that $3/month for CrashPlan's cloud storage might be worth it just to be on the safe side.

I now also have an image of my disk on the terrabyte drive, and I've run chkdsk (about 3 1/2 hours). I think I've bluescreened since then, but I'm not sure. I obviously should have been keeping a record. On paper. A draft of a review of A Casual Vacancy got lost in the course of reviving the computer.

A description of what went wrong with the computer includes "AutoFailover", which I admit is pretty good. Perhaps I will find occasion to use that word. I have a paper copy of the description which I will transcribe if anyone is interested.

So, my computer is backed up in more than one way, and this time the New Egg code worked. I have Windows 7 Professional.

I'm supposed to have Notepad++ with Powershell. I don't know why this is better than the Python Command Line which came with the language, and which isn't working any better than PowerShell.

Powershell is apparently something like unix, but not exactly. Apparently, Powershell is a useful tool for wrangling Windows machines and/or breaking them.

I try to download modules for Powershell, but I have to be able to sign things.

I'd already downloaded Python2.7.3.
If after you install it python still isn't recognized then in powershell enter this: [Environment]::SetEnvironmentVariable("Path", "$env:Path;C:\Python27", "User")

and now when I type python at the prompt, I get a copyright notice and how to access help and such.

At some point in all this, I come up with "The horrible thing about computers is that they almost work".


Learn how to make a directory in the Terminal. Search online for help.

Learn how to change into a directory in the Terminal. Again search online.

Nothing that I've found works. Now I know that if detailed instructions include "search online for help" I should cue ominous music. The people who wrote the instructions don't even have a good link.

I have just discovered that PowerShell for Dummies exists. Also, Codecademy has an intro to Python. I'm still curious about why I can just download perl and have it work, but Python is encased in shifting concrete-like layers of mishegos.

This entry was posted at Comments are welcome here or there. comment count unavailable comments so far on that entry.

  • HC 25-26, PB 16-17

    The man greets Awd Mally, who is something like a woman and something like a stone. "She had never spoken to him; she was not always there. Some said…

  • Moonwise: HC 23-24, PB 13-15

    There's a new section called 0:Hallows. The other sections are sequentially numbered with roman numerals. From The Word Hoard: Hallows: All Hallows…

  • Moonwise: HC 18-20, PB 11-13

    "One page was all a maze of umber sketches--hands, leaves, stones, strange leering faces--all in Sylvie's nervous line, at its heart, no right way…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded