How to begin

W

weixixiao

http://www.codecademy.com

I have learned the basic rules of Python in this website.

What should I do next?where to go?

I download the Pycharm the free version and I think I dunno how to use it except a "Hello world"
 
P

pete suchsland

http://www.codecademy.com



I have learned the basic rules of Python in this website.



What should I do next?where to go?



I download the Pycharm the free version and I think I dunno how to use it except a "Hello world"

....well use it some more! Try
print("hello world"*10) and then
print(9+9)
make a variable ...
x =99
if x = 99:
print("hello world")
make a class ...
class Hello:
def __init__(self, word):
self.word = word
def returnme(self)
return (self.word)

a = Hello("yo whazzup?")
b = Hello("Allo")
c = Hello("Guttentag")
make a list:
l = [ a , b , c]
make a for loop:
for i in l:
print(i.returnme())

read the Python tutorial, lots of ways to get your feet wet! I have PyCharm, Eclipse (with PyDev), and Idle, (all free) and I like them all. CodeAcademy is a good idea too if you want an online course to get your started.
 
C

Chris Angelico

Surely, Pete, you meant to write "if x == 99:" ?

Maybe. Or maybe he wanted the OP to do stuff that would result in
exceptions, since exceptions are a way of life in Python! :)

ChrisA
 
C

Cameron Simpson

http://www.codecademy.com

I have learned the basic rules of Python in this website.
What should I do next?where to go?
I download the Pycharm the free version and I think I dunno how to use it except a "Hello world"

It helps to have something you want done.

Find something small you'd like to do. Do it in Python.
If you already have a collection of small scripts, try rewriting some in Python.

Start small. As you skill grows, work up.

Cheers,
 
T

Terry Reedy

Hmm, the language reference is targeted at people *implementing* Python,

This is the first time I have read that. It is definitely aimed at users
who have already ready the tutorial and need the information that is not
in the tutorial.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top