<jupyter_start><jupyter_text>Function<jupyter_code>def myfunction(arg1,arg2):
    arg1 = 1
    arg2 = 2
    return arg1 + arg2
f = myfunction
f
f = myfunction(1,2)
f<jupyter_output><empty_output><jupyter_text>Class<jupyter_code>class myclass():
    def __init__(self,arg1,arg2):
        self.value = arg1 + arg2
c = myclass
c
c = myclass(1,2)
c
c.value<jupyter_output><empty_output><jupyter_text>Main variable classes<jupyter_code>type(3)
type(3.0)
type('c')
type(['a','b','c'])
type({'a','b','c'})
dictionary = {'number':3, 'name': 'three'}
type(dictionary)<jupyter_output><empty_output><jupyter_text>Packages and libraries<jupyter_code>import cobra
import numpy as np
import matplotlib.pyplot
model = cobra.io.load_json_model('iJO1366.json')
dir(model)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.15433673469387754, 'fraction_numerical': 0.030612244897959183, 'mean_word_length': 7.440860215053763, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '217713', 'license': 'MIT', 'n_tokens_mistral': 330, 'n_tokens_neox': 321, 'n_words': 51, 'path': '.ipynb_checkpoints/1_python-checkpoint.ipynb', 'repo_name': 'omoyne/modeling-basics', 'size': '784'}