Page 1 of 1
So I've been messing about in Python...
Posted: Mon Mar 12, 2012 12:05 pm
by Sven
I discovered it a few days ago, and it is so incredibly easy!
The "Hello, World!" print is just
print "Hello, World!"
I attempted to learn C and Java before this, but they were just too complicated for me at the time. This seems like a really good programming language to build foundations in.
Anyone here know python as well?
Re: So I've been messing about in Python...
Posted: Mon Mar 12, 2012 12:41 pm
by TaxiService
I did! But then…… *mishaps*
But yeah, no, i really did know some basic things about python! I think my most successful program was the one that would print text…
Code: Select all
░█░░░▀█▀░█░█░█▀▀░
░█░░░░█░░█▀▄░█▀░░
░▀▀▀░▀▀▀░▀░▀░▀▀▀░
░░░░░░░░░░░░░░░░░
░▀█▀░█░█░▀█▀░▄▀▀░
░░█░░█▀█░░█░░▀▀█░
░░▀░░▀░▀░▀▀▀░▀▀░░
░░░░░░░░░░░░░░░░░
Code: Select all
░█░░░░▀▄░█░░░░▀▄░█░░░░▀▄░
░█▀▄░▄▀█░█▀▄░▄▀█░█▀▄░▄▀█░
░▀░▀░░▀▀░▀░▀░░▀▀░▀░▀░░▀▀░
░░░░░░░░░░░░░░░░░░░░░░░░░
░░▀░░░░░░░▀▄░▄▄░▄░░░░░░▄▀▀░▄░▄░░▄░░▄▄░░░▄░░░▀░░▄▀▀░▄▀▄░░░█░
░▀█░░░░░░▄▀█░█░█░█░░░░░░▀▄░█░█░█░▀░█░█░█░▀░▀█░░░▀▄░█▀▀░▄▀█░
░▀▀▀░░░░░░▀▀░▀░▀░▀░░░░░▀▀░░▀▀▀░▀░░░█▀░░▀░░░▀▀▀░▀▀░░░▀▀░░▀▀░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░░▀░░░░░░▄▀▀░▄█▄░░▀░░▀█░░▀█░░░░░░░▄░░▄▀▄░▄▄░▄░░▄▀▄░▄▄░▄░░▄▀▄░▄▄░▄░░█░░░▄▀▄░░▄░░
░▀█░░░░░░░▀▄░░█░░▀█░░░█░░░█░░░░░░█░▀░█▀▀░█░█░█░█▀▀░█░█░█░█▀▀░█░█░█░█▀▄░█▀▀░█░▀░
░▀▀▀░░░░░▀▀░░░▀▄░▀▀▀░▀▀▀░▀▀▀░░░░░▀░░░░▀▀░▀░▀░▀░░▀▀░▀░▀░▀░░▀▀░▀░▀░▀░▀▀░░░▀▀░▀░░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
░█░░░░▄░░▄░▄░▄░░░░░▄█▄░█░░░░▀░░▄▀▀░░░░░▄█▄░█░░░░▀░░▄▄░░▄▀▄░░░░░▄░▄░▄░░▄░░░▄░░█░░░▄▀▀░
░█▀▄░█░█░█░█░█░░░░░░█░░█▀▄░▀█░░░▀▄░░░░░░█░░█▀▄░▀█░░█░█░▀▄█░░░░░█░█░█░█░█░█░▀░█▄▀░░▀▄░
░▀░▀░░▀░░░▀░▀░░░░░░░▀▄░▀░▀░▀▀▀░▀▀░░░░░░░▀▄░▀░▀░▀▀▀░▀░▀░░▄▀░░░░░░▀░▀░░░▀░░▀░░░▀░▀░▀▀░░
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
[/size]
this stuff looked better on 4chan though.
The problem is that right now i don't remember a dick!

I wanted to complete my sudoku solver, but i forgot everything! D:
Re: So I've been messing about in Python...
Posted: Mon Mar 12, 2012 1:11 pm
by Sven
Could I get the code for that? (I understand if you don't want to give it out.)
Re: So I've been messing about in Python...
Posted: Mon Mar 12, 2012 7:08 pm
by nil
Yep, I do. Good, easy learning language to start with compared to most others, especially C and Java.
@Taxi: That seems like a neat program. Just look over your programs you wrote again, maybe that'll help you remember things.
Re: So I've been messing about in Python...
Posted: Mon Mar 12, 2012 10:07 pm
by TaxiService
no, sure!! i can give it out!
http://pastebin.com/T9rThWvN
I have added some commenting to try making the things more clear. And yeah nil! re-reading the thing made me remember some stuff!
Frequently Asked Questions:
Q: How does this work?
A: first you need a document containing some text. Create a new .txt file with the text you want to convert in it and save it somewhere. Then in the terminal: write "python", drag my app and then the text file and press enter.
If you open the file again, you'll notice the text has changed!
Q: Can i add a character to the list?
A: Anything is possible when you're coding with… •.·*
PYTHON*·.• !!!
just… yeah, try to understand how it works and stuff. >_> <.<
Q: Is this the shittiest FAQ ever?
A: Yes. …yes it is.
Re: So I've been messing about in Python...
Posted: Mon Mar 12, 2012 11:09 pm
by Sven
Thanks Taxi, this makes a lot of things easier.
Re: So I've been messing about in Python...
Posted: Tue Mar 13, 2012 10:07 pm
by TaxiService
These are all the characters I have implemented.
I have also recalled what the hell that keys thing meant! It's a dictionary thing! I'll post a little guide on how to add personal characters later.