Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #66177 > unrolled thread

How to begin

Started byweixixiao <7441980@gmail.com>
First post2014-02-13 05:18 -0800
Last post2014-02-14 19:58 -0600
Articles 10 — 8 participants

Back to article view | Back to comp.lang.python


Contents

  How to begin weixixiao <7441980@gmail.com> - 2014-02-13 05:18 -0800
    Re: How to begin pete suchsland <visiondoctor2020@gmail.com> - 2014-02-13 07:06 -0800
      Re: How to begin John Ladasky <john_ladasky@sbcglobal.net> - 2014-02-13 09:34 -0800
        Re: How to begin Chris Angelico <rosuav@gmail.com> - 2014-02-14 07:45 +1100
    Re: How to begin Cameron Simpson <cs@zip.com.au> - 2014-02-14 09:25 +1100
    Re: How to begin Ben Finney <ben+python@benfinney.id.au> - 2014-02-14 09:31 +1100
    Re: How to begin Ryan Gonzalez <rymg19@gmail.com> - 2014-02-13 16:50 -0600
    Re: How to begin Ben Finney <ben+python@benfinney.id.au> - 2014-02-14 11:57 +1100
    Re: How to begin Terry Reedy <tjreedy@udel.edu> - 2014-02-14 03:55 -0500
    Re: How to begin Ryan Gonzalez <rymg19@gmail.com> - 2014-02-14 19:58 -0600

#66177 — How to begin

Fromweixixiao <7441980@gmail.com>
Date2014-02-13 05:18 -0800
SubjectHow to begin
Message-ID<8a78be96-7d26-47ff-9627-246d85410cd2@googlegroups.com>
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"

[toc] | [next] | [standalone]


#66181

Frompete suchsland <visiondoctor2020@gmail.com>
Date2014-02-13 07:06 -0800
Message-ID<92b6e6be-7e55-41c9-81e6-22f494639aa0@googlegroups.com>
In reply to#66177
On Thursday, February 13, 2014 6:18:26 AM UTC-7, weixixiao wrote:
> 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.

[toc] | [prev] | [next] | [standalone]


#66193

FromJohn Ladasky <john_ladasky@sbcglobal.net>
Date2014-02-13 09:34 -0800
Message-ID<2eb077bd-f74c-45c5-bef3-5f30916b2fcd@googlegroups.com>
In reply to#66181
On Thursday, February 13, 2014 7:06:03 AM UTC-8, pete suchsland wrote:

> if x = 99:

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

[toc] | [prev] | [next] | [standalone]


#66236

FromChris Angelico <rosuav@gmail.com>
Date2014-02-14 07:45 +1100
Message-ID<mailman.6878.1392324305.18130.python-list@python.org>
In reply to#66193
On Fri, Feb 14, 2014 at 4:34 AM, John Ladasky
<john_ladasky@sbcglobal.net> wrote:
> On Thursday, February 13, 2014 7:06:03 AM UTC-8, pete suchsland wrote:
>
>> if x = 99:
>
> 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

[toc] | [prev] | [next] | [standalone]


#66265

FromCameron Simpson <cs@zip.com.au>
Date2014-02-14 09:25 +1100
Message-ID<mailman.6898.1392330317.18130.python-list@python.org>
In reply to#66177
On 13Feb2014 05:18, weixixiao <7441980@gmail.com> wrote:
> 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,
-- 
Cameron Simpson <cs@zip.com.au>

Death before dishonor / Drugs before lunch.     - Aspen Gun and Drug Club

[toc] | [prev] | [next] | [standalone]


#66268

FromBen Finney <ben+python@benfinney.id.au>
Date2014-02-14 09:31 +1100
Message-ID<mailman.6900.1392330727.18130.python-list@python.org>
In reply to#66177
Cameron Simpson <cs@zip.com.au> writes:

> On 13Feb2014 05:18, weixixiao <7441980@gmail.com> wrote:
> > I have learned the basic rules of Python in this website.
> > What should I do next?where to go?
>
> It helps to have something you want done.
>
> Find something small you'd like to do. Do it in Python.

Good advice.

Alternatively, there is a whole tutorial of exercises with the things
to do already existing <URL:http://docs.python.org/3/tutorial/>.

Start at the beginning, work through each exercise – *do* them and
experiment until you understand them – before continuing.

Ask questions if your experiments leave you confused, and be prepared to
show what exercise you're doing and the code of your experiment.

By the end of the tutorial you'll have a solid grasp of all of Python.

-- 
 \     “If you pick up a starving dog and make him prosperous, he will |
  `\      not bite you. This is the principal difference between a dog |
_o__)                    and a man.” —Mark Twain, _Pudd'n'head Wilson_ |
Ben Finney

[toc] | [prev] | [next] | [standalone]


#66271

FromRyan Gonzalez <rymg19@gmail.com>
Date2014-02-13 16:50 -0600
Message-ID<mailman.6902.1392337301.18130.python-list@python.org>
In reply to#66177

[Multipart message — attachments visible in raw view] — view raw

On 02/13/2014 07:18 AM, weixixiao wrote:
> 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"
>
Read the Python reference. I know it's long, but it saves you trouble of 
accidentally reinventing the wheel.

-- 
--Ryan
If anybody ever asks me why I prefer C++ to C, my answer will be simple: "It's becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don't think that was nul-terminated."

[toc] | [prev] | [next] | [standalone]


#66274

FromBen Finney <ben+python@benfinney.id.au>
Date2014-02-14 11:57 +1100
Message-ID<mailman.6905.1392339485.18130.python-list@python.org>
In reply to#66177
Ryan Gonzalez <rymg19@gmail.com> writes:

> Read the Python reference. I know it's long, but it saves you trouble
> of accidentally reinventing the wheel.

Hmm, the language reference is targeted at people *implementing* Python,
not people who are learning to use it (though it is valuable for them
also). It would be rather overwhelming for a beginner, IMO.

You should instead be directing newcomers to beginner documentation,
such as <URL:https://wiki.python.org/moin/BeginnersGuide> and especially
the Python tutorial <URL:http://docs.python.org/3/tutorial/>.

-- 
 \          “If you get invited to your first orgy, don't just show up |
  `\             nude. That's a common mistake. You have to let nudity |
_o__)                                          ‘happen.’” —Jack Handey |
Ben Finney

[toc] | [prev] | [next] | [standalone]


#66289

FromTerry Reedy <tjreedy@udel.edu>
Date2014-02-14 03:55 -0500
Message-ID<mailman.6912.1392368158.18130.python-list@python.org>
In reply to#66177
On 2/13/2014 7:57 PM, Ben Finney wrote:
> Ryan Gonzalez <rymg19@gmail.com> writes:
>
>> Read the Python reference. I know it's long, but it saves you trouble
>> of accidentally reinventing the wheel.
>
> 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.

> not people who are learning to use it (though it is valuable for them
> also). It would be rather overwhelming for a beginner, IMO.
>
> You should instead be directing newcomers to beginner documentation,
> such as <URL:https://wiki.python.org/moin/BeginnersGuide> and especially
> the Python tutorial <URL:http://docs.python.org/3/tutorial/>.
>


-- 
Terry Jan Reedy

[toc] | [prev] | [next] | [standalone]


#66348

FromRyan Gonzalez <rymg19@gmail.com>
Date2014-02-14 19:58 -0600
Message-ID<mailman.6948.1392429511.18130.python-list@python.org>
In reply to#66177

[Multipart message — attachments visible in raw view] — view raw

Ack, I meant that, not the whole reference.


On Thu, Feb 13, 2014 at 6:57 PM, Ben Finney <ben+python@benfinney.id.au>wrote:

> Ryan Gonzalez <rymg19@gmail.com> writes:
>
> > Read the Python reference. I know it's long, but it saves you trouble
> > of accidentally reinventing the wheel.
>
> Hmm, the language reference is targeted at people *implementing* Python,
> not people who are learning to use it (though it is valuable for them
> also). It would be rather overwhelming for a beginner, IMO.
>
> You should instead be directing newcomers to beginner documentation,
> such as <URL:https://wiki.python.org/moin/BeginnersGuide> and especially
> the Python tutorial <URL:http://docs.python.org/3/tutorial/>.
>
> --
>  \          "If you get invited to your first orgy, don't just show up |
>   `\             nude. That's a common mistake. You have to let nudity |
> _o__)                                          'happen.'" --Jack Handey |
> Ben Finney
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 
Ryan
If anybody ever asks me why I prefer C++ to C, my answer will be simple:
"It's becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don't think that was
nul-terminated."

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web