Planet Python RSS
215 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Codementor: Stop using indices!

Link: https://www.codementor.io/philbest/stop-using-indices-woab0mh1t

Learn how to avoid indices in your loops and replace them with descriptive variable names.
Use tools like zip and enumerate to write awesome Pythonic loops.
Codementor: Python Comprehensions are Awesome!

Link: https://www.codementor.io/philbest/python-comprehensions-are-awesome-wp8r945xv

Python's comprehensions are short, highly readable ways of creating various collections from other iterables.
Master comprehensions and take your loops to the next level.
Catalin George Festila: Python 3.7.3 : Using attrgetter from operator python module.

Link: http://python-catalin.blogspot.com/2019/07/python-373-using-attrgetter-from.html

Return a callable object that fetches attr from its operand. If more than one attribute is requested, returns a tuple of attributes. The attribute names can also contain dots. see documentation.
The a
IslandT: Find the average negative values from the DataFrame

Link: https://kibiwebgeek.com/2019/07/10/find-the-average-negative-values-from-the-dataframe/

Create a Pandas’ DataFrame object.Find the average values from only the negative data values.
Hello and welcome back, since a few days ago I am not posting anything on this website because during thes
Codementor: Awesome Web Scraping

Link: https://www.codementor.io/innat_2k14/awesome-web-scraping-wquferej7

Awesome extraction from websites!
Catalin George Festila: Python 3.7.3 : About python version 3.7.3.

Link: http://python-catalin.blogspot.com/2019/07/python-373-about-python-version-373.html

All versions of python come with many features and changes with every released version.
A full list of these changes can be found at PEP official webpage and this documentation webpage.
The goal of th
Caktus Consulting Group: Book Review: Creating GUI Applications with wxPython

Link: http://www.caktusgroup.com/blog/2019/07/10/book-review-gui-applications/

I enjoyed working through the book Creating GUI Applications with wxPython by Michael Driscoll, learning various techniques for programming GUI applications in Python using wxPython.
This book is not
PSF GSoC students blogs: Week 5 Check-In

Link: http://blogs.python-gsoc.org/en/blogs/hecriss-blog/week-5-check-in/

Hello everyone!
At the start of this week, I revisited the box-into-capsule test and re-implemented a different algorithm. Instead of representing the capsule as two hemispheres and a cylinder, my men
PSF GSoC students blogs: Week 6 Check-In

Link: http://blogs.python-gsoc.org/en/blogs/hecriss-blog/week-6-check-in/

Welcome back!
This week, I started to implement the CollisionHeightfield class. My implementation is based off of Tim Sjostrand's "Efficient Intersection of Terrain Geometry in Real-Time Applications"
Python Circle: Creating custom user model and custom authentication in Django

Link: https://www.pythoncircle.com/post/28/creating-custom-user-model-and-custom-authentication-in-django/

How to extend the default user model in Django, Defining your own custom user model in Django. Writing your own authentication backend in Django, Using Email and Password to login in Django
Python Circle: How to create management commands in Django

Link: https://www.pythoncircle.com/post/48/how-to-create-management-commands-in-django/

creating custom management commands in Django application, Background tasks in Django App, Scheduled tasks in Django, How to schedule a task in Django application, How to create and schedule a cron in
Dataquest: Python Machine Learning Tutorial: Predicting Airbnb Prices

Link: https://www.dataquest.io/blog/machine-learning-tutorial/

Learn about machine learning in Python and build your very first ML model from scratch to predict Airbnb prices using k-nearest neighbors.
The post Python Machine Learning Tutorial: Predicting Airbnb
PSF GSoC students blogs: Coding week #6

Link: http://blogs.python-gsoc.org/en/blogs/mehaksachdevas-blog/coding-week-6/

What did I do this week?
This week I constructed a Monte Carlo experiment design to test the parameters from the Poisson MGWR model. The model was designed to create a random sample for the independe
PSF GSoC students blogs: Week 5

Link: http://blogs.python-gsoc.org/en/blogs/ironmaniiiths-blog/week-5-2/

What did you do this week?
 
Tried covering the tasks related to export from the previous meeting held with one of my mentor. Also spent some time in figuring out how the testings can be done with the