Questions tagged as 'python'

2
answers

Error in basic code in Kivy (Python)

I made a very simple code using Kivy, but of the error that is showing in the image below: The code is as follows: import kivy kivy.require('1.0.6') from kivy.app import App from kivy.uix.button import Button class MyApp(App): def bui...
asked by 04.11.2017 / 17:20
0
answers

How to create streaming service with python and django [closed]

I intend to create a streaming video service, the project is in python and django. How do I make this service available? I use python 2.7 and django 1.10. I only found old stuff! Thank you for your attention!     
asked by 10.11.2017 / 21:35
0
answers

Generate custom report with Python

Has anyone ever worked or ever seen anyone developing custom reports with python? For example, in Java we can easily create a report with iReport that has sample templates and create new templates with the drag-and-drop facility, filling with...
asked by 11.11.2017 / 00:19
0
answers

Excel is crashing when I use xlwings [closed]

I'm using python with excel through the xlwings package. The problem is that excel stops working whenever I try to import a function into the xlwings tab. I have already restarted the pc, but the problem still continues.     
asked by 25.10.2017 / 15:10
0
answers

Python Site / Forum [closed]

My questioning is not exactly about some code, but about where I can argue about. I'm starting in Python and sometimes I have some questions or questions that can not be asked in Stack Overflow, such as information about teams, ways of learning,...
asked by 27.10.2017 / 22:35
2
answers

Accessing objects of a class

class human(object): kind = 'humam' def __init__(self,name, sex, age): self.name = name self.sex = sex self.age = age def report(self): print(self.name) print(self.sex) print(self.age) c...
asked by 28.10.2017 / 03:57
0
answers

Bag of Tasks for multiplication of Matrices

I would like your help to do this work, I have little practice in programming and I need to do in Python that I am still learning. The work is as follows: This work consists of dividing the matrix multiplication work into small tasks that...
asked by 03.11.2017 / 17:10
0
answers

Return values of parameters calculated by lmfit

Good morning, everyone. I run a minimization test with lmfit ( link ) but I can not make / extract the values of a given parameter , here called numax , defined by 'gauss_center' . import numpy as np import scipy as sp import matpl...
asked by 14.10.2017 / 14:11
1
answer

Define function or method result return [closed]

Editing: A previous function generates a list like this: ['Responsável atual', 'Número do processo', 'Foro de tramitação', 'Data da intimação 05/10/2017', 'Data da ação 15/08/2011'] This is the previous list in "Data". Data is my final re...
asked by 13.10.2017 / 20:09
1
answer

Local and global variables Python [closed]

I have software that handles dates, written as follows: def EscolheDataInicio(): controle1 = None controle2 = None if controle1 == None: teste = easygui.ccbox(msg="Escolher data início?", title="Escolher data de início", ch...
asked by 10.10.2017 / 14:28