Language Selection

English French German Italian Portuguese Spanish

Python Programming Leftovers

Filed under
Development
  • The best frontend JavaScript framework for Django

    A question I've seen asked a lot is "what's the best frontend JavaScript framework to use with Django".

    Django itself doesn't make any recommendation on which frontend framework to use, or even assumes you're using a frontend framework at all.

    So, which frontend framework should you be using? And which one "plays well" with Django?

  • Ned Batchelder: You should include your tests in coverage

    This seems to be a recurring debate: should you measure the coverage of your tests? In my opinion, definitely yes.

    Just to clarify: I’m not talking about using coverage measurement with your test suite to see what parts of your product are covered. I’ll assume we’re all doing that. The question here is, do you measure how much of your tests themselves are executed? You should.

  • Is Java and Python similar?

    I don't think python and Java have anything in common. I enjoy the simple clean utilitarian nature of python. As long as simple pep8 guidelines are followed it is very easy to read any strangers code. Most people write python in an OO sort of way. However one can get pretty far in writing with an FP lite methodology. Many people complain about indents. To me it is just different and something easy to get used to. Python has idioms that values being clean and concise. It is trivial to deploy. My main critique of python is that if one uses too much python it is easy to get dumbed down by all the magic. It is important to use other languages in addition to python just to keep ones skills sharp. Thinking about writing high performing Python usually means thinking about doing it in some other language.

    [...]

    Note: I recognize Java is the most popular language in the world. Many great successfull applications use Java. One can eventually use Java to solve almost any problem. That doesn't mean I like it or think it is good for the industry.

  • Real Python: Identify Invalid Python Syntax

    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 course, you’ll see common examples of invalid syntax in Python and learn how to resolve the issue.

  • PSF GSoC students blogs: Weekly Check-In #6 (2nd Aug - 9th Aug)
  • PSF GSoC students blogs: Weekly Check-In #11
  • PSF GSoC students blogs: Week 10 Check-in
  • PSF GSoC students blogs: Week 10
  • PSF GSoC students blogs: GSoC: Week 11: InputEngine.add(paths)

Static analyzer for Python code and more

  • Facebook open-sources a static analyzer for Python code

    Pysa is a security-focused tool built on top of Pyre, Facebook’s performant type checker for Python.

    “Pysa tracks flows of data through a program. The user defines sources (places where important data originates) as well as sinks (places where the data from the source shouldn’t end up),” Facebook security engineer Graham Bleaney and software engineer Sinan Cepel explained.

    “Pysa performs iterative rounds of analysis to build summaries to determine which functions return data from a source and which functions have parameters that eventually reach a sink. If Pysa finds that a source eventually connects to a sink, it reports an issue.”

  • Edit images with Jupyter and Python

    Recently, my kid wanted to make a coloring page from a favorite cartoon. My first thought was to use one of the open source programs on Linux that manipulate images, but then I remembered I have no idea how to use any of them. Luckily, I know how to use Jupyter and Python.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

today's howtos

Screencasts of Debian 10.6 Cinnamon and Enso OS 0.4

Audiocasts/Shows: POSIX, TWIL and Going Linux

  • POSIX Compliance Explained: Does It Even Matter In 2020

    Like with the Unix Philosphy, POSIX compliance tends to get simplified far more than it really needs to which sort of makes it seem less important than it really is, so today I thought it would be a good idea to take the time to explain what it is and where it came from and why it was important in the early days of Unix and even now in the days of Linux and various BSD variants.

  • This Week in Linux 118: Lenovo’s New Ubuntu Laptops, GNOME 40, Puppy Linux 9.5, Firefox 81, UBports

    On this episode of This Week in Linux, we’ve got a great show for you even though I’m sick. As they say in show business, the show must go on or something like that. Lenovo Adds Ubuntu Laptops & PCs to their lineup. UBports released their latest update with 16.04 OTA-13. Puppy Linux has a brand new version out with Puppy Linux 9.5. Microsoft announce that after a long wait everyone can rejoice that they are finally bringing Microsoft Edge to Linux! Mozilla also announced a new version of Firefox with Firefox 81. EndeavourOS has a new release of this Arch Linux based distro with version 2020.09.20 and they also announced a new ARM Edition of the distro. GNOME has decided to change the version numbering for the project. We’ll talk about this and why it matters or why it doesn’t. There’s a new update to the very powerful ebook reader Calibre, with Calibre 5.0. We’ll check out the Screenshot Utility, Flameshot and their latest release of 0.8. Then we’ll round out the show with some potentially great news for the Lightworks Video Editor. All that and much more on Your Weekly Source for Linux GNews!

  • Going Linux #397 · Listener Feedback

    We answer questions about problems receiving the podcast, SSH, printers, browsers and more. We also discuss photography and the new major computer brands selling computers pre-installed with Linux.

dupeGuru – find duplicate files

Even though the cost of storage per GB continues to fall, it’s common for users to need to find and remove duplicates files. The process of finding and removing duplicates is time-consuming. Fortunately, there are a number of tools that are designed to remove the laborious nature of finding duplicates. dupeGuru is a cross-platform GUI tool to find duplicate files in a system. It has three modes, Standard, Music and Picture, with each mode having its own scan types and unique features. dupeGuru is written in Python. Read more