Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Satyajit-2003 authored Oct 1, 2023
2 parents 681cb7e + 27e9fec commit 00ae898
Show file tree
Hide file tree
Showing 6 changed files with 153 additions and 4 deletions.
53 changes: 53 additions & 0 deletions File-handling-Auth-Python.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import os
print('\nCreate Account : Enter ( Create ) \nTo Login : Enter ( Login ) \nTo Change Password : Enter ( Reset )\n')
data = input("How Can I Help You\n")
if data == 'create':
def data_fun(name,password):
path="path"+name
isFile = os.path.isfile(path)
if isFile is True:
print("\nUser Name Not Available\n")
else:
with open("path"+name,'a') as create:
create.write("User:"+name+" "+"Passwd:"+password)
print("\nAccount Create Successfully\n")
name = input("Enter Your User Name :")
password = input("Enter User Password :")
data_fun(name,password)
elif data == 'login':
def data_fun(name,password):
path="path"+name
isFile = os.path.isfile(path)
if isFile is True:
with open("path"+name,'r') as login:
user=("User:"+name+" "+"Passwd:"+password)
if user == login.readline():
print("\nLogin Successfully\n")
else:
print("\nEntered Credentials are Invalid\n")
name = input("Enter Your User Name :")
password = input("Enter User Password :")
data_fun(name,password)
elif data == 'reset':
def data_name(name,password,newpassword):
with open("path"+name,'r') as reset:
user="User:"+name+" Passwd:"+password
if user in reset.readlines():
content = user
with open("path"+name,'w+') as files:
lines = files.readlines()
for line in lines:
if line.strip("\n") != content:
files.write (line)
c="User:"+name+" Passwd:"+newpassword
with open("path"+name,'a') as reset_new:
reset_new.write(c)
print("\nPassword Changed Successfully\n")
else:
print('\nPlease Enter Correct Credentials\n')
name=input("Enter User Name : ")
password=input("Enter User Password : ")
newpassword=input("Enter New Password : ")
data_name(name,password,newpassword)
else:
print("\nPlease Enter Correct Credentials\n")
Binary file added Images/koppisettivenkatesh.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/koppisettivenkatesh.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
92 changes: 88 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
<h1>2023 Contributors</h1>
</div>
<div class="cards">





<!-- Copy from here -->
<div class="card centered-links">
<div class="card_img card1">
Expand Down Expand Up @@ -83,6 +88,13 @@ <h3>Ananya singh</h3>
</p>
</div>
<!-- Till here and paste to below and upload your details -->






<!-- Copy from here -->
<div class="card centered-links">
<div class="card_img card2">
<div class="plus"></div>
Expand Down Expand Up @@ -506,7 +518,8 @@ <h3>Muhammad Sami Bhat</h3>
</svg></a>
</p>
</div>
<!-- Till here and paste to below and upload your details -->
<!-- Till here and paste to below and upload your details -->




Expand Down Expand Up @@ -566,6 +579,14 @@ <h3>Manisha Roy</h3>
</svg></a>
</p>
</div>
<!-- Till here and paste to below and upload your details -->








<!-- Copy from here -->
<div class="card centered-links">
Expand Down Expand Up @@ -622,6 +643,13 @@ <h3>Anirudh Belwadi</h3>
</p>
</div>
<!-- Till here and paste to below and upload your details -->







<!-- Copy from here -->
<div class="card centered-links">
<div class="card_img card11">
Expand Down Expand Up @@ -678,11 +706,68 @@ <h3>Aviral Singh</h3>
</div>
<!-- Till here and paste to below and upload your details -->


<!-- Copy from here -->
<div class="card centered-links">
<div class="card centered-links">
<div class="card_img card12">
<div class="plus"></div>
</div>
<h3>Koppisetti Venkatesh</h3>
<div class="line"></div>
<p>
<!-- Upload your Github profile below in href="https://github.com/profile..." -->
<a href="https://github.com/koppisettivenkatesh" target="_blank"><svg xmlns="http://www.w3.org/2000/svg"
width="24" height="24" viewBox="0 0 24 24">
<mask id="lineMdGithubLoop0" width="24" height="24" x="0" y="0">
<g fill="#fff">
<ellipse cx="9.5" cy="9" rx="1.5" ry="1" />
<ellipse cx="14.5" cy="9" rx="1.5" ry="1" />
</g>
</mask>
<g fill="none" stroke="black" stroke-linecap="round" stroke-linejoin="round" stroke-width="2">
<path stroke-dasharray="30" stroke-dashoffset="30"
d="M12 4C13.6683 4 14.6122 4.39991 15 4.5C15.5255 4.07463 16.9375 3 18.5 3C18.8438 4 18.7863 5.21921 18.5 6C19.25 7 19.5 8 19.5 9.5C19.5 11.6875 19.017 13.0822 18 14C16.983 14.9178 15.8887 15.3749 14.5 15.5C15.1506 16.038 15 17.3743 15 18C15 18.7256 15 21 15 21M12 4C10.3317 4 9.38784 4.39991 9 4.5C8.47455 4.07463 7.0625 3 5.5 3C5.15625 4 5.21371 5.21921 5.5 6C4.75 7 4.5 8 4.5 9.5C4.5 11.6875 4.98301 13.0822 6 14C7.01699 14.9178 8.1113 15.3749 9.5 15.5C8.84944 16.038 9 17.3743 9 18C9 18.7256 9 21 9 21">
<animate fill="freeze" attributeName="stroke-dashoffset" dur="0.6s" values="30;0" />
</path>
<path stroke-dasharray="10" stroke-dashoffset="10" d="M9 19">
<animate fill="freeze" attributeName="stroke-dashoffset" begin="0.7s" dur="0.2s" values="10;0" />
<animate attributeName="d" dur="3s" repeatCount="indefinite"
values="M9 19c-1.406 0-2.844-.563-3.688-1.188C4.47 17.188 4.22 16.157 3 15.5;M9 19c-1.406 0-3-.5-4-.5-.532 0-1 0-2-.5;M9 19c-1.406 0-2.844-.563-3.688-1.188C4.47 17.188 4.22 16.157 3 15.5" />
</path>
</g>
<rect width="8" height="4" x="8" y="11" fill="black" mask="url(#lineMdGithubLoop0)">
<animate attributeName="y" dur="10s" keyTimes="0;0.45;0.46;0.54;0.55;1" repeatCount="indefinite"
values="11;11;7;7;11;11" />
</rect>
</svg></a>
<!-- Upload your linkedIn profile below in href="https://www.linkedin.com/in/profile..." -->
<a href="https://www.linkedin.com/in/venkatesh-koppisetti/" target="_blank"><svg xmlns="http://www.w3.org/2000/svg"
width="24" height="24" viewBox="0 0 24 24">
<circle cx="4" cy="4" r="2" fill="#0a66c2" fill-opacity="0">
<animate fill="freeze" attributeName="fill-opacity" dur="0.4s" values="0;1" />
</circle>
<g fill="none" stroke="#0a66c2" stroke-linecap="round" stroke-width="4">
<path stroke-dasharray="12" stroke-dashoffset="12" d="M4 10V20">
<animate fill="freeze" attributeName="stroke-dashoffset" begin="0.2s" dur="0.2s" values="12;0" />
</path>
<path stroke-dasharray="12" stroke-dashoffset="12" d="M10 10V20">
<animate fill="freeze" attributeName="stroke-dashoffset" begin="0.5s" dur="0.2s" values="12;0" />
</path>
<path stroke-dasharray="24" stroke-dashoffset="24"
d="M10 15C10 12.2386 12.2386 10 15 10C17.7614 10 20 12.2386 20 15V20">
<animate fill="freeze" attributeName="stroke-dashoffset" begin="0.7s" dur="0.5s" values="24;0" />
</path>
</g>
</svg></a>
</p>
</div>
<!-- Till here and paste to below and upload your details -->

<!-- Copy from here -->
<div class="card centered-links">
<div class="card_img card13">
<div class="plus"></div>
</div>
<h3>Satyajit Satapathy</h3>
<div class="line"></div>
<p>
Expand Down Expand Up @@ -733,10 +818,9 @@ <h3>Satyajit Satapathy</h3>
</p>
</div>
<!-- Till here and paste to below and upload your details -->


</div>
</div>
</body>

</html>
</html>
5 changes: 5 additions & 0 deletions participant/koppisettivenkatesh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
name: koppisetti venkatesh
institution/company: Rajiv Gandhi University of Knowledge Technologies (RGUKT) Rk Valley
github: koppisettivenkatesh
---
7 changes: 7 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ h1{
background-image: url(assets/images/sami.jpg);
}



.card9{
background-image: url(assets/images/manisha.jpg);
}
Expand All @@ -252,11 +254,16 @@ h1{
background-image: url(assets/images/AnirudhBelwadi.jpeg)
}


.card11{
background-image: url(assets/images/aviral.jpg)
}

.card12{
background-image: url(assets/images/koppisettivenkatesh.jpg)
}

.card13{
background-image: url(assets/images/Satyajit-2003.jpeg)
}

Expand Down

0 comments on commit 00ae898

Please sign in to comment.