« first day (640 days earlier)      last day (1548 days later) » 

3:35 AM
Why people on this site like to give downvote for nothing ? It's like when they have a bad day, they release stress like this ha ha
It's illegal here, not being fluent with english ?
 
3:46 AM
0
Q: I have a variable that is not defined in python GUI even though it is in the function

mickey4691I am creating a GUI application to run a calculator using Python. I've followed the majority of programming from the book. When I execute this code, it gives me the name error that self is not defined. This is confusing this it was introduced in the functions. Below is my code. This has been puzz...

 
3:58 AM
-3
Q: python begginer what does (---)(---) means

RAII took a code from this website and I wanted to understand it and go throught it my question : what does it mean to have this lines in the code len_old = len(A) (A, activated_nodes_of_this_round, cur_tried_edges) = \ _diffuse_one_round(G, A, tried_edges)

 
 
4 hours later…
7:34 AM
0
Q: Python regex and excell

usherIm trying to perform regular match on data that came from excel to python array using openpyxl but the data came as unicode and "None" is allways given by python. The data in Hebrew

 
 
1 hour later…
8:49 AM
0
Q: Nested For loop performance in Python

anonI have this code below that needs to query multiple database tables. import mysql.connector import itertools, time cnx = mysql.connector.connect(host="host", port=3306, user="user", passwd="pass", db="factory") cursor = cnx.cursor() cursor.execute("select distinct(batch) from batchdata whe...

 
 
1 hour later…
10:10 AM
0
Q: Python rock paper scissors, looking for improvements

GreysThe game itself works but i'm looking how to improve to computer generated choices. Random int gives the same choices a lot. The code: import random def choice(): p_choice = raw_input('Choose rock, paper or scissors: ') if p_choice.lower() in {'rock', 'paper', 'scissors'}: c_c...

 
!!ead @Riccardo990
 
Eat a Dickā„¢
 
2 messages moved from HTML / CSS / WebDesign
 
 
2 hours later…
11:55 AM
All those songs are Game Background in Cabal online, it's very nostalgic to me.
1 message moved from Regular Chat
 
12:47 PM
1
Q: Python OOP composition

xi_Below is code with basic composition implementation in python. That is just simplified version of real example. We have the barrel with apples. Both of them have some address. Address of certain apple is relatively to barrel. So we need to know address of the barrel for each apple. in general we ...

 
 
8 hours later…
8:39 PM
 
9:10 PM
1 message moved from Java::chat (Fish and chips)
 
 
1 hour later…
10:14 PM
0
Q: Blocking production lines in Python

Joshua CazaresI have the following code that works great, but takes 40 mins to 1 hours to finish the task. It has at least 30 rules for blocking lines, and 30k+ orders to check. I'm new to Python (3 months working with it), so I don't know what can I change to make it run faster. The version in my computer is ...

 

« first day (640 days earlier)      last day (1548 days later) »