from datetime import datetime
import pytz
# Specify the UTC time
utc_time = datetime.strptime('10:00', '%H:%M').time()
# Create timezone objects for UTC and IST
utc_timezone = pytz.timezone('UTC')
ist_timezone = pytz.timezone('Asia/Kolkata')
# Set the date to today (or any specific date)
current_date = datetime.now().date()
# Combine the date and UTC time
utc_datetime = utc_timezone.localize(datetime.combine(current_date, utc_time))
# Convert the time to IST
ist_datetime = utc_datetime.astimezone(ist_timezone)
# Extract the IST time in the desired format
ist_time = ist_datetime.strftime('%H:%M')
# Print the converted time
print(ist_time)