Hello, im new to python i've decided to learn python so i can make plugins in
games like css and minecraft i have a question about
minecraft, there is a plugin that loads plugins made in python.
http://forums.bukkit.org/threads/dev-pythonloader-v0-3-1-load-plugins-written-in-python-1597.30389/pa
On 15/03/12 07:53, Hadi ismail wrote:
i know how to do this in python but i dont know how to do it in way that
it works in minecraft seems like its impossible for me and there are no
tutorials on it
There are probably tutorials on how to do it in Java and you will need
to translate how Java d
Hi guys,
how do i prevent a user from leaving a blank when inputting?
e.g.
age=int(input("what age are you? ")).. i want to stop the user
pressing enter
if age==""?
Adrian Kelly
1 Bramble Close
Baylough
Athlone
County Westmeath
0879495663
Adrian Kelly
1 Bramble Close
Baylough
Athlone
County Westmeath
0879495663
From: kellyadr...@hotmail.com
To: tutor@python.org
Subject: null inputs
Date: Thu, 15 Mar 2012 14:19:16 +
Hi guys,
how do i prevent a user from leaving a blank when inputting?
e.g.
age=int(input("what a
On Thu, Mar 15, 2012 at 10:32 AM, ADRIAN KELLY wrote:
>
>
> Adrian Kelly
> 1 Bramble Close
> Baylough
> Athlone
> County Westmeath
>
> 0879495663
>
>
> --
> From: kellyadr...@hotmail.com
> To: tutor@python.org
> Subject: null inputs
> Date: Thu, 15 Mar 2012 14:19:16 +0
On Thu, Mar 15, 2012 at 3:56 PM, James Reynolds wrote:
>
>
> You can't prevent users from entering whatever they feel like it, but you
> can prevent your program from processing that input and force them to try
> again.
>
> The typical way this is done is through a while loop:
>
> age = ''
>
> whi
thanks very much i get it now...
> From: hugo.yo...@gmail.com
> Date: Thu, 15 Mar 2012 16:03:12 +0100
> Subject: Re: [Tutor] FW: null inputs
> To: eire1...@gmail.com
> CC: kellyadr...@hotmail.com; tutor@python.org
>
> On Thu, Mar 15, 2012 at 3:56 PM, James Reynolds wrote:
> >
Hi. I am reading Python for the Absolute Beginner, finished chapter 4, and am
trying to duplicate the author's games. In order to know if I have properly
created my new games, I need to get user input and see what happens. How do I
set things up on my computer so that I can get user input wh
>Hi. I am reading Python for the Absolute Beginner, finished chapter 4, and am
>trying to duplicate the author's games. In order to know if I have properly
>created my new games, I need to get user input and see what happens. How do I
>set things up on my computer so that I can get user input
Please can anyone tell me how to solve the problem i am having here, i am
trying to loop if the value is left blank by the user but how can i then use
the value and multiply it. e.g. while number_child=="" i want to
multiply the input i get.???
def main():print """_
On Thu, Mar 15, 2012 at 5:24 PM, ADRIAN KELLY wrote:
> Please can anyone tell me how to solve the problem i am having here, i am
> trying to loop if the value is left blank by the user
> but how can i then use the value and multiply it. e.g. while
> number_child=="" i want to multiply
Hi Tamar,
On 15 March 2012 17:59, Tamar Osher wrote:
> Hi. I am reading Python for the Absolute Beginner, finished chapter 4, and
> am trying to duplicate the author's games. In order to know if I have
> properly created my new games, I need to get user input and see what
> happens. How do I s
I realized that my computer was running the programs. The black box was
flashing off and disappearing immediately, so that I never saw the programs.
Also, I am using Notepad++, in addition to IDLE. I am now able to see my
programs and provide user input, when I use Notepad++.
Also, I still h
That's the nature of things I'm afraid.
I do about half of my development on windows. My recomendation, download
eclipse and install pydev. IDE choice is always a touchy subject but for
windows, this should be your choice.
I have notepad++ as well. Its great. But eclipse is better, especially
I am very appreciative for the many valuable individuals who graciously take
their precious time to help others in need. Special thanks to:
Brian van den Broek,Bob Gailer,and Hugo Arts.
I followed all the instructions of Hugo, Bob, and Brian. This is specifically
what I am now doing so that I
On 15/03/12 22:39, Tamar Osher wrote:
try:
import os
# my program
finally:
input ('\n\t\t\tPress the enter key to continue.')
os.system ('pause')
It's more conventional to put the import at the very top, before the
try: line.
But otherwise what you have should be fine. There are other ways
On 15/03/2012 22:30, eire1...@gmail.com wrote:
That's the nature of things I'm afraid.
I do about half of my development on windows. My recomendation, download
eclipse and install pydev. IDE choice is always a touchy subject but for
windows, this should be your choice.
I have notepad++ as we
Alan Gauld wrote:
On 15/03/12 22:39, Tamar Osher wrote:
try:
import os
# my program
finally:
input ('\n\t\t\tPress the enter key to continue.')
os.system ('pause')
It's more conventional to put the import at the very top, before the
try: line.
True, but in this case, if there is an import
On 16/03/12 00:29, Mark Lawrence wrote:
I have notepad++ as well. Its great. But eclipse is better, especially
for learning. I can't describe how much it helped me.
I believe that eclipse is crap.
No, it's not crap, it's one of the most powerful and extensible
development tools available and
19 matches
Mail list logo