Forums - Open Redstone Engineers
Python - Printable Version

+- Forums - Open Redstone Engineers (https://forum.openredstone.org)
+-- Forum: Off-Topic (https://forum.openredstone.org/forum-4.html)
+--- Forum: Programming (https://forum.openredstone.org/forum-8.html)
+--- Thread: Python (/thread-982.html)



Python - Xeomorpher - 09-14-2013

Python is fun.
Thus, thread.


RE: Python - Chibill - 09-15-2013

No Python is fun but the indents are not


RE: Python - Iceglade - 09-15-2013

(09-14-2013, 11:10 PM)Xeomorpher Wrote: Python is fun.
Thus, thread.



RE: Python - tokumei - 09-15-2013

Xeo, at some point in the future, would you mind helping me learn Python, specifically using the PyPluginLoader for Bukkit? Smile


RE: Python - Xeomorpher - 09-15-2013

Sure, if I have time, but it's getting pretty hectic with GCSE (A really importantish exam thing) year.


RE: Python - mad1231999 - 09-15-2013

Why though?
Just get a book on C.


RE: Python - Xeomorpher - 09-15-2013

Because you can write code in python far faster then C -

You can use it as a more programming-oriented bash :3, or use it for hackying with things, like throwing sockets around and shtuff


RE: Python - Chibill - 09-15-2013

Or use it with bash command on Linux with air crack-ng installed an make your own wifi off of Ethernet or Ethernet off wifi or wifi off wifi


RE: Python - tokumei - 09-19-2013

Or just use it to write a simple plugin for Bukkit with only 10 lines, as compared to what you'd have to do in Java. There's also the plus of not having to recompile every time you make a change.


RE: Python - shadekiller666 - 11-18-2013

DJ8X, codecademy.com has a pretty good online tutorial for Python, Ruby, Javascript, and HTML. and its not just a tutorial, it actually has a code editor on the site so that you can interact with the course that you're trying to learn. and its free! Big Grin


RE: Python - EDevil - 11-18-2013

So kinda like W3schools? Sounds pretty cool!


RE: Python - Iceglade - 11-18-2013

Also, learnpython.org is a pretty nice place too.


RE: Python - Somepotato - 11-27-2013

Python is bad, hands down.Exclamation


RE: Python - Iceglade - 11-27-2013

Context? Tongue


RE: Python - VirtualPineapple - 11-29-2013

all


RE: Python - Iceglade - 11-29-2013

Okay...
fine, let's do Lua
Happy now?
end okay
end statement about this programming language
end asking about emotion


RE: Python - Somepotato - 12-02-2013

Lua has many end statements as your awful code demands of it


RE: Python - Jmking80 - 12-02-2013

LUA RULES! I think....
Never tried python might have a look sometime


RE: Python - Xeomorpher - 12-04-2013

No, no it does not XD


RE: Python - Jmking80 - 12-04-2013

Yes it does.


RE: Python - Dornier - 12-05-2013

This is relevant...
[video=youtube]http://youtu.be/kQFKtI6gn9Y[/video]


RE: Python - Jmking80 - 12-05-2013

omg, I should argue that whay from now on


RE: Python - Dornier - 12-05-2013

No you shouldn't!

Btw, python is a great programming language. I've written this program completely from scratch in python: [Image: AXQBIGP.png]
(Yes I like advanced computational chemistry)


RE: Python - Jmking80 - 12-06-2013

Looks awesome, mind sharing the link


RE: Python - Dornier - 12-06-2013

There is no link. The program is still under development. I'm currently working on an algorithm to calculate the exact temperature, products and energy of reaction, using chemical equilibrium.


RE: Python - Malcolmforde - 12-07-2013

I just started learning python yesterday. Master Codecademy made me make this today:

Code:
pyg = 'ay' #Suffix
print "Welcome to the English to PygLatin translator!"
original = raw_input("What would you like to translate? ") #Input
if len(original) > 0 and original.isalpha(): #Check if the word is alphanumeric and is more than one character
    word = original.lower() #Set word to lowercase
    first = word[0] #Find first letter
    if first == 'a' or first == 'e' or first == 'i' or first == 'o' or first == 'u': #Check if first letter is a vowel
        new_word = word+pyg #Create new word for vowels
        print new_word
    else:
        new_word = word[1:]+first+pyg #Create new word
        print new_word
elif original.isalpha == False:
    print "Not alpha-numerical!" #Numbers! Oh no!
else:
    print "empty" #No word!