Posts by rodgomesc • 194 points
7 posts
-
3
votes1
answer757
viewsQ: Visual Studio Code - Create multiple files at the same time
is there any way to create multiple files in visual studio code? for example; in new file, if I type Navbar/index.js it creates the folder Navbar with the file index.js, would have some syntax like,…
-
0
votes1
answer2731
viewsQ: Accent error while saving Python file
I’m not being able to save a file with an accent in python, I’ve come to ask for your help; import csv f = open('output.txt', 'w') data = [] def parse(filename): with open(filename, 'r') as csvfile:…
-
3
votes1
answer1292
viewsA: python library for working with video capture
Opencv is one of the oldest lib for Computer Vision, I believe it has other powerful lib on the web but it is difficult to compete with Opencv because it was created by Intel itself, a respected…
-
3
votes1
answer612
viewsA: Pyqt calling file created by Qtdesigner
Well, there are a number of errors in that code, so let’s go in stages; First, The mistake is that in PyQt5, QApplication is not contained in QtGui, in PyQt4 it was like this, but then it was moved…
-
2
votes2
answers2098
viewsA: Handling of Python Network Settings
I believe that pyroute2 be enough to meet your needs, I’ve played with it once, it’s a very complete library, da para adicionar Routes, create vlans and several others, the script needs to be…
-
2
votes4
answers6292
viewsA: Recover matrix dimensions in Python
can use the library numpy, which already comes with the method of returning the dimensions of the array/array ex: import numpy as np np.array([[0, 1, 2], [3, 4, 5]]).shape prints (2,3) that when…
-
3
votes1
answer293
viewsQ: Calling Progress bar class from another file
People come to ask for help from you, I believe very simple but that gives a bad headache for those who do not have much practice with object orientation, I have a file progressbar.py, which since…