wiki@my.terrot.net

Wiki@my.terrot.net is a service provided by Terrot.Net a company of the Terrot Research & Services Group.

Outils pour utilisateurs

Outils du site


python_pyqt

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

python_pyqt [2016/10/20 14:33] – créée francoispython_pyqt [2016/10/20 15:01] (Version actuelle) – créée francois
Ligne 3: Ligne 3:
 ==== Variables and Objects ==== ==== Variables and Objects ====
   * Dynamic Typing   * Dynamic Typing
-  * ''variables'' as //Object references// +  * ''variables'' are //Object references// 
  
 <note important> <note important>
Ligne 11: Ligne 11:
 </note> </note>
  
-  * comparison opérator ''=='' , ''<'' ... ==> **Value** comparison +  * comparison opérator ''=='' , ''<'' ... => **Value** comparison 
-  * ''is'' operator ==> identity comparison (identify of an object can be retriece by ''object.**id()**'')+  * ''is'' operator => identity comparison (identify of an object can be retriece by ''object.**id()**'')
   * ''**//None//**'' special //null// object (singleton)   * ''**//None//**'' special //null// object (singleton)
 +
 +<note tip>
 +Python keywords\\
 +''and class elif finally if lambda print while as continue else for import not raise with
 +assert def except from in or return yield break del exec global is pass try''
 +</note>
 +
 +==== Numbers and Strings ====
 +  * all basic types are //immutable//
 +
 +=== Integers and Long Integers ===
 +  * ''bool'' : boolean with two values ''**False**'' and ''**True**''
 +    * In integer context ''False'' is evaluated to **0** , ''True'' is evaluted to **1**
 +  * ''int'' : //classical// machine related integer
 +    * operation with ''int'' exceeding the ''int'' range is converted into ''long'
 +  * ''long'' : integer which size is the machine memory
 +    * use suffix ''**L**'' to signify a ''long'' value 
 +  * numbers are by default written in **base 10**
 +  * Python assume that any value with prefix ''0x'' is written in hexadecimal, octol for value starting with **0**
 +  * classical operators ''+ - / % += -= /= %='' , '**' for power , '//' for truncated division
 +  * '//'' is 
 +=== Float and Decimal ==
 +  * float: double-precision floating-point numbers whose range depends on the C (or Java) compiler computed in base 2
 +  * Decimal
 +  * complex
 +=== String TYpes ===
python_pyqt.1476966828.txt.gz · Dernière modification : 2016/10/20 14:33 de francois

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki