Team:Exeter/lab book/glyco/wk2

From 2012.igem.org

(Difference between revisions)
Line 65: Line 65:
         </p>
         </p>
         <a href="https://2012.igem.org/Team:Exeter/lab_book/glyco/wk5"; style="color:#1d1d1b">23rd - 27th July</a>
         <a href="https://2012.igem.org/Team:Exeter/lab_book/glyco/wk5"; style="color:#1d1d1b">23rd - 27th July</a>
 +
        <p>
 +
        -
 +
        </p>
 +
        <a href="https://2012.igem.org/Team:Exeter/lab_book/glyco/wk6"; style="color:#1d1d1b">30th July - 3rd August</a>
 +
        <p>
 +
        -
 +
        </p>
 +
        <a href="https://2012.igem.org/Team:Exeter/lab_book/glyco/wk7"; style="color:#1d1d1b">6th - 10th August</a>
 +
        <p>
 +
        -
 +
        </p>
 +
        <a href="https://2012.igem.org/Team:Exeter/lab_book/glyco/wk8"; style="color:#1d1d1b">10th - 14th September</a>
 +
        <p>
 +
        -
 +
        </p>
 +
        <a href="https://2012.igem.org/Team:Exeter/lab_book/glyco/wk9"; style="color:#1d1d1b">17th - 21st September</a>
 +
        <p>
 +
        -
 +
        </p>
 +
        <a href="https://2012.igem.org/Team:Exeter/lab_book/glyco/wk10"; style="color:#1d1d1b">24th - 28th September</a>
       </font>
       </font>
     </div>
     </div>

Revision as of 10:44, 26 September 2012

ExiGEM2012 Lab Book Glyco wk2

GlycoBase/GlycoWeb: 2nd - 6th July 2012

02/07/12

Python features a dynamic typing module, so a variable 'x' can change from int to string or list in a line of code. Python has control statements:
1) Pass
2) Control
3) Break
#continue statement passes control to next do, for or while statement in which it appears. #break statement terminates execution of nearest enclosing for/while statement. #pass is a null operation.

Python 2.7 online tutorial

Boolean variables and number variables can be imported using 'import math'.
Worked with strings and implemented switch statement. Demonstrated break and continue controls within code and printed to screen.
Local and global variable differences studied with method to change global variables inside functions.
Function created to accept an unlimited number of key-valued pairs.
Recursion, or calling a function inside itself, demonstrated using factorial example.


03/07/12

Object orientated programming tutorials.

Attributes: Variables
Functions: Methods

Studied classes, a blueprint for creating objects.
Errors can be caught in Python. All built in errors in Python are contained in a directory.
Viewed tutorials for database development with Python and Sqlite3, a built in module within the Python programming language.