Planet Python RSS
216 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Ned Batchelder: Why your mock doesn’t work

Link: https://nedbatchelder.com//blog/201908/why_your_mock_doesnt_work.html

Mocking is
a powerful technique for isolating tests from undesired interactions among
components. But often people find their mock isn’t taking effect, and it’s not
clear why. Hopefully this explana
Catalin George Festila: Python 3.7.3 : Using the flask - part 007.

Link: http://python-catalin.blogspot.com/2019/08/python-373-using-flask-part-007.html

This will be a long tutorial because will try to link some information's from the last tutorials.
First, the structure of the project can see into my GitHub project.
I create new templates and another
PSF GSoC students blogs: Coding period: week #10

Link: http://blogs.python-gsoc.org/en/navaneethsureshs-blog/coding-period-week-10/

This is going to be a blog post about coding up a much requested feature by the community.
 
What did I do this week?
This week my mentor asked me to work on an interesting feature which was requested
IslandT: Search the currency pair on the tkinter display panel

Link: https://kibiwebgeek.com/2019/08/03/search-the-currency-pair-on-the-tkinter-display-panel/

In this article, we will create a new function which will search for the currency pair in the tkinter display panel then highlight that currency pair with green background.
First we will create the b
TechBeamers Python: Python Float()

Link: https://www.techbeamers.com/python-float-function/

This tutorial explains Python float() method that takes a number or string and returns a floating-point value. If it is not able to convert string to float, then it raises the ValueError. Let’s try to
Weekly Python StackOverflow Report: (clxxxix) stackoverflow python report

Link: http://python-weekly.blogspot.com/2019/08/clxxxix-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2019-08-03 18:41:35 GMTFind all the numbers in one file that are not in
Doug Hellmann: sphinxcontrib.datatemplates 0.5.0

Link: http://feeds.doughellmann.com/~r/doughellmann/python/~3/dPXJ8fu_VX0/

sphinxcontrib.datatemplates is an extension for Sphinx to render parts of reStructuredText pages from data files in formats like JSON, YAML, XML, and CSV. What’s new in 0.5.0? Add domain for Python Mo
PSF GSoC students blogs: Tenth week of GSoC: git-annex and datalad

Link: http://blogs.python-gsoc.org/en/sappelhoffs-blog/tenth-week-of-gsoc-git-annex-and-datalad/

In the last weeks Alex, Mainak and I were working on making the mne-study-template compatible with the Brain Imaging Data Structure (BIDS). This process involved testing the study template on many dif
Catalin George Festila: Python 3.7.3 : Using the flask - part 008.

Link: http://python-catalin.blogspot.com/2019/08/python-373-using-flask-part-008.html

The tutorial for today will show you how to understand the flash method and fix exceptions.
First, the Flask module contains a flash method which passes a message to the next request, which generally
PSF GSoC students blogs: Coding Period: Week 10

Link: http://blogs.python-gsoc.org/en/taapasx28s-blog/coding-period-week-10-1/

Hey everyone! This is what I did this week. In this phase, I worked mostly on the understanding of mergestate for developing a patch for hg update --abort. This is the last part that I need to complet
PSF GSoC students blogs: Blog post: Week 10

Link: http://blogs.python-gsoc.org/en/epassaros-blog/blog-post-week-10/

Hi everyone!
We made huge progress with the new Kurucz parser (it's almost ready!). As I said last week, this is a difficult task and involves reestructuring different pieces of existing code and some
PSF GSoC students blogs: Weekly CheckIn 9th

Link: http://blogs.python-gsoc.org/en/iflameings-blog/weekly-checkin-9th/

What did you do this week?
So, As I previously mention in this phase I have to write documentation and refactor the code. So, I started with writing documentation for the config options provided by th
PSF GSoC students blogs: SIxth Blog - GSOC 2019

Link: http://blogs.python-gsoc.org/en/abhinandan0659s-blog/sixth-blog-gsoc-2019/

Hello there, 
Its good to see you here.
So, this week I created a new PR for the new cheatsheet and also to fix a few responsiveness bugs on the landing page. My work for that PR is done. I have to fi
Catalin George Festila: Python 3.7.3 : Using the flask - part 004.

Link: http://python-catalin.blogspot.com/2019/07/python-373-using-flask-part-004.html

The goal of this tutorial is to interact with the database in order to use it with flask_sqlalchemy python module.
The db.Model is used to interact with the database.
A database doesn't need a primary
PSF GSoC students blogs: Week #9

Link: http://blogs.python-gsoc.org/en/js94s-blog/week-9/

I explored different ways in which PCA can be tested. More specifically, I tried to find some testing schemes under which the PCA I developed fails while the standard PCA method works. This practice i
PSF GSoC students blogs: Week #10

Link: http://blogs.python-gsoc.org/en/js94s-blog/week-10/

I continued working on developing test cases. I tried to write up an overview for testing frameworks since such a framework could potentially be useful for other methods beyond PCA. I still haven't fo
Mike Driscoll: PyDev of the Week: Eric Matthes

Link: http://www.blog.pythonlibrary.org/2019/08/05/pydev-of-the-week-eric-matthes/

This week we welcome Eric Matthes (@ehmatthes) as our PyDev of the Week! Eric is the author of the popular book, Python Crash Course. He also created a neat set of Python Flash Cards that I reviewed e
PyBites: PyCon Australia 2019

Link: https://pybit.es/pycon-australia-2019.html

PyCon Australia 2019 was, surprisingly, my first Australian Python Convention. It was also the first Python Convention I've attended purely as a spectator. I didn't contribute officially and was just