How to Create an Excel Data Entry Form in 10 Minutes Using Python (No VBA) | Easy & Simple

Поделиться
HTML-код
  • Опубликовано: 14 ноя 2024

Комментарии • 754

  • @PySimpleGUI
    @PySimpleGUI 3 года назад +90

    FANTASTIC video! In the first 3 minutes and 20 seconds you've taught the entire concept of PySimpleGUI. You're really good at this! 💖 the style, the clarity, the animations, and so much more about what you've done.

    • @CodingIsFun
      @CodingIsFun  3 года назад +5

      Thank you so much for your comment & this fabulous and simple to use library. I simply love it - with just a few lines of code, we can add a GUI to our program without messing around with the underlying frameworks. So clever and very well done! 😃👍

    • @meshramab1
      @meshramab1 2 года назад +4

      @@CodingIsFun Very nice. I have just started learning PySimpleGUI, last month. I want to build a project for my niece for garment shop. Hope I will achieve it soon with the help of experts like you. Thanks a lot. Keep it up.

  • @auusiebatman
    @auusiebatman 2 года назад +15

    This is the correct benchmark of technical teaching - I wish more technical trainers could adopt your clear framework for breaking down technical concepts for coding - thank you !

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thanks for the kind words! I am glad you enjoyed it.

  • @shiv_kna
    @shiv_kna 2 года назад +6

    Seriously I loved it. No one has this organized tutorial with documentation as implementation.... I'm in love

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thank you so much for your kind feedback! :)

  • @kaduflutist
    @kaduflutist 29 дней назад

    Thank you very much! I tried it on and it worked very well here from Start to Finish. I entered the data using Portuguese symbols and worked fine.

    • @CodingIsFun
      @CodingIsFun  21 день назад

      Glad to hear you liked it and that it is working! Thank you for commenting and watching. -Sven ✌️

  • @anthonyjobey8821
    @anthonyjobey8821 2 года назад +7

    By far this is the best tutorial video I have seen, clear instructions, demonstrations in theory behind each concept and easy to follow bite size steps, learnt more in this short video then in some hour long ones. Thank you for taking the time to produce this and share your expertise with the Community

    • @CodingIsFun
      @CodingIsFun  2 года назад

      So happy to hear that you found the video helpful. Thank you very much for watching the video and taking the time to leave a comment! :)

  • @CodingIsFun
    @CodingIsFun  3 года назад +2

    🤷‍♂️ Do you have any questions or need further support? Let me know in the comments 😃

    • @dishangmehta4397
      @dishangmehta4397 3 года назад

      Can you please make a tutorial on how to store inputs received from PyQt5 inputs to mongoDB??

    • @CodingIsFun
      @CodingIsFun  3 года назад

      ​@@dishangmehta4397 Thanks for watching the video & your video suggestion. Sounds like an exciting video topic. I cannot make any promises, but l will see what I can do.

    • @CodingIsFun
      @CodingIsFun  3 года назад

      @GYAAN TECH Thanks for watching the video. In the PySimpleGUI Cookbook, there is an example of how to save the input:
      'Recipe - Save and Load Program Settings'
      pysimplegui.readthedocs.io/en/latest/cookbook/
      Regarding the multiline input box:
      As mentioned in the video, please have a look at the 'Demo' folder. PySimpleGui offers the following widget:
      sg.Multiline(default_text='This is the default Text should you decide not to type anything', size=(35, 3))

  • @eteichma
    @eteichma 11 месяцев назад

    What more can I add than what has mentioned many times before? Simply a FANTASTIC video!! Thank you for your wonderful contribution.

    • @CodingIsFun
      @CodingIsFun  11 месяцев назад

      Loved reading your comment! Thanks for the support! 👍❤️

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

    WOW I am impressed. This video is friendly and right to the point. Love it. In 10 minutes I learnt more stuff than reading any book on this topic. Excellent Job!

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

      Thanks for the positive feedback! Appreciate you taking the time to leave a comment. Cheers, Sven ✌️

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

    Bro, seriously, you are really the god of coding to me , it was the best tutorial i have ever seen

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

      Thank you, mate! Happy to hear that the video helped you. Happy Coding! Cheers, Sven ✌️

  • @alicemystery5520
    @alicemystery5520 3 года назад +3

    This is a great video. I am a beginner at using python and coding. This will help me understand what a GUI is and allow me to create something nice for work. Thanks a lot!

    • @CodingIsFun
      @CodingIsFun  3 года назад

      Thank you for watching the video. I am glad to hear that the video was helpful. Happy coding! 😃👩‍💻

  • @pleabargain
    @pleabargain 2 года назад

    Super impressed! Finally a clear demo of how to build a UI that writes to Excel via python. Thank you!

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Hi Dennis G D! Happy to hear that you liked the video. Thanks for watching and taking the time to leave a comment! :)

  • @mind7106
    @mind7106 Год назад

    Awesome sir god bless you
    You explained it simply amd effectively and more important clearly
    Thank you sir 🙏🏻

    • @CodingIsFun
      @CodingIsFun  Год назад

      Thanks for leaving a comment! Happy you enjoyed the video! 🙏

  • @chrisr2063
    @chrisr2063 Год назад

    Love the voice/accent. Cross between a man child and very intelligent man. Love the vids too. Will sub

    • @CodingIsFun
      @CodingIsFun  Год назад

      Hey Chris! Thanks for watching and subscribing, welcome aboard! 👍

  • @giorgiopesci1273
    @giorgiopesci1273 9 месяцев назад

    I am a novice, and I need guidance on how to install the Command Prompt. The Windows Command Prompt returns errors only. Thank you.
    BTW. Great job! Straight to the point, and it is exactly what I needed. Regrettably, I am not a programmer and I have difficulties to install the tools to code and follow your instructions. Thanks again.

    • @CodingIsFun
      @CodingIsFun  9 месяцев назад

      Thanks for watching. The actual error message would be helpful if you would like some guidance. Thanks! Cheers, Sven ✌️

  • @apsellynch
    @apsellynch 2 года назад

    Pythons for business in a nutshell 🤯🤯 So many ideas to work with this base...thanks

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!

  • @tonyquique1912
    @tonyquique1912 3 года назад +3

    This video is awesome. The concision, clarity and simplicity put in the explanations are impressive! Thanks and please do keep up!!!

    • @CodingIsFun
      @CodingIsFun  2 года назад +1

      Thank you so much for your positive feedback! I appreciate it! 😃

  • @shawnvines2514
    @shawnvines2514 3 года назад +3

    Good job on the video! Clear, concise and good presentation. I really like the code animations. Looking forward to watching more of your videos.

    • @CodingIsFun
      @CodingIsFun  3 года назад

      Thank you. Glad you like the video :)

  • @florianroeseler2404
    @florianroeseler2404 3 года назад +1

    Didn't know this was possible so easily. Very practical!

    • @CodingIsFun
      @CodingIsFun  3 года назад

      Thank you for watching the video, Florian. Glad it is helpful!

  • @shout-style
    @shout-style 4 месяца назад

    Very well explained!! Thank you!

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

      Glad you liked it. Thanks for watching. Cheers, Sven ✌️

  • @veerendranadhkillampalli3387
    @veerendranadhkillampalli3387 2 года назад

    i am python biggner,
    thanks and more helpful

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Glad you liked it. Thanks for watching.

  • @bzaz228
    @bzaz228 2 года назад

    One of the best tutorials I have seen. Thank you

  • @TheStevenStevenson
    @TheStevenStevenson Год назад

    Combining this concept within a streamlit app [taking user input and recording into an excel spreadsheet] would be first class.

    • @CodingIsFun
      @CodingIsFun  Год назад

      Thank you for watching the video & your suggestion.

  • @andrell1206
    @andrell1206 2 года назад

    i enjoy all your tutorials. this was the 4th i have followed along. i am learning so much

    • @CodingIsFun
      @CodingIsFun  2 года назад

      I am happy to hear that you have been finding the videos helpful. Thanks for taking the time to leave a comment and for watching!

  • @KartikeyRiyal
    @KartikeyRiyal 3 года назад

    I'm soooooooooooooo happy to see this. Much needed video. I was searching for this only.

    • @CodingIsFun
      @CodingIsFun  3 года назад

      Glad you found it. Hope it is helpful :)

  • @amoldalwai3961
    @amoldalwai3961 3 года назад +2

    This is top notch content ..hope you gain more subscribers

  • @charliearmour1628
    @charliearmour1628 3 года назад

    Thinking about the many ways I could use this method.
    Thank you so much for this. Please keep up the tremendous work.
    This one's a real gem.

    • @CodingIsFun
      @CodingIsFun  3 года назад

      *I am glad you liked the video; thanks for watching and the kind words.* 😀

  • @ermalgashimramori
    @ermalgashimramori 3 года назад +1

    As always, your content is pure gold!

    • @CodingIsFun
      @CodingIsFun  3 года назад

      Thank you for your kind words :)

  • @BiP00
    @BiP00 Год назад

    Man I wish I'd found your channel earlier!!! This is super useful!!!

    • @CodingIsFun
      @CodingIsFun  Год назад

      Happy to hear that you find the video useful! Thanks for watching and commenting! :)

  • @Kicsa
    @Kicsa 2 года назад

    This is so fun, thank you so much! I'm happy I found this channel!

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Happy to hear that you liked the video!

  • @Axfourty
    @Axfourty Год назад

    Sorprendente, es un super video, breve claro, práctico y muy educativo. Muchas gracias

    • @CodingIsFun
      @CodingIsFun  Год назад

      Thanks for the kind words! Glad to hear you found the video helpful and educational. 👍

  • @michaels7886
    @michaels7886 Год назад

    Best tutorial on the net

    • @CodingIsFun
      @CodingIsFun  Год назад

      Thanks for the kind words! I am glad you enjoyed it. 👍

  • @Frank-si2jd
    @Frank-si2jd Год назад

    Hello Sven, I can just add another positive reaction to all the others you already received, WOW WOW what a great tutorial! Thanks for this amazing work and I guess the Python community should build a statue for you!
    Regards, Frank

    • @CodingIsFun
      @CodingIsFun  Год назад +1

      Hey Frank,
      Thanks for watching and leaving such a kind comment! I really appreciate it. 🙏
      I'm glad you found the tutorial helpful. Happy Coding! 🚀

  • @mohsowadi8302
    @mohsowadi8302 3 года назад

    Most clear and cleaver video I've ever seen >>>>>> good job

    • @CodingIsFun
      @CodingIsFun  3 года назад

      Thank you very much! :)

    • @mohsowadi8302
      @mohsowadi8302 3 года назад

      @@CodingIsFun Although there is a problem i hope you can help me with , the script wont convert to .exe , whenever i tried it says (IndexError: tuple index out of range)
      , dist folder is empty as well
      everything is updated
      i'm using Visual Studio and the script work fine with Visual Studio and from the Command prompt
      I would really appreciate if you know the answer
      Regards

  • @edmundosilva6309
    @edmundosilva6309 8 месяцев назад

    This is great! I would like to know if we share the file and employees fill on their desktop if the information start updating on its own

    • @CodingIsFun
      @CodingIsFun  8 месяцев назад

      Thanks for watching. Sorry, but I am not sure what you mean.

  • @coolboysidd
    @coolboysidd 2 года назад

    Super!!explained in a very simple way but very effective..so many things learnt in a such a small video!!great work sir!!

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Happy to hear that. Thanks for watching and your kind words!

  • @bensonyeo1087
    @bensonyeo1087 2 года назад

    you just got another subscriber , this is so useful and relevant in my field of work . Just started out with python and your explanation is so clear and concise . Thank you brother.

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video!

  • @samaritanx9609
    @samaritanx9609 2 года назад +1

    Xlent video.. ❤️simple and clear Sven..U shortened my learning with this video.. if possible.. please make video on update, search and delete options on this topic itself...which will enhance knowledge of ur followers. ❤️ My advanced wishes...

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thanks for your kind words & video suggestion! I appreciate it! :)

    • @aishasalim4243
      @aishasalim4243 2 года назад

      We have same opinion and waiting.

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

    Love it I already reply this project it work 🎉

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

      Glad to hear you liked it! Thank you for commenting and watching. Cheers, Sven ✌️

  • @rodrigovieira4113
    @rodrigovieira4113 2 года назад

    congratulations, thank you for sharing your knowledge

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thank you for watching the video and taking the time to leave a comment! 👍

  • @tobiewaldeck7105
    @tobiewaldeck7105 2 года назад

    Thank you for the video. I was using the append with concat when I was trying Web Scraping, but it was very confusing when dealing with multiple page scrapes because I'm a beginner. I saw someone with pdf extraction use something called a namedtuple for combining values, and appending a list which is then put into a dataframe. That method seemed simpler to me.

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thank you for watching the video and taking the time to leave a comment!

  • @fernandocoelho1334
    @fernandocoelho1334 2 года назад

    Very Good!
    There is a complete application with Save, Read, Update and Delete.

  • @patriziotiburzi136
    @patriziotiburzi136 Год назад

    Amazing tutorial. Thanks for your work. I have a question tho. What should I do if i need some of the fields of the excel file to be filled always with the same data?
    I'll explain this. I have to worl with a boring CSV File in wich i have to manually fill only 2 or 3 cells, and the remaining (a total of 10 in a line) they have always the same data. A boring work of copy/paste for hundreds of lines. This will help me a lot if I could apply your teaching on my needs.
    Thank you

    • @CodingIsFun
      @CodingIsFun  Год назад +1

      Thank you very much for watching the video and your comment. Your requirements are well noted. Yet, I receive many requests for creating individual solutions. As much as I want to help, I simply do not find the time in my daily schedule to develop & test all the different requests. I hope you can understand. Thank you!

  • @guatireguitar
    @guatireguitar Год назад

    Fantástic video. Thanks you very much. One question: what IDE you use? I'm using Visual studio code...

    • @CodingIsFun
      @CodingIsFun  Год назад

      Thank you. In the video I used 'Atom'.

  • @SV-2277
    @SV-2277 2 года назад +1

    Amazing tutorial and truly i am very much impressed for your knowledge and sharing such a beautiful content to Enthusiast Pythonist developers.

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Happy to hear that you liked the video; thank you for taking the time to leave a comment and for watching the video! 👍

    • @SV-2277
      @SV-2277 2 года назад

      @@CodingIsFun sir not only liked your video, subscribed.as well

  • @XLnCADMalayalam
    @XLnCADMalayalam 2 года назад

    Awesome work 😀

  • @Mattykek
    @Mattykek Год назад

    Wow you made that so easy to understand. This topic was intimidating for me being new to coding. Thank you for the vid :)

    • @CodingIsFun
      @CodingIsFun  Год назад

      Glad to hear you liked it! Thank you for commenting and watching. 😃

  • @chessking6518
    @chessking6518 Год назад

    Bro you are great. You taught exactly what I needed. Love you man

    • @CodingIsFun
      @CodingIsFun  Год назад

      Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video! 👍

  • @nssdesigns
    @nssdesigns 9 месяцев назад

    I was looking for a way to get data from and Excel file to use in an online web form filling. I've done this successfully using Power Automate Desktop but now I don't have a license. Looked at AHK but without the coding skill it's beyond my scope for now. Watched your video using chatGPT to write Python automation BUT I guess this is a bit more challenging as each input field needs to be mapped in Python. How deep would this be?

  • @jasonjang5112
    @jasonjang5112 Год назад

    Thank you❤, really appreciate your efforts

    • @CodingIsFun
      @CodingIsFun  Год назад

      Glad you liked it. Thanks for watching.

  • @erickgutierrez6471
    @erickgutierrez6471 3 года назад

    You explain really well. I’m feeling motivated to automate a task

    • @CodingIsFun
      @CodingIsFun  3 года назад

      Thank you for watching the video and taking the time to leave a comment. I am glad you liked the video.

  • @zamzam0713
    @zamzam0713 Год назад +1

    This is great! Is there any way to add a field of day/date that would automatically update without having to input it each time?

    • @CodingIsFun
      @CodingIsFun  Год назад +1

      Thanks so much for watching the video and leaving a comment! Your request is definitely noted. However, I get a ton of requests for custom solutions and, as much as I'd love to help everyone out, I just don't have the time in my schedule to develop and test all of them. I hope you can understand. Happy Coding!

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

    Wow .very nice video...thanks ..

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

      Glad to hear you liked it! Thank you for commenting and watching. Cheers, Sven ✌️

  • @deborahodion5240
    @deborahodion5240 2 года назад

    This was beautifully taught.
    Thank you.

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thanks for the kind words! I am glad you enjoyed it. 🤩

  • @erolsavas19
    @erolsavas19 Год назад

    Thanks for this great example.

    • @CodingIsFun
      @CodingIsFun  Год назад

      An absolute pleasure, very happy to hear that you found it useful! 👍

  • @dmz140
    @dmz140 Год назад

    Excellent video! Thanks for the help!!

    • @CodingIsFun
      @CodingIsFun  Год назад

      Glad I could help! Thanks for watching! 👍

  • @brightamankwatia5730
    @brightamankwatia5730 24 дня назад

    This is great. Is there a way to add images and host it locally?

    • @CodingIsFun
      @CodingIsFun  21 день назад

      Here are the docs regarding adding images: docs.pysimplegui.com/en/latest/documentation/module/elements/image/
      I'm not sure what you mean by hosting it locally - sorry! Cheers, Sven ✌️

  • @dotank35
    @dotank35 2 года назад

    What is amazing video, many thanks!

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Glad you liked it. Thanks for watching and taking the time to leave a comment!

  • @hasanaqbayli149
    @hasanaqbayli149 Год назад

    Hello Man, The way you are explaining is excellent!!! Thanks a lot, Please tell me Do you have similar tutorial or code where Data Entry is My SQL intesad of excel? Thanks in advance

    • @CodingIsFun
      @CodingIsFun  Год назад

      Thanks for watching. Nope, I do not have a tutorial on that topic.

  • @moisesnava6142
    @moisesnava6142 2 года назад

    Great video Thanks for this, I have one question y supossed that when I share the exe file needs to be with the excel and has to be in the same path right? To change this path I could implement other window with option to change the path or the file to append data?

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thanks for watching. You are right. Currently, the application is looking for an Excel file in the same folder. Yet, you can select the Excel file dynamically by inserting the 'FileBrowse' Element:
      pysimplegui.readthedocs.io/en/latest/call%20reference/
      www.screencast.com/t/64AUEVrzN
      I hope it helps! Happy Coding! :)

  • @fizahmajid1930
    @fizahmajid1930 2 года назад

    Thanks for the video. I am going to start using this. Good work! Hope to see more tutorials.

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thanks for watching the video and taking the time to leave a comment! :)

  • @hgyt5yh3h53t
    @hgyt5yh3h53t Год назад

    Subscribed! Thank you so much for the tutorial, I'm just a beginner in python but this really helped me building a simple database. It could be useful to upgrade the form allowing to modify the excel data once they are stored. Could you point me in the right direction? Thanks again!

    • @CodingIsFun
      @CodingIsFun  Год назад

      Thanks so much for watching the video and leaving a comment! Your request is definitely noted. However, I get a ton of requests for custom solutions and, as much as I'd love to help everyone out, I just don't have the time in my schedule to develop and test all of them. I hope you can understand. Happy Coding!

  • @ahmedjoo1858
    @ahmedjoo1858 2 года назад

    amazing video, one of the most valuable 3min i spent on youtube.
    would you show how we read combo information from mySQL db instead of hard code it in the program?
    thanks

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thanks for watching the video. Happy to hear that you found the video valuable.
      In essence, PySimpleGUI is 'just' used to create the GUI. If you want to manipulate a MySQL database, I would suggest coding out your pure Python script first (without GUI).
      Once you got your CRUD (Create/Read/Update/Delete) functions in place (or whatever you want to do) when you can build the GUI using PySimpleGUI.
      To get started with MySQL + PySImpleGUI, check out the following post: stackoverflow.com/a/622308
      Happy Coding! 🚀

  • @paxter3219
    @paxter3219 2 года назад

    THX! for the video, is there a use and input box to add numbers to multiple certain cell location within the CSV file? For the file I need to create, there is a value that need to input to multiple location within the CSV. So one input multiple output in different locations within the CSV.

    • @CodingIsFun
      @CodingIsFun  Год назад

      Thank you very much for watching the video and your comment. Your requirements are well noted. Yet, I receive many requests for creating individual solutions. As much as I want to help, I simply do not find the time in my daily schedule to develop & test all the different requests. I hope you can understand. Thank you!

  • @deanlawson6880
    @deanlawson6880 2 года назад

    Well done nice little video! Thanks for this!

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Glad you enjoyed it! Thanks for watching and taking the time to leave a comment! 👍

  • @drjainbhopal
    @drjainbhopal 2 года назад

    This is very useful. Thanks Sven!

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thank you! Glad you like the solution!

  • @metomeid1693
    @metomeid1693 2 года назад

    ...wow..Very good video...thank...

  • @Alex-xq3fe
    @Alex-xq3fe Год назад

    Hello! Excellent presentation!
    But I got a few questions.
    How I Can add a timestamp in a separate Excel column every time someone click on Submit?
    Thank you!

    • @CodingIsFun
      @CodingIsFun  Год назад

      Hi Alex. Thanks for watching. I have created the following solution for you: gist.github.com/Sven-Bo/71251c76e3e3e7183dc6135b371f8c14
      Hope you like it! Happy Coding!

  • @Youtuber-Hub
    @Youtuber-Hub 2 года назад

    Very beautifully explained....very informative

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thanks for the kind words! I am glad you enjoyed it.

  • @mohamedlahrech178
    @mohamedlahrech178 Год назад

    Awesome, thank you.

    • @CodingIsFun
      @CodingIsFun  Год назад

      You're very welcome! Thank you for watching and for the comment!

  • @tinavo1758
    @tinavo1758 3 года назад

    Thanks for making this so simple to understand

    • @CodingIsFun
      @CodingIsFun  3 года назад

      Glad it was helpful! Thanks for watching the video & taking the time to leave a comment :)

  • @stevemorse5052
    @stevemorse5052 2 года назад

    Hi great video, clear and concise.
    I do have one question though, having watched several videos on this kind of topic, I have noticed that Excel and Word files are used, why not Libre Office files?

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Simple answer for my videos: I only have MS Office installed ;)

  • @wgalloPT
    @wgalloPT Год назад

    Hey ...question....(awesome tutorial btw...)...can the executable file be placed anywhere in the computer and it will add to the excel sheet (like in the desktop) or it has to be in the same folder as the excel sheet? Does data entry.py has to also be in same folder? Thank you for any reply.

    • @CodingIsFun
      @CodingIsFun  Год назад

      Thanks! The Excel file does not need to be in the same directory.
      You need to adjust the following to your needs:
      current_dir = Path(__file__).parent if '__file__' in locals() else Path.cwd()
      EXCEL_FILE = current_dir / 'Data_Entry.xlsx'
      df = pd.read_excel(EXCEL_FILE)

  • @BRAM_PC
    @BRAM_PC 11 месяцев назад

    This is great! Thank you a lot!

    • @CodingIsFun
      @CodingIsFun  11 месяцев назад

      My pleasure! Appreciate you taking the time to watch and leave a comment.

  • @anawerena5396
    @anawerena5396 Год назад

    I love your channel

    • @CodingIsFun
      @CodingIsFun  Год назад

      It's very kind of you to say so, thank you! 🙏

  • @padula77
    @padula77 Год назад

    Thanks for the helpful video! is it possible also to make some calculations before insert the data into the excel? How to do it? thks

    • @CodingIsFun
      @CodingIsFun  Год назад +1

      Thanks for watching. Yes, it is possible to perform calculations before inserting the data into Excel. You can do this by manipulating the data in the "values" dictionary or the "new_record" DataFrame. Happy Coding!

  • @AhmedRabeh18
    @AhmedRabeh18 2 года назад +1

    Please explain how I can program in Python a button inside my application to select files, that is, when I click on it, I can choose files from the device? Then we modify it without opening the file "...I mean excel files

    • @CodingIsFun
      @CodingIsFun  2 года назад +1

      Check out the following tutorial: ruclips.net/video/_H5hsUwv8lE/видео.html
      I hope it helps! Happy Coding!

  • @lindal9056
    @lindal9056 2 года назад +1

    Hi Sven! Thank you so much for such an informative video! I have a question: what happened if we have multiple sheets in our excel file we want to enter the data into instead of the default sheet 1? Thank you in advance!

    • @CodingIsFun
      @CodingIsFun  2 года назад +1

      You could export it to an existing/specific sheet. Here is an example of how to do it in Pandas: ruclips.net/video/DroafWQXqDw/видео.html

  • @jasonhammerle3582
    @jasonhammerle3582 Год назад

    that was very well done! thanks for this! so glad i know about PySimpleGUI now!

    • @CodingIsFun
      @CodingIsFun  Год назад

      Happy to hear that it was useful; thank you for taking the time to leave a comment and for watching the video! 👍

  • @freddykibassa3383
    @freddykibassa3383 2 года назад

    Thank You so much for the video, it was very helpful. Exactly what I was looking for to complete a project at work. But I have a question, after generating that "little application" that prompt our form, how do I share it with other people?

  • @2JSinc
    @2JSinc Год назад

    Thank you for this, I'll be using this as my base code, very simple to understand and follow along... Would it be possible for you to do a tutorial extending this with a pdf file viewer at the side of the entry form, I would like to make something like this but with two panes/section, 1 section for the data entry form and the other for viewing a pdf file... thank you!

    • @CodingIsFun
      @CodingIsFun  Год назад +1

      Hey there, thanks for watching and for your kind words! I'm glad you found the tutorial easy to follow. While I might not create a specific tutorial for your use case, I encourage you to check out my advanced PySimpleGUI tutorial here: ruclips.net/video/LzCfNanQ_9c/видео.html. By combining the techniques from both tutorials and experimenting on your own, you should be able to achieve your desired layout with a data entry form and a PDF viewer. Good luck, and happy coding!

    • @2JSinc
      @2JSinc Год назад

      @@CodingIsFun wow that was fast, thanks for taking time to reply, I've already modified the code to include the fields I needed and it's working without errors, I have 0 knowledge of python and was trying to make something like this by asking Chatgpt but was not successful, your code just works! I'll be checking out the video you mentioned hopefully I could integrate the pdf viewer part successfully too, many thanks again...

  • @e-normous
    @e-normous Год назад

    Very helpful tutorial, thx a lot!

    • @CodingIsFun
      @CodingIsFun  Год назад

      Thanks for the positive feedback! Appreciate you taking the time to leave a comment.

  • @giovannitrivieri6722
    @giovannitrivieri6722 2 года назад

    Hello, thank you very much for the video and for the clarity of its message. May I ask you if there is any chance to import (in to excel file) only some data leaving the GUI as is?

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thanks for watching the video. Can you perhaps elaborate on what it is you're trying to achieve? Please provide some additional info. Thanks!

    • @giovannitrivieri6722
      @giovannitrivieri6722 2 года назад

      @@CodingIsFun Hello, thanks a lot for your quick reply. Much appreciated. btw, in your example, you consider five "element" of information (i.e : Name, City, Favorite color, spoken language and n° of children). my question is: is it possible to save in the excel file only some of them (e.g.: Name and n° of children)?

    • @CodingIsFun
      @CodingIsFun  2 года назад +1

      @@giovannitrivieri6722 You could remove the unwanted item/element from the "values" dict, e.g. using del values["City"] before exporting it to Excel.

  • @alenpauls5159
    @alenpauls5159 2 года назад

    amazing video Sven! i was wondering if there is way to work whit an excel that has two cells merged as a heading and inside that there are two different attributes. for ex: sales on row 1: columns 1,2; and row 2, column 1 is price, column 2 is quantity.
    when i put the key as price or quantity it makes a new column with these heading, can i point the program to read row 2?

  • @solomondagnew2590
    @solomondagnew2590 2 года назад

    i have impressed with your tutorials .please show us save delete and edit button and report generation based on the saved data

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thank you very much.
      For retrieving/editing data, have a look at the following short example:
      ruclips.net/video/RnTqlKzQhRY/видео.html
      I hope this helps!

  • @corowas
    @corowas Год назад

    Hello Sven, I appreciate the video it immensely helped me navigate the pandas module. I have one question about pysimplegui. When I try to offline no console i can not execute the file. I get an error that states that my excel file is uncallable. How would I ensure my excel file is included in the offline program or even if i were to put the program onto another computer how would i ensure the spreadsheet is mapped correctly. Thank you for your help I hope to hear back soon.

    • @CodingIsFun
      @CodingIsFun  Год назад

      Hi Colt. Thanks for watching. Happy to hear that the video was helpful. Regarding your question, please try the following (assuming you took the latest code from the GitHub repo:):
      Remove: current_dir = Path(__file__).parent if '__file__' in locals() else Path.cwd()
      Add: current_dir = Path.cwd()
      ..and try again. I hope it helps! Happy Coding!

  • @christiansfaith5631
    @christiansfaith5631 2 года назад

    Another great video discover

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Happy to hear that you enjoyed this one too! Thanks for the comments! :)

  • @wgalloPT
    @wgalloPT Год назад

    So I was wondering here and I would not know how to code. What if im going to enter information of a person or business, just to find out the business or person is already in the excel form? What could I do if I wanted to browse for a file and then click "enter" and then voila, all the pertinent fields would be filled automatically? Is this a hard thing to accomplish?? On and off I stop by because I simple love everything you do here, congratulations and thank you for all !!!!

    • @CodingIsFun
      @CodingIsFun  Год назад

      Thanks for watching and for your question. That is possible. A while ago, I created a quick example that shows you how to retrieve values from the Excel file. You can find it here: ruclips.net/video/RnTqlKzQhRY/видео.html
      While it is not exactly what you want, I hope it is a good starting point. Happy Coding! :)

  • @Puzzletainments
    @Puzzletainments 2 года назад

    Thanks for the video, I have a question..
    I want my header row in EXCEL to have some color, with BOLD and bigger text , so i saved the Excel sheet header with a color, but the moment i ran the script header color is reverting back. How to fix it?

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thanks for watching. In the current code, you always create a new Excel file. Hence, all your formatting is gone when submitting the form. You could use the openpyxl library to only add the new data to an existing sheet. I do not have the time to code an example for you, but hopefully, it points you in the right direction. Happy Coding!

  • @AhmedRabeh18
    @AhmedRabeh18 2 года назад +1

    ارجوا منك ان تشرح كيف يمكن أن أبرمج بلغة البايثون زر داخل تطبيقي لاختيار الملفات، أي عند النقر عليه يمكنني من اختيار ملفات من على الجهاز؟ ثم نقوم بالتعديل عليها بدون فتح الملف" ...اقصد ملفات الاكسال

    • @CodingIsFun
      @CodingIsFun  2 года назад +1

      Check out the following tutorial: ruclips.net/video/_H5hsUwv8lE/видео.html
      I hope it helps! Happy Coding!

    • @AhmedRabeh18
      @AhmedRabeh18 2 года назад

      @@CodingIsFun Thank you

  • @sahilmujawar5509
    @sahilmujawar5509 2 года назад

    Thank you for share knowledge.Please make same video for invoice genrater.(When we type items name it's show drop down)

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thank you for watching the video & your suggestion.

  • @yajan6650
    @yajan6650 3 года назад

    This is seriously impressive. 👏

  • @brijendraydv
    @brijendraydv 2 года назад

    Awsome,could you.also explain the code by wiritng how to avoid duplicate entries?

    • @CodingIsFun
      @CodingIsFun  Год назад +1

      Thanks so much for watching the video and leaving a comment! Your request is definitely noted. However, I get a ton of requests for custom solutions and, as much as I'd love to help everyone out, I just don't have the time in my schedule to develop and test all of them. I hope you can understand. Happy Coding!

  • @proprocessengineer7231
    @proprocessengineer7231 2 года назад

    Thank you for the simple video and your code. If I want to change the color of the tab after user input is submitted, how do I do this?

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thank you for watching the video and for your question. Unfortunately, I do not know how to implement that right off the bat. I would also need to search the internet/documentation for a solution. Sorry that I cannot help!

    • @proprocessengineer7231
      @proprocessengineer7231 2 года назад

      @@CodingIsFun NP. Thank you.

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

    This is a great video, I do have one question. My df = df.append(values, ingore_index=True) is throwing an AttributeError: 'DataFrame' object has no attribute 'append'. Did you mean: '_append'?

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

      Thanks for watching. Please use updated code from my GitHub repo. Thanks! -Sven

  • @ankitseth100
    @ankitseth100 2 года назад

    Great video, subscribed

  • @rmp5s
    @rmp5s Год назад

    Very cool!!

  • @AkashYadav-uz2nj
    @AkashYadav-uz2nj 3 года назад +2

    can you please make video on how to stack screens in PySimpleGUI.

    • @CodingIsFun
      @CodingIsFun  3 года назад

      Thanks for watching the video & your video suggestion. You might want to check out the following article on how to work with multiple windows using PySimpleGUI:
      www.blog.pythonlibrary.org/2021/01/20/pysimplegui-working-with-multiple-windows/
      I hope this helps! Happy Coding! 😀

  • @lenny95sehs
    @lenny95sehs Год назад

    Awesome video!
    Would there a way to only enter data if approved from a certain user? This is something I am trying to build at work with an approval by certain user layer before it is added to data entry register.

    • @CodingIsFun
      @CodingIsFun  Год назад +1

      Thank you!
      You could retrieve the current user as follows:
      import getpass
      getpass.getuser()
      Once you know the user name, you can validate their access using a database.
      I hope it helps! Happy Coding!

  • @michaelskirde-visuata5742
    @michaelskirde-visuata5742 2 года назад

    Hey, really a great tutorial. This I was looking for. Let‘s see if there is also an app to display the content of the excel file.

    • @CodingIsFun
      @CodingIsFun  2 года назад

      Thanks! Here is a small example of how to retrieve data: ruclips.net/video/RnTqlKzQhRY/видео.html
      Perhaps it already helps. Happy Coding!

  • @guatireguitar
    @guatireguitar Год назад

    I made a practice with the video y it works perfectly... Thank you very much, so i have a question: it's possible to make the same program but with an Excel file macros enable? I mean, with a file.xlsm? a can i call it from de excel file?

    • @CodingIsFun
      @CodingIsFun  Год назад +1

      Thanks for watching. No, it does not work with Macro enabled workbooks (xlsm). In that case, you could try to use the 'openpyxl' module, instead of pandas. Happy Coding!

    • @guatireguitar
      @guatireguitar Год назад

      @@CodingIsFun Thanks a lot! I will try with openpyxl... So, a can conbine python an vba with that library?