Coding Together
Coding Together
  • Видео 49
  • Просмотров 20 949
2 Ways to Add a Progress Bar in Python - tqdm and alive-progress
In this video, you will learn two simple ways to add a progress bar to your Python script.
We will dive into the tqdm and the alive-progress modules.
⏰ Content
-----------------------------------------------------
0:00 intro
0:20 tqdm
3:55 alive-progress
🎥 My Video Suggestion
-----------------------------------------------------
How to use Open AI API in Python - Image to Text with GPT4o
⭐ ruclips.net/video/NVmNwD8RxJg/видео.html
🔗 Links
-----------------------------------------------------
🔗 tqdm Docs
tqdm.github.io/
🔗 alive-progress Docs
pypi.org/project/alive-progress/
Hashtags
#python #programming #coding #progressbar #progress
Просмотров: 469

Видео

How to use Open AI API in Python - Image to Text with GPT4o
Просмотров 194День назад
Want to master the OpenAI API for text-to-text and image-to-text tasks? Then this video is for you! Here's everything you need to know to get started. From obtaining an API key to creating your first response, using images in the API, and even building a simple Flask app with a web UI, this video has you covered. I hope you enjoy the video, and please feel free to share your feedback. 😊 🎥 My Vi...
How to Manage Environment Variables in .env Files in Python like a Pro
Просмотров 6714 дней назад
Hello Pythoneers 🧑🏽‍💻 In this video we’re diving into the world of environment variables using the dotenv module. Are you ready to streamline your project setup? If you want to handle variables like a pro, you’re in the right place! We’ll start with the basic setup and then explore the various files I’ve created to help you manage your environment variables efficiently. Whether you're a termina...
9 Tricks to Master Python PRINT Function!
Просмотров 28828 дней назад
Master Python's print() function with these 9 tricks! Learn how to format output, use special characters, print to files, and more. Perfect for anyone looking to improve their Python skills-watch now! ⏰ Content 0:00 Intro 0:20 the basics 0:46 end & sep 1:12 \t \""\ 1:42 f-string & format 2:33 Unicode 3:06 file=f 3:34 func 4:06 flush=True 4:49 repr() 🎥 Related Videos of Mine ⭐ ruclips.net/video/...
Master Python *args and **kwargs Like a Pro in Minutes!
Просмотров 55Месяц назад
Master Python *args and kwargs Like a Pro in Minutes!
How to Use the Gemini API in Python - Image-2-Text & Chat
Просмотров 2273 месяца назад
How to Use the Gemini API in Python - Image-2-Text & Chat
How to Use the Gemini API in Python!
Просмотров 3196 месяцев назад
How to Use the Gemini API in Python!
Python for Beginners - How to use LIST COMPREHENSION
Просмотров 1046 месяцев назад
Python for Beginners - How to use LIST COMPREHENSION
Create a Mouse Jiggler in Python: A Step-by-Step Tutorial
Просмотров 987 месяцев назад
Create a Mouse Jiggler in Python: A Step-by-Step Tutorial
React MUI for Beginners - How to embed Google Pay in your React App
Просмотров 4410 месяцев назад
React MUI for Beginners - How to embed Google Pay in your React App
React MUI for Beginners - How to create a Collapse Menu
Просмотров 30011 месяцев назад
React MUI for Beginners - How to create a Collapse Menu
React for Beginners - How to use React in VS Code
Просмотров 2611 месяцев назад
React for Beginners - How to use React in VS Code
Master Python in VS Code
Просмотров 29Год назад
Master Python in VS Code

Комментарии

  • @tomvondeek
    @tomvondeek Час назад

    i remember i school project back in something like 1996 or something, very first introduction in school to turbo pascal delphi. during that schoolyear we learned basic programming stuff and as a final had to program a hangman game, something like that. i wrote a progressbar loadingscreen. the progressbar itself was randomised to a total of 7.5 seconds, but how it got from start to end was random every time starting the code, i thought it was funny back then

  • @Cod1ngTogether
    @Cod1ngTogether 2 часа назад

    Do you use the filter function in Python? Or didnt you know about? 😮

  • @tonkyboy8920
    @tonkyboy8920 7 часов назад

    Good to know. 😊

  • @Cod1ngTogether
    @Cod1ngTogether 7 часов назад

    Did you know about the filter function in Python? 😅

  • @aonodensetsu
    @aonodensetsu День назад

    one downside to this video, it didn't even cover the simplest (and best) use of tqdm - wrapping an iterator for item in tqdm(qs): tqdm can infer the length of most iterators, and if it can't it will stil show the amount of work already done

    • @Cod1ngTogether
      @Cod1ngTogether День назад

      I get your point, and you're definitely right to some extent! It would have been simpler, with less code, and so on. qs = [1, 2, 3, 4, 5, 6, 7] for item in tqdm(qs, desc="progress bar", ascii="░X█", ncols=700): # Add processing/work here time.sleep(0.5) In this example, though, it's just harder to explain-for instance, when the .update() of the progress bar happens and how it works in general. That's why I decided to use the method I did. But hopefully, a lot of people will see your comment and learn from this approach too.

  • @Cod1ngTogether
    @Cod1ngTogether День назад

    Thanks for watching! Does this help you? Did you like it? Would you like to see how to use this progress bar in a real-life function, such as unzipping a file and transferring the files? Let me know!

  • @youssefouertani1457
    @youssefouertani1457 2 дня назад

    Thank you really helpful am not exactly a begginer but after 3 months i quit due to school i never knew that trick thank you

    • @Cod1ngTogether
      @Cod1ngTogether День назад

      You are welcome. 🤗 other languages often offer similar ways to do this. 😄

  • @Cod1ngTogether
    @Cod1ngTogether 2 дня назад

    Did this help to you? 😊

  • @ZymGamingCE15
    @ZymGamingCE15 4 дня назад

    I use HTML and C language, but this looks fun to learn too.

    • @Cod1ngTogether
      @Cod1ngTogether 3 дня назад

      Yeah Python can be fun, but maybe boring/ limited for an Master of C 🤪

  • @Cod1ngTogether
    @Cod1ngTogether 4 дня назад

    Do you use logging in your code? Let me know! 😄

  • @leonamnagel
    @leonamnagel 6 дней назад

    thank you

    • @Cod1ngTogether
      @Cod1ngTogether 6 дней назад

      You are welcome. 😄

    • @Cod1ngTogether
      @Cod1ngTogether 5 дней назад

      Hey buddy, if you are looking for a free alternative to Open AI its might worth to have a look at the Gemini API from Google. Not so powerful but free for a limited use. If you would like to check out my videos about it: How to Use the Gemini API in Python! ruclips.net/video/MdCW2tKhoJ8/видео.html How to Use the Gemini API in Python - Image-2-Text & Chat ruclips.net/video/5PuU3gEzdWk/видео.html

  • @Cod1ngTogether
    @Cod1ngTogether 11 дней назад

    How do you handle your env variables in your Projects?

  • @Cod1ngTogether
    @Cod1ngTogether 12 дней назад

    Did you already try out the openAI API in your projects? 😄

  • @its_stark
    @its_stark 13 дней назад

    I just do everything with pygame Progress bar slider whatever i need

  • @Cod1ngTogether
    @Cod1ngTogether 14 дней назад

    Do you use progress bars in your script?

  • @Cod1ngTogether
    @Cod1ngTogether 23 дня назад

    Exit Helpterminal by pressing „q“ while focus in the terminal.

  • @tonkyboy8920
    @tonkyboy8920 28 дней назад

    Didnt know print can do all this, lol. 😅

  • @michaelgagner7946
    @michaelgagner7946 Месяц назад

    Thank you and you should make a more detailed video but this one is great

    • @Cod1ngTogether
      @Cod1ngTogether 28 дней назад

      Hi michaelgagner, do you have anything specific in mind that you would like to see? Or would you like more general information about it?

  • @Cod1ngTogether
    @Cod1ngTogether Месяц назад

    This is Part 1 of things you need to know about the print() in Python. Part 2 coming on 10th Sept. If this was too fast for, a slower full view video with additional information coming soon.

  • @LandonShipman-iDzynes
    @LandonShipman-iDzynes Месяц назад

    That's a shame for your sake, but not anything that affects me personally... Still enjoy your videos. Any chance you might demonstrate how to create a slightly customized app with simple logic that allows the user to interact with an AI interface built with Python? Just something simple, any kind of feature, just interested in the basics of the structure and interface using Python. Or have you already covered something like this that I've overlooked?

    • @Cod1ngTogether
      @Cod1ngTogether Месяц назад

      Thats a good idea! I wanted to do a more advanced video about using the Open Ai API. O can add a section for exactly what you are asking for! I hope i can finish it until the end of the week. 😄

    • @LandonShipman-iDzynes
      @LandonShipman-iDzynes Месяц назад

      @@Cod1ngTogether SO AWESOME! I have been thinking about this since you asked me a couple months ago... took me a while to come up with something that will cover the main points but still be basic enough for a YT tutorial. It will help me take my skills closer to my goals. Thank you! Really looking forward to this one!!!

    • @Cod1ngTogether
      @Cod1ngTogether 20 дней назад

      Hi @LandonShipman here you go: How to Master Open AI API: 5 Steps for Image to Text Integration ruclips.net/video/yuegVnYr4Uo/видео.html I hip this helps you! 😄 tell me if you nerd more specific stuff.

    • @LandonShipman-iDzynes
      @LandonShipman-iDzynes 19 дней назад

      🎉❤🎉 I'm super excited, I actually have access to the Open AI API and this sounds like a great way to get started. This goes on my lesson plan for TODAY. I'll be happy to make more specific requests once I get started working towards my goals. They feel so close but just out of reach right now... this is a step back towards the right direction though and once I get a little practice and confidence - I'll run into issues and when I get stuck I'll ST🛑P and ask for directions instead of wandering around like a lost puppy. Super excited! I appreciate you taking the time to connect with your audience and I feel lucky to have discovered your classroom while it's still a little early!!!

  • @Cod1ngTogether
    @Cod1ngTogether Месяц назад

    Need any help? Feel free to ask :)

  • @Gaming726
    @Gaming726 Месяц назад

    Ternaries in themself are already questionable, but chaining them just makes them unnecesarily hard to read. Just because you can do something, doesn't mean that you should.

    • @Cod1ngTogether
      @Cod1ngTogether Месяц назад

      I completely agree with you. You have to weigh each time whether it makes sense to use it that way and reduce readability in the process. In this simple example, I would say yes. I mentioned this once in my video about matrix transposition using list comprehension. Just because you can, I wouldn’t necessarily do it. ruclips.net/user/shortsnzE5cpFfSi8?si=nsVVo4b0ga6BrHWl

  • @tonkyboy8920
    @tonkyboy8920 Месяц назад

    Scary shit. 😅

  • @Cod1ngTogether
    @Cod1ngTogether Месяц назад

    Do you like to get more AI Updates in short format on my Chanel? Please let me know.

  • @g01dHaCkEr
    @g01dHaCkEr Месяц назад

    This is a useful format. One small correction: it's not the zone _function_, it's the zone _property_.

    • @Cod1ngTogether
      @Cod1ngTogether Месяц назад

      Hi @g01dHaCkEr thanks for your addition/ correction and your feedback. I pinned your comment for the others. 😄

    • @Cod1ngTogether
      @Cod1ngTogether Месяц назад

      I tried to change it in the video, but I can't find a way to change it without re-uploading the full video.

  • @Cod1ngTogether
    @Cod1ngTogether Месяц назад

    Helpful? I appreciate your feedback! :)

  • @NikhilBajaj-l1g
    @NikhilBajaj-l1g Месяц назад

    Is it free or paid?😊

    • @Cod1ngTogether
      @Cod1ngTogether Месяц назад

      OpenAi always charges for there service even if its small amounts. If you are looking for a free API check out this short: ruclips.net/user/shorts_pqHsIcArwM?feature=share Or this full video: ruclips.net/video/MdCW2tKhoJ8/видео.html For the Google Gemini API, the have a free tier.

    • @NikhilBajaj-l1g
      @NikhilBajaj-l1g Месяц назад

      Thank you mate

    • @Cod1ngTogether
      @Cod1ngTogether Месяц назад

      @@NikhilBajaj-l1gyou are welcome! 😊

    • @NikhilBajaj-l1g
      @NikhilBajaj-l1g Месяц назад

      Can i have ur email wanted to ask smth but youtube is not publishing the comment idk why

    • @Cod1ngTogether
      @Cod1ngTogether Месяц назад

      @user-xz4dk1wz9k feel free to weite me 👍🏻cod1ing.together@gmail.com

  • @connorschmidt4175
    @connorschmidt4175 Месяц назад

    You just put a comment saying what you want to do with copilot and it does it for you.

    • @Cod1ngTogether
      @Cod1ngTogether Месяц назад

      Yeah, but its always good to know what the code you get back does. 😄

  • @tonkyboy8920
    @tonkyboy8920 Месяц назад

    I hate debugging APIs! thank you for this video :)

  • @Cod1ngTogether
    @Cod1ngTogether Месяц назад

    Did u ever face issues using an API because of timestamps?

  • @Cod1ngTogether
    @Cod1ngTogether Месяц назад

    A main video about this datetime topping coming soon. Stay tuned. 😄

  • @Cod1ngTogether
    @Cod1ngTogether Месяц назад

    Matrix transposition is a mathematical operation that can for example be used in image processing to rotate, mirror, smooth, or filter an image. Images can be represented mathematically as matrices. Similarly, these operations with matrices can simplify calculations, in the field of linear algebra it is also a common tool. What are you currently working on? Is there a topic where I can assist you?

  • @youssefel-ali8455
    @youssefel-ali8455 Месяц назад

    Was zur Hölle ist das?

    • @SandSeppel
      @SandSeppel Месяц назад

      Ein Tutorial wie man in python eine Matrix transpositioniert (angenommen die Matrix besteht aus Arrays in einem Array)

    • @Cod1ngTogether
      @Cod1ngTogether Месяц назад

      Die Matrixtransposition ist eine mathematische Rechenoperation, die in der Bildbearbeitung verwendet werden kann, um ein Bild zu drehen, zu spiegeln, zu glätten oder zu filtern - den Bilder können mathematisch als Matrizen dargestellt werden. Ebenso kann man so Rechenoperationen mit Matrizen vereinfachen, in der linearen algebra ist das auch ein gängiges tool, ... Ich hoffe diese Antwort hilft dir weiter. Woran arbeitet Ihr gerade? Gibt es ein Thema bei dem ich euch helfen kann?

  • @tonkyboy8920
    @tonkyboy8920 Месяц назад

    Thank you! very helpful.

  • @Cod1ngTogether
    @Cod1ngTogether Месяц назад

    Hi, how are you all doing? How are your Projects going?

  • @Cod1ngTogether
    @Cod1ngTogether 2 месяца назад

    Any Questions? Just ask. :)

  • @ElmoSeesYou
    @ElmoSeesYou 2 месяца назад

    1. List comprehension has been around for like forever 2. Just do number**2 man

    • @Cod1ngTogether
      @Cod1ngTogether 2 месяца назад

      Its still good to know for beginners that it exists. And even good to remind all the others that it exists 😜. The example was the easiest I found to showcase the difference.

  • @Cod1ngTogether
    @Cod1ngTogether 2 месяца назад

    If you have any questions or if you need any help, just ask! I am here. 😄

  • @jenstrudenau9134
    @jenstrudenau9134 2 месяца назад

    That's bullshit. Reinforcement learning IS supervised learning. You just don't have a defined dataset but a dataset defined by the reward function. To build a humanoid like intelligence from a reward function you would need humans doing the rewarding. Given the fact that training takes billions over billions of iterations you can estimate the human time spend for doing the rewarding.

    • @Cod1ngTogether
      @Cod1ngTogether 2 месяца назад

      Interesting fact. Maybe thats why we don’t have it yet. Because we don’t even know how to achieve. My idea of reinforced is that you don’t need a dataset that is „labeled“ or defined.

  • @LandonShipman-iDzynes
    @LandonShipman-iDzynes 2 месяца назад

    This is an excellent topic... thank you!! I already had this much figured out - I think you released this before? Do you have a longer version that covers the next step?

    • @Cod1ngTogether
      @Cod1ngTogether 2 месяца назад

      Hi LandoShipman, i hope you are fine! How do your projects going? If you ever need a feedback on anything just ask 👍🏻 Yeah you are right. But the previous one was so fast because of the 60sec limit on shorts i decided to make a less advanced and slower version. 😄 what do you think about „ai“ voice? Ist it ok?

  • @Cod1ngTogether
    @Cod1ngTogether 2 месяца назад

    Is the Subtitle to massive and distracts you or are you fine with it?

  • @Cod1ngTogether
    @Cod1ngTogether 2 месяца назад

    Do you like or hate this generated voice? let me know. :)

    • @LandonShipman-iDzynes
      @LandonShipman-iDzynes 2 месяца назад

      Voice sounds very natural and easy to listen to. Didn't even notice that it was AI until I read this post.

    • @Cod1ngTogether
      @Cod1ngTogether 2 месяца назад

      @@LandonShipman-iDzynes Thank you for your feedback! :) I really appreciate it.

  • @LandonShipman-iDzynes
    @LandonShipman-iDzynes 3 месяца назад

    ​ @Cod1ngTogether I rhink you asked me more about your icon when responding to people? It is not the same as the icon that shows up in chat - but it comes from one of your videos thumbnails... which happends to be a bunch of white text on a black background - which just appears as a black box. To fix this - I think you can just update the thumnails to your videos that are plain text on black backgrounds. Best I can tell, it may be pulling the thumbnail from your shorts since those are the only clips that look black. Any thoughts on how I could send you a screenshot? I do have a few ideas that I am working on and running into troubles, so I might ask you for help there. I will be sure to send you an idea that would be an original video that fits your channel. I will definately send you something soon, just want to have a useful thought before asking you to provide a tutorial. I have some ideas though. I will be in touch. Let me know if you can think of a way to send you screenshots.

    • @Cod1ngTogether
      @Cod1ngTogether Месяц назад

      Hey bro, sorry i totally overseen your comment. :( I unfornatly cant change the short thumbnails.

  • @SlackWare-h7b
    @SlackWare-h7b 3 месяца назад

    I have trouble about 429 code error Quota Limitation but i cannot check this

    • @Cod1ngTogether
      @Cod1ngTogether 3 месяца назад

      Which model do you use? The free versions always have a low requests per minute limitation. The pro 1.5 for example just has 2 RPM as limit. But then you just need to wait one minute to get your RPM reseted 😄

    • @Cod1ngTogether
      @Cod1ngTogether 3 месяца назад

      Fast AI Update about the Google Gemini API #gemini #ai #coding ruclips.net/user/shortsGbF5-SXBtlA?feature=share Check out my update video about.

  • @LandonShipman-iDzynes
    @LandonShipman-iDzynes 4 месяца назад

    I When I saw this was a short clip, I was disappointed at first - of course I watched the short and I'm happy to report that *I'm **_excited_** to dive deeper* into your full tutorial --- looks _simple enough_ for a _*great introduction* to creating custom gemini python app_. Will this be A CHATBOT that I can embed with the websites I build for my clients? Thank you AGAIN! This channel is my current favorite channel because of your in depth tutorials that go further than everyone else's *NO-CODE* _and_ *LOW-CODE* options that I keep seeing tutorials for. I'm really not against low-code or no-code, but there is no shortage of these tutorialws and I am on my personal journey to learn how to create custom projects with the use of python. I am more interested in tutorials that take a deeper dive into more advanced possibilities with the use of python, along with advanced API's to create custom integrations with multiple apps. I suspect I will probably find them here on your channel - and I have already learned some key foundational functions and core coding fundamentals with just a couple of your videos.

    • @Cod1ngTogether
      @Cod1ngTogether 3 месяца назад

      Oh crazy u are so nice! Thank you. Yes with the new updated pro 1.5 and flash 1.5 model u can embed it as service for user. Check out my newest short. Is there any topic you want to learn i could male a video off? Please feel free to ask for! 😄✌🏼or anything you want to focus on?

  • @LandonShipman-iDzynes
    @LandonShipman-iDzynes 4 месяца назад

    Have you seen the thumbnail that RUclips shows when you reply to someone? Its not the same as your profile image - and it looks just like the preview for your *Featured Playlist* (basically looks like a black square) which could also use an improvement. I don't know what _exactly_ to recommend, but I know that it's supposed to be _white text_ on a _black background_, however it's super hard to see (almost impossible) -- and I am on a huge 34" Ultrawide monitor. Would really like to see you succeed here on _*_RUclips_*_ ( _even if I have selfish reasons_ : *to learn as much as I can from you*) *Have a great one!*

    • @Cod1ngTogether
      @Cod1ngTogether 4 месяца назад

      Thank you for your feedback! Are you referring to my avatar here in the comments? What exactly do you mean? Which browser are you using? I wasn't able to see what you described. In Safari and Chrome on Mac, as well as Chrome and Edge on Windows, it shows my channel image in the comments. Could you please upload a screenshot to Imgur and link it here so I can check it out? Thank you for your help!

  • @LandonShipman-iDzynes
    @LandonShipman-iDzynes 4 месяца назад

    I'm building a one-click bookmark organizer plugin for chrome browser, and for the life of me could NOT find my API key for Gemini Pro - thank you so much! If you need your bookmarks organized, I will gladly do it for you myself as thank you - or rather with the help of Gemini. Thanks again.

  • @a.puneethkumarreddy1015
    @a.puneethkumarreddy1015 5 месяцев назад

    How to know which version of gemini key we get line gemini 1.0 pro or 1.5 pro?

    • @Cod1ngTogether
      @Cod1ngTogether 4 месяца назад

      Hey, thats a very good question. To be honest i cant answer it 100%. Looks like that if you use the gemini-pro and gemini-pro-vision model you currently get the 1.0 pro model. But its not even listed in the result. The 1.5 nano and ultra isn‘t available for public currently. You need to join the waitlist to get access. The 1.5 pro should be available, but i havent found the code to specify it. But you can use the Flash allready: just load the config with the flash model: model = genai.GenerativeModel(model_name="gemini-1.5-flash-latest")

    • @Cod1ngTogether
      @Cod1ngTogether 4 месяца назад

      See more here: ai.google.dev/gemini-api/docs/models/gemini

  • @tonkyboy8920
    @tonkyboy8920 5 месяцев назад

    I don't think the API will stay free.

    • @Cod1ngTogether
      @Cod1ngTogether 5 месяцев назад

      Good News! There will be a free Plan 😄 From a Google Mail „If you use Gemini API from a project that has billing disabled, you can still use Gemini API free of charge, without the benefits available in our paid plan.“

  • @Cod1ngTogether
    @Cod1ngTogether 6 месяцев назад

    Any questions? Just ask! I would love to help you on your journey 🧑🏻‍💻