I'm having trouble installing scipy through pycharm and pip, I'm taking the following considerations when installing SciPy
1 - Compatible with python 3.6
2 - In pip pip the command "pip install scipy"
3 -...
I am trying to write a python script that can reconher any boucle for in other python scripts.
import re
with open('boite_a_fonctions_v3_1.py', 'r') as f:
text=f.read()
a = text.split(" ")
#print (a)
boucle = re.compile(r'for...
Simple thing. I need to make a count of how many candidates in the table on this page, for example: link
For example there are 110 names, but I need to get this number and I have to do it in a huge number of pages with the same structure. Her...
Can anyone tell me why in the first iteration the assignment retangulo=retangulo() works fine, but in the second it does not?
This error appears in Pycharm:
is not callable
Code:
from MDvalidateDATA import validateDATA
c...
I have a list of integers greater than zero. I need to identify the one with the largest number of divisors. For this I have created three functions: one that orders list, one that returns all the divisors of all the elements of a list and anoth...
I tried to use Visual Studio together with the tools for Python , but when I put:
print("Hello World")
and pressing F5 it runs smoothly.
However, when boto:
print("olá") it gives the following error:
File "C:...
I'm trying to use the argparse library to guide the main module ( __main__ ) between two possible executions:
import unittest
import argparse
arg = argparse.ArgumentParser(description='Execution type')
arg.add_argument('--type',...
I'm following the article's tutorial
link
I came in part III and gave this error.
I'm confused because the author has run run.py inside the Script folder of virtualenv.
Being that it commands to create run.py in the root...
In the search for paging using psycopg2 I discovered the attributes cursor.itersize and cursor.arraysize , and the methods cursor.fetchmany () and cursor.scroll ()
I wanted to check with the staff here if my understanding is correct ab...