Skip to content

Instantly share code, notes, and snippets.

View Blum's full-sized avatar

Блум Blum

View GitHub Profile
@Blum
Blum / images.py
Last active March 10, 2020 14:15
import os, sys
os.getcwd()
os.chdir('G:\\documents\\PDP connectionist modelling\\python\\images')
import scipy
from PIL import Image
import numpy as np
np.set_printoptions(threshold=sys.maxsize)
<?php
$words = file('sixl.txt');
foreach ($words as $key => $word) {
// първо условие: 2рата им позиция им е различна.
$neigbours = give_neighbours_by_letter_number($word, 2, $words);