Go to advanced search

by keybeeper
Wed Jul 15, 2015 8:31 pm
Forum: Python
Topic: Python Instruction Set
Replies: 11
Views: 3097

Re: Python Instruction Set

by keybeeper
Tue May 05, 2015 3:00 pm
Forum: Beginners
Topic: Which programming language?
Replies: 4
Views: 854

Re: Which programming language?

For a Python3 GUI I used PyQt4.

When learning I found this tutorial useful http://zetcode.com/gui/pyqt4/

There is a similar tutorial http://zetcode.com/gui/pyqt5/ for PyQt5 which I will use next time.
by keybeeper
Sat Mar 07, 2015 5:58 pm
Forum: Other
Topic: Windows 10 on Pi
Replies: 36
Views: 4937

Re: Windows 10 on Pi

In the early days of personal computing I suppose that the better system lost out to superior marketing.

This might be worth looking at. It's a bit old but nevertheless interesting

http://linux.oneandoneis2.org/LNW.htm
by keybeeper
Tue May 13, 2014 4:23 pm
Forum: Python
Topic: How to use getch function ?
Replies: 14
Views: 12401

Re: How to use getch function ?

by keybeeper
Sun Mar 02, 2014 8:03 am
Forum: Python
Topic: getch() in Python
Replies: 14
Views: 23336

Re: getch() in Python

As suggested in my previous reply, did you remember to look here?

https://pypi.python.org/pypi/getch
by keybeeper
Wed Feb 26, 2014 10:07 pm
Forum: Python
Topic: Totally new to this.
Replies: 2
Views: 704

Re: Totally new to this.

If you are familiar with Python then I suggest you look at PyQt4. Look here for some simple examples:

http://zetcode.com/gui/pyqt4/firstprograms/
by keybeeper
Sun Feb 09, 2014 9:58 pm
Forum: Python
Topic: getch() in Python
Replies: 14
Views: 23336

Re: getch() in Python

Why stay with Python2? Why is it only for very advanced users? I'm a new user and have had no difficulty whatever with Python3. It's virtually the same. In fact I have copied example code written in Python2 into Python3 programs and didn't realise that it was written in Python2. The code worked OK. ...
by keybeeper
Sun Feb 09, 2014 4:41 pm
Forum: Python
Topic: getch() in Python
Replies: 14
Views: 23336

Re: getch() in Python

Anyone learning Python should be encouraged to use Python3. The differences are few and Python3 clears up some of the inconsistencies in Python2. As mentioned by jojopi the main difference you will come across is the print statement. If you are copying Python2 code just put the arguments in parenthe...
by keybeeper
Sun Jan 26, 2014 7:44 pm
Forum: Python
Topic: bitwise operand from python2.7 to python3.2.3
Replies: 14
Views: 3133

Re: bitwise operand from python2.7 to python3.2.3

I used to write COBOL on special coding sheets and hand them to the punch-card girls for processing. The printed code was beautiful.

Now I find Geany very good for Python programming.

BTW why anyone writes new programs in Python2 is beyond me. I thought it was deprecated.
by keybeeper
Mon Jan 13, 2014 9:45 pm
Forum: Troubleshooting
Topic: HELP ME PLEASE
Replies: 10
Views: 1289

Re: HELP ME PLEASE

The print parameters are in parentheses for Python3

print("hello world")
by keybeeper
Sun Jan 12, 2014 8:25 am
Forum: Troubleshooting
Topic: Installation of GPIO Python Library Error
Replies: 2
Views: 562

Re: Installation of GPIO Python Library Error

The up-to-date RPi.GPIO comes pre-installed with raspbian and is much changed and improved. The tutorial you are working from must be ancient.

Look at

http://raspi.tv/rpi-gpio
by keybeeper
Thu Dec 26, 2013 3:46 pm
Forum: Beginners
Topic: RPI.GPIO
Replies: 12
Views: 3265

Re: RPI.GPIO

As was said in a previous reply on this thread, I can recommend the tutorials here:

http://raspi.tv/2013/rpi-gpio-basics-7- ... -tutorials


Also I have it on good authority that an update to RPi.GPIO that includes I2C stuff is imminent.
by keybeeper
Sun Aug 04, 2013 2:38 pm
Forum: General discussion
Topic: Why so primitive?
Replies: 113
Views: 16524

Re: Why so primitive?

Have a look at this; old but still relevant:

http://linux.oneandoneis2.org/LNW.htm
by keybeeper
Thu Aug 01, 2013 8:05 am
Forum: Beginners
Topic: GPIO error, channel in use.
Replies: 5
Views: 3278

Re: GPIO error, channel in use.

From http://code.google.com/p/raspberry-gpio-python/wiki/BasicUsage At the end any program, it is good practice to clean up any resources you might have used. This is no different with RPi.GPIO. By returning all channels you have used back to inputs, you can avoid accidental damage to your RPi by sh...
by keybeeper
Mon Jul 22, 2013 9:05 am
Forum: Python
Topic: Program GPIO using python
Replies: 8
Views: 10991

Re: Program GPIO using python

Some of the MagPi articles using RPi.GPIO are out of date, so may not all work.

RasPi.TV has just finished an excellent 7-part series on RPi.GPIO basics. You can do no better than look here:-

http://raspi.tv/category/python-programming
by keybeeper
Fri May 17, 2013 5:18 pm
Forum: Other projects
Topic: Any beekeepers out there?
Replies: 36
Views: 11558

Re: Any beekeepers out there?

There was an article about hive monitoring in the April 2013 edition of the BBKA News. It was by Huw Evans who is the Managing Director of Arnia, a company that sells a small hive monitoring unit. They seem to work in collaboration with universities and the Scottish and British Beekeepers Associatio...
by keybeeper
Tue Apr 30, 2013 12:11 pm
Forum: Python
Topic: GPIO pin control
Replies: 6
Views: 4464

Re: GPIO pin control

bluetape66 wrote:Well this is all great on the hardware side but what about software?
You may find some help here

http://code.google.com/p/raspberry-gpio ... i/Examples
by keybeeper
Sun Apr 14, 2013 11:13 am
Forum: General discussion
Topic: PWM Buzzer with GPIO in Python
Replies: 10
Views: 31669

Re: PWM Buzzer with GPIO in Python

Transposed digits 12 to 21 ??
by keybeeper
Wed Jan 30, 2013 8:22 pm
Forum: Teaching and learning resources
Topic: CAS Educational Manual: errata
Replies: 13
Views: 9574

Re: CAS Educational Manual: errata

I agree entirely with pbhj. It seems as if this document was written several months ago in the early days of the R-Pi and either forgotten about or put on the back burner. It doesn't seem to get much publicity but deserves to be more widely known. Something like this should be included with the Rasb...
by keybeeper
Sun Jan 06, 2013 12:23 pm
Forum: Teaching and learning resources
Topic: CAS Educational Manual: errata
Replies: 13
Views: 9574

Re: CAS Educational Manual: errata

Above page numbers 76 and 77: The footer should be 'Experiments in Python', not 'A beginner's guide to Scratch' Page 80, next-to-last paragraph: should say 'different from' not 'different to' Page 83, 'Bits and bytes' section, paragraph one: 'from the right the numbers are units...' should be someth...
by keybeeper
Mon Dec 24, 2012 11:23 am
Forum: Beginners
Topic: "Beginners" put off...
Replies: 297
Views: 37739

Re: "Beginners" put off...

Maybe this will help your understanding

http://linux.oneandoneis2.org/LNW.htm
by keybeeper
Thu Nov 15, 2012 9:57 am
Forum: Python
Topic: I cannot install RPi.GPIO
Replies: 8
Views: 2800

Re: I cannot install RPi.GPIO

Many learners will be reading this thread. I repeat, it is a bad idea to log in as root. If you are experienced and know what you are doing, fine, take the risk. Linux assumes that you really mean what you ask it to do and you know what you are doing. Often you get no second chance. Unless you have ...
by keybeeper
Wed Nov 14, 2012 11:31 pm
Forum: Python
Topic: I cannot install RPi.GPIO
Replies: 8
Views: 2800

Re: I cannot install RPi.GPIO

Do not make a habit of logging-in as root. One day you will regret it,
by keybeeper
Wed Nov 14, 2012 11:20 pm
Forum: Python
Topic: PYTHON NOOB ALERT.... Please Help Me.... PLEASE
Replies: 26
Views: 3966

Re: PYTHON NOOB ALERT.... Please Help Me.... PLEASE

1. Put the words into a list (length is n). 2. Choose one at random and print it. 3. Replace the chosen word with the last word in the list. The list is now of length n-1. 4. Repeat steps 2 and 3 above until the list is exhausted. You will need to check that you have not chosen the last word in the ...

Go to advanced search