├── WebDevelopment ├── OnlinePage │ ├── run.py │ └── main │ │ ├── __init__.py │ │ ├── templates │ │ ├── second.html │ │ ├── test.html │ │ ├── layout.html │ │ ├── home.html │ │ └── editor.html │ │ ├── static │ │ ├── pictures │ │ │ ├── logo.png │ │ │ ├── demo_app.png │ │ │ ├── github.png │ │ │ ├── instagram.png │ │ │ ├── dot-full.svg │ │ │ ├── dot.svg │ │ │ ├── big-eclipse.svg │ │ │ ├── mid-eclipse.svg │ │ │ ├── small-eclipse.svg │ │ │ ├── arrow-left.svg │ │ │ └── arrow-right.svg │ │ └── style.css │ │ ├── __pycache__ │ │ ├── routes.cpython-39.pyc │ │ └── __init__.cpython-39.pyc │ │ └── routes.py ├── templates │ ├── Test.html │ └── layout.html └── run.py ├── Modules ├── LoadingBar.py ├── Translator.py ├── Instagram_ProfilePic_Download.py ├── TurtleBasics.py ├── Terminal_Art.py ├── Screenshot.py ├── mp4ToMp3.py ├── play_song.py ├── tkinter_template.py ├── QR_Generator.py ├── windows_notification.py ├── ISO_Creator.py ├── WebcamActivation.py ├── BarCode.py ├── Geographical_Location.py ├── ZipCompression.py ├── MultiprocessingExample.py ├── matplotguide.py ├── MultiThreading.py ├── QrBarGenerator.py ├── PasswordHasher.py ├── HowdoiScript.py ├── SimAnalyzer.py ├── Email.py ├── web_scrape_guide.py ├── OpenCV-Basics.py └── Database.py ├── Syntax ├── StringSlicing.py ├── ExceptionHandling.py ├── print_date-Dictionaries.py ├── Recursion.py ├── ObjectOriented.py ├── RegularExpressions.py ├── List_comprehenssion-Generator_expressons.py └── Functions.py ├── ImageManipulation ├── ImageToIcon.py └── ImageToPDF.py ├── Meta-Programming ├── Custom_Context_Maneger.py ├── Factorial.py ├── CustomLoop.py ├── Time_Period.py ├── Cards.py └── VectorArithmetic.py ├── README.md ├── DesignPatterns └── Singleton.py ├── .gitignore ├── Graphical ├── PyQt5_Demo.py └── tkinter_demo.py ├── Algorithms └── sorting_algorithms.py └── LICENCE /WebDevelopment/OnlinePage/run.py: -------------------------------------------------------------------------------- 1 | from main import app 2 | 3 | if __name__ == '__main__': 4 | app.run(debug=True) -------------------------------------------------------------------------------- /WebDevelopment/OnlinePage/main/__init__.py: -------------------------------------------------------------------------------- 1 | from flask import Flask 2 | 3 | app = Flask(__name__) 4 | 5 | from main import routes -------------------------------------------------------------------------------- /WebDevelopment/OnlinePage/main/templates/second.html: -------------------------------------------------------------------------------- 1 | {% extends "layout.html" %} 2 | {% block content %} 3 | 4 |

Links

5 | 6 | {% endblock %} 7 | -------------------------------------------------------------------------------- /WebDevelopment/OnlinePage/main/static/pictures/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytesenseidk/Syntax-N-Modules/HEAD/WebDevelopment/OnlinePage/main/static/pictures/logo.png -------------------------------------------------------------------------------- /WebDevelopment/OnlinePage/main/static/pictures/demo_app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytesenseidk/Syntax-N-Modules/HEAD/WebDevelopment/OnlinePage/main/static/pictures/demo_app.png -------------------------------------------------------------------------------- /WebDevelopment/OnlinePage/main/static/pictures/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytesenseidk/Syntax-N-Modules/HEAD/WebDevelopment/OnlinePage/main/static/pictures/github.png -------------------------------------------------------------------------------- /WebDevelopment/OnlinePage/main/static/pictures/instagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytesenseidk/Syntax-N-Modules/HEAD/WebDevelopment/OnlinePage/main/static/pictures/instagram.png -------------------------------------------------------------------------------- /WebDevelopment/OnlinePage/main/__pycache__/routes.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytesenseidk/Syntax-N-Modules/HEAD/WebDevelopment/OnlinePage/main/__pycache__/routes.cpython-39.pyc -------------------------------------------------------------------------------- /WebDevelopment/OnlinePage/main/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bytesenseidk/Syntax-N-Modules/HEAD/WebDevelopment/OnlinePage/main/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /WebDevelopment/OnlinePage/main/static/pictures/dot-full.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /WebDevelopment/OnlinePage/main/static/pictures/dot.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /WebDevelopment/templates/Test.html: -------------------------------------------------------------------------------- 1 | {% extends "layout.html" %} 2 | {% block content %} 3 |
4 |
5 |
6 |

Test Page

7 |
8 |
9 |
10 | {% endblock %} 11 | 12 | -------------------------------------------------------------------------------- /Modules/LoadingBar.py: -------------------------------------------------------------------------------- 1 | import time 2 | from tqdm import tqdm 3 | 4 | 5 | def loading(): 6 | for _ in tqdm(range(100), desc="Loading...", ascii=False, ncols=75, unit="%"): 7 | time.sleep(0.01) 8 | print("Loading Done!") 9 | 10 | 11 | if __name__ == "__main__": 12 | loading() 13 | 14 | -------------------------------------------------------------------------------- /WebDevelopment/run.py: -------------------------------------------------------------------------------- 1 | from flask import Flask, render_template, url_for 2 | 3 | app = Flask(__name__) 4 | 5 | @app.route("/") 6 | @app.route("/test") 7 | def home(): 8 | return render_template("Test.html", title="Test Page") 9 | 10 | if __name__ == '__main__': 11 | app.run(debug=True) 12 | 13 | -------------------------------------------------------------------------------- /Modules/Translator.py: -------------------------------------------------------------------------------- 1 | import goslate 2 | 3 | 4 | def translator(sentance, language="en"): 5 | return goslate.Goslate().translate(sentance, language) 6 | 7 | 8 | if __name__ == "__main__": 9 | translation = translator("Follow bytesenseidk on Instagram!", "hi") 10 | print(translation) 11 | 12 | -------------------------------------------------------------------------------- /Modules/Instagram_ProfilePic_Download.py: -------------------------------------------------------------------------------- 1 | import os 2 | import instaloader 3 | 4 | def download(username): 5 | instance = instaloader.Instaloader() 6 | os.chdir(os.path.join(os.path.expanduser("~"), "Desktop")) 7 | return instance.download_profile(username, profile_pic_only=True) 8 | 9 | if __name__ == "__main__": 10 | download("python_genius") 11 | 12 | -------------------------------------------------------------------------------- /Modules/TurtleBasics.py: -------------------------------------------------------------------------------- 1 | import turtle 2 | import colorsys 3 | 4 | draw = turtle.Turtle() 5 | draw.speed(0.5) 6 | screen = turtle.Screen() 7 | screen.bgcolor('black') 8 | color_change = 256 9 | pos = 0 10 | 11 | for i in range(512): 12 | color = colorsys.hsv_to_rgb(pos, 1, 1) 13 | pos = pos + 1 / color_change 14 | draw.color(color) 15 | draw.forward(i ** 1.5) 16 | draw.left(145) 17 | 18 | -------------------------------------------------------------------------------- /Syntax/StringSlicing.py: -------------------------------------------------------------------------------- 1 | string = "bytesenseidk" 2 | 3 | print(f""" 4 | Origional: {string} 5 | First char: {string[0]} 6 | Last char: {string[-1]} 7 | Every but last: {string[:-1]} 8 | First slice: {string[:6]} 9 | Middle slice: {string[5:8]} 10 | Last slice: {string[-6:]} 11 | Every n'th: {string[::2]} 12 | Reverse: {string[::-1]} 13 | """) 14 | 15 | -------------------------------------------------------------------------------- /WebDevelopment/OnlinePage/main/templates/test.html: -------------------------------------------------------------------------------- 1 | {% extends "layout.html" %} 2 | {% block content %} 3 |
4 |

Links

5 | 6 | 7 | 8 |
9 | {% endblock %} -------------------------------------------------------------------------------- /ImageManipulation/ImageToIcon.py: -------------------------------------------------------------------------------- 1 | import PIL.Image 2 | 3 | 4 | def icon_maker(image, size=(32, 32)): 5 | file_ext = image.split(".")[-1] 6 | img = PIL.Image.open(image) 7 | img.save(f"{image.strip(f'.{file_ext}')}.ico", sizes=size) 8 | print(f"{image} have been convertet into an icon!") 9 | 10 | 11 | if __name__ == "__main__": 12 | print("Drag image here:\n") 13 | image = input(r" >> ") 14 | icon_maker(image) 15 | -------------------------------------------------------------------------------- /WebDevelopment/templates/layout.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | {% if title %} 7 | Test Site - {{ title }} 8 | {% else %} 9 | Test Site 10 | {% endif %} 11 | 12 | 13 |