Good,
I needed to do something that in a document filled out for example like:
linha1 bla bla
linha2 bla bla
linha3 bla bla
linha4 bla bla
linha5 bla bla
linha6 bla blax
linha7 bla bla
linha8 bla bla
linha9 bla bla
When doing a search fo...
I'm trying to make a server that asks the user for a data, uses it as an argument in a python script, and shows the real-time output for the user in the browser. I'm using python-shell to call the python script and pass the arguments. Until now...
I'm using Tweepy to fetch some tweets and I've noticed that it's stopping processing the phrase when it reaches a certain number of characters.
Why does this happen and how do I get the whole sentence?
for tweet in tweepy.Cursor(api.search,...
I'm finalizing the hangman game in Python. But I have a problem with the final verification when the player hits the word, I can not create a check to validate if the player has hit the word, could they help me?
from random import randint
def...
I created the following class:
from django import forms
class FormDefault(forms.Form):
def __init__(self, *args, **kwargs):
super(FormDefault, self).__init__(*args, **kwargs)
for field_name, field in self.fields.items():...
I am creating an application in django where I will have a form for creating a query schedule, my model looks like this:
class Agenda(models.Model):
"""Criação da agenda de consultas da Clinica"""
data_consulta = models.DateTimeField()
pacient...
Hello, I would like to be able to instantiate the class Sala below using as arguments the return of the choose_sala() function:
The ideal would be to call on the return of the function the initialization of class Sala , but I...