« first day (772 days earlier)      last day (1416 days later) » 

You
12:01 AM
← 1 message moved from llama
 
 
4 hours later…
3:49 AM
0
Q: Export lists in columns to CSV with header Python

ThorpedoI've scoured stack exchange to try and get my script to export my 3 lists to a csv file, I want each of the lists to be in 3 separate columns with a header for each list. I know there's a lot of info around, I just can't seem to get it to work. Here is the code import csv import itertools str_...

 
 
2 hours later…
5:43 AM
kuy name chnge kiya re
 
mera mann kia re :P
 
Guru ko hi pata nai
usaki student
kesa Guru he ye
@Shubhank ke bachhe
 
0
Q: regex to extract version info

testcoderI have written a small Python function to extract version info from a string. Input is of format: v{Major}.{Minor}[b{beta-num}] Eg: v1.1, v1.10b100, v1.100b01 Goal is to extract Major, Minor and beta numbers. import re def VersionInfo(x): reg = re.compile('^v([0-9]+)([.])([0-9]+)(b)?([0-...

 
@iAsmi ki bachwa
7 messages moved from [[iOS][Android][ChaosOverFlow]](chat.stackoverflow.com/rooms/26424/iosandroidchaosoverflow)
 
JButton registerSend = new JButton();
registerSend.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent r) {

JFrame gameFrame = new JFrame("Welcome to Heavy Evil");
gameFrame.setBounds(0, 0, 1200, 800);
try {
LoadDriver.sqlDriver(null);
} catch (InstantiationException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IllegalAccessException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (ClassNotFoundException e) {
// TODO Auto-generated catch block
 
fge
6:06 AM
1 message moved from Java::chat ><> & Chips
 
 
3 hours later…
8:56 AM
0
Q: Multi-threading upload tool

setevoyWe have about 14G files and each is about 150k. I'm writing a script to upload them to Azure Blob storage and would like to run an upload() function (each with own file to upload) in 5 threads. Here is how I realized it and it looks like works - but I still have doubts about how correct this co...

 
 
2 hours later…
11:02 AM
This is a test How To Print File Data In Java Web app? - Subash Bhattarai - 2016-04-04 10:57:24Z
1 message moved from SO Close Vote Reviewers
 
11:40 AM
1
Q: Store and output hard-coded relationships among hosts

Nathan BasaneseThe following code has begun to smell, but I have not yet decided with what to replace it, other than, obviously, a database. I made a very unsatisfactory workaround for my attempt to make relationships among tuple members as I assigned them. How can I modify a piece of code like this that cont...

 
user3956566
 
2:27 PM
0
Q: Alpha-Beta Pruning isn't working well

Lolita3I'm creating an artificial intelligence in Python for Othello (10*10) using alpha-beta pruning but it doesn't seem to work well. It often sends bad moves while the evaluation funtion is a good one. Here is the code: def choiceAI(board,player,depth): ## Main function trueplayer = player a...

 
 
1 hour later…
3:49 PM
2
Q: Fuzzy Octo Guacamole interpreter

Easterly Irk This is my code that interprets my own golfing and esoteric language, Fuzzy-Octo-Guacamole. (pro-tip: don't let github choose your repo's name unless you really don't care) It has 2 stacks to store information in, and various operations can be performed on each stack, or both at once. This is...

 
 
1 hour later…
5:12 PM
0
Q: I'm having an issue with code being displayed in order

user143444I'm somewhat new to the whole Python in general, mostly just doing a few small projects like most others. Currently, I've been working on a timer that asks a few basic questions, but two of the questions aren't going in the order that I planned. The input asking for the time is going in before th...

 
 
2 hours later…
7:27 PM
1 message moved from SOCVR Room Meetings
 
user5992646
8:06 PM
Is it possible to create a Google Custom Search Engine that is entirely html and doesn't make resource requests from Google?
 
1 message moved from HTML / CSS / WebDesign
 
0
Q: how to write scores to a file?

Kianimport re while True: name = input("What is your name: ") if len(name) >40: print("oops name is larger than 40 characters, try entering again!") if not re.match("^[a-zA-Z]*$", name): print("Only numbers a-z are allowed!") elif len(name) <1: print("Oops your name is small...

0
Q: Best way to recreate tournament bracket results tiers?

MSDI'm creating a local league leaderboard using tournament results from double-elimination brackets. I want to find out how many placings are ties based on the number of tournament entrants. For a 16-player bracket, this is how players are distributed among the placings: 1st Place - 1 player 2nd ...

 
 
1 hour later…
9:12 PM
0
Q: Testing current, new or friends firms as max output and least effort

B_FurtadoI have a firms dynamics program (fully based on Axtell, 2013) that runs very fast, except for the function below. Could anybody point to more pythonic ways to write this function? (I use numba, tried PyPy and nuitka unsuccessfully) def team_up(on_the_market, my_firms): for each in on_the_market:...

 

« first day (772 days earlier)      last day (1416 days later) »