Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #35975 > unrolled thread
| Started by | Wolfgang Strobl <news4@mystrobl.de> |
|---|---|
| First post | 2013-01-02 17:24 +0100 |
| Last post | 2013-01-02 17:24 +0000 |
| Articles | 4 — 4 participants |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: New in Python , Need a Mentor Wolfgang Strobl <news4@mystrobl.de> - 2013-01-02 17:24 +0100
Re: New in Python , Need a Mentor Chris Angelico <rosuav@gmail.com> - 2013-01-03 03:30 +1100
Re: New in Python , Need a Mentor someone <newsboost@gmail.com> - 2013-01-05 12:33 +0100
RE: New in Python , Need a Mentor "Sells, Fred" <fred.sells@adventistcare.org> - 2013-01-02 17:24 +0000
| From | Wolfgang Strobl <news4@mystrobl.de> |
|---|---|
| Date | 2013-01-02 17:24 +0100 |
| Subject | Re: New in Python , Need a Mentor |
| Message-ID | <vtl8e8tb7de8u1phem7ln9op3iies1i7qq@4ax.com> |
Chris Angelico <rosuav@gmail.com>: >On Thu, Jan 3, 2013 at 1:04 AM, NewbiePythonic <khan.immran@gmail.com> wrote: >> Hello Friends, >> >> I am very new to python and loved the easiness with which we can deal with problems. I would like to take things seriously and develop some good web applications. But right now I am stuck and looking for a mentor who can help me out with improving my skills and knowledge . Looking forward to meet someone who can help me out. > >The best mentor for Python is actually your Python interpreter. As a >modern high-level language, Python's pretty helpful at finding >problems - anything that it detects as an error will be reported with >a thrown exception, with full traceback. Get to know your interpreter >via its interactive mode (on Windows, Right. In addition, i'd suggest applying the short recpie in <http://code.activestate.com/recipes/65287-automatically-start-the-debugger-on-an-exception/> (i.e. add that snippet to sitecustomize.py) and learn a little bit of pdb. This works everywhere and comes quite handy for inspecting code right after something throws an exception. >I strongly recommend IDLE - much >better editing/recall facilities than the command-line Python has), >and work through the tutorial: Well, this is certainly a matter of taste. I'd recommend using some small, language independent programmers editor and some modern distributed version control system right at the beginning. Put your code, even the smallest snippets, under version control, make that a habit. Write small doctests for your code from the very beginning. Try to construct your code so that it works equally well as a module and as a standalone script Don't start developing web applications, write some small utilities for your own needs, first. Personally, I suggest SciTE and TortoiseHG on Windows, but that too is, as I said, a matter of taste. -- Wir danken für die Beachtung aller Sicherheitsbestimmungen
[toc] | [next] | [standalone]
| From | Chris Angelico <rosuav@gmail.com> |
|---|---|
| Date | 2013-01-03 03:30 +1100 |
| Message-ID | <mailman.1577.1357144212.29569.python-list@python.org> |
| In reply to | #35975 |
On Thu, Jan 3, 2013 at 3:24 AM, Wolfgang Strobl <news4@mystrobl.de> wrote: > Chris Angelico <rosuav@gmail.com>: >>I strongly recommend IDLE - much >>better editing/recall facilities than the command-line Python has), >>and work through the tutorial: > > Well, this is certainly a matter of taste. I'd recommend using some > small, language independent programmers editor and some modern > distributed version control system right at the beginning. Put your > code, even the smallest snippets, under version control, make that a > habit. Write small doctests for your code from the very beginning. Try > to construct your code so that it works equally well as a module and as > a standalone script Don't start developing web applications, write > some small utilities for your own needs, first. > > Personally, I suggest SciTE and TortoiseHG on Windows, but that too is, > as I said, a matter of taste. I don't edit code in IDLE, I just use it for interactive work. For actual script editing, agreed (though I use git rather than hg), but it really does help to have a way to *very* quickly test a line or two of code. ChrisA
[toc] | [prev] | [next] | [standalone]
| From | someone <newsboost@gmail.com> |
|---|---|
| Date | 2013-01-05 12:33 +0100 |
| Message-ID | <kc932m$64t$1@dont-email.me> |
| In reply to | #35976 |
On 01/02/2013 05:30 PM, Chris Angelico wrote: > On Thu, Jan 3, 2013 at 3:24 AM, Wolfgang Strobl <news4@mystrobl.de> wrote: >> Chris Angelico <rosuav@gmail.com>: >>> I strongly recommend IDLE - much >>> better editing/recall facilities than the command-line Python has), >>> and work through the tutorial: >> >> Well, this is certainly a matter of taste. I'd recommend using some >> small, language independent programmers editor and some modern >> distributed version control system right at the beginning. Put your >> code, even the smallest snippets, under version control, make that a >> habit. Write small doctests for your code from the very beginning. Try >> to construct your code so that it works equally well as a module and as >> a standalone script Don't start developing web applications, write >> some small utilities for your own needs, first. >> >> Personally, I suggest SciTE and TortoiseHG on Windows, but that too is, >> as I said, a matter of taste. > > I don't edit code in IDLE, I just use it for interactive work. For > actual script editing, agreed (though I use git rather than hg), but > it really does help to have a way to *very* quickly test a line or two > of code. I really REALLY like debugging with "eric"... http://eric-ide.python-projects.org/
[toc] | [prev] | [next] | [standalone]
| From | "Sells, Fred" <fred.sells@adventistcare.org> |
|---|---|
| Date | 2013-01-02 17:24 +0000 |
| Message-ID | <mailman.1578.1357147554.29569.python-list@python.org> |
| In reply to | #35975 |
The need for a "python-aware" editor is the commonly held opinion, although the debate about which editor is endless. I use Eclipse + PyDev only because I found it first and like it. The only suggestion I would offer is to separate the business logic completely from the HTML request/response handler. It makes it much easier to debug. Other than that, ditto to everyone else's response. Fred.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web