- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
12 Posted Topics
Re: [QUOTE=Rashakil Fol;1471928] From what I can tell of your few posts on this forum, you do not have the aptitude for either subject.[/QUOTE] Zing! I think you need a different way of looking at math rather than repeated exercises in a book that most likely explains concepts extremely poorly. Just … | |
I have printed the contents of 2 folders to separate txt files. It is in the form of a python list ['a', 'b', etc.] How could I loop through the files looking for matching list elements? My first problem is how to extract the words from out of the quotes … | |
Re: I was trying this out and I didn't get it to work yet either, but it seems like you could use a [code]while x != 'break':[/code] and maybe an append(x) somewhere to help from writing over the previously entered names. I'll keep working on it. | |
I'm trying to print diff.txt that contains the differences between the 2 log files I have. I want it to print the diff.txt in the current directory, but I get nothing. [code] def difference(dirList1, dirList2): difFile = list(set(dirList1).difference(set(dirList2))) writeDif = open( 'diff.txt', 'w' ) writeDif.write( 'Yadda yadda, intro intro' ) … | |
I have a list of directories named dirList. I need to filter and sort before I pickle I think. This is what I've got. [code] fileHandle = open( 'dirList.txt', 'w' ) fileHandle.write( 'yadda yadda yadda intro' ) cPickle.dump(mu1List, fileHandle) fileHandle.close() [/code] the mu1List is declared at the beginning and it … | |
I'm trying to get a dirList.txt file in 2 different directories to (eventually) compare them. I've got a basic start going [code] # A program to create and compare directory lists of # a music folder and its backup import os, cPickle, string, stat, fnmatch # Define variables for the … | |
I'm getting seemingly unfounded errors with this seemingly easy program.. the variables "guess" and "i" are user input [code] for guess in range (i): float(guess + float(x / guess)) / 2 print guess [/code] I'm getting: ZeroDivisionError: integer division or modulo by zero | |
I am trying to make a 8 x 8 grid of boxes to manipulate for a matching game. I started with wxPython since I have no experience with pygame. I have it laid out with: [code] WINDOW_WIDTH = 1200 WINDOW_HEIGHT = 1200 class MainFrame(wx.Frame): def __init__(self): wx.Frame.__init__(self, None, title = … | |
I have a sentence generator that I set up with a "make" button to print the generated sentence, but I want it to print to the resultBox area, and instead it prints to the terminal window. I'm assuming it has something to do with the return sentence portion of it. … | |
I need to downgrade my java version from 1.5 to 1.3 for a project and I've downloaded the .sh file: j2re-1_3_1_23-solaris-i586.sh I'm not sure how to implement this or if there are any other steps. thanks I'm trying to downgrade to java 1.3 from 1.5 and I downloaded the shell … | |
Re: I use Pixen since it uses up VERY little space and is as simple as paint. [url]http://www.macupdate.com/info.php/id/13363[/url] | |
I've just taken a beginners project from Vegaseat and modified it to fit with a Tkinter tutorial. I'm just trying to get a Tk window that has a "Go!" button and by pressing it prints the sentence. I'm having lots of trouble. I've gained a lot from this though, so … |
The End.