Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
Sign in to follow this  
Ecowolfsteen

Learning Python

Recommended Posts

Hello World, for some odd reason, I decided to start my programming journey, finally. I started with Python, because that has the best learning curve, from what I've heard. I'm using this guide: http://inventwithpython.com/IYOCGwP_book1.pdf. Which is geared toward all newbs to Python, and pure programming alike. If anyone here uses Python, and I post some of my work, please feel free to criticize, I think this is just going to be my little Python Shop. Ha.

Share this post


Link to post
Share on other sites

Good luck with it Eco :alright:

That link wont work cuz you put the full stop after it but it works after you remove it :sweatdrop:

Share this post


Link to post
Share on other sites

It most certainly would. :3

 

As for Python.. bleh. Learn Ruby. And then utilize it with RGSS.

Share this post


Link to post
Share on other sites

I thought it was in the programming forum.. 0_0. Anyway, why do you "bleh" Python? It has a very gentle leaning curve for me, somebody who has never programmed before. (Only a little with C++.)

Share this post


Link to post
Share on other sites

#UPDATE#

Don't mind the DP. I just finished a version of a silly project called Joker. In Joker, users are able to communicate with the system and listen to his jokes. There are 3 jokes so far. You can look at the script:

# First piece of work. A joke system.

print ('Hello! I will tell you some jokes!')
print ('Why did the chicken cross the road?')
myGuess = input()
print ('To get to the other side!!')
print ('What do you get when you cross a snowman with a vampire?')
myAnswer = input()
print ('Frostbite!')
print ('Knock Knock')
print ('Who is there?')
myEnter = input()
print ('Boo hoo.')
myEnter2 = input()
print ('Boo hoo who?')
myEnter3 = input()
print ('Do not cry, the Easter Bunny will be back next year!')







 

Or, you can download it right here: http://www.mediafire.com/?4foxrpuhb8gh9v3

Another name for it is:

Stand

Alone

Joke

System

 

Have fun.

Share this post


Link to post
Share on other sites

That looks....complicated lol. Maybe i will give python a shot too i got nothing to do most of the time anyways but im pretty sure im never gonna get as good as eco cuz my memory sucks

Share this post


Link to post
Share on other sites

Then get it here: http://inventwithpython.com/

Scroll down a bit and download the PDF. You can look at it through your browser then. You'll also need the latest version of Python. Which is 3.1.1. You can download it off of the Python website. If you have any questions about it I will help you to the best of my abilities.

Share this post


Link to post
Share on other sites

Lol. Nice "game".

 

The input is actually pointless though. Make it interactive somehow. :3

 

Goodjob btw.

Share this post


Link to post
Share on other sites

Haha nice work Eco, you can also use print like that in RGSS too.

 

Now try something a little more complicated. I want to some loops. And some conditions. Ooh I know, create a password system where I have to input the correct number. After that, I want a system were you specify the number of print functions. For example, if you input 10, then it prints something 10 times on the screen. The 2nd system would loop something like this:

loop = input()
i=0
while(i < loop)
{
print('somehow get the i variable in here')
i++
}

This is a very simple programming thing that has many uses. By the way I have no idea how to code in python :)

Share this post


Link to post
Share on other sites

XD! @Kiriashi, I thought it would be cool for you to type in your answer and then the system says if it's wrong or right and reveals the answer. Possibly, might come out in Joker V.2, which features more jokes. @Marked, I'm taking requests now? Sweet! Anyway, I could do these systems for you. That certain piece of code, looks exactly like Python. I think they might be a bit compatible from the looks of it, if I'm not mistaken. I'll get to work on those systems and present them to you. That password system Is basically like a guess the number game, which I know how to do, :P. Thanks for all the positive feedback! =)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...