Questions tagged as 'python-3.x'

1
answer

Sockets - Old Game / Rooster Game MULTIPLAYER

EDITED POST I'm creating the so-called 'Game of the Old Man' (or 'Game of the Rooster'), at this time I'm trying to create a feature that allows two players on different devices - albeit on the same network - to play against each other ....
asked by 26.11.2016 / 23:12
2
answers

Copy file contents to clipboard in Windows

Hello, I am making a software for a forum, where members consult the posting patterns by the software, I am storing these patterns in files and asking Python to read those files and display them, so the user copies the pattern. Now I want to a...
asked by 23.03.2015 / 15:08
1
answer

How to implement "foreign key" using Micro Services architecture? Django

I am trying to build a system using the micro services architecture, I came across the problem about dependency, in the case how to implement chave estrangeira using this architecture? I'm using Django Example The class pedido...
asked by 25.04.2016 / 22:57
2
answers

Python Numpy library

How to install a library in python using Windows 7. I try to download Numpy and it appears at the prompt: libraries f77blas,cblas,atlas not found in C:\Python33\lib libraries lapack_atlas not found in C:\Python33\lib . . . Atlas libraries not...
asked by 01.02.2014 / 03:57
1
answer

I want to "capture" the path and use it in another program

I have a "ransomware", in which I put a path to a folder and it encrypts / destroys I have a job to present in college where I have to create a graphical interface, I created a simple screen, with 2 buttons and a text cx, the text cx would be...
asked by 04.11.2018 / 23:31
2
answers

Click using Webscraping with Selenium

I'm starting my studies with Webscraping and I'm having trouble giving a second click on a new page. I'm trying to access my email using Selenium, I can fill in my email and click to go to next page where I can fill in the field with my passw...
asked by 18.12.2018 / 01:28
1
answer

How to get a pixel color out of the screen border in pygame?

I know that to get a pixel color in PyGame I use get_at . But I have a huge background image and a good part of it stays outside of the pygame delimited screen area. For example, a 1000x1000 image inside a 500x500 screen will only have...
asked by 21.09.2018 / 01:39
1
answer

Manage window switching Gtk +

Save Galley, I'm trying to do a program with Gtk + (python3) to save some information in a DB but I also want to identify the users by login, (Quick explanation on how the program works). The user executes the program (opens a screen), type the...
asked by 22.09.2018 / 06:05
1
answer

Doubt regarding Python syntax

Good evening, my question is about a piece of code I found in a book about Python and OpenCV. The author created the function that I will put below: @property def frame(self): if self._enteredFrame and self._frame is None: _, self....
asked by 14.10.2018 / 05:10
2
answers

How to "reimport" an object from a Python module?

I wrote a module called mymodule.py which has the function def funcion(x): return x So I imported this function into a code like from mymodule import function and worked normally. Then I wanted to change the function to...
asked by 27.11.2018 / 17:57