Team:Exeter/lab book/glyco/wk2

From 2012.igem.org

(Difference between revisions)
 
Line 153: Line 153:
   
   
  </table>
  </table>
 +
 +
<table width="980" align="center" cellspacing="20">
 +
<tr align="center">
 +
  <td>
 +
  <font color="#57B947" size="1" face="Verdana">
 +
    <p><u>Website Designed and Built by: Ryan Edginton, James Lynch & Alex Clowsley</u> &nbsp;&nbsp;|&nbsp;&nbsp;
 +
    <a href="https://igem.org/Team.cgi?id=764" style="color:#57B947" target="_blank"><u>Contact Us</u></a>  &nbsp;&nbsp;|&nbsp;&nbsp;
 +
    <a href="https://2012.igem.org/Team:Exeter/site_map" style="color:#57B947"><u>Site Map</u></a></p>
 +
  </font>
 +
  </td>
 +
</tr>
 +
</table>
</body>
</body>
</html>
</html>

Latest revision as of 00:16, 27 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.

Website Designed and Built by: Ryan Edginton, James Lynch & Alex Clowsley   |   Contact Us   |   Site Map