Skip to content

Instantly share code, notes, and snippets.

View TarrySingh's full-sized avatar
👨‍💻
Always Be Coding :-)

tarry.singh TarrySingh

👨‍💻
Always Be Coding :-)
View GitHub Profile
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
import ctypes
import time
SendInput = ctypes.windll.user32.SendInput
W = 0x11
A = 0x1E
S = 0x1F
D = 0x20
import os, argparse
import tensorflow as tf
from tensorflow.python.framework import graph_util
dir = os.path.dirname(os.path.realpath(__file__))
def freeze_graph(model_folder):
# We retrieve our checkpoint fullpath
checkpoint = tf.train.get_checkpoint_state(model_folder)
@TarrySingh
TarrySingh / Data Types Tuts.py
Created August 4, 2017 20:08
Tarry-Tuts-Gists
def say(say_please=False):
msg = 'Can you buy me a beer?'
return msg, say_please
print(say())
print(say(say_please=True))
if name == 'Tarry':
print('Hello Tarry!')
if password == 'swordfish':
print