atlas news
Python Forum
16 novembre
15h47
Access keys and values from nested dictionary?
Hello, So I am using the below original code (code 1) to display a graph (graph 1), but the output is a bit course, so I have chosen to use the interpolate function to smooth it out. However when I use this smoothing function (code 2), I get the below (output) error. From this error I understand it...
10h25
PermissionError: [Errno 13 Permission denied:
i have 6 nested loops. i know that’s crazy. even more crazy is that i don’t need the first 3 of them if a certain condition is met. it would be nice if i could put those 3 after an if that tests the condition. but the syntax does not support that. it is ambiguous how many statements forming the...
22h15
How to make ball stay within frame
This concerns an application written in PyQt6, and in particular in relation to Ubuntu Linux (using Kubuntu KDE Plasma, but the same issues exist in Gnome) , though it may be an issue in Windows, MacOS, etc. but I haven’t run it there. I did not write this application; I am a user but I have access...
13 novembre
18h58
Please guide me to complete the attendance project
Hi, It is a basic question but i’m stuck: one basckslash is ignored and i do not understand why (see output) the backslash with a number after ( 15 here) As you can imagine, pathes can come from from any os and have ever recorded using os.walk. Thanks for your contribution line ’C: XXXX YYYY ....
12 novembre
16h59
why is the image not showing
Hello everyone, I’m new to python and coding, and I want to learn it for data science and web scraping. Please guide me how I can start my journey and give me the recommendations for the sources to learn.
10 novembre
20h39
Help with Serial.write in pyserial
from fpdf import FPDF # PDF pdf FPDF(’P’, ’mm’, ’A4’) pdf.set auto page break(auto True, margin 15) def add title(title): pdf.set font( Arial , ’B’, 16) pdf.cell(0, 10, title, ln True, align ’C’) pdf.ln(5) def add paragraph(text): pdf.set font( Arial , ’’, 12) pdf.multi cell(0, 7, text) pdf.ln(3)...
08 novembre
09h48
Two arguments in input function
Not complaining but actually asking and trying to understand this. I understand why Google engineer moved those core models from collections to collections.abc and alias is removed in Python3.10. Even though this is the correct direction. But wouldn’t this cause too much customer impact as it’s...
17h37
I’m building a Python DataGridView (Excel-like UI for apps) here’s a teaser.