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
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Ultralisk

Hi I've been pulling my hair out over this program. It is uses a Class for creating objects to be used in an ordering tracking system. I'm having problems calling the objects and implementing them. I'm trying to follow a structure along these lines When an order is created payment …

Member Avatar for Ultralisk
0
155
Member Avatar for Ultralisk

Here is my code, what I'm having problems with is taking values from a 10 field file (scores.dat) and putting them into a list. How would i go about this? [CODE]def main(): fileIn = open( "scores.dat", "r") lineIn = fileIn.readline() while len(lineIn) != 0: print lineIn lineIn = fileIn.readline() parse(lineIn) …

Member Avatar for TrustyTony
0
127
Member Avatar for Ultralisk

Is there a way to sort an empty list of strings as you add more values to the list? I cannot find a decent example of this anywhere and struggling with this. The insertion sort seemed like the logical plan, but I cannot for the life of me find anything …

Member Avatar for vegaseat
0
2K
Member Avatar for Ultralisk

Hi Having trouble getting this started. I wan't to read lines of data from my file, which has the current contents Scores.txt - [CODE] Names Difficulty Scores Totals Mark Smith 2.5 6.0 5.0 5.5 5.5 6.5 6.0 6.5 44.25 John Andrews 2.8 5.5 5.5 6.0 4.5 6.0 5.5 5.0 46.20[/CODE] …

Member Avatar for cghtkh
0
123
Member Avatar for Ultralisk

[CODE]'''Triangle generator''' totalRows = int(raw_input ("Please enter a number: ")) stars = totalRows for currentCol in range(1, currentRow+1): for currentRow in range(1, totalRows+1): print '*', print print for currentRow in range (1, totalRows+1): for currentCol in range(1, currentRow+1): print '* ' * stars stars -= 1[/CODE] Current output: [CODE]* * …

Member Avatar for TrustyTony
0
91
Member Avatar for Ultralisk

[CODE]'''Triangle generator''' totalRows = int(raw_input ("Please enter a number: ")) stars = totalRows for currentCol in range(1, currentRow+1): for currentRow in range(1, totalRows+1): print '*', print print for currentRow in range (1, totalRows+1): for currentCol in range(1, currentRow+1): print '* ' * stars stars -= 1[/CODE] Current output: [CODE] * …

Member Avatar for griswolf
0
106
Member Avatar for Ultralisk

[CODE]totalRows = int(raw_input ("Please enter a number: ")) for currentRow in range(1, totalRows+1): for currentCol in range (1, currentRow+1): print '*', print print for currentRow in range (1, totalRows+1): for currentCol in range(1, currentRow+1): print '*', print[/CODE] Output * * * * * * * * * * * * …

Member Avatar for Ultralisk
0
115