Planet Python RSS
215 subscribers
16.9K links
Unofficial Planet Python RSS feed from planetpython.org. Maintained by @cfinnberg
Download Telegram
Weekly Python StackOverflow Report: (ccxliii) stackoverflow python report

Link: http://python-weekly.blogspot.com/2020/09/ccxliii-stackoverflow-python-report.html

These are the ten most rated questions at Stack Overflow last week.Between brackets: [question score / answers count]Build date: 2020-09-26 18:08:21 GMTHow to download a nested JSON into a pandas data
Peter Hoffmann: Azure Synapse SQL-on-Demand Openrowset Common Table Expression with SQLAlchemy

Link: http://peter-hoffmann.com/2020/azure-synapse-sql-on-demand-openrowset-common-table-expression-with-sqlalchemy.html

In a previous post I have shown how to use turbodbc to access Azure Synapse SQL-on-Demand endpoints. A common pattern is to use the openrowset function to query parquet data from an external data sour
Erik Marsja: How to Convert a Float Array to an Integer Array in Python with NumPy

Link: https://www.marsja.se/how-to-convert-a-float-array-to-an-integer-array-in-python-with-numpy/

The post How to Convert a Float Array to an Integer Array in Python with NumPy appeared first on Erik Marsja.
In this short NumPy tutorial, we are going to learn how to convert a float array to an int
Codementor: Implementing Common Python Built-ins in JavaScript

Link: https://www.codementor.io/abdurrahmaanj/implementing-common-python-built-ins-in-javascript-1aqf9zru46

In this post we'll try to implement common Python builtins such as min mas etc in JavaScript. Here's what we'll have:
print(1, 2, 3, 4)
print(max([1, 2, 100]));
print(min([1, 2,...
Codementor: Resources to learn Tableau, Power BI, Python etc

Link: https://www.codementor.io/ng3687/resources-to-learn-tableau-power-bi-python-etc-1aqg3k427s
Abhijeet Pal: Python’s Generator and Yield Explained

Link: https://djangocentral.com/generator-and-yield-explained/

Generators are iterators, a kind of iterable you can only iterate over once. So what are iterators anyway? An iterator is an object that can be iterated (looped) upon. It ... Read more
The post Python
Stack Abuse: Padding Strings in Python

Link: https://stackabuse.com/padding-strings-in-python/

Introduction
String padding refers to adding, usually, non-informative characters to a string to one or both ends of it. This is most often done for output formatting and alignment purposes, but it ca
Test and Code: 132: mocking in Python - Anna-Lena Popkes

Link: https://testandcode.com/132

Using mock objects during testing in Python.
Anna-Lena joins the podcast to teach us about mocks and using unittest.mock objects during testing.
We discuss:

the different styles of using mocks
pros
Real Python: The Python return Statement: Usage and Best Practices

Link: https://realpython.com/python-return-statement/

The Python return statement is a key component of functions and methods. You can use the return statement to make your functions send Python objects back to the caller code. These objects are known as
Made With Mu: Resources: Python for Kids

Link: https://madewith.mu/mu/users/2020/09/28/python-for-kids.html

Friend of Mu, Kevin Thomas has
been hard at work creating free-to-use resources for kids (and older kids) who
want to learn Python, with the BBC micro:bit and Mu.

Each of the ten resources tackles a
Andrew Dalke: Simple FPS fingerprint similarity search: variations on a theme

Link: http://www.dalkescientific.com/writings/diary/archive/2020/09/28/simple_fps_fingerprint_search.html



It's easy to write a fingerprint search tool. Peter Willett tells a
story about how very soon after he, Winterman, and Bawden published
Implementation
of nearest-neighbor searching in an online chem
Montreal Python User Group: Montréal-Python 80 – Pedal Kayak

Link: https://montrealpython.org/en/2020/09/mp-80/

Greetings Python community, October is fast approaching with vibrant fall colour and our favourite apples. This is the occasion to set the table for our 80th event – Pedal Kayak – which will take pla
Podcast.__init__: Solving Python Package Creation For End User Applications With PyOxidizer - Episode 282

Link: https://www.pythonpodcast.com/pyoxidizer-python-package-creation-episode-282/

Python is a powerful and expressive programming language with a vast ecosystem of incredible applications. Unfortunately, it has always been challenging to share those applications with non-technical
Codementor: Why use Python Programming for building a Healthcare Application

Link: https://www.codementor.io/parthbarot/why-use-python-programming-for-building-a-healthcare-application-1arpv6m4wn

Python programming in healthcare is changing how doctors and clinicians approach patient care delivery. Here’s why Python for healthcare is the right choice for better health outcomes.
Real Python: Using Google Login With Flask

Link: https://realpython.com/courses/using-google-login-flask/

In this course, you’ll work through the creation of a Flask web application. Your application will allow a user to log in using their Google identity instead of creating a new account. There are tons
Python Morsels: Writing a for loop

Link: https://www.pythonmorsels.com/topics/writing-a-for-loop/



Related Article:

Loop Better: a deeper look at iteration in Python

Transcript
You can use a for loop to loop over any iterable (iter-able). Anything you're able to iterate over can be looped over