A Python Flask Web App Showing Schools with Google Maps

Поділитися
Вставка
  • Опубліковано 9 лис 2024

КОМЕНТАРІ • 36

  • @teho1536
    @teho1536 3 роки тому +3

    "I'm gonna call this wci because that's what the kids call it."
    awww! Protect this man at all costs

    • @DaveBriccetti
      @DaveBriccetti  6 місяців тому +1

      I reread this comment from time to time, and enjoy it very much.

  • @boca1psycho
    @boca1psycho 4 роки тому +1

    Thank you for sharing this. When looking at how you setup the schools class I understood a little bit more about tuples

  • @narusas6
    @narusas6 3 роки тому

    I surrender searching the implementation fully in Flask for this. Thank you, it was not that hard.

  • @navaroohi4729
    @navaroohi4729 5 років тому +1

    Hello , thank you so much for the tutorial video, very helpful. you dont have it with API key by any chance, do you ?I dont know where to add my api key

    • @DaveBriccetti
      @DaveBriccetti  5 років тому

      Hi. Sorry, I don’t, but I’ll make a note that I should update this. Thanks for writing.

  • @pavloscharalambides9096
    @pavloscharalambides9096 2 роки тому

    Hi thanks, this has been very useful to me! I have the following question.
    I have a similar set up, however I would like to put my js code in a separate script.js file. What would be the best way to access the school.lat and school.lng from the .js file? Thanks a lot!

    • @DaveBriccetti
      @DaveBriccetti  2 роки тому

      Sorry for my delay! Do you still have the question?

    • @pavloscharalambides9096
      @pavloscharalambides9096 2 роки тому

      @@DaveBriccetti thanks for getting back to me, but no all good I've solved my query! Very helpful video!

  • @alexanderantonio5239
    @alexanderantonio5239 7 місяців тому

    greetings dave, I am currently working on a car mechanic scheduling flask app . I am trying to integrate the google maps once user submits zipcode showing nearby mechanics and the booking api. So far, i have a login , register, homepage. Its coming along just trying to find resources to guide me along.
    thanks, would love to hear from you

    • @DaveBriccetti
      @DaveBriccetti  7 місяців тому +1

      Sounds good. How’s your progress?

    • @alexanderantonio5239
      @alexanderantonio5239 6 місяців тому

      @@DaveBriccetti update, i have a working project . its pretty cool. Flask, Sql, javascript. Next steps, deployment, and presenting it to class

    • @DaveBriccetti
      @DaveBriccetti  6 місяців тому +1

      @@alexanderantonio5239 Excellent! Congrats. If you make it public, feel free to post here how to find it.

    • @alexanderantonio5239
      @alexanderantonio5239 5 місяців тому

      @@DaveBriccetti hey dave, graduated but unsure if i should go for my bachelors in comp sci . I currently have the mechanic capstone project to showcase to employers for experience. I do think having a bachelors will benefit in the market but employers are looking for some kind of experience. Currently, working sharping my skills and working on projects. would like to know ?

  • @shreyatyagi2381
    @shreyatyagi2381 5 років тому +1

    Sir I tried this python code using pycharm but the code is showing lots of errors.

    • @DaveBriccetti
      @DaveBriccetti  5 років тому

      Hi. I think Google is requiring an API key now. Is that consistent with your errors? And, are you using Python 3?

    • @shreyatyagi2381
      @shreyatyagi2381 5 років тому

      I m using pycharm v 2018.3.5

    • @DaveBriccetti
      @DaveBriccetti  5 років тому

      PyCharm works with Python 2 and Python 3, so that doesn't answer that question. What errors are you getting?

  • @alir8zana635
    @alir8zana635 6 років тому +1

    please do a tutorial on this project
    thank you for sharing this project

    • @DaveBriccetti
      @DaveBriccetti  6 років тому

      Hi. What specifically are you thinking of?

  • @suryaveeramachaneni5096
    @suryaveeramachaneni5096 3 роки тому

    I have added API key, now google Maps is getting displayed, but after 2 seconds, it's showing nothing. Any help?

    • @DaveBriccetti
      @DaveBriccetti  3 роки тому

      Hi. Interesting! Does anything helpful appear in the browser console?

  • @1331death
    @1331death 7 років тому

    Is There a way to run the page in a no local host?

    • @DaveBriccetti
      @DaveBriccetti  7 років тому +1

      +Jorge you could copy the files onto a web server. Is that what you're asking about?

  • @uforoetim7286
    @uforoetim7286 6 років тому

    THANKS...WHAT EDITOR ARE YOU USING?

    • @DaveBriccetti
      @DaveBriccetti  6 років тому

      Uforo Etim hi. That's PyCharm.

    • @uforoetim7286
      @uforoetim7286 6 років тому

      Oh Dave, thanks a million

    • @uforoetim7286
      @uforoetim7286 6 років тому +1

      AM A GIS STUDENT AND WANT TO CARRYOUT WEBMAPPING APP...I DONT KNOW IF COULD PUT ME THROUGH...THOUGH YOUR TUTORIAL GAVE ME THE MOTIVATION...THANKS DAVE

  • @Neptune997
    @Neptune997 7 років тому +2

    I was trying this out myself.
    In line...
    schools_by_key = {school.key: school for school in schools}
    gave me...
    TypeError: iteration over non-sequence

    • @DaveBriccetti
      @DaveBriccetti  7 років тому +1

      Hi. Maybe a missing comma? Tuples with a single element need a trailing comma.

    • @Radiant-hf2vh
      @Radiant-hf2vh 6 років тому

      Use schools.keys()

  • @VivianPpmonkey
    @VivianPpmonkey 7 років тому +1

    Hi, your video is really helpful but when I run your code I have encountered error : js:35 Google Maps API error: MissingKeyMapError and Google Maps API warning: NoApiKeys. But I have already appended my api key in the url as this:
    src="maps.googleapis.com/maps/api/js?key=AIzaSyCBVqrF_c7Tsp9Bh9bp2Avg3UNf3Hz07Yc" I am really confused...do you have any idea of how to solve this? Thanks so much!

    • @DaveBriccetti
      @DaveBriccetti  7 років тому

      I just looked at my code, and I’m not using an API key. I wonder why Google allows this for me. Can anyone explain, and help Lufan Zhang?

    • @VivianPpmonkey
      @VivianPpmonkey 7 років тому

      Hi, I have already solved the problem and it works now. Thanks...

    • @DaveBriccetti
      @DaveBriccetti  7 років тому +1

      Lufan Zhang should you explain the solution in case someone else has the problem? I'm glad to hear you have it solved.

    • @vivianzhang2531
      @vivianzhang2531 7 років тому

      Lufan Zhang Actually I am using virtualenv with flask and I just modify the HTML file in the wrong directory. And if the directory is correct then just append the API key as I did will work fine.