oakberry
Posts: 16
Joined: Sun Jul 12, 2015 4:37 pm

Python Instruction Set

Sun Jul 12, 2015 4:43 pm

Is there a simple, complete list of ALL Python commands that I can download?

I like to browse such lists to get ideas as well as having a handy reference.

Ta.


gkreidl
Posts: 6326
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Python Instruction Set

Mon Jul 13, 2015 10:39 am

Install xCHM.
Download the Python documentation in CHM format (from the windows Python download area).
Open it with xCHM and you have the complete documentation available, an active index and you can search in it.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

User avatar
joan
Posts: 14935
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Python Instruction Set

Mon Jul 13, 2015 11:09 am

What do you mean?

There can't be a list of all Python modules, as many are written by individuals and either not distributed, or not downloadable from popular sites.

Do you mean the function reference? Then look at https://docs.python.org/3/

oakberry
Posts: 16
Joined: Sun Jul 12, 2015 4:37 pm

Re: Python Instruction Set

Wed Jul 15, 2015 9:57 am

Thanks all. Yes, I mean a list of all functions rather than modules.

I was hoping to be able to print it though.

User avatar
joan
Posts: 14935
Joined: Thu Jul 05, 2012 5:09 pm
Location: UK

Re: Python Instruction Set

Wed Jul 15, 2015 10:32 am

oakberry wrote:Thanks all. Yes, I mean a list of all functions rather than modules.

I was hoping to be able to print it though.
It is still not clear what you actually want.

The words function and module have many different meanings.

User avatar
DougieLawson
Posts: 39120
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Python Instruction Set

Wed Jul 15, 2015 10:48 am

I think you should start at: http://learnpythonthehardway.org/ so that you know the language basics and can describe the difference between a function and a module.

That Python learning book is free to read online at: http://learnpythonthehardway.org/book/ python & python3 are already installed in Raspbian and there's even an python interactive development environment (IDE) called IDLE (or IDLE3) on the GUI system.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

oakberry
Posts: 16
Joined: Sun Jul 12, 2015 4:37 pm

Re: Python Instruction Set

Wed Jul 15, 2015 7:47 pm

Thanks both, I'm obviously being thick. I tried to use the words used by others!

When I am faced with an empty screen read to write some code, the items that I write I call, commands. These include things like:
For
Print
While

What their name is is not relevant for me I just would like a list showing their syntax.

Cheers..

User avatar
PeterO
Posts: 5878
Joined: Sun Jul 22, 2012 4:14 pm

Re: Python Instruction Set

Wed Jul 15, 2015 8:29 pm

Have you tried using google to search for things like "python for loop" or "python print" ? :roll:
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

keybeeper
Posts: 26
Joined: Wed Aug 08, 2012 10:15 am

Re: Python Instruction Set

Wed Jul 15, 2015 8:31 pm

No Microsoft products were used in the creation of this message

User avatar
B.Goode
Posts: 10356
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Python Instruction Set

Wed Jul 15, 2015 9:04 pm

oakberry wrote:Thanks both, I'm obviously being thick. I tried to use the words used by others!

When I am faced with an empty screen read to write some code, the items that I write I call, commands. These include things like:
For
Print
While

What their name is is not relevant for me I just would like a list showing their syntax.

Cheers..
I still think the first answer you were given meets your requirements...

Click on the link there for Python2.x Docs (unless you know you are writing Python3 of course...)

On the resulting page, headed "Python 2.7.10 documentation", click on Language Reference

That gives you documentation headed "The Python Language Reference"

On that page your chosen examples, for, print and while are defined and explained.

oakberry
Posts: 16
Joined: Sun Jul 12, 2015 4:37 pm

Re: Python Instruction Set

Wed Aug 05, 2015 2:00 pm

Cheers all!

Return to “Python”