Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 8 of 8
Search took 0.01 seconds.
Search: Posts Made By: JoeUser
Forum: Python Dec 13th, 2004, 11:51 PM
Replies: 10
Views: 734
Posted By JoeUser
If you download and install python 2.4 from...

If you download and install python 2.4 from python.org, you get an IDE included in the download. It runs python in a completely seperate application from command prompt, and is much more versetile to...
Forum: Python Dec 13th, 2004, 11:28 PM
Replies: 5
Views: 712
Posted By JoeUser
Actually, Thanks! I was just looking for...

Actually, Thanks! I was just looking for something to change strings to ints. It works like a charm! Now you can have the satisfaction of knowing somebody actually used your code for something! How...
Forum: Python Dec 13th, 2004, 7:06 PM
Replies: 7
Views: 451
Posted By JoeUser
I figured it out. With normal arrays, you create...

I figured it out. With normal arrays, you create an independent array with
arrayA = arrayB[:]
but with dictionary arrays, use
arrayA = arrayB.copy()
Forum: Python Dec 12th, 2004, 11:04 PM
Replies: 10
Views: 622
Posted By JoeUser
Are you kidding? I love the white spaces instead...

Are you kidding? I love the white spaces instead of brackets. There is NOTHING worse than coming to the end of a buggy java programming and finding dozens of brackets that have to be sorted out. ...
Forum: Python Dec 12th, 2004, 10:55 PM
Replies: 7
Views: 451
Posted By JoeUser
Yes I know! But take this piece of code for...

Yes I know! But take this piece of code for example

>>> a = {'a':1,'b':2,'c':3}
>>> b = a
>>> print a
{'a': 1, 'c': 3, 'b': 2}
>>> b['a'] = 9999
>>> print a
{'a': 9999, 'c': 3, 'b': 2}
Forum: Python Dec 12th, 2004, 7:00 PM
Replies: 7
Views: 451
Posted By JoeUser
Ahh you're right, I didn't make myself clear. Let...

Ahh you're right, I didn't make myself clear. Let me clarify, I now understand that array b=array a just makes array b another name for array a. That's only true of arrays.

The question remains,...
Forum: Python Dec 12th, 2004, 4:41 PM
Replies: 7
Views: 451
Posted By JoeUser
Really? Sorry. Didn't see it. I've made some...

Really? Sorry. Didn't see it.
I've made some progress, I now understand that b=a just makes b another name for a. Unfortunately, I havn't gotten any further than that on how to fix this problem.
b =...
Forum: Python Dec 12th, 2004, 4:00 PM
Replies: 7
Views: 451
Posted By JoeUser
I'm fairly new to python. I am making a simple...

I'm fairly new to python. I am making a simple text 2 player chess game currently. It's working like a charm (I love python's array definitions), but the array is acting wierdly. Here's a snippet of...
Showing results 1 to 8 of 8

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:20 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC