On Wed, Jul 21, 2010 at 9:48 PM, Andrew Martin amartin7...@gmail.comwrote:
This code was part of a Blender script to build a 3d bar graph, so I don't
know if understanding Blender is a prereq for understanding this code. The
function is for the axis labels.
def
On Thu, Jul 22, 2010 at 2:47 AM, Marc Tompkins marc.tompk...@gmail.com wrote:
On Wed, Jul 21, 2010 at 9:48 PM, Andrew Martin amartin7...@gmail.com
wrote:
This code was part of a Blender script to build a 3d bar graph, so I don't
know if understanding Blender is a prereq for understanding this
Hi all,
Attached is a file. When I run the program it is part of, I get an
error that says:
line 62: IndentationError: expected an indented block.
I can see nothing wrong with the indentation, though. This is part of
my Battleship game, defining all the different ships and aircraft the
user can
Attached is a file. When I run the program it is part of, I get an
error that says:
line 62: IndentationError: expected an indented block.
This function:
def fromString(self, str):
#creates a Craft object from the string
#end class Craft
Is completely empty (the comment lines are
On 7/22/10, Evert Rol evert@gmail.com wrote:
Attached is a file. When I run the program it is part of, I get an
error that says:
line 62: IndentationError: expected an indented block.
This function:
def fromString(self, str):
#creates a Craft object from the string
#end class Craft
On Thu, Jul 22, 2010 at 3:35 PM, Evert Rol evert@gmail.com wrote:
Attached is a file. When I run the program it is part of, I get an
error that says:
line 62: IndentationError: expected an indented block.
This function:
def fromString(self, str):
#creates a Craft object from the
(also consider using four spaces for indentation, which I've also found much
clearer. Have a read through PEP 8; has a lot of interesting tidbits.
Did you read the rest of his post? He's using a screen reader for a
reason; he can't *see* the code. visual means of structuring code like
On 7/22/10, Hugo Arts hugo.yo...@gmail.com wrote:
On Thu, Jul 22, 2010 at 3:35 PM, Evert Rol evert@gmail.com wrote:
Attached is a file. When I run the program it is part of, I get an
error that says:
line 62: IndentationError: expected an indented block.
This function:
def
On 07/05/10 22:23, Adam Bark wrote:
I should add that this is how something like:
if x != y:
do_something()
works, if expects a True or False (this isn't always true but works for
comparison operators expressions such as this).
nit if expects an expression that can be converted
On 6 July 2010 02:05, Lie Ryan lie.1...@gmail.com wrote:
On 07/05/10 22:23, Adam Bark wrote:
I should add that this is how something like:
if x != y:
do_something()
works, if expects a True or False (this isn't always true but works for
comparison operators expressions such
Lie Ryan wrote:
On 07/05/10 22:23, Adam Bark wrote:
I should add that this is how something like:
if x != y:
do_something()
works, if expects a True or False (this isn't always true but works for
comparison operators expressions such as this).
nit if expects an expression
Hi all,
I am curious. If I wanted a library that would let me play sounds at
specific positions in the stereo field, then update that position as
the user moved so that it would seem to be a fixed reference point,
what would I use? For example, say the left/right arrows move you left
and right. In
hey i have just started making a app using python and just gt a problem..
i have two list
a=[x,z]
b=[1,2]
i want to make a directory like this
c={x:1,z:2}
is it possible i mean i tried it using loops and all but i cant append a
directory so i m unable to do this...
plz tell me if there's
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
This message was blank, I am not sure if that was the idea or not.
On 7/22/10, ankur coolankur2...@gmail.com wrote:
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 7/22/10, ANKUR AGGARWAL coolankur2...@gmail.com wrote:
hey i have just started making a app using python and just gt a problem..
i have two list
a=[x,z]
b=[1,2]
i want to make a directory like this
It is called a dictionary, actually.
c={x:1,z:2}
is it possible i mean i tried it
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 7/22/2010 7:51 PM, ANKUR AGGARWAL wrote:
hey i have just started making a app using python and just gt a
problem..
i have two list
a=[x,z]
b=[1,2]
i want to make a directory like this
Do you mean dictionary?
c={x:1,z:2}
is it possible
Indeed. There are several ways to do this.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On Fri, 23 Jul 2010 09:51:37 am ANKUR AGGARWAL wrote:
hey i have just started making a app using python and just gt a
problem..
i have two list
a=[x,z]
b=[1,2]
i want to make a directory like this
c={x:1,z:2}
The word you want is dictionary or dict, not directory.
Here's one slow,
You can access openal through either pyglet or pygame I believe, and definitely
thru panda3d. That would allow you to have true 3d sound positioning and I
believe openal can automatically Doppler too, not sure though. Let us know what
you go with or if you have questions.
Sent from my iPhone
Hey quit spamming the list please.
Sent from my iPhone
On Jul 22, 2010, at 7:08 PM, Alex Hall mehg...@gmail.com wrote:
On 7/22/10, ANKUR AGGARWAL coolankur2...@gmail.com wrote:
hey i have just started making a app using python and just gt a problem..
i have two list
a=[x,z]
b=[1,2]
i
On 7/22/10, Luke Paireepinart rabidpoob...@gmail.com wrote:
You can access openal through either pyglet or pygame I believe, and
definitely thru panda3d. That would allow you to have true 3d sound
positioning and I believe openal can automatically Doppler too, not sure
though. Let us know what
looks like this guy figured out how to send email in a loop
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
38 matches
Mail list logo