You don't have to. It won't do any harm if you do.britantyo wrote:if i want to flash raspbian wheezy, do i have to format it first using SDformater?
That's what it says under the heading Flashing the SD Card using Windows. That looks correct to me.or i just flash the raspbian wheezy image directly using http://sourceforge.net/projects/win32diskimager/ ?
It's frustrating when you are starting out and nothing works as it should, or how you think it should, but keep at it. Regarding software - 11 months is a very long time in the pi software world, but that doesn't mean that older instructions simply stop working. Can you copy and paste exactly what you enter and the message you receive when you try your python program out? Incidently you don't necessarily have to run startx for a lot of python programs. Probably best to keep to the CLI whilst you are learning, IMHO. You can use nano to enter the program, but be warned that white space and indentation is critical for python programs to work correctly.bobsparkes wrote:I'm having real problems just getting started. I can log in and do a "startx" with no problems, but when I try to do anything else, I get messages telling me that it can't do what I ask, or can't find what I want, even though I follow the instructions in the User Guide accurately (Yes, I check and double-check the spelling!). I kept thinking that my software might be out-of-date (I bought the whole package from Element14 last January), but is that possible?
A a good example of my problems, If I enter the instructions on Page 154 of the User Guide (about starting Python) and enter these instructions into IDLE:
#! usr/bin/env python
print "Hello, World!"
sure enough, it prints out "Hello World!", but when I save this program on the desktop (as "helloworld.py") and ask the RPi to run it with "python helloworld.py", all I get is an error message saying "Invalid syntax".
What am I doing wrong?
Code: Select all
#!/usr/bin/python3 print ("Hello World!")
Code: Select all
#!/usr/bin/python print "Hello World"