DEV Community

loading...
Fredrik Bengtsson profile picture

Fredrik Bengtsson

Software engineering consultant. Interested in data science, machine learning, and automation. I also have a crush on python.

Location Linköping, Sweden Joined Joined on  Twitter logo Github logo Linkedin logo

Education

Master of Science in Computer Science and Engineering, specialized in ML and AI

All 69 comments

HOW TO FIX RUNTIME ERROR

Thanks for the tip! They might have included a work around I ...

HOW TO FIX RUNTIME ERROR

So this is caused by Windows bug. A work around is to install...

requirements.txt in your requirements.txt

Glad you found it useful 🙂

Stacked and Grouped Bar Charts Using Plotly (Python)

Hello! I haven't actually used dash myself before. I was able...

Stacked and Grouped Bar Charts Using Plotly (Python)

I tried to find a solution using the hovertemplate parameter,...

Stacked and Grouped Bar Charts Using Plotly (Python)

No problem! Glad I could help 😄

Intro to Python Pt. #1

Hello! I noticed some typos in the python code: The docstri...

Your website sucks! And I'll tell you why ⚡️

I love the privacy policy!

Stacked and Grouped Bar Charts Using Plotly (Python)

Hello! I have adapted my example for using 3 elements in the ...

Every programming tutorial for beginners

This is just spot on!

TIL: Python Recursion Limit When Accessing Elements in Recursive List

hehe, no not at all. I just tried to show my thought process ...

TIL: Python Recursion Limit When Accessing Elements in Recursive List

Interesting! Also a fun fact is that I tried out a similar me...

Self-containing lists...?!?

I looked into this and wrote up a post on my findings: ...

Self-containing lists...?!?

This is something I sort of knew but haven't given much thoug...

What languages and tools do you use that spark joy?

Löve is for sure the game engine I have enjoyed the most! Is ...

What is your pettiest programming-related opinion?

When naming variables, snake_case is better than camelCase

Variables names don't need their type

So, in many cases I agree with you, especially for most of ...

How do YOU manage python environments

I do prefer using virtualenv because, as you said, docker i...

How do YOU manage python environments

Mostly I use virtualenv, but for some use cases I also use ...

Using Descriptors and Decorators to Create class-only Methods in Python

Thank you for your kind words!

Comparing C++ RAII and Python Context Managers

Thank you! 😁

8 Coolest Python Programming Language Features

I also use dictionary compressions when mapping from a 2D a...

8 Coolest Python Programming Language Features

Thanks for a nice post. I had never heard about the chainin...

Python setter and getter function

I also agree with these comments. Furthermore, this will co...

Update on my PDF file manipulation Script

According to the documentation, the extractText method work...

Adding values to an empty list

On another note, you can use the backtick symbol(`) to crea...

Adding values to an empty list

So I think the issue is the use of the not equals operator ...

Data Structures in Python

Tuples are immutable while lists are mutable. This for exam...

My 5 key takeaways from reading the Pragmatic Programmer

I just finished the book last week. I think the engineering...

Making your CLI-tools accessible in Windows

Here is one article on how to create and upload a git-repo ...

Why Kotlin may be better than Java and Python as the first programming language?

I graduated last year and our first programming course actu...

What's the most wasteful software?

Yeah, Marcelo that is kind of my take as well. I think this...

What's the most wasteful software?

I have to disagree. It is a large difference between waste ...

How I made the open-dev.to CLI app with Python

So I came across this and I had to see how short I could ma...

loading...