Questions tagged as 'python'

0
answers

How to enter Weather Underground forecast icons

Good afternoon I'm trying to insert the Weather Underground icons but the icons do not appear in Python 3. Below I leave a part of the code. url = "http://api.wunderground.com/api/api_Key/forecast/lang:PT/q/PT/Lisbon.json" temp = urllib.re...
asked by 20.05.2017 / 18:10
1
answer

Put take off or move a frame in Tkinter (python)?

I have a problem in the python code which is as follows, type I want to remove the frame from the checkbutton of the entry so I can not, if you can help me, execute the code there for you to understand the problem. > 'from Tkinter import * fro...
asked by 18.05.2017 / 21:19
1
answer

Get common values in several columns of a dataframe?

I have a table with numeric values and I would like to get the values in common in all columns (intersection) and the unique values of each using Python. Position_a Position_b Position_c Position_d Position_e Position_f 0 45794939.0...
asked by 08.06.2017 / 14:06
0
answers

Error from scapy.all import *

I'm trying to mess with Scapy but when I try to use it from scapy.all import this error appears. from scapy.all import * Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Users\Lucas\Ap...
asked by 25.05.2017 / 03:29
1
answer

Delphi and Python communication via Named Pipe in Windows

I hate questions with long text, but I could not get away from it. I'm creating an application in Delphi XE5 that needs to use a Python script to execute a part of the process. The way I'm doing at the moment the Delphi application calls...
asked by 17.05.2017 / 04:25
0
answers

PyGame - mixer.music ()

I'm setting up a system that uses PyGame tools, in other words, I'm creating an application that runs songs, I'm a long time trying to do that, with the end of the current song (stored in a vector) the music jumped to the other indicie, so it is...
asked by 16.05.2017 / 00:43
1
answer

File Upload / Parameters via HTTP in Java

I was using Python to update aguns devices via Post, where I defined some parameters and sent a file, where the equipment itself updates after receiving this file. However, as I developed a Java application with Swing, I was unable to implement...
asked by 12.05.2017 / 06:03
1
answer

Script to get page data in Php or python

I want to implement a script that accesses the printers page of my work and get the data, such as number of prints, user names, basically I want to create a control system. There is a page that I was able to capture the javascript a...
asked by 19.05.2017 / 21:56
2
answers

Python takes the first column value instead of the last one

I'm trying to get the last record from a column in MySQL but Python only returns "1", it's an auto_incriment ID record. I tried in several ways, in some the whole column was returned to me, in other era it returns "1". Currently the code looks l...
asked by 19.05.2017 / 22:57
0
answers

Python + django list + HTML select option

Good morning guys, I need your help on a code I'm developing in python + django Here's my problem: I have a function in views.py where I make a select of Name in the customer table and put the data (fetchall ()) inside a list, and send thi...
asked by 02.05.2017 / 14:31