- Python Django Tutorial: Full-Featured Web App Part 3 - Templates

Python Django Tutorial: Full-Featured Web App Part 3 - Templates

In this Python Django Tutorial, we will be learning how to use templates to return more complex HTML to the browser. We'll also see how we can pass variables to our templates as context. Let's get started...

The code for this series can be found at:
https://github.com/CoreyMSchafer/code_snippets...
In this Python Django Tutorial, we will be learning how to use templates to return more complex HTML to the browser. We'll also see how we can pass variables to our templates as context. Let's get started...

The code for this series can be found at:
https://github.com/CoreyMSchafer/code_snippets/tree/master/Django_Blog

Snippets:
https://github.com/CoreyMSchafer/code_snippets/tree/master/Django_Blog/snippets

Bootstrap Starter Template:
https://getbootstrap.com/docs/4.0/getting-started/introduction/#starter-template


✅ Support My Channel Through Patreon:
https://www.patreon.com/coreyms

✅ Become a Channel Member:
https://www.youtube.com/channel/UCCezIgC97PvUuR4_gbFUs5g/join

✅ One-Time Contribution Through PayPal:
https://goo.gl/649HFY

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist
http://a.co/inIyro1

✅ Equipment I Use and Books I Recommend:
https://www.amazon.com/shop/coreyschafer

▶️ You Can Find Me On:
My Website - http://coreyms.com/
My Second Channel - https://www.youtube.com/c/coreymschafer
Facebook - https://www.facebook.com/CoreyMSchafer
Twitter -
Instagram - https://www.instagram.com/coreymschafer/

#Python #Django

#python #django #django 2 #django 2.0 #django 2.1 #django version 2 #python django 2 #django tutorial #python django tutorial #django templates #django templating engine #django html #django render #corey schafer #django tutorial for beginners #python programming #static files #django css #django javascript #django static files
- templates - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

- templates

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:01:03 - 00:03:25
@ if people using Atom as an editor,  install emmet in the atom, it has all the shortcuts for HTML. In order to get a minimal HTML  type ! and press tab - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

@ if people using Atom as an editor, install emmet in the atom, it has all the shortcuts for HTML. In order to get a minimal HTML type ! and press tab

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:02:55 - 00:45:45
- install app - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

- install app

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:03:25 - 00:05:21
PLS help dont we have to us the os module to feed the path into the DIR key in the TEMPLATES dictionary - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

PLS help dont we have to us the os module to feed the path into the DIR key in the TEMPLATES dictionary

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:04:34 - 00:45:45
- load & render template - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

- load & render template

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:05:21 - 00:09:49
At  I was getting template does not exist error'DIRS': [os.path.join(BASE_DIR,'blogsapp/temp')],I did this in settings.py in templatewhere blogsapp is my app_name and temp is template folder - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

At I was getting template does not exist error'DIRS': [os.path.join(BASE_DIR,'blogsapp/temp')],I did this in settings.py in templatewhere blogsapp is my app_name and temp is template folder

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:06:58 - 00:45:45
For anyone going through this amazing program today, around  you might get an error regarding the directory. Just get rid of the blog/ as you no longer need it. - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

For anyone going through this amazing program today, around you might get an error regarding the directory. Just get rid of the blog/ as you no longer need it.

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:06:59 - 00:45:45
I did step by steps as you said,but in  when I try to run server, I get errors! - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

I did step by steps as you said,but in when I try to run server, I get errors!

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:07:30 - 00:45:45
@ When u reload, how did the home page become the blog home? I am getting an error when I run localhost:8000. But when I run localhost:8000/blog, I am getting the home page of the blog. - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

@ When u reload, how did the home page become the blog home? I am getting an error when I run localhost:8000. But when I run localhost:8000/blog, I am getting the home page of the blog.

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:07:38 - 00:45:45
TemplateDoesNotExist  error at . I'm using python3.9 and django 3.x. Any ideas? - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

TemplateDoesNotExist error at . I'm using python3.9 and django 3.x. Any ideas?

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:07:40 - 00:45:45
- display data in template - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

- display data in template

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:09:49 - 00:21:20
create dummy data - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

create dummy data

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:10:36 - 00:34:25
Hey Corey at  you create a variable named 'context' and set it equal to the 'post' variable you made immediately before. My question is why do we need this 'context' variable? Couldn't we just pass in the 'post' variable as the third argument to the render function? Your tutorials are the best. Cheers. - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

Hey Corey at you create a variable named 'context' and set it equal to the 'post' variable you made immediately before. My question is why do we need this 'context' variable? Couldn't we just pass in the 'post' variable as the third argument to the render function? Your tutorials are the best. Cheers.

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:12:40 - 00:45:45
line 20. whats the logic of putting the posts list of dictionaries into another dictionary. Instead of just inserting the posts list object into the render function directly?also, thank you corey schafer!!! - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

line 20. whats the logic of putting the posts list of dictionaries into another dictionary. Instead of just inserting the posts list object into the render function directly?also, thank you corey schafer!!!

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:12:40 - 00:45:45
Great tutorial...! But there was this weird "IndentationError: unindent does not match any outer indentation level" issue at ... so i declared my context variable outside home view declaration. - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

Great tutorial...! But there was this weird "IndentationError: unindent does not match any outer indentation level" issue at ... so i declared my context variable outside home view declaration.

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:13:01 - 00:45:45
Great tutorial! BTW  @  in django 2.1.2, context should be a dict, not a dict enclosed in a list. - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

Great tutorial! BTW @ in django 2.1.2, context should be a dict, not a dict enclosed in a list.

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:15:12 - 00:45:45
Got to , no syntax errors and the page is simply blank. Pretty sure everything is correct and the same up to this point. Any ideas? - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

Got to , no syntax errors and the page is simply blank. Pretty sure everything is correct and the same up to this point. Any ideas?

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:16:30 - 00:45:45
In the recap at   could somebody clarify why the new dictionary  'context' was created to call the posts list of dictionaries. I am new to Python so apologies if I am missing a basic concept here...  Thanks! - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

In the recap at could somebody clarify why the new dictionary 'context' was created to call the posts list of dictionaries. I am new to Python so apologies if I am missing a basic concept here... Thanks!

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:16:57 - 00:45:45
If anyone had issues around  with getting the posts and context to display, the issue is that "context" is a keyword for the function. You can either pass an argument like return render(request, 'blog/home.html', context=context) or just rename it eturn render(request, 'blog/home.html', context1) - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

If anyone had issues around with getting the posts and context to display, the issue is that "context" is a keyword for the function. You can either pass an argument like return render(request, 'blog/home.html', context=context) or just rename it eturn render(request, 'blog/home.html', context1)

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:17:00 - 00:45:45
At , I stuck at a point, can we use both title and context in the return rendure(). If yes how?I tried with both but either context or title is working(i.e, giving priority to the first mentioned statement), not sure why.Help would be appreciated. - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

At , I stuck at a point, can we use both title and context in the return rendure(). If yes how?I tried with both but either context or title is working(i.e, giving priority to the first mentioned statement), not sure why.Help would be appreciated.

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:20:08 - 00:45:45
- template inheritance - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

- template inheritance

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:21:20 - 00:26:16
- bootstrap - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

- bootstrap

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:26:16 - 00:32:14
https://getbootstrap.com/docs/4.0/getting-started/introduction/#starter-template - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

https://getbootstrap.com/docs/4.0/getting-started/introduction/#starter-template

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:28:43 - 00:45:45
How to get those h1 and p tags to indent like that? For me they're not indenting properly - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

How to get those h1 and p tags to indent like that? For me they're not indenting properly

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:32:00 - 00:45:45
- snippet files - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

- snippet files

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:32:14 - 00:34:23
- static file - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

- static file

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:34:23 - 00:41:55
custom css / static directory - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

custom css / static directory

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:34:25 - 00:45:45
I made a mistake at  and put the static directory in the templates/blog directory not in the root directory of the blog. After fixing that i got it working correctly. - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

I made a mistake at and put the static directory in the templates/blog directory not in the root directory of the blog. After fixing that i got it working correctly.

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:35:00 - 00:45:45
Around the  mark I received issues with loading the css. For anybody with this problem, it looks as if bootstrap have updates their css so I just copied the bootstrap part from base.html (from his github repo) instead of from the bootstrap starter page. - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

Around the mark I received issues with loading the css. For anybody with this problem, it looks as if bootstrap have updates their css so I just copied the bootstrap part from base.html (from his github repo) instead of from the bootstrap starter page.

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:36:00 - 00:45:45
blog/main .css wasnt working for me so i tried /blog/main.css and it works now. i inspected element and it told me where the problem was (i dont know if this will cause issues later or something but it works fine for me) - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

blog/main .css wasnt working for me so i tried /blog/main.css and it works now. i inspected element and it told me where the problem was (i dont know if this will cause issues later or something but it works fine for me)

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:37:28 - 00:45:45
hey man the issue you were having @ i cant able to solve even after restarting the server.please guide me through this ...thanks - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

hey man the issue you were having @ i cant able to solve even after restarting the server.please guide me through this ...thanks

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:37:59 - 00:45:45
*to anyone running into trouble around **** with the css:* what worked for me was to replace the line _<link rel="stylesheet" type="text/css" href="{% static 'blog/static/main.css' %}">_ with _<link rel="stylesheet" type="text/css" href="{% static 'blog/main.css' %}">_ (if you followed him exactly with setting up directories) - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

*to anyone running into trouble around **** with the css:* what worked for me was to replace the line _<link rel="stylesheet" type="text/css" href="{% static 'blog/static/main.css' %}">_ with _<link rel="stylesheet" type="text/css" href="{% static 'blog/main.css' %}">_ (if you followed him exactly with setting up directories)

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:38:00 - 00:45:45
Hey guys i know some of you are having issues with your main.css loading at around . There are two things to look out for here.1. Make sure you typed your link tag correctly: <link rel="stylesheet" type="text/css" href="{% static 'blog/main.css' %}">2. Make sure you are in debug mode: in settings.py, DEBUG = True, and ALLOWED_HOSTS = [].If you are deploying it with DEBUG = False, then you should read this documentation on deploying static files: https://docs.djangoproject.com/en/3.2/howto/static-files/deployment/ - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

Hey guys i know some of you are having issues with your main.css loading at around . There are two things to look out for here.1. Make sure you typed your link tag correctly: <link rel="stylesheet" type="text/css" href="{% static 'blog/main.css' %}">2. Make sure you are in debug mode: in settings.py, DEBUG = True, and ALLOWED_HOSTS = [].If you are deploying it with DEBUG = False, then you should read this documentation on deploying static files: https://docs.djangoproject.com/en/3.2/howto/static-files/deployment/

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:38:00 - 00:45:45
If you're having trouble with the css around  and have already tried the solutions in the comments, double check your code. Odds are you probably missed something when you were doing all that copying and pasting. (I missed the final </scripts> of the starter bootstrap template) - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

If you're having trouble with the css around and have already tried the solutions in the comments, double check your code. Odds are you probably missed something when you were doing all that copying and pasting. (I missed the final </scripts> of the starter bootstrap template)

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:38:00 - 00:45:45
Lads, I also had a problem at , be careful when you create 'static' folder to add it under the correct 'blog' (not the 'blog' within 'templates'). Love the videos Correy (ps could you make some videos on ipywidgets?) - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

Lads, I also had a problem at , be careful when you create 'static' folder to add it under the correct 'blog' (not the 'blog' within 'templates'). Love the videos Correy (ps could you make some videos on ipywidgets?)

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:38:00 - 00:45:45
and face an error like in , make sure your bootstrap is v4.5. bcs in this tutorial the bootstrap is v4.0, that's why you have overlap navbar - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

and face an error like in , make sure your bootstrap is v4.5. bcs in this tutorial the bootstrap is v4.0, that's why you have overlap navbar

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:38:00 - 00:45:45
so i was stuck with the nav bar issue at  as well as most of you and i found out that its because i stored the static folder in the wrong folder. it should be in the first blog directory(folder) alongside templates and migration. not in the templates folder. I hope that helps. - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

so i was stuck with the nav bar issue at as well as most of you and i found out that its because i stored the static folder in the wrong folder. it should be in the first blog directory(folder) alongside templates and migration. not in the templates folder. I hope that helps.

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:38:00 - 00:45:45
@ not able to link css what might be the reason ? link tag is crct and creation of files is also crctEDIT : i made this crct ..should be  type="text/css"( as shown video) - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

@ not able to link css what might be the reason ? link tag is crct and creation of files is also crctEDIT : i made this crct ..should be type="text/css"( as shown video)

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:38:02 - 00:45:45
I followed the same main.css code, however I don't see my page getting page proper () even after restarting django server.any further idea on how to change the website rendering ? - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

I followed the same main.css code, however I don't see my page getting page proper () even after restarting django server.any further idea on how to change the website rendering ?

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:38:05 - 00:45:45
at  you've loaded up the webpage again and your login and register are outlined to the right, mine is still centered with the others. I've copied your css, what am I doing wrong here? - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

at you've loaded up the webpage again and your login and register are outlined to the right, mine is still centered with the others. I've copied your css, what am I doing wrong here?

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:38:46 - 00:45:45
I wasn't getting the content to show up when I got to , turns out dictionaries are case sensitive. I had 'Content' :  'first post content'  instead of 'content' : 'first post content' - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

I wasn't getting the content to show up when I got to , turns out dictionaries are case sensitive. I had 'Content' : 'first post content' instead of 'content' : 'first post content'

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:40:02 - 00:45:45
- URL tag - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

- URL tag

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:41:55 - 00:45:45
For those who are seeing errors  following the last part of the video (around ),  the base template  part href  = "{%  url  < insert some url here >  %}" , it is probably because of the Django version used in the video being outdated. Newer Django versions require  the addition of a namespace to the paths in the urls.py files (both project and app ones). - Python Django Tutorial: Full-Featured Web App Part 3 - Templates

For those who are seeing errors following the last part of the video (around ), the base template part href = "{% url < insert some url here > %}" , it is probably because of the Django version used in the video being outdated. Newer Django versions require the addition of a namespace to the paths in the urls.py files (both project and app ones).

Python Django Tutorial: Full-Featured Web App Part 3 - Templates
2018年09月01日 
00:42:00 - 00:45:45

Corey Schafer

※本サイトに掲載されているチャンネル情報や動画情報はYouTube公式のAPIを使って取得・表示しています。

Timetable

動画タイムテーブル

動画数:236件

how to override existing environment variables. (This is new to me) - Python Tutorial: Securely Manage Passwords and API Keys with DotEnv

how to override existing environment variables. (This is new to me)

Python Tutorial: Securely Manage Passwords and API Keys with DotEnv
2024年04月18日  @JorgeEscobarMX 様 
00:10:42 - 00:16:58
the future spoken is my current present. Unless I'm completely desperate, I'm not hitting reddit or google/stack overflow for most roadblocks. - How to Use ChatGPT as a Powerful Tool for Programming

the future spoken is my current present. Unless I'm completely desperate, I'm not hitting reddit or google/stack overflow for most roadblocks.

How to Use ChatGPT as a Powerful Tool for Programming
2023年05月22日  o k t o b e r 様 
00:12:22 - 00:31:08
Good video as always😉  I remember asking that too lol - How to Use ChatGPT as a Powerful Tool for Programming

Good video as always😉 I remember asking that too lol

How to Use ChatGPT as a Powerful Tool for Programming
2023年05月22日  kami 様 
00:28:19 - 00:31:08
@ - pure gold, pure gold! <3 - How to Use ChatGPT as a Powerful Tool for Programming

@ - pure gold, pure gold! <3

How to Use ChatGPT as a Powerful Tool for Programming
2023年05月22日  ulf gjerdingen 様 
00:28:26 - 00:31:08
You almost had me there haha! ChatGPT can be wrong but it certainly wasn't wrong about those top notch resources! I massively appreciate all the uploads and I hope they keep coming supercharged with Chat GPT. Thanks to you, sentdex, techwithtim and Dennis Ivy I now know how to properly code on python, use git for version control and build a functional website. - How to Use ChatGPT as a Powerful Tool for Programming

You almost had me there haha! ChatGPT can be wrong but it certainly wasn't wrong about those top notch resources! I massively appreciate all the uploads and I hope they keep coming supercharged with Chat GPT. Thanks to you, sentdex, techwithtim and Dennis Ivy I now know how to properly code on python, use git for version control and build a functional website.

How to Use ChatGPT as a Powerful Tool for Programming
2023年05月22日  Uj Vag 様 
00:28:42 - 00:31:08
and it's  am here (south east asia), and idk why I'm watching a python tutorial rather than sleeping 😂 - Python Tutorial: Simulate the Powerball Lottery Using Python

and it's am here (south east asia), and idk why I'm watching a python tutorial rather than sleeping 😂

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  X 様 
00:02:49 - 00:38:56
… nice… 😂 - Python Tutorial: Simulate the Powerball Lottery Using Python

… nice… 😂

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  Bartosz Turkowyd 様 
00:04:50 - 00:38:56
I've seen every Python video you've made....   first innuendo. 😜 - Python Tutorial: Simulate the Powerball Lottery Using Python

I've seen every Python video you've made.... first innuendo. 😜

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  Martin Beaudry 様 
00:04:52 - 00:38:56
Man it's  am in India I am lucky to be the first one to hear your voice god bless you brother and an awesome teacher. - Python Tutorial: Simulate the Powerball Lottery Using Python

Man it's am in India I am lucky to be the first one to hear your voice god bless you brother and an awesome teacher.

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  Big Samosa 様 
00:12:15 - 00:38:56
# you can also use the built-in pprint module for pretty printing dictionaries ;) - Python Tutorial: Simulate the Powerball Lottery Using Python

# you can also use the built-in pprint module for pretty printing dictionaries ;)

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  Schoenling Wunderbar 様 
00:25:00 - 00:38:56
it would be very interesting to see if there could be a step function where this algorithm can simulate the increases in jackpot winnings. It’s going to be one in 292+ million of a chance that you hit it at all much less multiple times, but the code should be interesting to see. - Python Tutorial: Simulate the Powerball Lottery Using Python

it would be very interesting to see if there could be a step function where this algorithm can simulate the increases in jackpot winnings. It’s going to be one in 292+ million of a chance that you hit it at all much less multiple times, but the code should be interesting to see.

Python Tutorial: Simulate the Powerball Lottery Using Python
2023年01月10日  20 80 様 
00:27:43 - 00:38:56
A OAuth Django video would be awesome!(Applicable to all sorts of OAuth situations, not just the YouTube API.) - Python YouTube API Tutorial: Using OAuth to Access User Accounts

A OAuth Django video would be awesome!(Applicable to all sorts of OAuth situations, not just the YouTube API.)

Python YouTube API Tutorial: Using OAuth to Access User Accounts
2020年09月10日 
00:07:58 - 00:43:21
At  you move the file and see some blurred miniature version of your open folders in the dock. How did you enable that? - Python YouTube API Tutorial: Using OAuth to Access User Accounts

At you move the file and see some blurred miniature version of your open folders in the dock. How did you enable that?

Python YouTube API Tutorial: Using OAuth to Access User Accounts
2020年09月10日 
00:09:58 - 00:43:21
In case you are getting Error 403 ("access_denied The developer hasn’t given you access to this app") go to the OAuth consent screen and under Test Users add your email by clicking on Add Users.  You should be able to grant access after you've added User. - Python YouTube API Tutorial: Using OAuth to Access User Accounts

In case you are getting Error 403 ("access_denied The developer hasn’t given you access to this app") go to the OAuth consent screen and under Test Users add your email by clicking on Add Users. You should be able to grant access after you've added User.

Python YouTube API Tutorial: Using OAuth to Access User Accounts
2020年09月10日 
00:19:36 - 00:43:21
@corey  So why did you add the join function here, when appending the video id to the list its already a list and its working for me when I pass the vid_ids directly - Python YouTube API Tutorial: Calculating the Duration of a Playlist

@corey So why did you add the join function here, when appending the video id to the list its already a list and its working for me when I pass the vid_ids directly

Python YouTube API Tutorial: Calculating the Duration of a Playlist
2020年06月11日 
00:11:24 - 00:37:38
TypeError: expected string or bytes-like object, I am taking this error in , any idea? - Python YouTube API Tutorial: Calculating the Duration of a Playlist

TypeError: expected string or bytes-like object, I am taking this error in , any idea?

Python YouTube API Tutorial: Calculating the Duration of a Playlist
2020年06月11日 
00:18:50 - 00:37:38
(I love that "Whoops that went too well"-moment at  :D) - Python Tutorial: Real World Example - Using Patreon API and Pillow to Automate Image Creation

(I love that "Whoops that went too well"-moment at :D)

Python Tutorial: Real World Example - Using Patreon API and Pillow to Automate Image Creation
2020年05月11日 
00:35:19 - 00:52:33