So I've been messing about in Python...

Everything related to programming.
Post Reply
Sven
SEAL
Posts: 622
Joined: Sun Apr 11, 2010 5:49 pm

So I've been messing about in Python...

Post by Sven » Mon Mar 12, 2012 12:05 pm

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?
Image
blackkyurem123123 wrote:one of the Admins asks "whaths wrong" and he repiles " someone smasmed me chests".

TaxiService
Night Stalker
Posts: 6887
Joined: Thu May 24, 2007 5:52 am
Location: 41.896198, 12.4165945
Contact:

Re: So I've been messing about in Python...

Post by TaxiService » Mon Mar 12, 2012 12:41 pm

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:
  • TaxiService! Shitposting since 2007!
MGM Sig

Sven
SEAL
Posts: 622
Joined: Sun Apr 11, 2010 5:49 pm

Re: So I've been messing about in Python...

Post by Sven » Mon Mar 12, 2012 1:11 pm

Could I get the code for that? (I understand if you don't want to give it out.)
Image
blackkyurem123123 wrote:one of the Admins asks "whaths wrong" and he repiles " someone smasmed me chests".

nil
Halo Moderator
Halo Moderator
Posts: 1090
Joined: Sat Jul 05, 2008 8:38 am
Location: null zone

Re: So I've been messing about in Python...

Post by nil » Mon Mar 12, 2012 7:08 pm

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.
I am no longer active to Halo or MGM, and don't guarantee a response on the forums or through email. I will however linger around the discord room for general chatting. It's been fun!

TaxiService
Night Stalker
Posts: 6887
Joined: Thu May 24, 2007 5:52 am
Location: 41.896198, 12.4165945
Contact:

Re: So I've been messing about in Python...

Post by TaxiService » Mon Mar 12, 2012 10:07 pm

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.
  • TaxiService! Shitposting since 2007!
MGM Sig

Sven
SEAL
Posts: 622
Joined: Sun Apr 11, 2010 5:49 pm

Re: So I've been messing about in Python...

Post by Sven » Mon Mar 12, 2012 11:09 pm

Thanks Taxi, this makes a lot of things easier.
Image
blackkyurem123123 wrote:one of the Admins asks "whaths wrong" and he repiles " someone smasmed me chests".

TaxiService
Night Stalker
Posts: 6887
Joined: Thu May 24, 2007 5:52 am
Location: 41.896198, 12.4165945
Contact:

Re: So I've been messing about in Python...

Post by TaxiService » Tue Mar 13, 2012 10:07 pm

These are all the characters I have implemented.
Image

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.
  • TaxiService! Shitposting since 2007!
MGM Sig

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest