Due to COVID-19 epidemic Coursera has made some of their courses FREE for all. If you can complete these courses within the certain time period, you may earn a Certificate for FREE. You can earn Coursera Certificates For Free On Some Programming Courses During the Coronavirus Epidemic.
https://medium.com/@exploreroftruth/earn-coursera-certificates-for-free-on-some-programming-courses-during-the-coronavirus-epidemic-e5c468c912b7
/r/Python
https://redd.it/gui2gt
https://medium.com/@exploreroftruth/earn-coursera-certificates-for-free-on-some-programming-courses-during-the-coronavirus-epidemic-e5c468c912b7
/r/Python
https://redd.it/gui2gt
Medium
Earn Coursera Certificates For Free On Some Programming Courses During the Coronavirus Epidemic.
Coursera Together: enroll today and get courses for free.
python-skyfield: Elegant astronomy for Python
https://github.com/skyfielders/python-skyfield
/r/Python
https://redd.it/gukh6t
https://github.com/skyfielders/python-skyfield
/r/Python
https://redd.it/gukh6t
GitHub
GitHub - skyfielders/python-skyfield: Elegant astronomy for Python
Elegant astronomy for Python. Contribute to skyfielders/python-skyfield development by creating an account on GitHub.
70+ Code profiles of common Python algorithms, optimized for execution speed
Disclaimer: This repository is the companion code for a book I wrote. I wanted to share these free resources here that can be used without the accompanying book.
This repo is based on an [old post](https://www.reddit.com/r/Python/comments/ewu92k/some_standalone_scripts_to_show_how_hidden/) and an [old presentation](https://www.meetup.com/Bethesda-Data-Science-Networking-Meetup/events/268279787/) I gave where I tried to document some of the most inefficient Python algorithms I have ever seen. Eventually, I cataloged enough examples to write a nice well-organized book with tons of examples. Here are the results.
See the `readme` for instructions to run. Setup is super simple, and the graphs are pretty.
+ Binary search: [binary_search.py](https://github.com/chrisconlan/fast-python/blob/master/src/binary_search.py)
+ Dictionary construction: [build_dict.py](https://github.com/chrisconlan/fast-python/blob/master/src/build_dict.py)
+ Concatenating strings, string construction: [concatenate_strings.py](https://github.com/chrisconlan/fast-python/blob/master/src/concatenate_strings.py)
+ Counting the frequency of a value: [count_occurrences.py](https://github.com/chrisconlan/fast-python/blob/master/src/count_occurrences.py)
+ Computing a cumulative sum: [cumulative_sum.py](https://github.com/chrisconlan/fast-python/blob/master/src/cumulative_sum.py)
+ The `in` operator and early stopping: [early_stopping.py](https://github.com/chrisconlan/fast-python/blob/master/src/early_stopping.py)
+ Time series filters/convolutions: [filters.py](https://github.com/chrisconlan/fast-python/blob/master/src/filters.py)
+ Find largest `k` values in a list: [find_top_k.py](https://github.com/chrisconlan/fast-python/blob/master/src/find_top_k.py)
+ List construction/declaration/flattening: [flatten_lists.py](https://github.com/chrisconlan/fast-python/blob/master/src/flatten_lists.py)
+ Counting lines in a file: [line_count.py](https://github.com/chrisconlan/fast-python/blob/master/src/line_count.py)
+ Set intersection, finding matches in a list: [match_within.py](https://github.com/chrisconlan/fast-python/blob/master/src/match_within.py)
+ Matrix multiplication: [matrix_multiplication.py](https://github.com/chrisconlan/fast-python/blob/master/src/matrix_multiplication.py)
+ Computing moving averages: [moving_averages.py](https://github.com/chrisconlan/fast-python/blob/master/src/moving_averages.py)
+ Counting frequency of a word in text: [occurrences_of.py](https://github.com/chrisconlan/fast-python/blob/master/src/occurrences_of.py)
+ Looping through `pd.DataFrame` objects: [pandas_loops.py](https://github.com/chrisconlan/fast-python/blob/master/src/pandas_loops.py)
+ Sorting algorithms: [sorting.py](https://github.com/chrisconlan/fast-python/blob/master/src/sorting.py)
+ Low-level sorting algorithms: [sorting_v2.py](https://github.com/chrisconlan/fast-python/blob/master/src/sorting_v2.py)
+ Adding a list of numbers: [sum.py](https://github.com/chrisconlan/fast-python/blob/master/src/sum.py)
/r/Python
https://redd.it/gul5zp
Disclaimer: This repository is the companion code for a book I wrote. I wanted to share these free resources here that can be used without the accompanying book.
This repo is based on an [old post](https://www.reddit.com/r/Python/comments/ewu92k/some_standalone_scripts_to_show_how_hidden/) and an [old presentation](https://www.meetup.com/Bethesda-Data-Science-Networking-Meetup/events/268279787/) I gave where I tried to document some of the most inefficient Python algorithms I have ever seen. Eventually, I cataloged enough examples to write a nice well-organized book with tons of examples. Here are the results.
See the `readme` for instructions to run. Setup is super simple, and the graphs are pretty.
+ Binary search: [binary_search.py](https://github.com/chrisconlan/fast-python/blob/master/src/binary_search.py)
+ Dictionary construction: [build_dict.py](https://github.com/chrisconlan/fast-python/blob/master/src/build_dict.py)
+ Concatenating strings, string construction: [concatenate_strings.py](https://github.com/chrisconlan/fast-python/blob/master/src/concatenate_strings.py)
+ Counting the frequency of a value: [count_occurrences.py](https://github.com/chrisconlan/fast-python/blob/master/src/count_occurrences.py)
+ Computing a cumulative sum: [cumulative_sum.py](https://github.com/chrisconlan/fast-python/blob/master/src/cumulative_sum.py)
+ The `in` operator and early stopping: [early_stopping.py](https://github.com/chrisconlan/fast-python/blob/master/src/early_stopping.py)
+ Time series filters/convolutions: [filters.py](https://github.com/chrisconlan/fast-python/blob/master/src/filters.py)
+ Find largest `k` values in a list: [find_top_k.py](https://github.com/chrisconlan/fast-python/blob/master/src/find_top_k.py)
+ List construction/declaration/flattening: [flatten_lists.py](https://github.com/chrisconlan/fast-python/blob/master/src/flatten_lists.py)
+ Counting lines in a file: [line_count.py](https://github.com/chrisconlan/fast-python/blob/master/src/line_count.py)
+ Set intersection, finding matches in a list: [match_within.py](https://github.com/chrisconlan/fast-python/blob/master/src/match_within.py)
+ Matrix multiplication: [matrix_multiplication.py](https://github.com/chrisconlan/fast-python/blob/master/src/matrix_multiplication.py)
+ Computing moving averages: [moving_averages.py](https://github.com/chrisconlan/fast-python/blob/master/src/moving_averages.py)
+ Counting frequency of a word in text: [occurrences_of.py](https://github.com/chrisconlan/fast-python/blob/master/src/occurrences_of.py)
+ Looping through `pd.DataFrame` objects: [pandas_loops.py](https://github.com/chrisconlan/fast-python/blob/master/src/pandas_loops.py)
+ Sorting algorithms: [sorting.py](https://github.com/chrisconlan/fast-python/blob/master/src/sorting.py)
+ Low-level sorting algorithms: [sorting_v2.py](https://github.com/chrisconlan/fast-python/blob/master/src/sorting_v2.py)
+ Adding a list of numbers: [sum.py](https://github.com/chrisconlan/fast-python/blob/master/src/sum.py)
/r/Python
https://redd.it/gul5zp
reddit
Some standalone scripts to show how hidden complexity can sneak up...
Just requires pandas and Python 3. This is for a presentation later. What do you think? Any other good examples I ought to...
Flask Corona Dark - MIT Licensed Simple starter with Black/Dark design coded in Flask
https://github.com/app-generator/flask-dashboard-corona-dark
/r/flask
https://redd.it/gulm8s
https://github.com/app-generator/flask-dashboard-corona-dark
/r/flask
https://redd.it/gulm8s
GitHub
GitHub - app-generator/flask-dashboard-corona-dark: Flask Dashboard - Corona Dark Design | AppSeed
Flask Dashboard - Corona Dark Design | AppSeed. Contribute to app-generator/flask-dashboard-corona-dark development by creating an account on GitHub.
[ open source project ] [ Flask ] point me in the right direction
Hi guys,
I'm looking to contribute in a flask open source project some what beginner friendly.
Please drop a link of some active ones that you know that helped you when you first started with flask.
thank you
/r/flask
https://redd.it/gukjqm
Hi guys,
I'm looking to contribute in a flask open source project some what beginner friendly.
Please drop a link of some active ones that you know that helped you when you first started with flask.
thank you
/r/flask
https://redd.it/gukjqm
reddit
[ open source project ] [ Flask ] point me in the right direction
Hi guys, I'm looking to contribute in a flask open source project some what beginner friendly. Please drop a link of some active ones that you ...
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/IPython
https://redd.it/guqp99
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/IPython
https://redd.it/guqp99
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...
[R] Introduction to Machine Learning & AI lectures by DeepMind and UCL
https://www.youtube.com/playlist?list=PLqYmG7hTraZCDxZ44o4p3N5Anz3lLRVZF
/r/MachineLearning
https://redd.it/gulkrs
https://www.youtube.com/playlist?list=PLqYmG7hTraZCDxZ44o4p3N5Anz3lLRVZF
/r/MachineLearning
https://redd.it/gulkrs
YouTube
DeepMind x UCL | Deep Learning Lecture Series 2020
The Deep Learning Lecture Series is a collaboration between DeepMind and the UCL Centre for Artificial Intelligence. Over the past decade, Deep Learning has ...
Adding 2fa to a website?
Hi, I'm in the process of making a webpage which will blog about malware and all things hacking related and wanted to know (since the nature of this page is hacking) how hard would it be to add two factor authentication to login pages and what would be the most secure way to do it? Does anyone have a link to making secure sites with flask? Any help is appreciated.
/r/flask
https://redd.it/guqs9r
Hi, I'm in the process of making a webpage which will blog about malware and all things hacking related and wanted to know (since the nature of this page is hacking) how hard would it be to add two factor authentication to login pages and what would be the most secure way to do it? Does anyone have a link to making secure sites with flask? Any help is appreciated.
/r/flask
https://redd.it/guqs9r
reddit
r/flask - Adding 2fa to a website?
2 votes and 1 comment so far on Reddit
"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...