▶️ Watch Entire Tkinter Playlist ✅ Subscribe To My KZbin Channel: bit.ly/2UFLKgj bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN
@kenhaley44 жыл бұрын
Your coordinate system (as illustrated at 4:24 and after) is upside down. The origin is in the upper left corner, not lower left. If you create a line from (0,0) to (200, 100), for example, it starts in the upper left corner and goes down and to the right. It didn't affect any of your examples, since they're all vertically symmetric about the middle of the canvas.
@stickydamper4 жыл бұрын
thanks
@jamespaz41033 жыл бұрын
Yah I noticed when I try it myself, and test bunch of shapes. I later figured the coordinate is upside down.
@auntikjeb66003 жыл бұрын
You are, by far, the coolest KZbin python teacher.....I mean your way of speaking and way of teaching is impeccable.Your endeavors are self rewarding. Anyone with no knowledge of programming can understand what does a certain line of code mean if s/he watches your video. Best of Luck man...Loved it....
@Codemycom3 жыл бұрын
Thanks! Appreciate that!
@garrett60643 жыл бұрын
Codes to draw a red line and says "Now let's run it." Cut to commercial for computer game with super cool graphics. Me: holy shit!
@mujassimjamal244 жыл бұрын
Thats what i need! I was huge confused about canvas and now my topic has cleared. Thank you so much sir ❤❤❤
@Codemycom4 жыл бұрын
Most welcome 😊
@brauliogarcia18362 жыл бұрын
I like the way you teach, thank you for sharing your knowledge!
@Codemycom2 жыл бұрын
Thanks for watching!
@patriciamanroe63713 жыл бұрын
Thank you, I'm going to college for my BS in Computer Science/Software Engineering and just took a course on Python.
@Codemycom3 жыл бұрын
Awesome
@kapibara24407 ай бұрын
A very interesting intro to Canvas!
@Codemycom7 ай бұрын
thanks!
@fizoolplayer4 жыл бұрын
Liked subscribed and shared, not just coz your great but also look a lot like one of best friends.
@Codemycom4 жыл бұрын
Ha, fun!
@asrajo57283 жыл бұрын
thanks codemy, you save my life..... 🙏🙏🙏
@Codemycom3 жыл бұрын
Happy to help
@funnyclips26962 жыл бұрын
It's just awesome! Even though my background is Urban planning and GIS, I always learned from your simplified tutorials. 👌🏿
@Codemycom2 жыл бұрын
Happy to hear it!
@Asifkhan-yn3ty3 жыл бұрын
Short + effective and helpful videos....Subscribed ✨
@Codemycom3 жыл бұрын
Thanks!
@akramelomrani87284 жыл бұрын
I just learned the pygame graph systeme and now I need to learn another one
@eutral Жыл бұрын
This is indeed a helpful tutorial, but you have flipped the Y-axis. Y-position is 0 at the top and increases as it goes towards the bottom
@josephlopez3484 жыл бұрын
Is the coordinate system platform or system dependent? I'm doing mine on Windows 10 on Python 3.8 and my 0,0 seems to be in the top left of the canvas when I experimented with different numbers.
@garrett60643 жыл бұрын
he drew it wrong and because he put it in the middle it didn't matter that it was from top or bottom. But upper left is always 0, 0.
@JoeMamaJunk2 жыл бұрын
Can you make a video on how to program a bucket/flood fill function that can be used on Tkinter canvases?
@demaischta11293 жыл бұрын
Thank you, great Tutorial! I did some testing and got confused with the cordinate-system. Y-axis goes down not up! So 0, 0 is the point at the top left corner not bottom left corner
@abhinavdubey80772 жыл бұрын
very informative video ..
@geetachavan2916 Жыл бұрын
this is so much helpful
@Codemycom Жыл бұрын
glad you enjoyed it!
@rolynx57873 жыл бұрын
Thanks for the guide.
@Codemycom3 жыл бұрын
Happy to help
@ntcellulartutorials11954 жыл бұрын
Thank you very much for all tutorials in the paid package do you have libusb, os module and Django covered?
@Codemycom4 жыл бұрын
I have many courses on Django, some things use os module marginally (but I don't have a course on just that), and no clue what libusb is. You can see all my courses listed on the homepage of Codemy.com and you can click on each one to get full details of what they're about.
@jokarjapan2 жыл бұрын
clear explains, thank you
@imanidioli2 жыл бұрын
Thanks a lot for your great content, since you explained on another video that a UI is a loop that is constantly rendering, is it possible to draw a shape shifting rectangle with dynamic coordinations?
@radhayamini97614 жыл бұрын
how to add a Label right Next to the canvas created? Like as Select File: Canvas Shape(ex:Rectangle) and next a Browse Button next to it
@Codemycom4 жыл бұрын
In the normal way you would add a label to a widget
@paulpaul60422 жыл бұрын
Hey Is that possible to put inside that canvas 2 random points (X) distance to a 1point moving (Y).. like Y moving inside randomly and we see distance to X points
@RyanDanielG3 жыл бұрын
feed the algorithm! great vid
@Codemycom3 жыл бұрын
Thanks!
@bcburnettcom3 жыл бұрын
since folks are still viewing this, could you please do an info box when the coordinate system is displayed that states its wrong!
@Codemycom3 жыл бұрын
huh?
@edwardayoub41824 жыл бұрын
this is really lit, thanks a lot!
@Codemycom4 жыл бұрын
Glad you like it!
@ejm2094 жыл бұрын
Great content man keep it up!
@Codemycom4 жыл бұрын
Thanks, will do!
@solybr22712 жыл бұрын
Hi, in my project i have to do it on video stream. Do you have any idea how can I do it please?
@Codemycom2 жыл бұрын
No, sorry I don't know what you mean.
@canozgur45494 жыл бұрын
Thats really good . Could you make program like somthing whick exactly work program .it is like your geography porgram.
@Codemycom4 жыл бұрын
Not sure what you mean...
@quaterman12706 ай бұрын
x coordinate starts on the left side and the y coordinates start at the top. Your x was correct but your y coordinate needs to sart at the top. Top is 0 and bottom is 200
@Codemycom6 ай бұрын
seemed to work fine in the video
@quaterman12706 ай бұрын
@@Codemycom of course it works, the coordinates of y are just wrong :D Did you not notice at 10:04 that your rectangle was not at the position you expected?
@infinitespace19823 жыл бұрын
Umm. I have a problem, the buttons that I have created in a frame don't recognize the root, hence when I try to destroy the root when clicking a button in the frame, it displays an error message: root.destroy() UnboundLocalError: local variable 'root' referenced before assignment Both the frame and the button are in the root.
@giorgibakuradze4 жыл бұрын
hi, can you record the video for Scrolling multiple window, not list, just window (with class). for example: I have one window with many buttons, So it needs Scroll. When I click on any buttons, I i pop up to a new window and it need to scroll there as well. In any case, you are the best
@Codemycom4 жыл бұрын
I don't have plans to do that anytime soon, sorry
@giorgibakuradze4 жыл бұрын
@@Codemycom looking forward
@Codemycom4 жыл бұрын
@@giorgibakuradze to what? lol
@pheart64 жыл бұрын
Would you like to make a playlist of c++ gui programming.
@Codemycom4 жыл бұрын
No, I don't use C++
@giovannimariotte49934 жыл бұрын
Awesome
@Codemycom4 жыл бұрын
Thanks!
@Zellos3767 ай бұрын
Thank you very much
@Codemycom7 ай бұрын
You are welcome
@somerandomgadzo4778 Жыл бұрын
Bro is Walter White. "I am the one who CODES"
@Codemycom Жыл бұрын
lol
@chief45363 жыл бұрын
How do you position the square
@asmeergillani29912 жыл бұрын
Can you please explain why you wrote my_canvas.create_rectangle
@Codemycom2 жыл бұрын
to create the rectangle
@domzcafe63053 жыл бұрын
How can i make curve lines
@Hamheadon2 жыл бұрын
Can you add labels to a canvas
@Codemycom2 жыл бұрын
Of course...I have videos on that in the playlist somewhere
@Mark007472 жыл бұрын
Could you let the user create custom lines with the cursor?
@Codemycom2 жыл бұрын
not sure what you mean
@Mark007472 жыл бұрын
@@Codemycom I mean this! kzbin.info/www/bejne/nF7XlYOpaZaNl8k
@Codemycom2 жыл бұрын
@@Mark00747 I don't have any videos on anything like that
@Mark007472 жыл бұрын
@@Codemycom I've fixed it with PyGame, but thanks anyway!
@kumkumslab58114 жыл бұрын
Sir please can you tell me that how to make qr generator
@Codemycom4 жыл бұрын
Sorry, I don't have any videos on that
@manishshah26943 жыл бұрын
when I write- my_canvas.create_line(0,300,200,100, fill = "red) it shows an error written as 'nonetype' object has no attribute 'create_line
@shubhamshinde56433 жыл бұрын
Check spelling of my_canvas in code
@synamalhan4273 жыл бұрын
if you have written .pack() on the same line as where you have created the canvas it will attribute nonetype to the object, trying packing it in the next line instead.
@darkiiq85273 жыл бұрын
How can i create a circle without it pixels appear in the edge
@adammax9902 Жыл бұрын
shouldn't the rectangle be closer to the bottom
@elysonpanolino54132 жыл бұрын
how do i put text in tkinter canvas
@Codemycom2 жыл бұрын
I have videos on that in the playlist
@lemonsquezy11 Жыл бұрын
TYSM!!!
@Codemycom Жыл бұрын
welcome!
@AnujSingh-jq5ob4 жыл бұрын
Thank you
@Codemycom4 жыл бұрын
You're very welcome!
@fernandohood55424 жыл бұрын
Glad the the co-ordinate system has 0,0 at the bottom left. Oppps not true.