This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
from time import time | |
from datetime import datetime | |
df = pd.read_excel(r'./cvs.xlsx') | |
accepted_keywords = ( 'python', ) | |
accepted_regions = ( 'jbeil', 'beirut', 'batroun' ) | |
accepted_mail_domains = ( 'gmail', 'outlook' ) | |
accepted_age = ( 20, 40 ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tkinter import * | |
from tkinter import ttk | |
import tksheet | |
donors = [] | |
found_donors = [] | |
# Donors application form | |
root = Tk() | |
root.geometry("1280x640") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tic Tac Toe | |
import os; | |
import random; | |
import time; | |
# Initialize player vs bot mode [Make true to play against a very stupid bot] | |
is_pve = True; | |
# Initialize rows count |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Hangman is a paper and pencil guessing game for 2 or more players. One player thinks of a word, | |
# Phrase or sentence and the other tries to guess it by suggesting letters, within a certain number of guesses. | |
# You are the moderator. Given an entry word or sentence, check the input letters in order. If the entry is completed, | |
# the game is won: display the resulting handman and the final entry. | |
# The player is allowed 5 mistakes, corresponding to hangman's head, body, left arm, right arm, left leg. At the 6th | |
# Mistake the right leg is drawn and the game is over. if a letter is repeated more than once, the repeating occurrences | |
# Are always considered as an error, even if the first time was correct. | |
import os; |