Skip to content

Tag: python

DOCX to PDF converter program

I’m making a doc to pdf converter program, and i have occured an error as below: Im an begginer in programming and i dont know how to fix it, below i paste python code: There are two templates called index.html and docx.html in Templates directory, this is how it looks in Pycharm: Does anyone have an id…

collect subprocess outputs and write to excel in python

I wrote a loop in python to cope with a list of tasks, and during every loop certain outputs (plain text) from either stderr or stdout will be generated, what I want is trying to collect them inside python and at the end write them together into excel. I also tried before write them respectively after every l…

Creating A GUI for Editing A Config File Using Python

So, I have a .toml config file and its something like this: I know how to pars the toml file (using it’s module) I want to make a program using python, that let’s other users choose for example the apu mentioned above (between any,nop,sdl,…),meaning the program suggests the options (any,nop,…

Python (Sum of expense, income, and profit)

In Python I have a list of entries. I need to get the sum of expenses, the sum of income, and the profit. I’ve been able to get the expenses and income. Looking to break out the profit. I know I’m missing something simple but can’t figure it out. Answer Looks like you just want to calculate …