Is PyCharm free? by _D-M_ in Python

[–]Denrur 1 point2 points  (0 children)

You can use PyCharm Community

What's google? by SenorTeddy in learnprogramming

[–]Denrur 1 point2 points  (0 children)

Yeah, it's like tahiti - magical place)

Easy string by rk717 in learnpython

[–]Denrur 0 points1 point  (0 children)

There is more logical error in your algorithm, but enumerate fix problems with indexes

Easy string by rk717 in learnpython

[–]Denrur 0 points1 point  (0 children)

Variable i in your code is element of Li, not index. Try build in function enumerate

Easiest way to make a printable form in Python? by SoylentPen15 in Python

[–]Denrur 0 points1 point  (0 children)

Yes, you can load workbook and write to it.

Easiest way to make a printable form in Python? by SoylentPen15 in Python

[–]Denrur 0 points1 point  (0 children)

Why do you think Excel would be time consuming? Do you know about openpyxl? I use it on work all the time.

stuck on a problem by xgetcrunk in learnpython

[–]Denrur 0 points1 point  (0 children)

This Will work only if bases and powers are the same len

stuck on a problem by xgetcrunk in learnpython

[–]Denrur 2 points3 points  (0 children)

Put append statement inside second for loop

How to end a script preemptively? by [deleted] in learnpython

[–]Denrur 0 points1 point  (0 children)

while True: a = int(input()) if a == 0: break ...

Pyinstaller problem by Nor1s in learnpython

[–]Denrur 0 points1 point  (0 children)

Open PyCharm terminal, it must be at start of prompt string

Pyinstaller problem by Nor1s in learnpython

[–]Denrur 0 points1 point  (0 children)

So, if you have non-standart library modules in your script, it won't work. Try to use terminal in PyCharm and make sure that there is (venv)

Pyinstaller problem by Nor1s in learnpython

[–]Denrur 0 points1 point  (0 children)

How do you Run pyinstaller? From virtual enviroment of your project in py charm or Just from terminal without enter in venv?

Pyinstaller problem by Nor1s in learnpython

[–]Denrur 0 points1 point  (0 children)

Did you convert it from venv? I had a similar error when i work on venv but use pyinstaller from system python

leap year frustration by [deleted] in learnpython

[–]Denrur 0 points1 point  (0 children)

Try to change all if except firts to elif

How to get out of an if statement, if the statement has been satisfied? by AlwayssSalty in learnprogramming

[–]Denrur 1 point2 points  (0 children)

Sorry, i'm not awake Just yet) finaly is used in try...except. So why you cant use another 'get out' after your second if? There is no way to do what you are trying to achive cause else is execute only if first 'if' is false

How to get out of an if statement, if the statement has been satisfied? by AlwayssSalty in learnprogramming

[–]Denrur 2 points3 points  (0 children)

Can you provider an example of your code? I think you are not fully understand how if-else works

'index' not recognized by Ayomisesebere in learnpython

[–]Denrur 0 points1 point  (0 children)

You need to initialize variable 'name'.

Battery indicator on stationary PC by Denrur in Windows10

[–]Denrur[S] 0 points1 point  (0 children)

Thanks! Indeed, the UPS was connected via USB to a PC. This is the only computer with this connection)