PDA

View Full Version : New section



Daniel
04-15-2010, 01:01 PM
omfg! a new section!



yakman: hey Wizzup make a python section in the programming board
Wizzup: yakman: yeah, we'll make one
Wizzup: I'll make one now.


Anyways, this is for Python scripts and Python script related questions / information. Hopefully it'll be more active than the current state of the other sub-categories of the "Programming" category.

Yakman
04-15-2010, 03:21 PM
actually that conversation went like this.



<yakman> hey Wizzup make a python section in the programming board
<yakman> or rename Java to Java and Python
<Wizzup> yakman, lol @ last
<Wizzup> yakman: yeah, we'll make one
<Wizzup> I'll make one now.
<yakman> since i still have mod powers, ill move some threads from the geneal section



This section is because the interest in python has gone viral in this forum... EVERYONE's doing it (on irc at least)

Dan Cardin
04-16-2010, 01:48 AM
Are you kidding? No one is!

Sir R. M8gic1an
04-16-2010, 01:52 AM
Maybe people will start using it more around the forums too....... :)

~RM

i luffs yeww
04-16-2010, 02:25 AM
:D YAY! ^^ I <3 Python from what I've been doing.

Awkwardsaw
04-16-2010, 02:30 AM
i like it as a programming language, but i have no idea what to do with it :(

Yakman
04-16-2010, 04:01 PM
I was planning to write something that generated mandlebrot sets like this

http://upload.wikimedia.org/wikipedia/commons/a/a4/Mandelbrot_sequence_new.gif

if someone wants to steal my idea....

Wizzup?
04-16-2010, 04:23 PM
I was planning to write something that generated mandlebrot sets like this

http://upload.wikimedia.org/wikipedia/commons/a/a4/Mandelbrot_sequence_new.gif

if someone wants to steal my idea....

I think there's a Python ascii-Mandelbrot generator in one line...


# Mandelbrot set
print (lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y,
Iu=Iu,Io=Io,Ru=Ru,Ro=Ro,Sy=Sy,L=lambda yc,Iu=Iu,Io=Io,Ru=Ru,Ro=Ro,i=IM,
Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,
i=i,Sx=Sx,F=lambda xc,yc,x,y,k,f=lambda xc,yc,x,y,k,f:(k<=0)or (x*x+y*y
>=4.0) or 1+f(xc,yc,x*x-y*y+xc,2.0*x*y+yc,k-1,f):f(xc,yc,x,y,k,f):chr(
64+F(Ru+x*(Ro-Ru)/Sx,yc,0,0,i)),range(Sx))):L(Iu+y*(Io-Iu)/Sy),range(Sy
))))(-2.1, 0.7, -1.2, 1.2, 30, 80, 24)
# \___ ___/ \___ ___/ | | |__ lines on screen
# V V | |______ columns on screen
# | | |__________ maximum of "iterations"
# | |_________________ range on y axis
# |____________________________ range on x axis

i luffs yeww
04-16-2010, 10:09 PM
I'm more just reading tutorials to start with. I don't wanna dive into that stuff so early. ;< But thanks a ton for them! ^^

Bionicle
04-16-2010, 11:23 PM
I was planning to write something that generated mandlebrot sets like this

http://upload.wikimedia.org/wikipedia/commons/a/a4/Mandelbrot_sequence_new.gif

if someone wants to steal my idea....

i literally stared at this for half an hour O_o