Archive for the ‘Python’ Category

November 24th, 2019

Weekly Python StackOverflow Report: (cciv) stackoverflow python report

Comments Off on Weekly Python StackOverflow Report: (cciv) stackoverflow python report, Python, by admin.

These are the ten most rated questions at Stack Overflow last week.
Between brackets: [question score / answers count]
Build date: 2019-11-24 10:07:08 GMT


  1. Generate filtered binary cartesian products – [11/2]
  2. numpy.unique gives wrong output for list of sets – [11/2]
  3. For loop using more than one list in Python – [10/2]
  4. Is there a better way to write nested if statements in python? – [8/7]
  5. How to concatenate a list
Read the rest

November 23rd, 2019

Ned Batchelder: Support windows bar calendar

Comments Off on Ned Batchelder: Support windows bar calendar, Python, by admin.

Like any large suite of applications, Open edX
software (my day job) depends on a number of underpinnings: Django, Python,
Ubuntu, MySQL, and so on. We want to stay up-to-date on those dependencies, or
at least ensure we are using supported versions of each.

To help with that, I wanted to make a chart of the support windows for
different versions of each dependency. I figured the simplest way to draw a
chart like that was to make a spreadsheet. … Read the rest

November 23rd, 2019

Ned Batchelder: Support windows bar calendar

Comments Off on Ned Batchelder: Support windows bar calendar, Python, by admin.

Like any large suite of applications, Open edX
software (my day job) depends on a number of underpinnings: Django, Python,
Ubuntu, MySQL, and so on. We want to stay up-to-date on those dependencies, or
at least ensure we are using supported versions of each.

To help with that, I wanted to make a chart of the support windows for
different versions of each dependency. I figured the simplest way to draw a
chart like that was to make a spreadsheet. … Read the rest

November 23rd, 2019

Catalin George Festila: Python 3.7.5 : Create GUI with npyscreen.

Comments Off on Catalin George Festila: Python 3.7.5 : Create GUI with npyscreen., Python, by admin.

This python module solves the issue of creating easy GUI in the terminal.
The development team tells us:
Npyscreen is a python widget library and application framework for programming terminal or console applications.
The development of this python module is similar to the PyQt python module.
The npyscreen comes with many widgets and easy development.
The GitHub repo for this python module comes… Read the rest

November 22nd, 2019

NumFOCUS: mlpack Machine Learning Library joins NumFOCUS Sponsored Projects

Comments Off on NumFOCUS: mlpack Machine Learning Library joins NumFOCUS Sponsored Projects, Python, by admin.

The post mlpack Machine Learning Library joins NumFOCUS Sponsored Projects appeared first on NumFOCUS.… Read the rest

November 22nd, 2019

Jaime Buelta: “Hands-On Docker for Microservices with Python” is now available!

Comments Off on Jaime Buelta: “Hands-On Docker for Microservices with Python” is now available!, Python, by admin.

Last year I published a book, and I liked the experience, so I wrote another! The book is called Hands-On Docker for Microservices with Python, and it goes through the different steps to move from a Monolith Architecture towards a Microservices one. It is written from a very practical stand point, and aims to cover … Continue reading “Hands-On Docker for Microservices with Python” is now available!Read the rest

November 22nd, 2019

Ian Ozsvald: Higher Performance Python (ODSC 2019)

Comments Off on Ian Ozsvald: Higher Performance Python (ODSC 2019), Python, by admin.

Building on PyDataCambridge last week I had the additional pleasure of talking on Higher Performance Python at ODSC 2019 yesterday. I had a brilliant room of 300 Pythonic data scientists at all levels who asked an interesting array of questions:

Happy smiling audience

This talk expanded on last week’s version at PyDataCambridge as I had some more time. The problem-intro was a little longer (and this helped set the scene as I had more first-timers in the room), then I … Read the rest

November 21st, 2019

NumFOCUS: Now Hiring: Matplotlib Research Software Engineering Fellow

Comments Off on NumFOCUS: Now Hiring: Matplotlib Research Software Engineering Fellow, Python, by admin.

The post Now Hiring: Matplotlib Research Software Engineering Fellow appeared first on NumFOCUS.… Read the rest

November 21st, 2019

IslandT: Sort list alphabetically with python

Comments Off on IslandT: Sort list alphabetically with python, Python, by admin.

You will be given a vector of string(s). You must sort it alphabetically (case-sensitive!!) and then return the first value.

The returned value must be a string and have “***” between each of its letters.

You should not remove or add elements from/to the array.

Above is another problem in codewars, besides asking us to sort the array list and returning the first value in that list, we also need to insert stars within the characters.

def two_sort(array):
    
    array.sort()
    first_string 
Read the rest

November 20th, 2019

Real Python: Invalid Syntax in Python: Common Reasons for SyntaxError

Comments Off on Real Python: Invalid Syntax in Python: Common Reasons for SyntaxError, Python, by admin.

Python is known for its simple syntax. However, when you’re learning Python for the first time or when you’ve come to Python with a solid background in another programming language, you may run into some things that Python doesn’t allow. If you’ve ever received a SyntaxError when trying to run your Python code, then this guide can help you. Throughout this tutorial, you’ll see common examples of invalid syntax in Python and learn how to resolve the issue.

By the Read the rest