Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
1
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
~12.3K People Reached
About Me

Hi. My name is Travis. I am a student programmer, working with C and Python. I speak some Japanese, a little French, and my native language- English. I specifically like programming for Linux and try to do some lower level, and some higher level programming.…

Interests
I enjoy reading books, specifically of the Cyberpunk derivative of SciFi as well as Fantasy and Mystery…
PC Specs
None of my computers are very amazing, but they more than get the job done. Acer Aspire 4720z: - 2048GB…
Favorite Forums
Favorite Tags
Member Avatar for lewashby

[CODE]class FooBar: def __init__(self, value = 42): self.somevar = value[/CODE] f = FooBar('This is a constructor argument') f.somevar This is a constructor argument How can the parameter value know what kind of data it's going to be given? Int, float, string, etc? thanks.

Member Avatar for vegaseat
0
120
Member Avatar for Xzarik

Yet another thread showing how awful I am at programming... I've got a list called week_pattern It contains a list of 52-character strings which represent whether something occurs in a certain week. The list is below: [CODE]['0000000000111111111100000000000000000000000000000000', '0000000001000000000000000000000000000000000000000000', '0000000000000000000000000011111111000011100000000000', '0000000000000101111100000000000000000000000000000000', '0000000001111111111100000000000000000000000000000000', '0000000000111111111100000000000000000000000000000000', '0000000000000000000000000001111111000001100000000000', '0000000000111000000000000000000000000000000000000000', '0000000001111111111100000000000000000000000000000000', '0000000000000000000000000011111111000011100000000000', '0000000000000000000000000011111111000011100000000000', '0000000000000111111100000000000000000000000000000000', '0000000000000000000000000000000000000000001000000000', '0000000000000000000000000001111111000001100000000000', …

Member Avatar for Xzarik
0
113
Member Avatar for n.utiu

Hi, all! I was wondering if there is any way to check from the server side whether the client has closed a socket connected to one on my side. client side [CODE]import socket s = socket.create_connection ((host, random_port)) s.close () [/CODE] server side [CODE] ... a = lstn.accept () [/CODE] …

Member Avatar for n.utiu
0
4K
Member Avatar for ryuurei

I had been working on this program for a while. It was inspired by the slowness of Windows' search feature. I made it so I could simply look for files to see if/where they existed quickly. I eventually added in the feature to delete files. It was no major extension …

Member Avatar for tls-005
3
448
Member Avatar for ryuurei

I am looking for some ways to have my Python code access a video stream on ustream and have the program create a user account by entering a username, password, and email address, and then have it then send a message to be entered into the chat. Does anyone know …

0
70
Member Avatar for acrocephalus

Hello! I have written a program where you have to give the path to directories and files as input. Is it possible to enable any kind of auto-completion when running the program? Cheers! Dani

Member Avatar for cronos4d
0
87
Member Avatar for danswater

Hi guys! I just wanna ask on how to access the first character in a string?

Member Avatar for danswater
0
95
Member Avatar for bbman

Hi folks, I am a beginner in Socket Programming. I am trying to do some simple stuff but had a basic query. I would like to implement something like wget in C top of a TCP socket (i.e., without using any HTTP libraries). Just provide a URL (Example-- $wget [url]www.foo.com/bar.pdf[/url]) …

Member Avatar for Jamesbch
0
101
Member Avatar for akvilio

Hi, I have a little problem. I need to write a function that will be given a number (with unknown number of digits) and it will search the number for similar neighboring digits. I must say that I'm not allowed to use arrays (unfortunately). I thought of disassembling the number …

Member Avatar for akvilio
0
118
Member Avatar for Archenemie

I have recently tried installing cherrypy to no avail, and it got me wondering, is there a way to build websites using the wxpython toolkit? if somebody knows the answer and could point me in the right direction it would be a massive help

Member Avatar for ryuurei
0
99
Member Avatar for omGac0W

So this is part of the code in one of my functions, and whenever I enter either yes, no, or something else, no matter what the response the do loop will loop again. I don't think my "if(response == "yes")" is working. Help please? :D [CODE] char response[10]; int answer; …

Member Avatar for ryuurei
0
7K