7:10 the answer is print( calendar.monthcalendar([year], [month], [width]) E.G: print(calendar.monthcalendar(2021, 4, 3) prints April 2021 with the weekdays width as mon, tue, wed. Hope it helps
20:10 so the way leap years work is every 4 years, unless the year is divisible by 100, in that case, it's not a leap year, unless the year is divisible by 400 then it is. so basically from 2000 to 3000 the years that are skipped are: 2100 2200 2300 2500 2600 2700 2900
@@CleverProgrammer Lol, there's a great math-comedian named "Matt Parker" that has a great video explaining the different rules about leap years, it's definitely worth looking it up.
@@CleverProgrammer Hello, about some stuff that improve the calendar module, you can' try something like a CSS interaction with, HTML and XML outputs ... like a todo event .. :-)
print(calendar.month (2020, 12, 4)) That's what I used to show 3 letters. It resizes the calendar, so the number 4 is for size, if you put 10 instead 4 for example, it shows the entire name of the week days.
Definitely stoked to finally have a grasp for this class module, however now I'm trying to understand how to make functions using "for" and "while loops to call for the user to input their own custom calendars.
Haha, Aaron takes over this channel, I love it he is hilarious! Thanks for the video man you can actually do something similar with Unix shell scripting displaying the calendar as well and excited about the Automation course. We want to see more of you!
Wowwwwsome teaching. Leap year is every next 4th year. Year 2001 to 2100 has total 25 leap days. In Python we should give range in between 2001 to 2101. Ke. Gets 25
To get rid of the annoying errors on that website use import os and then do os.system(“clear”) if you are on Linux, but if you have python installed on your computer and have windows you will do os.system(“cls”) Example: import os os.system(“clear”) print(“Hey!”) P.s you can also just do os.system(“clear||cls”)
A Leap Year has 366 Days in a year not 364 and the month of February has one more day not one less. Short version is February 29 is on a leap year only.
Sir, I love your channel, I learned so many things in python. I just want to get an idea how to create a chatbot, because, it is necessary for my final year project.
Leap years occur every 4 years except every 100 years except every 400 years. So the year 2000 is a leap year but 1900 and 2100 aren’t leap years. Lol this was a programming challenge I had in my Python course.
Hello! I’m looking to create a function to create a schedule for a training course based on some parameters (format, start date, etc) Like basically only put the start date and the end date would be given taking bank holidays weekdays etc into account. Has anyone worked on this ?
How do I get my screen to look like this? How do you decorate it with interactive HD graphics that change with every time you access it or click something & make it accessible between phones and computers???
The module calendar is not installed in your system. You can try 'pip install calendar' or python3 -m pip install calendar. If your pip doesn't work, there are various videos on how to install pip
I have an idea make a tutorial that no one had ever made on youtube like show as how to make login page using technology like python django,html,css,javascript,bootstraps. This video will provide tone of value to as . I hope you will think about this. -MR.k
Quick DUMBO question: Is it possible to have reptl as offline? I mean, there's Pycharm, VSCode, Atom, The text editor (like the one in Gnome), this other editor I can't remember, etc. Still, I just want to know, for the gimmick, because why not, if I can run reptl offline.
Not trying to hate, but you guys need scripts. I think it would improve your videos. (Though I can't be talking since I don't use any for mines but since this is a tutorial, I thought you might need a script)
import calendar
from datetime import datetime
print([calendar.monthcalendar(datetime.now().year, month) for month in range(1, 13)])
So few likes for such a clean and practical answer.
@@singularity1130 thanks
A single tear drips down my cheek.
7:10 the answer is print( calendar.monthcalendar([year], [month], [width])
E.G: print(calendar.monthcalendar(2021, 4, 3) prints April 2021 with the weekdays width as mon, tue, wed. Hope it helps
20:10 so the way leap years work is every 4 years, unless the year is divisible by 100, in that case, it's not a leap year, unless the year is divisible by 400 then it is. so basically from 2000 to 3000 the years that are skipped are:
2100
2200
2300
2500
2600
2700
2900
I blame Trump. lol
Also thanks for taking the time to look that up! That’s fascinating. Keep filling in my gaps of knowledge! lol
- Aaron
@@CleverProgrammer Lol, there's a great math-comedian named "Matt Parker" that has a great video explaining the different rules about leap years, it's definitely worth looking it up.
"Camera guy coming in clutch" 😂 - Qazi
Thank you Frankie. - Aaron
@@CleverProgrammer Hello, about some stuff that improve the calendar module, you can' try something like a CSS interaction with, HTML and XML outputs ... like a todo event .. :-)
Are you Õzbek(Uzbek)
11:31 Year Matrix
def year_matrix(y, m = 13):
for i in range(1, m):
print(calendar.monthcalendar(y, i))
year_matrix(2019)
print(calendar.month (2020, 12, 4))
That's what I used to show 3 letters. It resizes the calendar, so the number 4 is for size, if you put 10 instead 4 for example, it shows the entire name of the week days.
add w-3 to show Mon, Tue , Wen, Thu, Fri, Sat, Sun :) Hope it helps. BTW awesome tutorial
thank you so much
Oh yeah Clever Programmer wingman is back!!
I like to call myself Robin.
.....With baggage
lol
- Aaron
@@CleverProgrammer 😂
My goal is to become like you guys. Love you Qazi and Aaron 😎😋
You are already like us, Leo. STAY COOL MAN. ❄️☃️
- Aaron
@@CleverProgrammer That means a lot Robin sir
Your videos are actually entertaining, I love those little random comments :3
14:53 Every leap year there is one more day to February. Not a day less.
Thanks for clearing that up!
@@CleverProgrammer You're welcome
Definitely stoked to finally have a grasp for this class module, however now I'm trying to understand how to make functions using "for" and "while loops to call for the user to input their own custom calendars.
Keep going through our coding courses on RUclips! It'll click.
Great Aaron is back !!
That’s right 😎
- Aaron
Amazing tutorial thanks all teacher.
I love your channel.
Thanks man! 💯 So do we haha
6:18
print(calendar.month(2024, 7, 3))
Haha, Aaron takes over this channel, I love it he is hilarious! Thanks for the video man you can actually do something similar with Unix shell scripting displaying the calendar as well and excited about the Automation course. We want to see more of you!
Yeah I’m taking over. Gotta take down the competition from the inside, you know?
- Aaron, CEO of the Code Babes channel
(joke)
@@CleverProgrammer Haha! EPIC as always!
Best channel!
Best comment!
- Aaron
"How to automate stuff with python"
Yes please!!!
Shashikanth P automate the boring stuff with python..
Wowwwwsome teaching. Leap year is every next 4th year. Year 2001 to 2100 has total 25 leap days.
In Python we should give range in between 2001 to 2101. Ke. Gets 25
To get rid of the annoying errors on that website use import os and then do os.system(“clear”) if you are on Linux, but if you have python installed on your computer and have windows you will do os.system(“cls”)
Example:
import os
os.system(“clear”)
print(“Hey!”)
P.s you can also just do os.system(“clear||cls”)
Oh 🙏🏻 thank you. You’re teaching ME now lol.
- Aaron
Clever Programmer lol
It would have been better to simply keep the camera on python console.
cool Stuff!
A Leap Year has 366 Days in a year not 364 and the month of February has one more day not one less. Short version is February 29 is on a leap year only.
Hey I finished with your 1st video on your master class program but it didn't unlock 2nd video plz help
Damn this guy clever
THIS MAN IS HILARIOUS LMFAO
Sir, I love your channel, I learned so many things in python. I just want to get an idea how to create a chatbot, because, it is necessary for my final year project.
Thanks! I’m glad you’re getting value. As for the chatbot, I’ll look into it!
- Aaron
Leap years occur every 4 years except every 100 years except every 400 years. So the year 2000 is a leap year but 1900 and 2100 aren’t leap years. Lol this was a programming challenge I had in my Python course.
Hello!
I’m looking to create a function to create a schedule for a training course based on some parameters (format, start date, etc) Like basically only put the start date and the end date would be given taking bank holidays weekdays etc into account. Has anyone worked on this ?
ahah.. so funny you are guys =)
at 8:04, I was thinking about how come four zeroes appear in the first list of the matrix. later you cleared it Aaron :p
Yep! Just filler values.
- Aaron
How do I get my screen to look like this? How do you decorate it with interactive HD graphics that change with every time you access it or click something & make it accessible between phones and computers???
One question, why are you running all the code everytime? Can we just run the new code that we want?
Traceback (most recent call last):
File "main.py", line 1, in
import calender
ModuleNotFoundError: No module named 'calender'
The module calendar is not installed in your system. You can try 'pip install calendar' or python3 -m pip install calendar. If your pip doesn't work, there are various videos on how to install pip
its calendar not calender
Please sir, make a simple video on console based chat-bot for beginners from where we can get a clear idea on chat-bot from scratch
It’s on the idea list! Thanks for the video idea!
- Aaron
10:15, I’m watching this on Feb. 27 :0
I like your hair and Thank you.
Why do I have a feeling I'm listening to Lil pump while trying to learn something lol
GUCCI GRANDPA GLASSES GANG
- Aaron
Online platform is the best these days because people like you crack jokes in between and makes it fun. Thank you all for your valuable time❤️
Quazi sir
Increase the size in the editors setting from view tab plzz i am watching on mobile
I will! Sorry! Still learning.
- Aaron
You can do that in pycharm increase font size .
I have an idea make a tutorial that no one had ever made on youtube like show as how to make login page using technology like python django,html,css,javascript,bootstraps. This video will provide tone of value to as . I hope you will think about this.
-MR.k
Hi there, great vid!
a question for ya - in my country the week starts on sunday - how can i fix that in my code?
Just use your *IMAGINATION*
Quick DUMBO question: Is it possible to have reptl as offline? I mean, there's Pycharm, VSCode, Atom, The text editor (like the one in Gnome), this other editor I can't remember, etc. Still, I just want to know, for the gimmick, because why not, if I can run reptl offline.
How to open this Python compiler
I use PyCharm to write code
but I don't know how to write code for calendar there
i did it! w=3 uuu how genius am i ahaha
6:14 The 3rd variable was date 😁
Calender
Are you making fun of my spelling.
Or did I just make fun of ours... lol
- Aaron
@@CleverProgrammer nah man just thought it was funny, great video!
Your concern is hair rather than code ... Lookin' for another teacher!
Not trying to hate, but you guys need scripts.
I think it would improve your videos.
(Though I can't be talking since I don't use any for mines but since this is a tutorial, I thought you might need a script)
what do you mean? he's writing a script throughout the video.
I'm sorry I had to
@@jadude378 lol
Thanks for the input! Maybe we’ll try that again. Or I could just get better at not sucking 🙃
- Aaron
@@CleverProgrammerYou don't have to re-record it. Just, when you make future videos, use scripts.
i'm not gay but why u so smart and handsome too ? thank you
Where is qazi?? Aaron
Probably swimming in a sea of kittens and trail mix
- Aaron
10:14 Rip
Broooo is that a Billie Eilish merch you're wearing❤❤❤❤❤😍😍😍😍😍😍
10:39 lol
Design flaws, man. 🙄 (or woman)
- Aaron
Кто русский ❤️
Awh come on how can a programmer not know how to spell calendar ahahahah
how come you put calendar an a calendar appears. This not programming. HaHaha