View user_tweet_downloader.py
import tweepy | |
import csv | |
import time | |
#Twitter API credentials | |
consumer_key = | |
consumer_secret = | |
access_key = | |
access_secret = |
View speech_recognition_example.py
# Install speech_recognition with pip install speech_recognition | |
# Install pyaudio with pip install pyaudio | |
# Make sure you look up full instructions for installing pyaudio | |
import speech_recognition as sr | |
recognizer = sr.Recognizer() | |
mic = sr.Microphone() | |
with mic as source: |
View euler-s-method.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View PyDa.py
import wolframalpha | |
client = wolframalpha.Client("lilpumpsaysnopeeking") | |
import wikipedia | |
import PySimpleGUI as sg | |
sg.theme('DarkPurple') | |
layout =[[sg.Text('Enter a command'), sg.InputText()],[sg.Button('Ok'), sg.Button('Cancel')]] | |
window = sg.Window('PyDa', layout) |
View next_president.tr
say "roses are red" | |
say "violets are blue" | |
make president "" | |
if , "Trump" is president ? ; | |
say "Trump is in charge, what will we do?" ! | |
else : | |
say "If Clinton is in charge, wall street is too" ! |
View TinyScreen_KhanWatchOS.ino
// KhanWatchOs 1.0 | |
// KhanWatchOs is a combination and improvement of several arduino programs for | |
// the TinyDuino TinyScreen | |
// Main code developed by TinyScreen | |
// https://codebender.cc/sketch:115936#TinyScreen_SmartWatch_iOS.ino | |
// Flappy Bird design developed by TinyScreen | |
// https://codebender.cc/sketch:77043#TinyScreen_FlappyBirds.ino | |
// Thanks to all for the code, I hope you like my improvements and new features | |
#define menu_debug_print true |