python_uzbek_coder | Unsorted

Telegram-канал python_uzbek_coder - PYTHON DASTURLASH TILI

1434

Python dasturlash tilini o'rganmoqchimisiz ? Ammo bu dasturlash tili haqida kerakli ma'lumotlarni qayerdan topishni bilmayabsizmi ? Telegram tarmog'idagi Python dasturlash tili haqida barcha ma'lumotlarni o'zida saqlovchi kanal: @Python_uzbek_coder

Subscribe to a channel

PYTHON DASTURLASH TILI

Bir ishlatib ko'ringlarchi.

from pptx import Presentation
from pptx.util import Inches, Pt

# Create a presentation object
prs = Presentation()

# Define slides content
slides_content = [
{"title": "Introduction to Python", "content": "The Versatile Programming Language\nYour Name or Center’s Name"},
{"title": "What is Python?",
"content": "• Python is a high-level, interpreted programming language.\n• Known for its simplicity and readability.\n• Created by Guido van Rossum and first released in 1991."},
{"title": "Key Features of Python",
"content": "• Easy to read and write; syntax is beginner-friendly.\n• Open-source and free to use.\n• Supports multiple programming paradigms (object-oriented, procedural, functional).\n• Extensive standard library and strong community support."},
{"title": "Why Learn Python?",
"content": "• Widely used in web development, data science, AI, automation, and more.\n• High demand in the job market.\n• Large ecosystem with libraries for various tasks.\n• Beginner-friendly, with a fast learning curve."},
{"title": "Python Syntax Basics",
"content": "• Variables and Data Types (int, float, string, list, dictionary)\n• Basic Syntax Example:\nname = 'Python'\nprint('Hello, ' + name)\n• Indentation for defining blocks (no braces or semicolons needed)."},
{"title": "Popular Python Libraries",
"content": "• Data Science: NumPy, pandas, Matplotlib\n• Web Development: Django, Flask\n• Machine Learning & AI: TensorFlow, scikit-learn\n• Automation: Selenium, BeautifulSoup"},
{"title": "Python Applications",
"content": "• Web Development\n• Data Analysis and Visualization\n• Machine Learning and Artificial Intelligence\n• Game Development\n• Scripting and Automation"},
{"title": "Career Opportunities with Python",
"content": "• Python Developer\n• Data Scientist\n• Machine Learning Engineer\n• Web Developer\n• DevOps Engineer"},
{"title": "Resources to Learn Python",
"content": "• Python documentation: https://docs.python.org\n• Online platforms: Codecademy, Coursera, edX, Udacity\n• Books: 'Python Crash Course,' 'Automate the Boring Stuff with Python'"},
{"title": "Summary",
"content": "Why Python is a great language to learn.\nEncouragement to start coding and exploring Python."},
]

# Add slides
for slide_info in slides_content:
slide_layout = prs.slide_layouts[1] # Using the Title and Content layout
slide = prs.slides.add_slide(slide_layout)
title = slide.shapes.title
content = slide.placeholders[1]

# Set title and content for each slide
title.text = slide_info["title"]
content.text = slide_info["content"]

# Save the presentation
pptx_path = "Introduction_to_Python_Presentation.pptx"
prs.save(pptx_path)
print(f"Presentation saved as {pptx_path}")

Читать полностью…

PYTHON DASTURLASH TILI

Kutib oling sun'iy intellekt Uzbek Plov nomli qo'shiq aytdi.

https://youtu.be/Jtv06BQ-CBg

Читать полностью…

PYTHON DASTURLASH TILI

https://www.instagram.com/reel/C5GulqqKTOw/?igsh=MWQ5MWF5NzJlbmx5dg==

Читать полностью…

PYTHON DASTURLASH TILI

IT tanlovlarda 1-o'rin uchun qancha pul mukofoti qo'yiladi?

Ulug'bek vorislari - 10 mln so'mdan ortiq.
Uz data challenge - 50.000$.
President Tech Award - 100.000$.
StartUP loyihalar tanlovi - 500 mln so'mgacha.

Bu tanlovlarda g'olib bo'lish uchun sizda IT loyiha va uning pratatipi bo'lishi kerak.

☎️ +998505004030
👨‍💻 @Algorithmic_Solutions
📍 Firdavsiy 1 (Infin bank)

Читать полностью…

PYTHON DASTURLASH TILI

Rasm yoki freymdan malum predmet obekt ni joylashuvni olamiz.
Bu ham juda oson 5-6 qatorda bajariladi.

from ultralytics import YOLO

model = YOLO("yolov8s.pt")
ans = model.predict(source= ".../person.jpeg", show = True, imgsz = 320, conf = 0.7)
#yolov8s bir nechta turdagi obektlarni detection qila oladi
for obj in ans:
box = obj.boxes
print(box)

Читать полностью…

PYTHON DASTURLASH TILI

#aktivatsiya

slmgr/ipk W269N-WFGWX-YVC9B-4J6C9-T83GX

slmgr /skms kms.digiboy.ir

slmgr /ato

Читать полностью…

PYTHON DASTURLASH TILI

💻 Inson mehnati AI dan ko'ra arzon (hozircha).

MIT universitetining tadqiqotlariga qaraganda. Inson sun'iy intellekt robotlariga qaraganda 2 baravar arzon ishchi kuchi hisoblanadi. Buning ustiga insonlar o'z vazifasidan tashqari ishlarni ham bajarishadi...
Ammo tadqiqotlar bu uzoq davom etmasligi va yaqin yillarda robotlar arzon ishchi kuchiga aylanishini ko'rsatmoqda.

Читать полностью…

PYTHON DASTURLASH TILI

emot nima ish qilishini topganga bitta besh😄

Читать полностью…

PYTHON DASTURLASH TILI

/channel/python_uzbek_coder?boost

Читать полностью…

PYTHON DASTURLASH TILI

Dasturchilar 1 soniyaga ham rahmatga ishlamaydi😎

Читать полностью…

PYTHON DASTURLASH TILI

Quyidagi saralash algoritmlaridan qaysilarini bilasiz?
Komentlarda kodlarini qoldiring

Читать полностью…

PYTHON DASTURLASH TILI

Nechtasini bilar edingiz?

Читать полностью…

PYTHON DASTURLASH TILI

import turtle
screen = turtle.Screen()
screen.setup(width=1.0, height=1.0)
turtle.bgcolor('white')
tr = turtle.Turtle()
tr.speed("fastest")
tr.up()
# left decoration
for i in range(10):
for i in range(2):
tr.pensize(7)
tr.goto(-500, 0)
tr.down()
tr.color("purple")
tr.forward(100)
tr.circle(5, steps=4)
tr.right(60)
tr.color("violet")
tr.forward(50)
tr.right(120)
tr.right(30)
tr.up()
# right decoration
for i in range(10):
for i in range(2):
tr.pensize(7)
tr.goto(470, 0)
tr.down()
tr.color("red")
tr.forward(100)
tr.circle(5, steps=4)
tr.right(60)
tr.color("crimson")
tr.forward(50)
tr.right(120)
tr.right(30)
tr.up()
# top decoration
for i in range(10):
for i in range(2):
tr.pensize(7)
tr.goto(20, 265)
tr.down()
tr.color("forest green")
tr.forward(100)
tr.circle(5, steps=4)
tr.right(60)
tr.color("lime")
tr.forward(50)
tr.right(120)
tr.right(30)
tr.up()
# bottom decoration
for i in range(10):
for i in range(2):
tr.pensize(7)
tr.goto(20, -220)
tr.down()
tr.color("dark turquoise")
tr.forward(100)
tr.circle(5, steps=4)
tr.right(60)
tr.color("cyan")
tr.forward(50)
tr.right(120)
tr.right(30)


turtle.up()
turtle.color('red')
turtle.goto(-320, 40)
turtle.write("Happy ", font=(None, 60))
turtle.goto(-60, 40)
turtle.color('deep pink')
turtle.write("New", font=(None, 60))
turtle.goto(145, 40)
turtle.color('blue')
turtle.write("Year", font=(None, 60))
turtle.goto(-74, -60)
turtle.color('green')
turtle.write("2024!", font=(None, 60))
turtle.do

Читать полностью…

PYTHON DASTURLASH TILI

Jarima kameralari, radarlar va mashinalarni tanish uchun ishlatiluvchi moslamalar, asosan PYTHON dasturlash yilida kodlanishidan habaringiz bormi?

Читать полностью…

PYTHON DASTURLASH TILI

Python yoki C++ ?

Читать полностью…

PYTHON DASTURLASH TILI

Pythonda kod yozib ppt yasay olasizmi?

Qiziqmi?

Читать полностью…

PYTHON DASTURLASH TILI

Natija nima chiqishini kod yozmasdan taxmin qiling.

Читать полностью…

PYTHON DASTURLASH TILI

🔠🅰️🔠🅰️🔠🔠🔠
Bot PYTHON dasturlash tilida yaratilgan!
Ramazon oyida siz va yaqinlaringiz uchun foydali bot.

@PrayingTime_bot

Bot orqali siz namoz vaqtlaridan habar topishingiz mumkin.
Bundan tashqari bot sizga o'g'iz ochish va og'iz yopish vaqtlarini eslatib turadi.

Читать полностью…

PYTHON DASTURLASH TILI

Agar natija olib kursak

cls: tensor([0., 0., 0., 0., 0., 0., 0.])
conf: tensor([0.8909, 0.8682, 0.8674, 0.8622, 0.8439, 0.8392, 0.7159])
data: tensor([[1.6254e+02, 2.2389e+01, 2.5266e+02, 1.6701e+02, 8.9091e-01, 0.0000e+00],
[2.3503e+02, 3.1486e+01, 2.9971e+02, 1.6686e+02, 8.6820e-01, 0.0000e+00],
[2.1997e+01, 5.3749e+01, 7.4538e+01, 1.6752e+02, 8.6741e-01, 0.0000e+00],
[1.1284e+02, 3.2849e+01, 1.6784e+02, 1.6768e+02, 8.6221e-01, 0.0000e+00],
[6.3885e+01, 4.3812e+01, 1.1679e+02, 1.6726e+02, 8.4389e-01, 0.0000e+00],
[3.2759e-02, 5.2869e+00, 4.6813e+01, 1.6724e+02, 8.3916e-01, 0.0000e+00],
[1.5617e+02, 1.0563e+01, 1.9749e+02, 9.0878e+01, 7.1594e-01, 0.0000e+00]])
id: None
is_track: False
orig_shape: (168, 300)
shape: torch.Size([7, 6])
xywh: tensor([[207.5979, 94.6973, 90.1146, 144.6161],
[267.3671, 99.1744, 64.6808, 135.3771],
[ 48.2676, 110.6329, 52.5402, 113.7673],
[140.3382, 100.2657, 55.0010, 134.8336],
[ 90.3380, 105.5342, 52.9057, 123.4454],
[ 23.4231, 86.2625, 46.7806, 161.9512],
[176.8280, 50.7202, 41.3200, 80.3153]])
xywhn: tensor([[0.6920, 0.5637, 0.3004, 0.8608],
[0.8912, 0.5903, 0.2156, 0.8058],
[0.1609, 0.6585, 0.1751, 0.6772],
[0.4678, 0.5968, 0.1833, 0.8026],
[0.3011, 0.6282, 0.1764, 0.7348],
[0.0781, 0.5135, 0.1559, 0.9640],
[0.5894, 0.3019, 0.1377, 0.4781]])
xyxy: tensor([[1.6254e+02, 2.2389e+01, 2.5266e+02, 1.6701e+02],
[2.3503e+02, 3.1486e+01, 2.9971e+02, 1.6686e+02],
[2.1997e+01, 5.3749e+01, 7.4538e+01, 1.6752e+02],
[1.1284e+02, 3.2849e+01, 1.6784e+02, 1.6768e+02],
[6.3885e+01, 4.3812e+01, 1.1679e+02, 1.6726e+02],
[3.2759e-02, 5.2869e+00, 4.6813e+01, 1.6724e+02],
[1.5617e+02, 1.0563e+01, 1.9749e+02, 9.0878e+01]])
xyxyn: tensor([[5.4180e-01, 1.3327e-01, 8.4218e-01, 9.9408e-01],
[7.8342e-01, 1.8742e-01, 9.9902e-01, 9.9323e-01],
[7.3325e-02, 3.1994e-01, 2.4846e-01, 9.9712e-01],
[3.7613e-01, 1.9553e-01, 5.5946e-01, 9.9811e-01],
[2.1295e-01, 2.6078e-01, 3.8930e-01, 9.9558e-01],
[1.0920e-04, 3.1470e-02, 1.5604e-01, 9.9546e-01],
[5.2056e-01, 6.2872e-02, 6.5829e-01, 5.4094e-01]])

Shunga uxshagan natija beradi.
Natija siz ishlatayotgan freymworkga bogliq (Pytorch, ....)
Demak birinchi listda sinf (0-bu odam umumiy sinflar
names: {0: 'person', 1: 'bicycle', 2: 'car', 3: 'motorcycle', 4: 'airplane', 5: 'bus', 6: 'train', 7: 'truck', 8: 'boat', 9: 'traffic light', 10: 'fire hydrant', 11: 'stop sign', 12: 'parking meter', 13: 'bench', 14: 'bird', 15: 'cat', 16: 'dog', 17: 'horse', 18: 'sheep', 19: 'cow', 20: 'elephant', 21: 'bear', 22: 'zebra', 23: 'giraffe', 24: 'backpack', 25: 'umbrella', 26: 'handbag', 27: 'tie', 28: 'suitcase', 29: 'frisbee', 30: 'skis', 31: 'snowboard', 32: 'sports ball', 33: 'kite', 34: 'baseball bat', 35: 'baseball glove', 36: 'skateboard', 37: 'surfboard', 38: 'tennis racket', 39: 'bottle', 40: 'wine glass', 41: 'cup', 42: 'fork', 43: 'knife', 44: 'spoon', 45: 'bowl', 46: 'banana', 47: 'apple', 48: 'sandwich', 49: 'orange', 50: 'broccoli', 51: 'carrot', 52: 'hot dog', 53: 'pizza', 54: 'donut', 55: 'cake', 56: 'chair', 57: 'couch', 58: 'potted plant', 59: 'bed', 60: 'dining table', 61: 'toilet', 62: 'tv', 63: 'laptop', 64: 'mouse', 65: 'remote', 66: 'keyboard', 67: 'cell phone', 68: 'microwave', 69: 'oven', 70: 'toaster', 71: 'sink', 72: 'refrigerator', 73: 'book', 74: 'clock', 75: 'vase', 76: 'scissors', 77: 'teddy bear', 78: 'hair drier', 79: 'toothbrush'}
)

keyin esa conf yane har bitta obektni aniqlash aniqligi ruyxati (rasmda bir nechta obekt buladi)
keyin esa bizga obekt joylashuvi xywh yane yuqori chap burchag koordinatasi va w-uzunlik h-balandlik beriladi.
bundan tashqari biz turtburchak asosida malumotni olishimiz mumkin yuqori chao va pastgi ong xyxy

Читать полностью…

PYTHON DASTURLASH TILI

🏆 Diqqat Musobaqa 🏆

Pythonchilar diqqatiga. O'z bilimlaringizni sinab ko'ring!

🤖 RoboContest Round #87 div3 va 🤖 RoboContest Round #88 div2

📊 Div3 - reytingi [1000,1500] oralig'idagi ishtirokchilar uchun rated
📊 Div2 - reytingi [1501, ∞] oralig'idagi ishtirokchilar uchun rated

Agar reyting mos kelmasa unrated qatnashish imkoni mavjud, ya'ni reyting berilmaydi/

📆Contest boshlanish vaqti: 05.03.2024 19:30
📆Contest tugash vaqti: 05.03.2024 21:30
⏰Contest davomiyligi: 2 soat
👨‍🏫 Muallif: Sardor Salimov

💬Agar savollar bo’lsa @robocontest_chat ga murojaat qiling.

🤖🤖🤖🤖🤖
@robocontest

#contest #rated

(Savollar o'zbekcha va ruscha tillarda bo'ladi)

Читать полностью…

PYTHON DASTURLASH TILI

yield

Pythonchilar bilasizmi bu nima?

Читать полностью…

PYTHON DASTURLASH TILI

Bu rasmlarni nima bog'lab turadi?

Читать полностью…

PYTHON DASTURLASH TILI

Tez orada python 3.13 chiqadi...

https://pythoninsider.blogspot.com/2024/01/python-3130-alpha-3-is-now-available.html

Читать полностью…

PYTHON DASTURLASH TILI

Python orqali yaratilgan dastur va havolalar.

Читать полностью…

PYTHON DASTURLASH TILI

Bu kod orqali dasturingiz ishlashi uchun qancha vaqt sarflaganini aniqlashingiz mumkin...

Читать полностью…

PYTHON DASTURLASH TILI

Ayrim dasturchilarning bir kunlik hayoti 👩‍💻

Читать полностью…

PYTHON DASTURLASH TILI

2024-yil "Yoshlar va biznesni qo'llab-quvvatlash" yili muborak bo'lsin

Читать полностью…

PYTHON DASTURLASH TILI

itertools funskiyasi haqida nimalarni bilasiz?

Читать полностью…

PYTHON DASTURLASH TILI

Pythonni qo'llab quvvatlovchi sirli guruh borligini bilasizmi?
Bu guruh pythondagi o'zgarishlar uchun asosiy rol o'ynaydi.
Python o'z hamjamiyatida turli so'rovlar orqali yangilanishlar (update) amalga oshiradi.

https://pypodcats.live

Читать полностью…

PYTHON DASTURLASH TILI

🐍Python bilan qurilgan ba'zi mashhur ilovalarni ko'rib chiqamiz.

__

Давайте взглянем на некоторые из популярных приложений, созданных с помощью 🐍Python.

1️⃣ Instagram
2️⃣ Pinterest
3️⃣ Spotify
4️⃣ Dropbox
5️⃣ Uber
6️⃣ Reddit

Читать полностью…
Subscribe to a channel