"Automate the Boring Stuff with Python" online course is free to sign up for the next few days with code JUN2020FREE
https://inventwithpython.com/automateudemy (This link will automatically redirect you to the latest discount code.)
You can also click this link or manually enter the code: JUN2020FREE (on Monday the code changes to JUN2020FREE2)
https://www.udemy.com/course/automate/?couponCode=JUN2020FREE
This promo code works until June 7th (I can't extend it past that). Sometimes it takes 30 minutes or so for the code to become active just after I create it, so if it doesn't work, go ahead and try again a while later.
Udemy has changed their coupon policies, and I'm now only allowed to make 3 coupon codes each month with several restrictions. Hence why each code only lasts 3 days. **I won't be able to make codes after this period**, but I will be making free codes next month. [Meanwhile, the first 15 of the course's 50 videos are free on YouTube.](https://www.youtube.com/watch?v=1F_OgqRuSdI&list=PL0-84-yl1fUnRuXGFe_F7qSH1LEnn9LkW)
You can also purchase the course at a discount using my code MAY2020 or JUN2020 (or whatever month/year it is) or clicking https://inventwithpython.com/automateudemy to redirect to the latest discount code. I have to manually renew this each month (until I get that automation script done). And the cheapest I can offer the course is about $14 to $16. (Meanwhile, this lets Udemy undercut my discount by offering it
/r/Python
https://redd.it/guwhkt
https://inventwithpython.com/automateudemy (This link will automatically redirect you to the latest discount code.)
You can also click this link or manually enter the code: JUN2020FREE (on Monday the code changes to JUN2020FREE2)
https://www.udemy.com/course/automate/?couponCode=JUN2020FREE
This promo code works until June 7th (I can't extend it past that). Sometimes it takes 30 minutes or so for the code to become active just after I create it, so if it doesn't work, go ahead and try again a while later.
Udemy has changed their coupon policies, and I'm now only allowed to make 3 coupon codes each month with several restrictions. Hence why each code only lasts 3 days. **I won't be able to make codes after this period**, but I will be making free codes next month. [Meanwhile, the first 15 of the course's 50 videos are free on YouTube.](https://www.youtube.com/watch?v=1F_OgqRuSdI&list=PL0-84-yl1fUnRuXGFe_F7qSH1LEnn9LkW)
You can also purchase the course at a discount using my code MAY2020 or JUN2020 (or whatever month/year it is) or clicking https://inventwithpython.com/automateudemy to redirect to the latest discount code. I have to manually renew this each month (until I get that automation script done). And the cheapest I can offer the course is about $14 to $16. (Meanwhile, this lets Udemy undercut my discount by offering it
/r/Python
https://redd.it/guwhkt
Udemy
Automate the Boring Stuff with Python Programming Course
A practical programming course for office workers, academics, and administrators who want to improve their productivity.
This media is not supported in your browser
VIEW IN TELEGRAM
Made a script that visualizes the vocabulary diversity in given user's followers' tweets. Bigger nodes in the network show diversity
/r/Python
https://redd.it/gutydj
/r/Python
https://redd.it/gutydj
Python Newbie needs help with selenium
Hello everyone,
I'm pretty much at the beginning of learning python and I'm facing a problem with finding a solution how to select and extract a specific text.
​
https://preview.redd.it/3275n32e3e251.png?width=1229&format=png&auto=webp&s=8ad70b59a180b297f2b294de8a64acc6ea1d3648
All lists look like that.. In the end I want to end up with the href's extracted in a text document.. but I'm already having a struggle searching this exact element in my code + I never extracted something out of selenium.
​
I'd appreciate a helping hand if someone has the experience and time.
Thanks in advance.
/r/Python
https://redd.it/guwjgl
Hello everyone,
I'm pretty much at the beginning of learning python and I'm facing a problem with finding a solution how to select and extract a specific text.
​
https://preview.redd.it/3275n32e3e251.png?width=1229&format=png&auto=webp&s=8ad70b59a180b297f2b294de8a64acc6ea1d3648
All lists look like that.. In the end I want to end up with the href's extracted in a text document.. but I'm already having a struggle searching this exact element in my code + I never extracted something out of selenium.
​
I'd appreciate a helping hand if someone has the experience and time.
Thanks in advance.
/r/Python
https://redd.it/guwjgl
User and request authentication. Flask API securely interacting with React front end?
Hi all,
I have a flask app that uses `bootstrap`, `jinja` templates and all that good stuff. I followed the excellent tutorials by Nick Janetakis and setup quite a nice little app.
I now want to learn `React` so I've setup some docker containers and I have a barebones Flask API running in one container, React running in another and the Flask API is now talking to a remote Mongo database.
In the current version of the app I simply do all the auth etc using `Flask-Login`. Works a treat but I now need to interact with the API externally via React.
How do you go about securely connecting to the API, authenticating the requests, etc so that I can create a CRUD system with this stack?
It's my first move away from the fully contained world of Flask so apologies if it seems a bit of a basic question.
Thank you
/r/flask
https://redd.it/gv04jx
Hi all,
I have a flask app that uses `bootstrap`, `jinja` templates and all that good stuff. I followed the excellent tutorials by Nick Janetakis and setup quite a nice little app.
I now want to learn `React` so I've setup some docker containers and I have a barebones Flask API running in one container, React running in another and the Flask API is now talking to a remote Mongo database.
In the current version of the app I simply do all the auth etc using `Flask-Login`. Works a treat but I now need to interact with the API externally via React.
How do you go about securely connecting to the API, authenticating the requests, etc so that I can create a CRUD system with this stack?
It's my first move away from the fully contained world of Flask so apologies if it seems a bit of a basic question.
Thank you
/r/flask
https://redd.it/gv04jx
reddit
User and request authentication. Flask API securely interacting...
Hi all, I have a flask app that uses `bootstrap`, `jinja` templates and all that good stuff. I followed the excellent tutorials by Nick...
All jokes aside, the Django tutorial is one of the most organized and educational tutorials I've ever done.
It gently introduces you to every aspect of the framework so you quickly understand the "big picture" and provides you with additional links on each part if you want to dive deeper on your own. It also points out common errors that beginners get stuck on such as typing in [http://127.0.0.1:8000/](http://127.0.0.1:8000/) instead of [http://127.0.0.1:8000/polls/](http://127.0.0.1:8000/).
One other thing I liked was the tidbits about the design philosophy behind each part so we understand why we do this the way we do.
/r/django
https://redd.it/guuqw9
It gently introduces you to every aspect of the framework so you quickly understand the "big picture" and provides you with additional links on each part if you want to dive deeper on your own. It also points out common errors that beginners get stuck on such as typing in [http://127.0.0.1:8000/](http://127.0.0.1:8000/) instead of [http://127.0.0.1:8000/polls/](http://127.0.0.1:8000/).
One other thing I liked was the tidbits about the design philosophy behind each part so we understand why we do this the way we do.
/r/django
https://redd.it/guuqw9
reddit
All jokes aside, the Django tutorial is one of the most organized...
It gently introduces you to every aspect of the framework so you quickly understand the "big picture" and provides you with additional links on...
I made a coding interview site with video conferencing, collaborative code editing and remote code execution.
/r/Python
https://redd.it/gv2dy5
/r/Python
https://redd.it/gv2dy5
Can't create index page
I'm trying to make my app with blueprints and when trying to set up the index page it catches an error. Index is under Localito/core/views.py. I don't know what I'm doing wrong.
werkzeug.routing.BuildError: Could not build url for endpoint 'index'. Did you mean 'core.index' instead?
​
code: [https://github.com/halabito8/Localito](https://github.com/halabito8/Localito)
/r/flask
https://redd.it/guzuxb
I'm trying to make my app with blueprints and when trying to set up the index page it catches an error. Index is under Localito/core/views.py. I don't know what I'm doing wrong.
werkzeug.routing.BuildError: Could not build url for endpoint 'index'. Did you mean 'core.index' instead?
​
code: [https://github.com/halabito8/Localito](https://github.com/halabito8/Localito)
/r/flask
https://redd.it/guzuxb
what's the easiest way to get information on ipython release 5.10.0?
i noticed today that there is a new ipython release 5.10.0.
### what's the easiest way to get information on ipython release 5.10.0?
i tried readthedocs but they stopped at about 5.9 and for that release and earlier they only had like 1-3 high level bullet points.
i did find mention of the release on the github.com/ipython/ipython/releases but no summary.
### do i need to generate the release notes myself via https://github.com/github-tools/github-release-notes?
usually release notes are done by the project not the developer using the project.
---
i guess ipython-5.x is still getting a release because it supports python-2.7 and there's still a lot of python-2.7 users.
so maybe any ipython-5.x release won't get any release docs going forward.
/r/IPython
https://redd.it/gulyce
i noticed today that there is a new ipython release 5.10.0.
### what's the easiest way to get information on ipython release 5.10.0?
i tried readthedocs but they stopped at about 5.9 and for that release and earlier they only had like 1-3 high level bullet points.
i did find mention of the release on the github.com/ipython/ipython/releases but no summary.
### do i need to generate the release notes myself via https://github.com/github-tools/github-release-notes?
usually release notes are done by the project not the developer using the project.
---
i guess ipython-5.x is still getting a release because it supports python-2.7 and there's still a lot of python-2.7 users.
so maybe any ipython-5.x release won't get any release docs going forward.
/r/IPython
https://redd.it/gulyce
GitHub
Releases · ipython/ipython
Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc. - ipython/ipython
What's everyone working on this week?
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your current project or your pet project; whatever you want to share.
/r/Python
https://redd.it/gv80nx
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your current project or your pet project; whatever you want to share.
/r/Python
https://redd.it/gv80nx
reddit
What's everyone working on this week?
Tell /r/python what you're working on this week! You can be bragging, grousing, sharing your passion, or explaining your pain. Talk about your...
What is going on?
While using Jupyter Notebook after a short period of time the tab will get an hourglass in the corner. After waiting for several minutes the tab still won't run any code. By shutting down the notebook from the Home page and re-opening it, the notebook starts to work again until the hourglass appears and nothing works any more. Why is this happening?
/r/JupyterNotebooks
https://redd.it/guqmnz
While using Jupyter Notebook after a short period of time the tab will get an hourglass in the corner. After waiting for several minutes the tab still won't run any code. By shutting down the notebook from the Home page and re-opening it, the notebook starts to work again until the hourglass appears and nothing works any more. Why is this happening?
/r/JupyterNotebooks
https://redd.it/guqmnz
reddit
What is going on?
While using Jupyter Notebook after a short period of time the tab will get an hourglass in the corner. After waiting for several minutes the tab...
I'm learning Digital Image Processing with opencv in Python at my university. Today I decided to write a script make deep fried memes. Link in my comments.
/r/Python
https://redd.it/gv2cu7
/r/Python
https://redd.it/gv2cu7
Can I automate a web scraping task that updates the django database?
I am working on an application that works with data which I have previously scraped from another website using Selenium. In order for my app to work with the most up-to-date data, I would like to set up a scheduled task that runs maybe twice a day to execute the script responsible for scraping said website.
Now I looked into this a little bit and see a lot of mentions of Celery as a scheduling tool. I was wondering whether it would be feasible for Celery to take care of running a Selenium driver.
I am planning to deploy this application to heroku and ideally the updating of the database would be fully automated once the application is live.
Can anyone confirm that this is feasible and potentially point me to some resources that will get me started?
Thank you
/r/django
https://redd.it/gvc9e3
I am working on an application that works with data which I have previously scraped from another website using Selenium. In order for my app to work with the most up-to-date data, I would like to set up a scheduled task that runs maybe twice a day to execute the script responsible for scraping said website.
Now I looked into this a little bit and see a lot of mentions of Celery as a scheduling tool. I was wondering whether it would be feasible for Celery to take care of running a Selenium driver.
I am planning to deploy this application to heroku and ideally the updating of the database would be fully automated once the application is live.
Can anyone confirm that this is feasible and potentially point me to some resources that will get me started?
Thank you
/r/django
https://redd.it/gvc9e3
reddit
r/django - Can I automate a web scraping task that updates the django database?
31 votes and 19 comments so far on Reddit
How to Create a Grocery Delivery And Pick-up Service App in Python
In this project, we will build an online grocery store web application using Django 3.0 and PostgreSQL with third-party libraries.
[https://www.education-ecosystem.com/brahim\_chougrani/2PEBk-how-to-create-instacart-clone-with-django/voGEG-porject-introduction/](https://www.education-ecosystem.com/brahim_chougrani/2PEBk-how-to-create-instacart-clone-with-django/voGEG-porject-introduction/)
/r/djangolearning
https://redd.it/gvee7s
In this project, we will build an online grocery store web application using Django 3.0 and PostgreSQL with third-party libraries.
[https://www.education-ecosystem.com/brahim\_chougrani/2PEBk-how-to-create-instacart-clone-with-django/voGEG-porject-introduction/](https://www.education-ecosystem.com/brahim_chougrani/2PEBk-how-to-create-instacart-clone-with-django/voGEG-porject-introduction/)
/r/djangolearning
https://redd.it/gvee7s
Education-Ecosystem
How to Create a Grocery Delivery And Pick-up Service App in Python - Education Ecosystem
Education Ecosystem is a project learning platform for people to learn how to build real products.
What are the exact uses of flask's SECRET_KEY
Hi, I just finished my project which I built with flask and I'm still not sure what the SECRET\_KEY is used for.I saw multiple answers over the web and wanted to be sure what's the correct one.I saw that the SECRET KEY is used for:
1. The csrf token in the forms ( { form.csrf\_token } ).
2. To encrypt the session id in the cookies (or something like that).
I want to know which one is correct (maybe both)My second question is: Is wekzeug.security.generate\_password\_hash uses it as well?
/r/flask
https://redd.it/gvekun
Hi, I just finished my project which I built with flask and I'm still not sure what the SECRET\_KEY is used for.I saw multiple answers over the web and wanted to be sure what's the correct one.I saw that the SECRET KEY is used for:
1. The csrf token in the forms ( { form.csrf\_token } ).
2. To encrypt the session id in the cookies (or something like that).
I want to know which one is correct (maybe both)My second question is: Is wekzeug.security.generate\_password\_hash uses it as well?
/r/flask
https://redd.it/gvekun
reddit
r/flask - What are the exact uses of flask's SECRET_KEY
17 votes and 6 comments so far on Reddit
Django To Do App project
Hi, I just started doing youtube, and I started by doing a series with django projects. In this series, i\`ll try to do a different to do app. Whish me luck!
[https://youtu.be/LQRGdCIYHKg](https://youtu.be/LQRGdCIYHKg)
/r/django
https://redd.it/gvk64s
Hi, I just started doing youtube, and I started by doing a series with django projects. In this series, i\`ll try to do a different to do app. Whish me luck!
[https://youtu.be/LQRGdCIYHKg](https://youtu.be/LQRGdCIYHKg)
/r/django
https://redd.it/gvk64s
YouTube
#1 Create Project | Python | Django Crash Course | To Do App
Hello guys, this is one of the many videos about Python and the Django framework which will come. This is part 1 from a big Django crash course where I`ll make different projects, and this one is about making a to do app. I really hope you like it and I`ll…
Integration with PostgreSQL: for a newbie
Hey All,
I am new to Django, could someone explain how Django integrates with PostgreSQL? I don't understand why my Django app is throwing errors, it is saying that my IP address is not found, yet I am running it on localhost.
/r/django
https://redd.it/gvljrx
Hey All,
I am new to Django, could someone explain how Django integrates with PostgreSQL? I don't understand why my Django app is throwing errors, it is saying that my IP address is not found, yet I am running it on localhost.
/r/django
https://redd.it/gvljrx
reddit
Integration with PostgreSQL: for a newbie
Hey All, I am new to Django, could someone explain how Django integrates with PostgreSQL? I don't understand why my Django app is throwing...
Any suggestion to find a remote Python job ?
I have worked as a python engineer(good at Django,Flask, Celery,MySQL, redis, influxdb and so on) for two years in China. Recentlly I am thinking about to find a remote job ,can anyone give me some suggestion ? THX:)
/r/django
https://redd.it/gvotnm
I have worked as a python engineer(good at Django,Flask, Celery,MySQL, redis, influxdb and so on) for two years in China. Recentlly I am thinking about to find a remote job ,can anyone give me some suggestion ? THX:)
/r/django
https://redd.it/gvotnm
reddit
Any suggestion to find a remote Python job ?
I have worked as a python engineer(good at Django,Flask, Celery,MySQL, redis, influxdb and so on) for two years in China. Recentlly I am...
I'd like to host a small Flask project, and I had some questions about the database
I've been using sqlite 3 for development, and I found the options of Postgresql or Mysql if I want to host my project and have other people use it.
Does anyone have any recommendations on which one to use? I think that the one I use will be dependent on whether I can find a free plan for the database on a host. I do not want to pay for a database because this is a learning project. A database host with a limited free plan will be great, so which one do you recommend?
Free Postgresql:
* Heroku
* [https://www.elephantsql.com/plans.html](https://www.elephantsql.com/plans.html)
Free Mysql:
* [https://remotemysql.com/](https://remotemysql.com/)
* [https://www.freemysqlhosting.net/](https://www.freemysqlhosting.net/)
* [https://www.db4free.net/](https://www.db4free.net/)
* [https://www.freesqldatabase.com/freemysqldatabase/](https://www.freesqldatabase.com/freemysqldatabase/)
Which one would you recommend?
Another question, should I download ALL of the database devtools for postgresql and mysql to my computer? I'd like to view the database directly and make changes if required, but I was wondering if you think Flask-Admin is enough
/r/flask
https://redd.it/gvotyl
I've been using sqlite 3 for development, and I found the options of Postgresql or Mysql if I want to host my project and have other people use it.
Does anyone have any recommendations on which one to use? I think that the one I use will be dependent on whether I can find a free plan for the database on a host. I do not want to pay for a database because this is a learning project. A database host with a limited free plan will be great, so which one do you recommend?
Free Postgresql:
* Heroku
* [https://www.elephantsql.com/plans.html](https://www.elephantsql.com/plans.html)
Free Mysql:
* [https://remotemysql.com/](https://remotemysql.com/)
* [https://www.freemysqlhosting.net/](https://www.freemysqlhosting.net/)
* [https://www.db4free.net/](https://www.db4free.net/)
* [https://www.freesqldatabase.com/freemysqldatabase/](https://www.freesqldatabase.com/freemysqldatabase/)
Which one would you recommend?
Another question, should I download ALL of the database devtools for postgresql and mysql to my computer? I'd like to view the database directly and make changes if required, but I was wondering if you think Flask-Admin is enough
/r/flask
https://redd.it/gvotyl
Django security releases issued: 3.0.7 and 2.2.13
https://www.djangoproject.com/weblog/2020/jun/03/security-releases/
/r/django
https://redd.it/gvrask
https://www.djangoproject.com/weblog/2020/jun/03/security-releases/
/r/django
https://redd.it/gvrask
reddit
Django security releases issued: 3.0.7 and 2.2.13
Posted in r/django by u/dwaxe • 4 points and 0 comments