Posts by Vitor Oliveira • 130 points
4 posts
-
0
votes2
answers865
viewsA: Python - Pysimplegui - Program error when finished
I recommend migrating from pysimplegui to kivy. It’s equally simple and fast to create interfaces without stress, but better in many ways.I also found unsolved bugs in pysimplegui and found it…
-
0
votes1
answer758
viewsQ: Python- How to better store input (date) entries?
I have used write ("with open" "write") to overwrite and/or add date(personal names, address,phone) in the.py scripts, and it has worked out, but if I don’t take care it gets messy, both because the…
-
1
votes1
answer92
viewsQ: How to create a condition "if all the elements of a list then inside a set list" (Python)?
I’m trying to say, "If all elements of a list are in a list of sets". a= [0,1,2,3,4] b=[ 3,4,5,6,7] c=[0,1,8,9,10] d=[0,1] e= set(a).intersection(b) f = set(a).intersection(c) g = [e,f] print (g) if…
-
-1
votes2
answers72
viewsQ: What is the most practical way to change the sign from a numeric variable to a positive one?
That is, when the variable number is randomly generated, it can be positive or negative: I’m currently using: if number < 0 : number = number* -1
python-3.xasked Vitor Oliveira 130