#bilasizmi? Dunyodagi birinchi dasturchi Prezident Barak Obama hisoblanadi. Uni
@uz_python
JavaScript
dasturlash tilida kod yozib o'tirganligini atrofdagilar bir necha marotaba guvohiga aylanishgan@uz_python
Python dasturlash tili boyicha videodarsliklarni qidiryatgan bolsangiz sizga ushbu kanalni tavsiya qilamiz.
https://www.youtube.com/playlist?list=PL6kSdcHYB3x7QIgZquceA2GLwX_0SLGep
#video #python
https://www.youtube.com/playlist?list=PL6kSdcHYB3x7QIgZquceA2GLwX_0SLGep
#video #python
n=int(input("Studentlar soni:"))
fout=open("D:\\test.txt","w")
for st in range(n):
fam=input("familya:")
ism = input("ism:")
yosh = input("yosh:")
st=fam+" "+ism+" "+yosh+"\n"
fout.write(st)
fout=open("D:\\test.txt","w")
for st in range(n):
fam=input("familya:")
ism = input("ism:")
yosh = input("yosh:")
st=fam+" "+ism+" "+yosh+"\n"
fout.write(st)
fayl=open("D:\\test.txt","r+")
print(fayl.read())
with open("D:\\test.txt","r+") as fin:
st=fin.readlines()
for s in st:
print(s,end=" ")
l=s.split()
print(l)
print(fayl.read())
with open("D:\\test.txt","r+") as fin:
st=fin.readlines()
for s in st:
print(s,end=" ")
l=s.split()
print(l)
GUI MuminovBB.pptx
1 MB
Interface Grafika bilan ishlash(Python)
@uz_python
@uz_python
Forwarded from Deleted Account
from tkinter import *
count_c=0
count_j=0
count_p=0
def next():
global count_c,count_j,count_p
s=en_fam.get()
si=en_im.get()
sgr=en_group.get()
if rad.get()==1:
count_c=count_c+1
s1=str(count_c)+"."+s+" "+si+". "+ " - "+sgr+"\n"
v=str(count_c)+".0"
tx_c.insert(v,s1)
elif rad.get()==2:
count_j=count_j+1
s1=str(count_j)+"."+s+" "+si+". "+"- "+sgr+"\n"
v = str(count_j) + ".0"
tx_j.insert(v, s1)
elif rad.get()==3:
count_p=count_p+1
s1=str(count_p)+"."+s+" "+si+". "+"- "+sgr+"\n"
v = str(count_p) + ".0"
tx_p.insert(v, s1)
else:
print("Ne otmechenno")
en_fam.delete(0,END)
en_im.delete(0, END)
en_group.delete(0, END)
en_fam.focus_set()
root=Tk()
root.title("Text,Radiobutton,CHECKBUTTON")
root.geometry("1100x200+300+300")
fr1=LabelFrame(root,text="1-freym",relief=RAISED,borderwidth=1)
fr1.pack(fill=BOTH,expand=0,side=LEFT,anchor="nw")
fr2=LabelFrame(root,text="C++",relief=RAISED,borderwidth=1)
fr2.pack(fill=X,expand=0,side=LEFT,anchor="nw")
fr3=LabelFrame(root,text="Java",relief=RAISED,borderwidth=1)
fr3.pack(fill=X,expand=0,side=LEFT,anchor="nw")
fr4=LabelFrame(root,text="Python",relief=RAISED,borderwidth=1)
fr4.pack(fill=X,expand=1,side=LEFT,anchor="nw")
l_fam=Label(fr1,text="Familiya",width=7,font=("Arial",12))
l_fam.grid(row=0,columnspan=2)
fam=StringVar
en_fam=Entry(fr1,textvariable=fam)
en_fam.grid(row=0,column=2,columnspan=3,padx=15)
l_im=Label(fr1,text="Imya",width=7,font=("Arial",12))
l_im.grid(row=1,columnspan=2)
im=StringVar
en_im=Entry(fr1,textvariable=im)
en_im.grid(row=1,column=2,columnspan=3,padx=15)
l_group=Label(fr1,text="Gruppa",width=7,font=("Arial",12))
l_group.grid(row=2,columnspan=2)
group=StringVar
en_group=Entry(fr1,textvariable=group)
en_group.grid(row=2,column=2,columnspan=3,padx=15)
rad=IntVar()
rad.set(0)
r=Radiobutton(fr1,text="C++",variable=rad,value=1)
r.grid(row=3,column=2)
r1=Radiobutton(fr1,text="Java",variable=rad,value=2)
r1.grid(row=3,column=3)
r2=Radiobutton(fr1,text="Python",variable=rad,value=3)
r2.grid(row=3,column=4)
tx_c=Text(fr2,width=30,height=10,fg="red",wrap=WORD)
tx_c.pack(side=TOP)
tx_j=Text(fr3,width=30,height=10,fg="red",wrap=WORD)
tx_j.pack(side=TOP)
tx_p=Text(fr4,width=30,height=10,fg="red",wrap=WORD)
tx_p.pack(side=TOP)
b_ex=Button(fr1,text="Exit",command=quit)
b_ex.grid(row=4,column=4,pady=10)
b_nex=Button(fr1,text="Next",command=next)
b_nex.grid(row=4,column=3,pady=10)
root.mainloop()
count_c=0
count_j=0
count_p=0
def next():
global count_c,count_j,count_p
s=en_fam.get()
si=en_im.get()
sgr=en_group.get()
if rad.get()==1:
count_c=count_c+1
s1=str(count_c)+"."+s+" "+si+". "+ " - "+sgr+"\n"
v=str(count_c)+".0"
tx_c.insert(v,s1)
elif rad.get()==2:
count_j=count_j+1
s1=str(count_j)+"."+s+" "+si+". "+"- "+sgr+"\n"
v = str(count_j) + ".0"
tx_j.insert(v, s1)
elif rad.get()==3:
count_p=count_p+1
s1=str(count_p)+"."+s+" "+si+". "+"- "+sgr+"\n"
v = str(count_p) + ".0"
tx_p.insert(v, s1)
else:
print("Ne otmechenno")
en_fam.delete(0,END)
en_im.delete(0, END)
en_group.delete(0, END)
en_fam.focus_set()
root=Tk()
root.title("Text,Radiobutton,CHECKBUTTON")
root.geometry("1100x200+300+300")
fr1=LabelFrame(root,text="1-freym",relief=RAISED,borderwidth=1)
fr1.pack(fill=BOTH,expand=0,side=LEFT,anchor="nw")
fr2=LabelFrame(root,text="C++",relief=RAISED,borderwidth=1)
fr2.pack(fill=X,expand=0,side=LEFT,anchor="nw")
fr3=LabelFrame(root,text="Java",relief=RAISED,borderwidth=1)
fr3.pack(fill=X,expand=0,side=LEFT,anchor="nw")
fr4=LabelFrame(root,text="Python",relief=RAISED,borderwidth=1)
fr4.pack(fill=X,expand=1,side=LEFT,anchor="nw")
l_fam=Label(fr1,text="Familiya",width=7,font=("Arial",12))
l_fam.grid(row=0,columnspan=2)
fam=StringVar
en_fam=Entry(fr1,textvariable=fam)
en_fam.grid(row=0,column=2,columnspan=3,padx=15)
l_im=Label(fr1,text="Imya",width=7,font=("Arial",12))
l_im.grid(row=1,columnspan=2)
im=StringVar
en_im=Entry(fr1,textvariable=im)
en_im.grid(row=1,column=2,columnspan=3,padx=15)
l_group=Label(fr1,text="Gruppa",width=7,font=("Arial",12))
l_group.grid(row=2,columnspan=2)
group=StringVar
en_group=Entry(fr1,textvariable=group)
en_group.grid(row=2,column=2,columnspan=3,padx=15)
rad=IntVar()
rad.set(0)
r=Radiobutton(fr1,text="C++",variable=rad,value=1)
r.grid(row=3,column=2)
r1=Radiobutton(fr1,text="Java",variable=rad,value=2)
r1.grid(row=3,column=3)
r2=Radiobutton(fr1,text="Python",variable=rad,value=3)
r2.grid(row=3,column=4)
tx_c=Text(fr2,width=30,height=10,fg="red",wrap=WORD)
tx_c.pack(side=TOP)
tx_j=Text(fr3,width=30,height=10,fg="red",wrap=WORD)
tx_j.pack(side=TOP)
tx_p=Text(fr4,width=30,height=10,fg="red",wrap=WORD)
tx_p.pack(side=TOP)
b_ex=Button(fr1,text="Exit",command=quit)
b_ex.grid(row=4,column=4,pady=10)
b_nex=Button(fr1,text="Next",command=next)
b_nex.grid(row=4,column=3,pady=10)
root.mainloop()
tkinterda rasm chizish.pptx
379.4 KB
Uz_Python
Python o'zbecha video darslar va ma'lumotlar !!!
Siz uchun eng kerakli ma'lumotlar รตzbek tilidagi Python darsliklari qรตllanmalar video va boshqa eng qiziqarli ma'lumotlar bizda !!!
Biz bilan qoling bizdan uzoqlashmang !!!
https://t.iss.one/uz_python
Python o'zbecha video darslar va ma'lumotlar !!!
Siz uchun eng kerakli ma'lumotlar รตzbek tilidagi Python darsliklari qรตllanmalar video va boshqa eng qiziqarli ma'lumotlar bizda !!!
Biz bilan qoling bizdan uzoqlashmang !!!
https://t.iss.one/uz_python
hacker bo'lish uchun.pdf
329 KB
Hacker bo'lish uchun ajoyib maqolani o'qing!
"Bir marta bilgan har bir Hacker uchun havola."
๐ Erik Steven Raymond
๐บ๐ฟ Uzbek tilida
@uz_python
"Bir marta bilgan har bir Hacker uchun havola."
๐ Erik Steven Raymond
๐บ๐ฟ Uzbek tilida
@uz_python
Forwarded from Deleted Account
ะะตะบัะธั โ5.pptx
1.2 MB
PyQt5 by @PyQt5.py
41.6 KB
Python dasturlash tilida .exe dastur yaratish
ะกะพะทะดะฐะฝะธะต ะฟัะพะณัะฐะผะผั .exe ะฝะฐ ัะทัะบะต ะฟัะพะณัะฐะผะผะธัะพะฒะฐะฝะธั Python
Creating a .exe program in Python programming language
@uz_python
ะกะพะทะดะฐะฝะธะต ะฟัะพะณัะฐะผะผั .exe ะฝะฐ ัะทัะบะต ะฟัะพะณัะฐะผะผะธัะพะฒะฐะฝะธั Python
Creating a .exe program in Python programming language
@uz_python