├── Basic ├── example1.txt ├── EmpID.pickle ├── example2.txt ├── example3.txt ├── list.py ├── decision.py ├── strings.py ├── datastructs.py ├── RE in python.ipynb ├── Pep.ipynb ├── Python Tutorial (Part 01).ipynb ├── Python Tutorial (Part 05).ipynb └── Python Tutorial (Part 06).ipynb ├── GIT ├── SDP.pptx ├── basics.pdf ├── Git Life Cycle.png └── steps.txt ├── Datascience ├── readme.md ├── Pandas.pptx └── Python_Matplotlib_Cheat_Sheet.pdf ├── VS-code Shortcuts.pdf ├── Sqlite3 with Python.pdf ├── Django ├── FLOW of Django │ ├── Flow.png │ ├── Flow3 DB.png │ ├── Flow2 URLS.png │ ├── basic-django.png │ ├── http-methods.jpg │ └── Django_Structure.png ├── Mastering Django_ The Perfect Project Folder Structure.pdf ├── 5.HTTP_methods.txt ├── 0. Env_in_py.txt ├── README.md ├── 1.Django-Admin.txt ├── 4.Template and Forms.txt ├── 2.Django_Hello_tut.txt ├── 3.Django_DBsetup.txt └── Django_Tut.txt ├── Pyprojects ├── BankingSystem-Django │ ├── home │ │ ├── tests.py │ │ ├── apps.py │ │ ├── __pycache__ │ │ │ ├── admin.cpython-310.pyc │ │ │ ├── admin.cpython-38.pyc │ │ │ ├── admin.cpython-39.pyc │ │ │ ├── apps.cpython-310.pyc │ │ │ ├── apps.cpython-38.pyc │ │ │ ├── apps.cpython-39.pyc │ │ │ ├── models.cpython-38.pyc │ │ │ ├── models.cpython-39.pyc │ │ │ ├── urls.cpython-310.pyc │ │ │ ├── urls.cpython-38.pyc │ │ │ ├── urls.cpython-39.pyc │ │ │ ├── views.cpython-310.pyc │ │ │ ├── views.cpython-38.pyc │ │ │ ├── views.cpython-39.pyc │ │ │ ├── __init__.cpython-39.pyc │ │ │ └── models.cpython-310.pyc │ │ ├── admin.py │ │ ├── urls.py │ │ ├── models.py │ │ ├── migrations │ │ │ └── 0001_initial.py │ │ └── views.py │ ├── db.sqlite3 │ ├── static │ │ └── img │ │ │ ├── ai.jpg │ │ │ ├── c1.png │ │ │ ├── c3.png │ │ │ ├── c5.png │ │ │ ├── c6.png │ │ │ ├── c8.png │ │ │ ├── c9.png │ │ │ ├── blue1.jpg │ │ │ └── bankLogo.png │ ├── BasicBankingSystem │ │ ├── __pycache__ │ │ │ ├── urls.cpython-38.pyc │ │ │ ├── urls.cpython-39.pyc │ │ │ ├── wsgi.cpython-38.pyc │ │ │ ├── wsgi.cpython-39.pyc │ │ │ ├── urls.cpython-310.pyc │ │ │ ├── wsgi.cpython-310.pyc │ │ │ ├── __init__.cpython-39.pyc │ │ │ ├── settings.cpython-310.pyc │ │ │ ├── settings.cpython-38.pyc │ │ │ └── settings.cpython-39.pyc │ │ ├── urls.py │ │ ├── asgi.py │ │ ├── wsgi.py │ │ └── settings.py │ ├── manage.py │ ├── README.md │ └── templates │ │ ├── transaction.html │ │ ├── index.html │ │ ├── customer_details.html │ │ ├── base.html │ │ └── view.html ├── img-to-sketch │ ├── a.jpg │ └── imgsketch.py ├── random_password_generator.py ├── dice_roll_simulator.py ├── Guess_the_number_game.py ├── Binary_search.py ├── basic-turtle.py ├── Sending_emails_using_python.py ├── alarm_clock.py ├── Chatbot_TKinter.ipynb ├── todolist.ipynb ├── Todoapp_tkinter.ipynb └── Notepad_using_tkinter.ipynb ├── Screenshot_20230404-100758__01.jpg ├── README.md ├── basiccmds.txt ├── Pip Installation.txt └── mysql.ipynb /Basic/example1.txt: -------------------------------------------------------------------------------- 1 | XXXXXXXXXXXXXXXX -------------------------------------------------------------------------------- /GIT/SDP.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/GIT/SDP.pptx -------------------------------------------------------------------------------- /GIT/basics.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/GIT/basics.pdf -------------------------------------------------------------------------------- /Basic/EmpID.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Basic/EmpID.pickle -------------------------------------------------------------------------------- /Datascience/readme.md: -------------------------------------------------------------------------------- 1 |

Those are the Jupyter Notebooks that I collected for my reference

2 | -------------------------------------------------------------------------------- /GIT/Git Life Cycle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/GIT/Git Life Cycle.png -------------------------------------------------------------------------------- /VS-code Shortcuts.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/VS-code Shortcuts.pdf -------------------------------------------------------------------------------- /Datascience/Pandas.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Datascience/Pandas.pptx -------------------------------------------------------------------------------- /Sqlite3 with Python.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Sqlite3 with Python.pdf -------------------------------------------------------------------------------- /Django/FLOW of Django/Flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Django/FLOW of Django/Flow.png -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/tests.py: -------------------------------------------------------------------------------- 1 | from django.test import TestCase 2 | 3 | # Create your tests here. 4 | -------------------------------------------------------------------------------- /Pyprojects/img-to-sketch/a.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/img-to-sketch/a.jpg -------------------------------------------------------------------------------- /Django/FLOW of Django/Flow3 DB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Django/FLOW of Django/Flow3 DB.png -------------------------------------------------------------------------------- /Screenshot_20230404-100758__01.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Screenshot_20230404-100758__01.jpg -------------------------------------------------------------------------------- /Django/FLOW of Django/Flow2 URLS.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Django/FLOW of Django/Flow2 URLS.png -------------------------------------------------------------------------------- /Django/FLOW of Django/basic-django.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Django/FLOW of Django/basic-django.png -------------------------------------------------------------------------------- /Django/FLOW of Django/http-methods.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Django/FLOW of Django/http-methods.jpg -------------------------------------------------------------------------------- /Django/FLOW of Django/Django_Structure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Django/FLOW of Django/Django_Structure.png -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/db.sqlite3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/db.sqlite3 -------------------------------------------------------------------------------- /Datascience/Python_Matplotlib_Cheat_Sheet.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Datascience/Python_Matplotlib_Cheat_Sheet.pdf -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/apps.py: -------------------------------------------------------------------------------- 1 | from django.apps import AppConfig 2 | 3 | 4 | class HomeConfig(AppConfig): 5 | name = 'home' 6 | -------------------------------------------------------------------------------- /Basic/example2.txt: -------------------------------------------------------------------------------- 1 | 2 | YYYYYYYYYYYYYYYYYYYYYY 3 | YYYYYYYYYYYYYYYYYYYYYY 4 | YYYYYYYYYYYYYYYYYYYYYY 5 | YYYYYYYYYYYYYYYYYYYYYY 6 | YYYYYYYYYYYYYYYYYYYYYY -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/static/img/ai.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/static/img/ai.jpg -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/static/img/c1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/static/img/c1.png -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/static/img/c3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/static/img/c3.png -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/static/img/c5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/static/img/c5.png -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/static/img/c6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/static/img/c6.png -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/static/img/c8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/static/img/c8.png -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/static/img/c9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/static/img/c9.png -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/static/img/blue1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/static/img/blue1.jpg -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/static/img/bankLogo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/static/img/bankLogo.png -------------------------------------------------------------------------------- /Django/Mastering Django_ The Perfect Project Folder Structure.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Django/Mastering Django_ The Perfect Project Folder Structure.pdf -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/admin.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/admin.cpython-310.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/admin.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/admin.cpython-38.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/admin.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/admin.cpython-39.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/apps.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/apps.cpython-310.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/apps.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/apps.cpython-38.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/apps.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/apps.cpython-39.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/models.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/models.cpython-38.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/models.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/models.cpython-39.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/urls.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/urls.cpython-310.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/urls.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/urls.cpython-38.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/urls.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/urls.cpython-39.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/views.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/views.cpython-310.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/views.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/views.cpython-38.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/views.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/views.cpython-39.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/__pycache__/models.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/home/__pycache__/models.cpython-310.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/urls.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/urls.cpython-38.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/urls.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/urls.cpython-39.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/wsgi.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/wsgi.cpython-38.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/wsgi.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/wsgi.cpython-39.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/urls.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/urls.cpython-310.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/wsgi.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/wsgi.cpython-310.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/__init__.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/__init__.cpython-39.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/settings.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/settings.cpython-310.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/settings.cpython-38.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/settings.cpython-38.pyc -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/settings.cpython-39.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/arjundhav/Python-Stuff/HEAD/Pyprojects/BankingSystem-Django/BasicBankingSystem/__pycache__/settings.cpython-39.pyc -------------------------------------------------------------------------------- /Basic/example3.txt: -------------------------------------------------------------------------------- 1 | #pickle & unpickle are import concepts 2 | EmpID = {1:"Zack",2:"53050",3:"IT",4:"38",5:"Flipkart"} 3 | #"wb" mode opens the file in binary format for writing 4 | #"rb" mode opens the file in binary format for reading 5 | 6 | -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/admin.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | from .models import customer, transaction_details 3 | 4 | # Register your models here. 5 | admin.site.register(customer) 6 | admin.site.register(transaction_details) -------------------------------------------------------------------------------- /Pyprojects/random_password_generator.py: -------------------------------------------------------------------------------- 1 | import random 2 | passlen = int(input("enter the length of password")) 3 | s="abcdefghijklmnopqrstuvwxyz01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ!@#$%^&*()?" 4 | p = "".join(random.sample(s,passlen )) 5 | print (p) -------------------------------------------------------------------------------- /Pyprojects/dice_roll_simulator.py: -------------------------------------------------------------------------------- 1 | import random 2 | while True: 3 | print(''' 1. roll the dice 2. exit ''') 4 | user = int(input("what you want to do\n")) 5 | if user==1: 6 | number = random.randint(1,6) 7 | print(number) 8 | else: 9 | break -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/BasicBankingSystem/urls.py: -------------------------------------------------------------------------------- 1 | 2 | from django.contrib import admin 3 | from django.urls import path, include 4 | 5 | admin.site.site_header = "MGMs Bank" 6 | admin.site.site_title = "MGMs Bank" 7 | admin.site.index_title = "Welcome to MGMs Bank" 8 | 9 | urlpatterns = [ 10 | path('admin/', admin.site.urls), 11 | path('',include('home.urls')) 12 | ] 13 | -------------------------------------------------------------------------------- /Django/5.HTTP_methods.txt: -------------------------------------------------------------------------------- 1 | POST is method in which browser bundles up form data,encodes it for transmission, sends it to the server, and then receives back its response. 2 | 3 | GET, by contrast, bundles the submitted data into a string, and uses this to compose a URL. 4 | The URL contains the address where the data must be sent, as well as the data keys and values 5 | 6 | PUT(Patch) updates the data by inserting -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/urls.py: -------------------------------------------------------------------------------- 1 | from django.contrib import admin 2 | from django.urls import path 3 | from . import views 4 | 5 | urlpatterns = [ 6 | path("", views.index, name='home'), 7 | path("transaction", views.transaction, name='transaction'), 8 | path('customer_details', views.customer_details, name='customer_details'), 9 | path("view", views.view, name='view'), 10 | ] -------------------------------------------------------------------------------- /Pyprojects/Guess_the_number_game.py: -------------------------------------------------------------------------------- 1 | import random 2 | number = random.randint(1,10) #random module is able to generate random numbers in given range 3 | for i in range(0,3): 4 | user = int(input("Guess the number:")) 5 | if user == number: 6 | print("Hurray!!") 7 | print(f"you guessed the number right it's {number}") 8 | break 9 | if user != number: 10 | print(f"Your guess is incorrect the number is {number}") -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/BasicBankingSystem/asgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | ASGI config for BasicBankingSystem project. 3 | 4 | It exposes the ASGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/3.1/howto/deployment/asgi/ 8 | """ 9 | 10 | import os 11 | 12 | from django.core.asgi import get_asgi_application 13 | 14 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'BasicBankingSystem.settings') 15 | 16 | application = get_asgi_application() 17 | -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/BasicBankingSystem/wsgi.py: -------------------------------------------------------------------------------- 1 | """ 2 | WSGI config for BasicBankingSystem project. 3 | 4 | It exposes the WSGI callable as a module-level variable named ``application``. 5 | 6 | For more information on this file, see 7 | https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ 8 | """ 9 | 10 | import os 11 | 12 | from django.core.wsgi import get_wsgi_application 13 | 14 | os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'BasicBankingSystem.settings') 15 | 16 | application = get_wsgi_application() 17 | -------------------------------------------------------------------------------- /Pyprojects/Binary_search.py: -------------------------------------------------------------------------------- 1 | lst = [1,3,2,4,5,6,9,8,7,10] 2 | lst.sort() 3 | first=0 4 | last=len(lst)-1 5 | mid = (first+last)//2 6 | item = int(input("enter the number to be search")) 7 | found = False 8 | while( first<=last and not found): 9 | mid = (first + last)//2 10 | if lst[mid] == item : 11 | print(f"found at location {mid}") 12 | found= True 13 | else: 14 | if item < lst[mid]: 15 | last = mid - 1 16 | else: 17 | first = mid + 1 18 | 19 | if found == False: 20 | print("Number not found") -------------------------------------------------------------------------------- /Pyprojects/BankingSystem-Django/home/models.py: -------------------------------------------------------------------------------- 1 | from django.db import models 2 | 3 | class customer(models.Model): 4 | name = models.CharField(max_length=122) 5 | email = models.EmailField() 6 | account_no = models.CharField(max_length=122) 7 | ifsc_code = models.CharField(max_length=122) 8 | amount = models.IntegerField() 9 | def __str__(self): 10 | return self.name 11 | 12 | class transaction_details(models.Model): 13 | source_name = models.CharField(max_length=122) 14 | source_acc_no = models.CharField(max_length=122) 15 | Current_balance = models.IntegerField() 16 | money_deposit = models.IntegerField() 17 | destination_name = models.CharField(max_length=122) 18 | date = models.DateField() 19 | -------------------------------------------------------------------------------- /Pyprojects/basic-turtle.py: -------------------------------------------------------------------------------- 1 | import turtle # allows us to use the turtles library 2 | 3 | wn = turtle.Screen() # creates a graphics window 4 | wn.setup(400,400) # set window dimension 5 | 6 | circle_rad=50 # set 7 | the radius 8 | rectangle_width=150 # 9 | set the width 10 | rectangle_height=80 # 11 | set the height 12 | 13 | alex = turtle.Turtle() # create a turtle named alex 14 | alex.shape("turtle") # alex looks like a turtle 15 | alex.color('red') # alex has a color 16 | alex.circle(circle_rad) 17 | alex.backward(rectangle_width/2) 18 | alex.forward(rectangle_width) 19 | alex.right(90) 20 | alex.forward(rectangle_height) 21 | alex.right(90) 22 | alex.forward(rectangle_width) 23 | alex.right(90) 24 | alex.forward(rectangle_height) -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Python-stuff 2 |

Contents

3 | GIF 4 |