Posts by douglas1alc • 23 points
9 posts
-
0
votes0
answers24
viewsQ: Count and length in Texas
Hello, everybody. I have a Django project and one of its features is to generate statistical numbers. For example: I have an employee model and it has boolean fields, like, whether it is active or…
-
0
votes0
answers30
viewsQ: Database - Relationship - Research
Hello, guys, I’m doing a Django project and I have a question about the modeling of entities. In my project, one person can take on multiple criminal records. One day she may be a saleswoman for the…
-
1
votes0
answers46
viewsQ: Django: Entity Relations and Data Update
Hello, everyone, I have a Django project that issues daily reports of a company’s activities. The project is a bit complex, but I’m going to give you a simple example of a relationship that’s…
-
1
votes0
answers63
viewsQ: Connecting modules and packages
I am trying to implement a GUI with python3x and Tkinter in separate scripts. I have a gui_test folder organized as follows: Gui (sub-folder): Unit.py and app.py (Tkinter) utils (sub-folder):…
-
0
votes4
answers4955
viewsA: Questions about Python functions
On the rectangle, I did it this way: largura = int(input('digite a largura: ')) altura = int(input('digite a altura: ')) l = 1 a = 1 #Primeira linha while a <= altura: #Primeira linha print('#' *…
pythonanswered douglas1alc 23 -
0
votes2
answers65
viewsA: Printing words or phrases from a text
I thank my colleagues for the tips sent. After analyzing each of them, I was able to develop a code. It was as follows: txt_inicial = '''Meu nome é <João>. Eu <moro no Brasil>. Eu tenho…
python-3.xanswered douglas1alc 23 -
0
votes2
answers65
viewsQ: Printing words or phrases from a text
Hello, guys, I’m a beginner in Python. I’m learning alone and I’ve done some programs, which is pretty cool. But I’m trying to make a new program and I’m not getting it. Here’s the thing: I have a…
python-3.xasked douglas1alc 23 -
-1
votes1
answer245
viewsQ: Dictionary from list index
I have a list of names = [name1, name2, name3, etc] Each name is to have associated information such as address, phone, etc. I want to make a menu from the list index: print... 1 - Nome1 2 - Nome2 3…
pythonasked douglas1alc 23 -
-1
votes1
answer51
viewsQ: The best way to make an information search program
I work with text production and would like to make a search program that returns pre-formatted information so that I only copy and paste in the text editor. I’m a beginner in Python, so my script is…
pythonasked douglas1alc 23