PythonHow by Ardit Sulce
PythonHow by Ardit Sulce
  • Видео 38
  • Просмотров 625 805
Build a REST API with Python and Flask
This video was extracted from the Python course on Udemy “Python Mega Course: Learn Python in 60 Days, Build 20 Apps”:udemy.com/the-python-mega-course/
Просмотров: 421

Видео

How to deploy/publish Streamlit apps to Heroku
Просмотров 2,1 тыс.Год назад
This video mentions the various options you have for deploying Streamlit apps and covers the deployment process to Heroku step by step. This video was extracted from the Udemy course "The Python Mega Course": www.udemy.com/course/the-python-mega-course/learn/
How to deploy a Streamlit app to Streamlit Cloud
Просмотров 5 тыс.Год назад
Deploy a streamlit app to Streamlit Cloud using Github as a middleman. This video was extracted from the Udemy course "The Python Mega Course": www.udemy.com/course/the-python-mega-course/learn/
How to use Git in PyCharm #installation #commit #checkout #reset
Просмотров 26 тыс.Год назад
Learn how to enable Git for a PyCharm project, commit changes, check out and reset certain commits. This video is an extract from the Udemy course "The Python Mega Course": www.udemy.com/course/the-python-mega-course/
While loop in Python using an example
Просмотров 4463 года назад
Here is how to use a while loop in Python. In this particular example, we check if the user password is correct and we keep asking the user for the correct password using a while-loop.
All you need to know to understand Python!
Просмотров 6883 года назад
Get a deep understanding of Python in less than 15 minutes! This will change the way you look at Python. The above video is extracted from The Advanced Python Course: Build 10 Professional Program. If you want to learn more Python, click this link: www.udemy.com/course/the-python-pro-course/?referralCode=D1224FDF916B73D7E740.
Lecture 1: Building a Website Blocker with Python - How the Output will Look Like
Просмотров 1,4 тыс.4 года назад
In this video series, we will build a website blocker program with Python 3. The program will run on your computer and will not let you browse certain distracting websites (e.g. facebook, reddit, etc) during certain intervals of the day. The user can define the websites and the day intervals during which those websites will be blocked.
Lecture 6: Implementing the Second Part of the Python Website Blocker
Просмотров 2784 года назад
Here we will finally finish the Python program we have been building throughout the previous lectures.
Lecture 4: Setting Up the Infinite While Loop
Просмотров 2794 года назад
Here we will write a Python while loop which makes sure to run the Website Blocker program continuously until a certain time of the day is reached.
Lecture 5: Implementing the First Part of the Python Website Blocker
Просмотров 2814 года назад
Here we will write the first part of the Python program and in the next video, we will write the second.
Lecture 7: Scheduling a Python Program for Automatic Execution on Windows
Просмотров 5574 года назад
Learn how to schedule a Python .py program for automatic execution from your Windows computer at a certain time of the day.
Lecture 8: Scheduling a Python Program for Automatic Execution on Mac and Linux
Просмотров 2544 года назад
Learn how to schedule a Python .py program for automatic execution from your Linux or Mac at a certain time of the day.
Lecture 3: Setting Up the Python Script
Просмотров 2524 года назад
Here we start coding the Python Website Blocker app.
Lecture 2: Application Architecture
Просмотров 3394 года назад
Here we think about how we can make Python block browser access to a website as part of our Website Blocker program.
Simple Python program on Visual Studio Code
Просмотров 1,1 тыс.5 лет назад
Learn how to create a simple Python program that returns the current date and time.
Setting Up Python and Visual Studio Code IDE on Windows, Mac, and Linux
Просмотров 7405 лет назад
Setting Up Python and Visual Studio Code IDE on Windows, Mac, and Linux
How to deploy a Python (Flask) web app on a (PythonAnywhere) live server
Просмотров 105 тыс.5 лет назад
How to deploy a Python (Flask) web app on a (PythonAnywhere) live server
What really are objects in Python Object Oriented Programming (OOP)?
Просмотров 3,8 тыс.5 лет назад
What really are objects in Python Object Oriented Programming (OOP)?
How to set up Atom text editor on Windows for Python
Просмотров 123 тыс.6 лет назад
How to set up Atom text editor on Windows for Python
How to set up Atom text editor on Mac for Python
Просмотров 38 тыс.6 лет назад
How to set up Atom text editor on Mac for Python
Build three typical Python programs
Просмотров 9866 лет назад
Build three typical Python programs
How to set up Python 3 on Windows
Просмотров 6896 лет назад
How to set up Python 3 on Windows
How to setup Python 3 on Mac
Просмотров 7356 лет назад
How to setup Python 3 on Mac
How to create and execute a Python program on Windows
Просмотров 4916 лет назад
How to create and execute a Python program on Windows
Python tutorial on making a multilayer Leaflet web map with Folium
Просмотров 36 тыс.8 лет назад
Python tutorial on making a multilayer Leaflet web map with Folium
Python Bokeh Tutorial - Creating Interactive Web Visualizations
Просмотров 60 тыс.8 лет назад
Python Bokeh Tutorial - Creating Interactive Web Visualizations
Python for loop
Просмотров 3168 лет назад
Python for loop
Python - Extracting ZIP, TAR, GZ and other archives
Просмотров 31 тыс.8 лет назад
Python - Extracting ZIP, TAR, GZ and other archives
Geocoding addresses to latitude and longitude in QGIS
Просмотров 15 тыс.9 лет назад
Geocoding addresses to latitude and longitude in QGIS
How does GPS work
Просмотров 19 тыс.9 лет назад
How does GPS work

Комментарии

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

    Much Thanks @pythonhow for this awesome Video. Just a question Can you add another project within the same workspace?

  • @stardust.edit-it6535
    @stardust.edit-it6535 9 дней назад

    i freaking love u guy, yesterday around 12 noon i started to look on how to deploy my website, after a whole day of searching finally found a video that was in actual a blessing for me, going to show my school project tomorrow, bless me luck, and yes a big thank you sir.

  • @franciscobarrientos3922
    @franciscobarrientos3922 19 дней назад

    Hello thanks a lot, this was very well explained and very useful Just a question, if I may: what is the difference if in the "VCS menu" I select "Enable Version Control Integration..." or "Create Git Repository..." the only difference I can see is that in the second option I can select were to put the repository, but I wonder if there's some functionality difference

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

    bro i cant reach the websites , what did you do in backend file

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

    I put my home address book on PythonAnywhere, it uses flaxk and pymysql to store data for multiple users. This works great on my home server so I thought I'd put it on PythonAnywhere and it runs great, I get my IP info like at home. When I try to access the IP shown I get "can not access site" error and I've asked for help but have not gotten a response. I would like post other apps but if I can't access them thru the net then what good is it. I don't a sandbox to test stand alone apps. I want to host my address book so my whole family can use it. Not happening at the moment and they are no help. Their Forums are full of nonsense questions that a noob could figure out on their own but hard questions are ignored! I am still waiting for help from them, still hoping!

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

    Course was going good and then the first "test" is totally fucked and not something that was properly explained at all during the prior videos. Literally easier to just google shit.

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

    What if I've got javascript file?

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

    How it works with sql server?

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

    I have error with app.py in sql server driver

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

    Thank you

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

    and the requirements.txt file ? Shouldn't it be included in the deployed files?

  • @AnrifiddineAbdoulatuf-om2zy
    @AnrifiddineAbdoulatuf-om2zy 4 месяца назад

    thant you. but Is it necessary to have an index.html file?

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

    How to upload a file which is more than 100mb??

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

    this vid is simple and precise you're a life saver!

  • @a.gospelmlgowjchristamen
    @a.gospelmlgowjchristamen 4 месяца назад

    Thank you soooooo much, Godblessyou, awesome work

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

    Comentário para engajamento do vídeo

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

    "DearTeam, I wanted to express my heartfelt gratitude for the invaluable assistance your channel provided me with. Thanks to your informative content, I was able to Your dedication to sharing knowledge has truly made a difference in my life. Thank you immensely!"

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

    Welcome back after a year

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

    First view first like :)

  • @RulebookofWisdom-db2fk
    @RulebookofWisdom-db2fk 6 месяцев назад

    Comment je peux afficher les fichiers .css

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

    Thank you so much for how you have clearly explained how to upload a website for free. You really a very good teacher. 🎉🎉🎉🎉🎉

  • @gulrukh1386
    @gulrukh1386 7 месяцев назад

    Wonderful video, but I am still behind of you. I have one big question, as you have cleared much of my logic in Hosting. Question: As I have multiple files, one Python file, One index.html file, other are libraries and one Font folder, how I can arrange all these to RUN my APP on Web? Thanks please, respond me as soon as possible. with many thanks, Subscribed already....

    • @pythonhow
      @pythonhow 7 месяцев назад

      You can include the libraries in a requirements.txt file and upload that file to the web server.

  • @Glauber25cassio25
    @Glauber25cassio25 7 месяцев назад

    thanks a lot!!!

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

    Thanks a lot for making this tutorial. It covered everything about Git and how to commit changes from scratch for a complete beginner. Really made my Day !!!

  • @2013葉上寧
    @2013葉上寧 8 месяцев назад

    Hello, I think my website can't connect to the templates folder, since only the route without calling templates can work smooththly. What might happed?

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

    I am learning your Mega Course on udemy for Python and its very helpful. Thank you so much

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

    How to install dependencies?

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

      Hey, @thepirate_kinz1509, thank you for your question! Here you can find a short tutorial on how to install dependencies: pythonhow.com/how/install-dependencies/.

  • @dennisking8281
    @dennisking8281 10 месяцев назад

    I'm getting a permissions error: PermissionError: [Errno 13] Permission denied: '/mnt/data' when trying to run my application. I don't know how to address it.

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

      Hi @dennisking8281, A PermissionError: [Errno 13] Permission denied: '/mnt/data' typically occurs when your application does not have the necessary permissions to access a directory or file. On a platform like PythonAnywhere, this could happen if your code is trying to access a directory that your user account isn't allowed to access, or if you're trying to perform an operation that's not permitted. Here area few steps you can take to resolve this issue: 1- Check File Paths: Ensure that your code is using the correct file paths. On PythonAnywhere, you have a specific directory structure, and you should only write to your home directory (e.g., /home/YourUsername/) or to directories where your user has write permissions. 2- Check Permissions: On PythonAnywhere, you don't have permission to write to certain directories (like /mnt/data which is typical in a local environment). You need to modify your code to write to a directory where you have permissions. 3- Use the Correct Directory: Modify your Flask app's code to save files in a directory you have write access to. Typically, you can use a directory within your user's home directory (e.g., /home/YourUsername/myapp/data/).

  • @tanmay7414
    @tanmay7414 10 месяцев назад

    in the backend of my app I am using keras and pickle and when i do pickle.load() it says no module keras.src I havent faced this erroor while running on my local machine, how to solve it??

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

    what about .dat.gz.tar :( send help.

  • @SajnaP-s3e
    @SajnaP-s3e 11 месяцев назад

    It was very helpful, but something went wrong, could not figure out what

  • @FeraidonAbdulRahimzai-q8c
    @FeraidonAbdulRahimzai-q8c 11 месяцев назад

    Thank you so much!!! I've been trying to deploy my flask app for a project and it took me 2 days to reach you!! Super Helpful and easy to follow.

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

    Are the source code files still available? I can't get the links to work.

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

    Thanks for the tutorial. I'm on section 8 of The Python Mega Course by the way, I like the style of teaching.

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

    i try to deploy my flask to pythonanywhere and it run smooth, but when i try to fetch and post api from my flask server, it blocked by cors, how do i bypass it?

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

      To handle CORS in a Flask application, you can use the Flask-CORS extension, which makes it easy to add CORS headers to your responses. Here's how you can set it up: 1- Install Flask-CORS: First, make sure you install the Flask-CORS extension by running: pip install flask-cors If you're using a requirements.txt file for your PythonAnywhere app, add flask-cors to it. 2- Import and Initialize Flask-CORS: In your Flask application, import and initialize the CORS extension: from flask import Flask from flask_cors import CORS app = Flask(__name__) CORS(app) 3- Configure CORS: You can also configure CORS for specific routes or resources and set various options like allowing specific domains, headers, and methods: from flask_cors import cross_origin @app.route("/api/some_resource") @cross_origin() # This decorator allows CORS for all origins on this route def some_resource(): return jsonify(data="some data") 4- Deploy Changes: After making changes to your Flask application, don't forget to push these changes to PythonAnywhere and reload your web app for the changes to take effect. 5- Testing: Test the API endpoints from your front-end application to ensure that the CORS issue has been resolved.

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

    Hello Ardit. Am grateful for meeting you here, Iam Joshua Mwesigwa, a python programming student who loved python programming after your python mega course, specifically only the Django part, and would like to appreciate you for your carefully crafted explanation of it. You really took me from scratch, and I liked it for life. I would like to post an inquiry from you here

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

    what if i have a txt and yaml file instead of an html file?

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

      If you have .txt and .yaml files that you need to upload to PythonAnywhere, the process is similar to uploading any other type of file. Using the PythonAnywhere Web Interface: 1- Compress the Files: If you're on a free account and have multiple files, it's easier to compress them into a single .zip archive on your local machine. 2- Upload the Archive: Use the "Files" tab on PythonAnywhere to upload the .zip file. 3- Unzip the Files: Use a bash console on PythonAnywhere to unzip the files: unzip your-archive.zip

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

    Hello, I just watched your Udemy course : Automate Everything with Python. And I didnt find any way to contact you but I have a question…. In the Section where we send Email with Python. How does it work to send a rich HTML Email from Outlook, when Outlook has 2MFA activated… is there any way ? Thank you so much for your help.

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

    FINALLY!!!! OMG IT WORKS- for some reason my usual method of using Github repos and Heroku doesn't work and I also don't wanna pay for AWS S3. TYSMM lmao i should chill srry

  • @OnlyCode-es9cp
    @OnlyCode-es9cp Год назад

    what about dependencies

  • @Ajaykumar-hy2wm
    @Ajaykumar-hy2wm Год назад

    It doesn't worked

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

    F*OFF!!! This is the 100th time I see this, THIS DOES NOT WORK!

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

    May I just make a little addition that I found very helpful. If the website uses JavaScript anywhere, you need to turn on the Force HTTPS setting on the web app settings! I found this out when trying to use the code navigator.clipboard.writeText(). It just didn't seem to copy with the HTTP protocol but it started working with HTTPS.

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

    it never works for me. I want to pu my chatbot using PythonAnywhere but there is always an error.

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

    the source code files are not available anymore

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

    The files are not opening.

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

    Great tutorial, thank you for making this!

  • @-ee8fu
    @-ee8fu Год назад

    很好

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

    Hi, there is any way to upload more folders or files at once in pythonanywhere?

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

      Yes, PythonAnywhere supports uploading multiple files and folders, but the process depends on your account type. Here's how you can do it: For Free Accounts, you can only upload files one by one using the web interface. To upload multiple files or folders, you would need to: 1- Compress Your Files/Folders: Zip your folders and files on your local machine into a single .zip file. 2- Upload the Zip File: Use the "Files" tab on PythonAnywhere to upload the .zip file. 3- Unzip on PythonAnywhere: After uploading, you can use the "Bash" console on PythonAnywhere to unzip the file: unzip path/to/yourfile.zip

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

    This video really helped me.