#iCoderNet
240 subscribers
88 photos
24 videos
190 files
106 links
:)
Download Telegram
TaqinchoqlarBot.zip
3.7 MB
โœ… @Taqinchoqlari_bot va @TaqinchoqlarimBot bot kodi

๐ŸŽ Tarqatmoqchi emas edimu mayli

โšก๏ธ Python/Aiogram
๐Ÿช„ Hammasi joyida hech qanday Image API kerak emas. Rasmlarni botni o'zi yasaydi!

#UzbProMax

๐Ÿ†Manba: @iCoderNet
๐Ÿ‘7๐Ÿ”ฅ1
String method

Method Description
capitalize() Converts the first character to upper case
casefold() Converts string into lower case
center() Returns a centered string
count() Returns the number of times a specified value occurs in a string
encode() Returns an encoded version of the string
endswith() Returns true if the string ends with the specified value
expandtabs() Sets the tab size of the string
find() Searches the string for a specified value and returns the position of where it was found
format() Formats specified values in a string
format_map() Formats specified values in a string
index() Searches the string for a specified value and returns the position of where it was found
isalnum() Returns True if all characters in the string are alphanumeric
isalpha() Returns True if all characters in the string are in the alphabet
isascii() Returns True if all characters in the string are ascii characters
isdecimal() Returns True if all characters in the string are decimals
isdigit() Returns True if all characters in the string are digits
isidentifier() Returns True if the string is an identifier
islower() Returns True if all characters in the string are lower case
isnumeric() Returns True if all characters in the string are numeric
isprintable() Returns True if all characters in the string are printable
isspace() Returns True if all characters in the string are whitespaces
istitle() Returns True if the string follows the rules of a title
isupper() Returns True if all characters in the string are upper case
join() Converts the elements of an iterable into a string
ljust() Returns a left justified version of the string
lower() Converts a string into lower case
lstrip() Returns a left trim version of the string
maketrans() Returns a translation table to be used in translations
partition() Returns a tuple where the string is parted into three parts
replace() Returns a string where a specified value is replaced with a specified value
rfind() Searches the string for a specified value and returns the last position of where it was found
rindex() Searches the string for a specified value and returns the last position of where it was found
rjust() Returns a right justified version of the string
rpartition() Returns a tuple where the string is parted into three parts
rsplit() Splits the string at the specified separator, and returns a list
rstrip() Returns a right trim version of the string
split() Splits the string at the specified separator, and returns a list
splitlines() Splits the string at line breaks and returns a list
startswith() Returns true if the string starts with the specified value
strip() Returns a trimmed version of the string
swapcase() Swaps cases, lower case becomes upper case and vice versa
title() Converts the first character of each word to upper case
translate() Returns a translated string
upper() Converts a string into upper case
zfill() Fills the string with a specified number of 0 values at the beginning

๐Ÿ”— @iCoderNet
๐Ÿ‘4๐Ÿ”ฅ1
Uzbekcha

Text string methodlari

capitalize() -> Birinchi belgini katta harfga aylantiradi
casefold() -> Satrni kichik harfga aylantiradi
count() -> Belgilangan qiymat satrda necha marta sodir bo'lishini qaytaradi
title() -> Har bir so'zning birinchi belgisini katta harfga o'zgartiradi
upper() -> Satrni katta harfga aylantiradi
split() -> Belgilangan ajratgichda satrni ajratadi va ro'yxatni qaytaradi
lower() -> Satrni kichik harfga aylantiradi
join() -> Satrga yana malumot qo'shish
find() -> Belgilangan qiymat uchun satrni qidiradi va u topilgan joyni qaytaradi
replace() -> Belgilangan qiymatni boshqa qiymatga alishtirib qaytaradi
splitlines() -> Qatorni qatorlar oralig'ida ajratadi va ro'yxatni qaytaradi

isalpha() -> Agar satrdagi barcha belgilar alifboda bo'lsa, True qiymatini qaytaradi
isdigit() -> Agar satrdagi barcha belgilar raqam bo'lsa, True qiymatini qaytaradi
islower() -> Agar satrdagi barcha belgilar kichik bo'lsa, True qiymatini qaytaradi
isupper() -> Agar satrdagi barcha belgilar katta harf bo'lsa, True qiymatini qaytaradi
isspace() -> Agar satrdagi barcha belgilar boสปsh joy boสปlsa, True qiymatini qaytaradi
isascii() -> Agar satrdagi barcha belgilar ascii belgilar bo'lsa, True qiymatini qaytaradi
isdecimal() -> Agar satrdagi barcha belgilar oสปnli kasr boสปlsa, True qiymatini qaytaradi
startswith() -> Agar satr belgilangan qiymatdan boshlansa, True qiymatini qaytaradi

โœ… @iCoderNet
๐Ÿ‘7๐ŸŽ‰1
๐Ÿ”ต@Text2Word_Bot

๐Ÿ–ฅ Textni Word faylga o'tkazuvchi bot
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ”ฅ4
#iCoderNet pinned ยซ๐Ÿง‘โ€๐ŸŽ“๐Ÿ”ค๐Ÿ”ค๐Ÿ”ค๐Ÿ”ค๐Ÿ”ค๐Ÿ”ค๐Ÿ”ค๐Ÿ”ค๐Ÿ”ค๐Ÿ‘จโ€๐Ÿ’ปยป
Forwarded from #UZBPROMAX PORTFOLIO
๐Ÿ˜ Sizning yoshingizni Suniy Intelekt orqali tahminan qilib beruvchi bot (AI)

๐Ÿ˜ Bot sizni yoshingizni va jinsingizni ham topib berishga harakat qiladi

๐Ÿ‡ฌ๐Ÿ‡ง Bot tili: English
๐Ÿ–ฅ Dastur tili: Python, Aiogram

โ–ถ๏ธ https://t.me/ageDeterminingBot
Please open Telegram to view this post
VIEW IN TELEGRAM
# import the necessary packages
from googletrans import Translator

# create an object of Translator.
translator = Translator()

# input text to be translated
text = input("Enter text: ")

# detect the source language of given text.
detect_lang = translator.detect(text)

# print source and destination languages.
print("Source Language:", detect_lang.lang) # prints 'en' for English

# translate the text in English language.
# prints 'en' for English # prints translation result in English language.

print("Translation Result:", translator.translate(text, dest='en').text)



๐Ÿ˜ ChatGPT (neyron tarmog'i) tuzib bergan har qanday tildan ingliz tiliga tarjima qiluvchi dastur
import datetime

# Get the current time and date
now = datetime.datetime.now()

# Print the current time and date
print("Current Date and Time:")
print(now.strftime("%Y-%m-%d %H:%M:%S"))


Result:
Current Date and Time:
2023-01-01 00:26:
00
Forwarded from #UZBPROMAX PORTFOLIO
โœจ Cloud vazifasini bajaradigan telegram bot

๐Ÿ“ฅ Botga istalgan malumotni yuboring sizga bot ๐Ÿ†” raqam beradi shu orqali istalgan akkountdan kirib malumotingizni olishingiz mumkin

๐ŸŽŠ Botni inline ishlatish ham mumkin

๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ท๐Ÿ‡บ๐Ÿ‡บ๐Ÿ‡ฟ๐Ÿ‡ฎ๐Ÿ‡ณ๐Ÿ‡ธ๐Ÿ‡ฆ๐Ÿ‡น๐Ÿ‡ท Bot tili: Uzbek, English, Russian, Turkish, Arabic, Indian
๐Ÿ–ฅ Dastur tili: Python, Aiogram

๐Ÿ’Ž https://t.me/Drive_proBot
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ”ฅ3
โ–ถ๏ธ YouTubedan video yuklovchi dastur tuzamiz

๐Ÿ–ฅ Birinchi pythonda pip kutubxonasidan o'zimizga kerakli modulelarni yuklab olamiz:
pip install pytube

๐Ÿ“บ Quyidagi dastur codeni ishga tushiramiz:
from pytube import YouTube

def Download(link):
youtubeObject = YouTube(link)
youtubeObject = youtubeObject.streams.get_highest_resolution()
try:
youtubeObject.download()
except:
print("Xatolik yuz berdi")
print("Yuklab olish muvaffaqiyatli yakunlandi")


link = input("YouTube video URL manzilini kiriting:")
Download(link)

โœ๏ธ Dasturni ishga turishib yuklab olinadigan silkani yuboring...

๐Ÿš€ Dastur avtomatik yuqori formatda videoni fayl joylashgan joyga yuklab oladi

๐Ÿ“ข @iCoderNet
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from #UZBPROMAX PORTFOLIO
๐ŸŒ• Eski oq qora rasmlarni bo'yashni hohlaysizmi?

๐Ÿ‘€ Quyidagi botimizga tashrif buyuring, rasm yuboring o'zingiz tanlang ranglashtirishni yoki aksincha oq-qora rangga o'girishni

โœˆ๏ธ Bot tili: Uzbek ๐Ÿ‡บ๐Ÿ‡ฟ
๐Ÿ–ฅ Dasturlash tili: Python/Aiogram ๐Ÿ‘ฃ

๐Ÿ›’ https://t.me/Colorized_picBot
Please open Telegram to view this post
VIEW IN TELEGRAM
ObHavoBot-main.zip
3.2 KB
โ›…๏ธ Ob-Havo malumotlarini olish uchun bot

๐Ÿ–ฅ Python/Telebot

๐Ÿ–ฅ Manba: GitHub

๐Ÿ’ซ @iCoderNet
Please open Telegram to view this post
VIEW IN TELEGRAM
Forwarded from #UZBPROMAX PORTFOLIO
๐Ÿ›’ PDF faylni word (.docx) formatga o'girib beruvchi bot

โœ๏ธ PDF faylni yuboring birozdan so'ng bot sizga .docx kengaytmali fayl yuboradi

โœˆ๏ธ Bot tili: Uzbek ๐Ÿ‡บ๐Ÿ‡ฟ
๐Ÿ–ฅ Dasturlash tili: Python/Aiogram ๐Ÿ‘ฃ

๐Ÿ’ซ https://t.me/pdf2docbot
Please open Telegram to view this post
VIEW IN TELEGRAM
pdf2word.rar
849.6 KB
๐Ÿ›’ PDF faylni word (.docx) formatga o'girib beruvchi bot kodi

โœˆ๏ธ Bot tili: Uzbek ๐Ÿ‡บ๐Ÿ‡ฟ
๐Ÿ–ฅ Dasturlash tili: Python/Aiogram ๐Ÿ‘ฃ

๐Ÿ‘Œ @pdf2docbot bot kodi

๐Ÿ”ต Parol: @iCoderNet
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘2
Forwarded from Kripton Blog
Avvallari yuqoridagiga o'xshagan kodlarga qarar edimda "Nega hamma shunaqa yozadi? Axir buni osonroq va qulayroq qilsa bo'ladiku" deb o'ylardim. Hozir esa buning sababini bildim. Agar e'tibor bersangiz telegramdagi hamma "BOMBA" kodlar deyarli bir xil, lekin har xil odamlar tomonidan yozilgan. Barchasi bir-biridan o'rnak oladi. Boshqa o'rnak oladigan odam ham yo'qda. Bo'lsa ham kam.
Shu sababli menda ham o'zbek php dasturchiligiga o'z hissamni qo'shish fikri tug'ildi. Yuqoridagi kabi kodlarni qanday qilib qulayroq yozishni o'z tajribamdan kelib chiqib kanalda yoritmoqchiman. Bunga siz nima deysiz?
text-editor-notepad-python-code.zip
33.4 KB
๐Ÿ’ซ TEXT EDITOR DASTURI

๐Ÿ–ฅ Pyhton / TK

๐ŸŸข Sodda ko'rinishdagi faylni tahrirlash saqlash mumkin bo'lgan dastur kodi

โœ…๏ธ @iCoderNet
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ”  KELING UZUN URL MANZILLARNI QISQARTIRISHNI PYTHON DASTURLASH TILIDA KO'RIB CHIQAMIZ

URL-Shortner

๐Ÿ–ฅ Avvalo kerakli moduleni yuklab olamiz:
! pip install pyshorteners

๐Ÿ’Ž Endi kodini yozishni boshlaymiz:

โ—๏ธ Moduleni chaqiramiz va qisqartirib sh deb olamiz:
import pyshorteners as sh

โ• Foydalanuvchidan URLni olamiz:
link = input("URL: ")

โ—๏ธ Shortener classni chaqiramiz:
s = sh.Shortener()

โ• Bizga kerakli classning short(url) methodga linkni kiritamiz:
shl = s.tinyurl.short(link)

โ—๏ธ Endi ekranga chiqarib qo'ysak bo'ldi:
print(shl)

โ„น๏ธ Endi dasturni ishga tushirsak bo'ladi.

๐Ÿ”ด INPUT : https://medium.com/analytics-vidhya/create-url-shortner-with-python-50129714f044
๐ŸŸข OUTPUT : https://tinyurl.com/ya3qwump

โ†–๏ธ Dastur to'liq kodi commentda

๐Ÿ”Š @iCoderNet
Please open Telegram to view this post
VIEW IN TELEGRAM
โค72๐ŸŒš1
๐Ÿฅฐ KELINGLAR BUGUN RASMLARI ORQA FONINI OLIB TASHLASHNI PYTHON DASTURLASH TILIDA BAJARAMIZ

๐ŸŒ Doimgidek kerakli modullarni yuklab olamiz:
๐Ÿ”… pip install rembg
๐Ÿ”… pip install pillow

๐Ÿ“ฑ Endi dasturimizni yozishni boshlaymiz:

โž• Modullardan kerakli funksiyalarni chaqirib olamiz:
from rembg import remove
from PIL import Image

๐Ÿฆ‹ Endi Image funksiyasi orqali ochib olamiz:
input = Image.open("./input.jpg")

โœ๏ธ Yuqoridagi remove() funksiyaga orqali hozirgi rasmni biriktiramiz va dastur orqa fonni olib tashlaydi:
output = remove(input)

๐Ÿ’ซ Endi rasmni saqlab olamiz:
output.save("output.jpg")

๐Ÿ’ฅ
Barchasi tayyor dasturni ishga tushiramiz dasturimiz yonida output.jpg orqa foni olib tashlangan holda turadi

โ†–๏ธ Dastur to'liq kodi commentda

โœ… @iCoderNet
๐Ÿ‘4๐ŸŒญ2
Forwarded from Kings Of Python (XUDOBERDI GAYRATOV)
pytube-save-youtube-master.zip
55.5 KB
Youtubeda Music va Video yuklaydigon kod Videlarni avto HD Formatda yuklaydi

Modullar o'rnatish :
pip install pytube
pip install aiogram
pip install environs

Dasturchi : @MistrUz
Manba : @Kingsofpy

๐Ÿ”น Kanalimizga a'zo bo'lishni unutmang๐Ÿ‘‡๐Ÿฝ
โœจ@KingsOfPy ๐Ÿ˜Š
๐Ÿ”ฅ2
โŒจ๏ธ Pyhton dasturlash tilida kompyuterni o'chirish kodi

๐Ÿ”Ÿ WINDOWS:
import os
os.system("shutdown /s /t 0")

๐Ÿ–ฅ LINUX:
import os
os.system('sudo shutdown now')

๐Ÿ–ฅ
Malumot uchun: os.system() moduli terminalga kiritiladigan commandarni ishga tushirish uchun ishlatiladi

๐Ÿ’Ž @iCoderNet
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ‘จโ€๐Ÿ’ป3๐Ÿ’ฏ2๐Ÿ‘1๐Ÿ”ฅ1๐Ÿ‘1