This file contains hidden or 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 discord | |
| from discord.ext import commands, tasks | |
| import B | |
| import os | |
| from flask import Flask | |
| from threading import Thread | |
| app = Flask('') | |
| @app.route('/') |
This file contains hidden or 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 .ttk import * | |
| from time import strftime | |
| root = Tk() | |
| root.title("clock") | |
| def time(): | |
| string = str('%I:%M:%S %P') | |
| label.config(text=string) | |
| label.after(1000,time) | |
| label = Label(root, font=("ds-digital" , 80), background = "black", foreground ="cyan" ) |
This file contains hidden or 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 * | |
| import random | |
| root = Tk() | |
| root.geometry('400x400') | |
| root.resizable(0,0) | |
| root.title('DataFlair-Rock,Paper,Scissors') | |
| root.config(bg ='seashell3') | |
| user_take = StringVar() | |
| Label(root, text = 'choose any one: rock, paper ,scissors' , font='arial 15 bold', bg = 'seashell2').place(x = 20,y=70) | |
| Entry(root, font = 'arial 15', textvariable = user_take , bg = 'antiquewhite2').place(x=90 , y = 130) |
This file contains hidden or 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
| #this program prints Hello, world! | |
| print("Hello,world!") |