Skip to content

Instantly share code, notes, and snippets.

View vcaldas's full-sized avatar

Victor Caldas vcaldas

View GitHub Profile
import re
with open('input.txt', 'r') as f:
lines = f.readlines()
def get_symbols(lines):
symbols = []
all_lines = " ".join(line.strip() for line in lines)
for c in all_lines:
if (c not in symbols) and (not c.isdigit()):
/*-
* #%L
* Search framework for SciJava applications.
* %%
* Copyright (C) 2017 SciJava developers.
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,