Jump to content
Sign in to follow this  
qwertylol

python

Recommended Posts

qwertylol

radius = input(What is the radius?)

man this is one line that owns au3.

in au3 i have to do

Dim $radius just to declare the variable

and i don't even know how to pop up a box for input and python got it in one line.

switch people.

Share this post


Link to post
Share on other sites
sandman

$radius = InputBox("YourTitle", "What is the radius?")

Edited by sandman

[center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center]

Share this post


Link to post
Share on other sites
qwertylol

$radius = InputBox("YourTitle", "What is the radius?")

two lines :rolleyes:

Share this post


Link to post
Share on other sites
herewasplato

two lines :rolleyes:

How is that two lines?

You do not have to DIM $radius

but if you wanted to:

Dim $radius = InputBox("YourTitle", "What is the radiusÉ][ÝÊ
you could still do it in one line of AutoIt code.

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
FreeFry

radius = input(What is the radius?)

man this is one line that owns au3.

in au3 i have to do

Dim $radius just to declare the variable

and i don't even know how to pop up a box for input and python got it in one line.

switch people.

How stupid are you? Seriously? :S

Share this post


Link to post
Share on other sites
herewasplato

How is that two lines?

You do not have to DIM $radius

but if you wanted to:

Dim $radius = InputBox("YourTitle", "What is the radiuÏÉ][ÝÊ
you could still do it in one line of AutoIt code.
...but doing that makes you lose the @Error feedback from the InputBox function...

[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×