« first day (787 days earlier)      last day (1401 days later) » 

1:03 AM
0
Q: My implementation of counting sort

MAAI've made the following implementation of counting sort. I don't think that I understand the algorithm fully but this implementation seem to be working correctly. I've used the Counter dictionary from collections module. Seem to be the best way to handle the counting part. But I haven't seen an...

 
 
1 hour later…
2:03 AM
0
Q: phyton GET request IP

user108055I'm new with programming and I was wondering if when I am doing a GET request to any website from my phyton application, if they will see my IP in their logs. And if so, will enabling a VPN be able to prevent that?

 
 
4 hours later…
6:20 AM
0
Q: Snell's law using Zoeppritz equation by matrices

LinI have created the following code to calculate Snell's law angles, based on Zoeppritz equations on complex plane. The code works, seems it is returning valid values, but after all the code just looks a complete mess. Maybe there are nicer way to deal with complex values and matrices using numpy. ...

 
7:11 AM
Sorry my asshole friend don't want to tay up
 
8:04 AM
1 message moved from [[iOS][Android][ChaosOverFlow]](chat.stackoverflow.com/rooms/26424/iosandroidchaosoverflow)
 
 
2 hours later…
9:37 AM
> my restaurant: Al Basha is closing down because we only get 2 customers a week, plz come to my house: 11a Rock Road, Solihull, and donate some money to me so i can keep it open plz, also, im fat so if u have some food, that woulod be welcome aswell! Thanks, Mohammed Sonkor :)
 
1 message moved from SO Close Vote Reviewers
 
 
1 hour later…
10:42 AM
0
Q: Recording all instances of a class - Python

NinjaFishlegIn a programme that I am writing, I need to loop through all the instances of a class, the way I got around this was by appending every class to a list like below: allPeople = [] class Person: def __init__(self, name, age, height): self.name = name self.age = age sel...

 
 
1 hour later…
11:56 AM
@RaviRupareliya pkto
 
jadiyo
 
@ArthTilva f**
 
12:07 PM
0
Q: Beginner Number guessing game [python] 2.7

Ahmed.fawzyi'm a beginner and this is the second program that i have written by myself from scratch, i wrote a basic snake game with PYgame but i didn't do it by myself, so anyway, what do you guys think of this? i want honest opinions, no sugar-coating ! does it have any problems? is there any improvements...

 
12:27 PM
-1
Q: Returning a variable or a return code from a function

filatonLet assume that we have a main() function in which we call a createDirectory() function. In Python for instance, the code would be: def main(): # Do some stuff createDirectory(myPath) # Do some more stuff To re-use our created directory, I can see at least two ways: either the cr...

 
 
1 hour later…
1:55 PM
0
Q: Writes to a file but not the right file

Breeimport random yourname=input('what is yourname?') Score=input('what is your score?') Class=input('What class are youin?') Class = random.randint(1,3) if Class == 1: f =open ('Class1.txt','a') f.write(yourname+" ") f.write(Score) f.write('\n') f.close() f = open('Class1....

 
2:30 PM
1
Q: Pyinstaller EXEs license

AuserDudeI'd like to know about licenses in Python program distributions. This is the scenario: let's say one would distribute a Python program for Windows, created with PyInstaller as a single executable file, which bundles Python 3.5 (with Tkinter libraries for the GUI) and some packages, downloaded wit...

 
 
3 hours later…
5:00 PM
 
0
Q: Scan over parameter iterator for model simulation in python

SevenlessI'm writing a small python application that performs model simulation for many different parameters. The iterator of parameters isn't completely known ahead of time. Rather, the iterator needs to change and adapt based on the results of the previous simulations. The code below illustrates how I ...

 
5:24 PM
 
 
1 hour later…
6:45 PM
6 messages moved from [Java and Android era ](chat.stackoverflow.com/rooms/19132/java-and-android-era)
 
 
4 hours later…
10:40 PM
0
Q: Python Creating a Family Hirearchy

SanBanRequirement : for the input list of tuples to create single line output showing father of the family|spouse|child1,child2.... input input_list = [("David","Polly","Spouse"), ("Roger","Patty","Spouse"), ("David","Lily","Child"), ("Roger","Max","Child"), ("...

 
11:23 PM
0
Q: How to reduce time complexity of my algorithm?

JoeInput The input contains a single text line with eight positive integers A, B, M, L1, L2, L3, D, R separated by one or more spaces. These parameters regulate the shape of the tree and specify the node keys as follows: Suppose a node X contains key with value K. Then X has no children if K < L1 ...

 

« first day (787 days earlier)      last day (1401 days later) »