Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #1K
~14.4K People Reached
Favorite Tags
Member Avatar for roryt

22 Year old, Jon Lech Johansen who previously hacked DVD encryption in his teens has now hacked through the iPod copy protection. This copy protection stops iPod users from playing downloaded music from online music stores other than iTunes. This "copy protection" also stops music that has been bought off …

Member Avatar for John Ripple
0
310
Member Avatar for mruane

I am not sure how to word this question. If I am defining function() to be a user input prompt, does the [code] name_of_prompt = raw_input("") [/code] name of prompt equal the name of fucntion or could it be prompt_funct1? If so, when using if...elif statements to call on other …

Member Avatar for slate
0
293
Member Avatar for Zonr_0

Hi! Haven't posted on danniweb for awhile, but I'm hoping I can get some help. I am in the middle of learning Java, which will be my second language after python, and I have come across a problem, ordering a list of integers in an array. In python, there's a …

Member Avatar for jwenting
0
189
Member Avatar for Jessehk

*Hopefull this hasn't been done already* Write a program that when run, will print out the numbers 1 through 10. The program can be in any language, and can be as complicated or simple as you want. Lets see how creative people are, and get up to 500 unique ways! …

Member Avatar for Maidomax
0
985
Member Avatar for Matt Tacular

Here is my code: [php]# search for a file, and show all files found in that file's directory # delete them if wanted import os import pickle def file_find(folder): """search for a filename fname starting in folder""" for root, dirs, files in os.walk(folder): for file in files: # make search …

Member Avatar for sneekula
0
153
Member Avatar for sneekula

When do you use a for loop and when to use a while loop. Are there other loop types in Python? Some of the slicing examples almost look like loops.

Member Avatar for fireworks-style
0
181
Member Avatar for Mouche

Another program. This one has you guess 5 letters and then gives you the word you're trying to guess as masked by -'s and has the letters you've guessed filled in. Ex: Say the word is "computer." If you guess "r," "s," "e," "a," and "m." It would say: [CODE] …

Member Avatar for vegaseat
0
10K
Member Avatar for Mouche

So my idea for this program was to take data from a file and compiling it into a schedule type thing.... Comments? Again...for learning purposes, I'd love to see suggestions for content, efficiency, and techniques. [php] # Get data from schedules.txt import string f = open("schedules.txt","r") schedule_rawdata = f.readlines() f.close() …

Member Avatar for Mouche
0
186
Member Avatar for mruane

My fiance is having a birthday in less than 20 days. I am therefore trying to create a program for her (trust me, it is not intended to be the only gift) to play around with, and hopefully enjoy. The only problem I am having so far, is that when …

Member Avatar for Mouche
0
275
Member Avatar for macca1111

Hi, I have the following code working fine. What I would like to try is when n cards are randomly selected, to print the cards in a graphics window. I want to add a new class draw(self,win,center) that displays the card. I have a set of bmp cards. [php]# Import …

Member Avatar for Zonr_0
0
1K
Member Avatar for mruane

i get this error when trying to run my program. Traceback (most recent call last): File "C:\Python24\secretgarden.pyw", line 12, in -toplevel- denaystart() File "C:\Python24\secretgarden.pyw", line 7, in denaystart prompt_login() NameError: global name 'prompt_login' is not defined

Member Avatar for vegaseat
0
145
Member Avatar for Mouche

So if I want to store a list of items (such as a bunch of instances of a class), what's better to use: tuples or lists? I understand that lists are mutable, so what are the advantages to tuples?

Member Avatar for vegaseat
0
136
Member Avatar for DarkFlash

Hey guys, I'm just about done with a program and I need to know how to launch an IE window (or any browser I suppose) from the command prompt. Can anybody help me? thanks!:cheesy:

Member Avatar for DarkFlash
0
246
Member Avatar for Mouche

I was looking through the "beginner projects" looking for a way to use dictionaries so I could understand them better. I saw the caesar cipher suggestion and decided to run with that. I created a working one, but (as I saw in the "If...else") just because something works doesn't mean …

Member Avatar for Ene Uran
0
504