Python learning
27.2K subscribers
209 photos
8 videos
75 files
118 links
Learn pythonπŸ”₯
Quality content πŸ˜‰
Get Python Course 😁
Download Telegram
PythonHub:
import cv2
image = cv2.imread("C/Users/User/Downloads/spid.png")
gray_image = cv2.cvtColor(image, cv2.COLOR_BGR2GRAY)
inverted = 255-gray_image
blur = cv2.GaussianBlur(inverted, (21, 21), 0)
invertedblur = 255-blur
sketch = cv2.divide(gray_image, invertedblur, scale=256.0)
cv2.imwrite("sketch.png", sketch)
cv2.imshow("Image", sketch)
Convert any Image into Sketch πŸ‘†
>>> x = ['python', 'hub']
>>> x.sort(key = len)
>>> print(x)
Anonymous Quiz
39%
['hub, 'python']
29%
['python', 'hub']
23%
Error
9%
None of the above
What will be the value of the
following Python expression?
>>> 4 +3 % 5
Anonymous Quiz
27%
7
35%
2
20%
4
18%
1
Create Graphical User Interfaces with Python.pdf
11.3 MB
βœ… Book : Create Graphical User  Interfaces with Python – How to build windows, buttons, and widgets for your Python projects

βœ… Download now πŸš€
A step by step guide to make money with ChatGpt πŸ€‘πŸ‘‡
https://medium.com/@inprogrammer/make-money-with-chatgpt-bd80d33e7406
BEST 3 YOUTUBE CHANNEL TO LEARN πŸ™ŒπŸ»πŸ™ŒπŸ»
In Python Programming, String and
Tuple are :
Anonymous Quiz
60%
Immutable
24%
Mutable
16%
Both
LEGEND Form Project πŸ˜…πŸ˜€
-----------------------------------------------------
Complete Source Code πŸ‘‡
-----------------------------------------------------

<html>
<head>
<style>

.outer{ 
margin:auto;
height:300px;
width:400px;
border:2px solid black;
position:relative
}
p{
margin-left:80px;
}
.in{
margin-left:80px;
padding:10px
}
#bt{
margin-top:20px;
position:absolute;
left:150px;
}
#bt:hover{
background:green;
font-size:13px;
cursor:pointer;
color:white;
}
</style>
<script>
function fa(){
if(a.value=="" || b.value==""){
f()
document.getElementById("a").style.border="3px solid red"
document.getElementById("b").style.border="3px solid red"
bt.value="Pahila data tak"
}
else{
document.getElementById("a").style.border="3px solid green"
document.getElementById("b").style.border="3px solid green"
bt.value="Ha thik ahe ata"
bt.style.left="120px";
}
}
flag=1
function f(){
if(flag==1){
bt.style.left="210px"
flag=2
}
else if(flag==2){
bt.style.left="80px"
flag=1
}
}
</script>
</head>
<body>
<div class="outer">
<h1 style="text-align:center">Legend form</h1>
<p>Enter Id</p>
<input class="in" type="text" placeholder="Enter id" id="a"/>
<p>Enter Confirm Pass</p>
<input class="in" type="password" placeholder="Enter password" id="b"/>
<br>
<input type="submit" onmouseenter="fa()" onclick="alert('waaaa')" id="bt" />

</div>

</body>


</html>
Output of this code
>>> X= 2.2.2
>>> print (x*2)
Anonymous Quiz
54%
Error
20%
444
27%
2.2.22.2.2
PYTHON PROJECT FOR πŸ‘¨πŸΌβ€πŸ’»πŸ‘¨πŸΌβ€πŸ’»
Create Graphical User Interfaces with Python.pdf
11.3 MB
βœ… Book : Create Graphical User  Interfaces with Python – How to build windows, buttons, and widgets for your Python projects

βœ… Download now πŸš€