<commit_before>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Python Training - Lession 2 - classes in Object Oriented Programming\n",
    "In Python, pretty much every variable is an object, and therefore an instance of some class. But what is a class? A first, basic understanding of a class should be:\n",
    "    A data structure with named variables and functions.\n",
    "\n",
    "At this stage of programming, the simpler we keep things, the better. Let's see how we can define a class.\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Simple class definition"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "class Example:\n",
    "    a = 1"<commit_msg>Fix 1 word before all hell breaks loose<commit_after>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Python Training - Lession 2 - classes in Object Oriented Programming\n",
    "In Python, pretty much every variable is an object, and therefore an instance of some class. But what is a class? A first, basic understanding of a class should be:\n",
    "    A data structure with named variables and procedures.\n",
    "\n",
    "At this stage of programming, the simpler we keep things, the better. Let's see how we can define a class.\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Simple class definition"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "metadata": {},
   "outputs": [],
   "source": [
    "class Example:\n",
    "    a = 1"
{'fraction_non_alphanumeric': 0.1468994581577363, 'fraction_numerical': 0.005418422636965683, 'mean_word_length': 2.8294930875576036, 'pattern_counts': {'":': 24, '<': 3, '<?xml version=': 0, '>': 3, '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}}
{'dir': 'git-commits-cleaned', 'id': '1674526', 'n_tokens_mistral': 527, 'n_tokens_neox': 507, 'n_words': 190}