Monday, November 8, 2010

Spa Pipe Configurations

Notes on Theory Test POS1 second Class (POS1: 2AHIF, 2CHIF)

(shows how the sad experience) Please note the following points for the theory test:
  1. In Python there are only and , or and not , not & & , one of only interactive use, because in this case each value is displayed).
  2. octal constant may be followed in python2.x with leading
  3. 0 (zero, for example 023 == 19), in python3.x with leading 0o
  4. (zero of small
  5. o , eg 0o23 == 19) characterized.
  6. python3.x allowed innately Unicode (eg characters), in python2.x have to specify a coding . A Index always starts at 0
  7. ! (On strings, lists, quantities, etc.) If
  8. is greater for a "slice" the limit as the number of elements, it does not. For example "hello" [1:23] provides "allo" , as well "hello" [1:] or "hello" [1:5]
  9. .
  10. parameters to a Python function: it must always be at least as many parameters are specified when set as fixed parameters (no default). This also works if the parameter as a variable list (actually Dictionary) passes when the dictionary has the appropriate name of the parameter as a key, the correct number and when called with one or two * is indicated. Look it up from script to page 38. 1 / 0
  11. is no
  12. defined language third == 0 in python2.x but third! = 0 (because 0.3333333333 ...) in python3.x
  13. .
  14. Shell variable be marked with $ except that variable is to the left of an assignment. Example: bar = bar ( variable $ bar gets the string "bar" ) but foo = $ bar ( the variable $ foo is
  15. the value of variable $ bar
  16. assigned) or echo $ foo bar ( are "bar" from because the content of $ foo also "bar" is ). A Shell can of course more than just a program run simultaneously, as if several commands in the pipe connecting or end of commandos & attaches. Furthermore, it is still the possibility of ^ Z, bg and fg). course you have to learn the other content.

0 comments:

Post a Comment