Forum: Python
Oct 3rd, 2007, 4:46 PM
|
|
Replies: 44
Views: 2,036
|
Forum: Python
Sep 20th, 2007, 9:27 PM
|
|
Replies: 7
Views: 477
|
Forum: Python
Sep 17th, 2007, 3:07 PM
|
|
Replies: 3
Views: 211
|
Forum: Python
Jul 18th, 2007, 8:52 AM
|
|
Replies: 12
Views: 426
|
Forum: Python
Jul 10th, 2007, 1:23 PM
|
|
Replies: 12
Views: 426
I looked at the link, that note is simply a...
I looked at the link, that note is simply a mistake in that case. It is correct if you line up a bunch of variables with commas directly after a print.
Another solution for the OP:
def square(x):
...
|
Forum: Python
Jul 10th, 2007, 1:12 PM
|
|
Replies: 12
Views: 426
Whoever wrote that is full of dung, as it...
Whoever wrote that is full of dung, as it pertains to formatted strings. The space that you have in this example is the one from the format string.
Look at this:
for i in range(1, 6):
print...
|
Forum: Python
Jul 9th, 2007, 3:01 PM
|
|
Replies: 6
Views: 419
|
Forum: Python
Jul 4th, 2007, 7:28 PM
|
|
Replies: 19
Views: 732
|
Forum: C
Jun 28th, 2007, 2:39 PM
|
|
Replies: 11
Views: 495
|
Forum: Python
Jun 28th, 2007, 12:10 PM
|
|
Replies: 8
Views: 283
|
Forum: Python
May 1st, 2007, 2:30 PM
|
|
Replies: 4
Views: 255
|
Forum: C#
Apr 16th, 2007, 5:43 PM
|
|
Replies: 6
Views: 163
|
Forum: C++
Mar 15th, 2007, 12:41 AM
|
|
Replies: 44
Views: 1,074
|
Forum: Python
Mar 1st, 2007, 6:03 PM
|
|
Replies: 2
Views: 192
|
Forum: Python
Feb 15th, 2007, 12:19 AM
|
|
Replies: 9
Views: 344
You mean this old thing:
#include...
You mean this old thing:
#include <stdio.h>
#include <windows.h>
int main(void)
{
HANDLE hConsoleOutput = GetStdHandle(STD_OUTPUT_HANDLE);
WORD wAttributes;
CONSOLE_SCREEN_BUFFER_INFO...
|
Forum: Python
Feb 13th, 2007, 12:54 AM
|
|
Replies: 9
Views: 344
|
Forum: Python
Feb 12th, 2007, 2:51 PM
|
|
Replies: 9
Views: 344
Nice to see you back:
# change color in the...
Nice to see you back:
# change color in the console display (Windows)
# color is a two digit hexadecimal number
# the first digit is the background
# the second digit is the foreground (text)
#...
|
Forum: Python
Feb 9th, 2007, 6:27 PM
|
|
Replies: 4
Views: 209
First of all read up on unicode...
First of all read up on unicode at:
http://www.python.org/peps/pep-0263.html
Also here is a small code sample I wrote a while ago that might help you in your quest:
# Python supports Unicode strings...
|
Forum: Python
Feb 9th, 2007, 6:11 PM
|
|
Replies: 5
Views: 258
|
Forum: C++
Feb 9th, 2007, 6:03 PM
|
|
Replies: 4
Views: 275
|
Forum: C++
Feb 9th, 2007, 6:02 PM
|
|
Replies: 3
Views: 199
|
Forum: Python
Jan 14th, 2007, 12:58 PM
|
|
Replies: 3
Views: 232
Python weds C++
I am looking for good information or a tutorial on the use of Python as a glue language with C and C++. Does anyone have experience with that sort of advanced thing?
|
Forum: Python
Jan 13th, 2007, 3:31 PM
|
|
Replies: 15
Views: 526
Found this on another forum:
I downloaded the...
Found this on another forum:
I downloaded the little free program as the source file (Python package) and test drove it. By golly, it is nice! An 'almost IDE', actually I can't figure out what is...
|
Forum: Python
Jan 10th, 2007, 5:49 PM
|
|
Replies: 15
Views: 526
If you want to create your GUI layout with a...
If you want to create your GUI layout with a visual drag and drop framebuilder, you can use Boa or wxGlade. A visual framebuilder is in PyScripter's future features list.
Actually, it's easy enough...
|
Forum: Python
Jan 6th, 2007, 11:34 AM
|
|
Replies: 4
Views: 228
|
Forum: Python
Jan 5th, 2007, 2:07 PM
|
|
Replies: 9
Views: 675
|
Forum: Python
Jan 5th, 2007, 1:56 PM
|
|
Replies: 4
Views: 228
|
Forum: Python
Jan 5th, 2007, 1:08 PM
|
|
Replies: 9
Views: 675
Tools for learning Python
Again, this question came from a hijacked thread, but addresses important issues.
I would like to get a feel for programming, can anyone suggest any books or free tutorial websites? I heard that...
|
Forum: Python
Jan 5th, 2007, 12:45 PM
|
|
Replies: 4
Views: 228
Loops in Python
This question came from a hijacked thread. I thought it important enough to put it in its own thread with the proper title.
What loops does Python offer and what are they used for?
I might add,...
|
Forum: Python
Jan 5th, 2007, 12:38 PM
|
|
Replies: 30
Views: 889
|
Forum: Python
Jan 5th, 2007, 12:10 PM
|
|
Replies: 11
Views: 648
|
Forum: Python
Jan 1st, 2007, 2:32 PM
|
|
Replies: 15
Views: 526
|
Forum: Python
Dec 30th, 2006, 2:00 PM
|
|
Replies: 15
Views: 526
Well, an IDE to me is a step up from a text...
Well, an IDE to me is a step up from a text editor, as you can at least test run your code right from the editor.
Some IDEs get pretty fancy, like the Boa Constructor, where you can drag and drop...
|
Forum: Python
Dec 29th, 2006, 2:34 PM
|
|
Replies: 15
Views: 526
Perfect Python IDE
Well, I think there is most likely not a perfect IDE for everyone. Sort of like the beauty of a girl, car or city. Anyway, what editor or IDE are you using, and what are your reasons you prefer...
|
Forum: C
Dec 28th, 2006, 1:30 PM
|
|
Replies: 19
Views: 497
|
Forum: Python
Dec 28th, 2006, 12:25 PM
|
|
Replies: 5
Views: 173
Import a Module
I usually import all the needed modules in the beginning of my program. I keep seeing code that imports modules within a function, wouldn't that be bad? I assume that the module will be imported...
|
Forum: C
Dec 27th, 2006, 10:25 AM
|
|
Replies: 19
Views: 497
|
Forum: Python
Dec 10th, 2006, 4:47 PM
|
|
Replies: 11
Views: 331
Thanks Arevos,
could one state this:
immutable...
Thanks Arevos,
could one state this:
immutable parameters (like numbers, tuples and strings) and mutable
parameters (like lists, dictionaries) are all passed by reference
immutable objects cannot...
|
Forum: Python
Dec 8th, 2006, 1:27 AM
|
|
Replies: 11
Views: 331
|
Forum: Python
Dec 2nd, 2006, 11:24 AM
|
|
Replies: 1
Views: 182
|