Posts by Jivaldo Da Cruz • 11 points
2 posts
-
1
votes2
answers346
viewsA: Is it possible to run a python script that is in another directory?
import os if(os.name == "nt"): os.system("python3 covid19/san_covid19(Windows).py") else: os.system("python3 covid19/'san_covid19(linux).py'") Example of an algorithm, works in the directory windows…
pythonanswered Jivaldo Da Cruz 11 -
-1
votes3
answers2556
viewsA: How to join multiple lists in a matrix
a = ['Laranja', 'Maçã', 'Uva', 'Melancia', 'Limão'] b = [40, 50, 2, 45, 56, 12, 21, 12, 12, 12, 12, 12, 12, 12] x = [] for i in zip(a, b): …
pythonanswered Jivaldo Da Cruz 11