Re: Python development tools

2013-06-25 Thread Grant Edwards
On 2013-06-25, MRAB pyt...@mrabarnett.plus.com wrote:

 Automating tasks, e.g. controlling other applications and stringing 
 together tasks that you would otherwise be doing by hand.

That, IMO, is the definition of scripting: writing a program to
automate a task that would probably be done by hand if you didn't have
to do it more that a few times.

-- 
Grant Edwards   grant.b.edwardsYow! I'm a fuschia bowling
  at   ball somewhere in Brittany
  gmail.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-24 Thread rusi
On Monday, June 24, 2013 11:04:48 AM UTC+5:30, cutems93 wrote:
 Alright. Thanks everyone for your responses. I just want to know what tools 
 are GENERALLY used by professional developers. I am helping somebody who 
 wants to know about software that he might use in his project. He does not 
 know what kind of project it will be, but it will be more like scripting in 
 the beginning. I know my question is somewhat vague, but this is all I can 
 give you. Could you help me by sharing your experiences?

There was a thread on editors a few months ago where I made some suggestions:
http://mail.python.org/pipermail/python-list/2013-January/639351.html and 
following

I dont know what you mean my 'scripting'
Anyhow I'll add this: the python docs are exceptionally well-written and a 
pleasure to go through.

Start with http://docs.python.org/2/library/
Heres a suggested order to navigate

5 Subsects 1 to 9 are important
10 File and Directory subsects 1 2 7 3
27.1 sys
13 1 and 2 (csv and config)
Some 3rd party config parsers better than builtin 
15 1 os
One of 15. 4 5 or 6 (command line parsing)
Yes this is a bit of a mess

22 Internationalization (unicode) is increasingly important but I cannot make 
head-or-tail of it. Python 2 and 3 completely inconsistent in this area

On general note about python's object orientation:
If by 'scripting' you mean working within some large App's environment eg 
libreoffice or blender which are scripted with python, then you need to 
carefully understand that app's object model.

If by scripting you mean something like shell-scripting and a few steps beyond, 
just forget about OO
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-24 Thread Ben Finney
rusi rustompm...@gmail.com writes:

 I dont know what you mean my 'scripting'

Any time someone has shown me a “Python script”, I don't see how it's
different from what I'd call a “Python program”. So I just mentally
replace “scripting with “programming”.

-- 
 \  “Dvorak users of the world flgkd!” —Kirsten Chevalier, |
  `\rec.humor.oracle.d |
_o__)  |
Ben Finney

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-24 Thread rusi
On Monday, June 24, 2013 11:50:38 AM UTC+5:30, Ben Finney wrote:
 rusi  writes:
 
  I dont know what you mean my 'scripting'
 
 Any time someone has shown me a “Python script”, I don't see how it's
 different from what I'd call a “Python program”. So I just mentally
 replace “scripting with “programming”.

If you are saying that python spans the scripting to programming spectrum 
exceptionally well, I agree.  I dont however think that the two philosophies 
are the same. See http://www.tcl.tk/doc/scripting.html



-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-24 Thread Grant Edwards
On 2013-06-23, cutems93 ms2...@cornell.edu wrote:

 I am new to python development and I want to know what kinds of tools
 people use for python development.

 1) emacs
 2) Cpython
 3) subversion
 4) http://www.python.org/doc/
 5) comp.lang.python 

99.9% of the programs I write are command-line tools.
 
-- 
Grant Edwards   grant.b.edwardsYow! I'm shaving!!
  at   I'M SHAVING!!
  gmail.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-24 Thread Wolfgang Keller
 Also, I will use GUI interface for Python. What kind of widget
 toolkits do you recommend? I know there are GTK+ and Qt. 

wxPython, PyGUI...

Sincerely,

Wolfgang
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-24 Thread Cameron Simpson
On 24Jun2013 14:28, Grant Edwards invalid@invalid.invalid wrote:
| On 2013-06-23, cutems93 ms2...@cornell.edu wrote:
|  I am new to python development and I want to know what kinds of tools
|  people use for python development.
| 
|  1) emacs
|  2) Cpython
|  3) subversion
|  4) http://www.python.org/doc/
|  5) comp.lang.python 

1) vi/vim
2) Cpython
3) mercurial
4) local copy of http://www.python.org/doc/ for python 2 and 3
   (lets me work offline and snappier to browse)
5) python-list@python.org

| 99.9% of the programs I write are command-line tools.

99.9% of the programs I write are command-line tools.

Cheers,
-- 
Cameron Simpson c...@zip.com.au

The simple truth is that interstellar distances will not fit into the
human imagination. - Douglas Adams
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-24 Thread Ben Finney
rusi rustompm...@gmail.com writes:

 On Monday, June 24, 2013 11:50:38 AM UTC+5:30, Ben Finney wrote:
  Any time someone has shown me a “Python script”, I don't see how
  it's different from what I'd call a “Python program”. So I just
  mentally replace “scripting with “programming”.

 If you are saying that python spans the scripting to programming
 spectrum exceptionally well, I agree. 

I'm saying that “scripting” is a complete subset of “programming”, so
it's nonsense to talk about “the scripting-to-programming spectrum”.

Scripting is, always, programming. Scripts are, always, programs. (But
not vice-versa; I do acknowledge there is more to programming than
scripting.) I say this because anything anyone has said to me about the
former is always something included already by the latter.

So I don't see much need for treating scripts as somehow distinct from
programs, or scripting as somehow distinct from programming. Whenever
you're doing the former, you're doing the latter by definition.

 I dont however think that the two philosophies are the same. See
 http://www.tcl.tk/doc/scripting.html

That essay constrasts “scripting” versus “system programming”, a useful
(though terminologically confusing) distinction.

It's a mistake to think that essay contrasts “scripting“ versus
“programming”. But the essay never justifies its aversion to
“programming” as a term for what it's describing, so that mistake is
easy to make.

-- 
 \   “A celebrity is one who is known by many people he is glad he |
  `\  doesn't know.” —Henry L. Mencken |
_o__)  |
Ben Finney

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-24 Thread Reed Xia
在 2013年6月24日星期一UTC+8上午4时40分07秒,cutems93写道:
 Hello, 
 
 
 
 I am new to python development and I want to know what kinds of tools people 
 use for python development. I went to Python website and found several tools. 
 
 
 
 1. Automated Refactoring Tools
 
 2. Bug Tracking
 
 3. Configuration And BuildTools
 
 4. Distribution Utilities
 
 5. Documentation Tools
 
 6. Integrated Development Environments
 
 7. Python Debuggers
 
 8. Python Editors
 
 9. Python Shells
 
 10. Test Software
 
 11. Useful Modules
 
 12. Version Control
 
 
 
 What else do I need? Also, which software is used in daily base? I know 
 version control software and bug tracking software are used almost everyday 
 by developers. Which software is used less often? 
 
 
 
 Also, I will use GUI interface for Python. What kind of widget toolkits do 
 you recommend? I know there are GTK+ and Qt. 
 
 
 
 Thank you in advance!
 
 -Min S.-

It's a big question.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-24 Thread rusi
On Tuesday, June 25, 2013 4:41:22 AM UTC+5:30, Ben Finney wrote:
 rusi  writes:
  I dont however think that the two philosophies are the same. See
  http://www.tcl.tk/doc/scripting.html
 
 That essay constrasts “scripting” versus “system programming”, a useful
 (though terminologically confusing) distinction.
 
 It's a mistake to think that essay contrasts “scripting“ versus
 “programming”. But the essay never justifies its aversion to
 “programming” as a term for what it's describing, so that mistake is
 easy to make.

The essay is 15 years old. So a bit dated. Referred to it as it conveys the 
sense/philosophy of scripting.

 
  On Monday, June 24, 2013 11:50:38 AM UTC+5:30, Ben Finney wrote:
   Any time someone has shown me a “Python script”, I don't see how
   it's different from what I'd call a “Python program”. So I just
   mentally replace “scripting with “programming”.
 
  If you are saying that python spans the scripting to programming
  spectrum exceptionally well, I agree. 
 
 I'm saying that “scripting” is a complete subset of “programming”, so
 it's nonsense to talk about “the scripting-to-programming spectrum”.
 
 Scripting is, always, programming. Scripts are, always, programs. (But
 not vice-versa; I do acknowledge there is more to programming than
 scripting.) I say this because anything anyone has said to me about the
 former is always something included already by the latter.
 
 So I don't see much need for treating scripts as somehow distinct from
 programs, or scripting as somehow distinct from programming. Whenever
 you're doing the former, you're doing the latter by definition.
 

My personal associations with the word 'scripting'

- Cavalier attitude towards efficiency
- No interest (and maybe some scorn) towards over-engineering (hence OOP)
- Heavy use of regular expressions, also sophistication of the command-line args
- A sense (maybe vague) of being glue more than computation, eg. a bash script 
is almost certain to invoke something other than builtins alone and is more 
likely to invoke a non-bash script than a bash script.  For a C program that 
likelihood is the other way round.  For python it could be either
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-24 Thread MRAB

On 25/06/2013 03:24, rusi wrote:

On Tuesday, June 25, 2013 4:41:22 AM UTC+5:30, Ben Finney wrote:

rusi  writes:
 I dont however think that the two philosophies are the same. See
 http://www.tcl.tk/doc/scripting.html

That essay constrasts “scripting” versus “system programming”, a useful
(though terminologically confusing) distinction.

It's a mistake to think that essay contrasts “scripting“ versus
“programming”. But the essay never justifies its aversion to
“programming” as a term for what it's describing, so that mistake is
easy to make.


The essay is 15 years old. So a bit dated. Referred to it as it conveys the 
sense/philosophy of scripting.



 On Monday, June 24, 2013 11:50:38 AM UTC+5:30, Ben Finney wrote:
  Any time someone has shown me a “Python script”, I don't see how
  it's different from what I'd call a “Python program”. So I just
  mentally replace “scripting with “programming”.

 If you are saying that python spans the scripting to programming
 spectrum exceptionally well, I agree.

I'm saying that “scripting” is a complete subset of “programming”, so
it's nonsense to talk about “the scripting-to-programming spectrum”.

Scripting is, always, programming. Scripts are, always, programs. (But
not vice-versa; I do acknowledge there is more to programming than
scripting.) I say this because anything anyone has said to me about the
former is always something included already by the latter.

So I don't see much need for treating scripts as somehow distinct from
programs, or scripting as somehow distinct from programming. Whenever
you're doing the former, you're doing the latter by definition.



My personal associations with the word 'scripting'

- Cavalier attitude towards efficiency


And convenience for the programmer.

Manipulating long texts using variable-length strings? Yes, I know 
it's inefficient, but it's still faster than doing it by hand!



- No interest (and maybe some scorn) towards over-engineering (hence OOP)
- Heavy use of regular expressions, also sophistication of the command-line args
- A sense (maybe vague) of being glue more than computation, eg. a bash script 
is almost certain to invoke something other than builtins alone and is more 
likely to invoke a non-bash script than a bash script.  For a C program that 
likelihood is the other way round.  For python it could be either

Automating tasks, e.g. controlling other applications and stringing 
together tasks that you would otherwise be doing by hand.


--
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-24 Thread rusi
On Tuesday, June 25, 2013 8:09:19 AM UTC+5:30, MRAB wrote:


 And convenience for the programmer.
 
 Manipulating long texts using variable-length strings? Yes, I know 
 it's inefficient, but it's still faster than doing it by hand!

Well... did not say it because it tends to be emotionally charged :-)
C programmers find C convenient.
Haskell programmers find monads convenient
Python programmers are (increasingly) finding OOP convenient

 Automating tasks, e.g. controlling other applications and stringing 
 together tasks that you would otherwise be doing by hand.

Yes scripting is more programmer oriented as against GUIs which are more user 
oriented.
Related: scripting is more FP-ish, whereas GUIs are more OOP-ish.
A shell pipeline is really function composition in different syntax and a 
back-quoted command is close to a higher-order function.
By contrast a windows user clicks on a 'doc' and it just 'opens'
Many of them dont exactly know the diff between a doc and MsWord.
And even a supposed programmer (like yours truly) has a hell of a time finding 
the executable when needed.

-- 
http://mail.python.org/mailman/listinfo/python-list


Python development tools

2013-06-23 Thread cutems93
Hello, 

I am new to python development and I want to know what kinds of tools people 
use for python development. I went to Python website and found several tools. 

1. Automated Refactoring Tools
2. Bug Tracking
3. Configuration And BuildTools
4. Distribution Utilities
5. Documentation Tools
6. Integrated Development Environments
7. Python Debuggers
8. Python Editors
9. Python Shells
10. Test Software
11. Useful Modules
12. Version Control

What else do I need? Also, which software is used in daily base? I know version 
control software and bug tracking software are used almost everyday by 
developers. Which software is used less often? 

Also, I will use GUI interface for Python. What kind of widget toolkits do you 
recommend? I know there are GTK+ and Qt. 

Thank you in advance!
-Min S.-
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-23 Thread Giorgos Tzampanakis
On 2013-06-23, cutems93 wrote:

 Hello, 

 I am new to python development and I want to know what kinds of tools
 people use for python development. I went to Python website and found
 several tools. 

 1. Automated Refactoring Tools
 2. Bug Tracking
 3. Configuration And BuildTools
 4. Distribution Utilities
 5. Documentation Tools
 6. Integrated Development Environments
 7. Python Debuggers
 8. Python Editors
 9. Python Shells
 10. Test Software
 11. Useful Modules
 12. Version Control

 What else do I need? Also, which software is used in daily base? I know
 version control software and bug tracking software are used almost
 everyday by developers. Which software is used less often? 

 Also, I will use GUI interface for Python. What kind of widget toolkits
 do you recommend? I know there are GTK+ and Qt. 

 Thank you in advance!
 -Min S.-

I think you are asking too much in a single post. Each of the points
you list could be a long discussion on its own.


-- 
Real (i.e. statistical) tennis and snooker player rankings and ratings:
http://www.statsfair.com/ 
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-23 Thread rurpy
On 06/23/2013 02:40 PM, cutems93 wrote:
 [...]
The Python wiki at http://wiki.python.org/moin/ has a lot of info on 
most of your subjects.  I've included links to there for some of your
items below.

All your items below also have comercial products available but I
an not familiar with any so all me comments below pertain only to
free tools.

 1. Automated Refactoring Tools
 I wish.
 2. Bug Tracking
 This is not really Python specific so any bug tracking tool
 you want to use will work.  There are several written in Python.
 The Python (cpython) project uses one called Roundup.
 3. Configuration And BuildTools 4. Distribution Utilities
 http://wiki.python.org/moin/DistributionUtilities
 5. Documentation Tools
 The most popular documentation tools for Python projects is Spinx, probably
 because the Python documentation itself is build with Spinx.
 see also http://wiki.python.org/moin/DocumentationTools
 6. Integrated Development Environments
 http://wiki.python.org/moin/IntegratedDevelopmentEnvironments
 7. Python Debuggers
 Python comes with a builtin debugger called pdb.  There are also a number
 of other add-on debuggers like pydb.
 See also: http://wiki.python.org/moin/PythonDebuggingTools
 8. Python Editors
 Any editor for programming is fine.  This is mostly personal taste and
 experience.  It is a frequent topic of discussion here so a web search
 should turn up some info.
 9. Python Shells
 10. Test Software
 Python comes with modules that will assist you in writing 
 your own tests, most notable unittest and doctest.  There are
 a number of third party modules too:
 See http://wiki.python.org/moin/UnitTests
 11. Useful Modules
 The main repository for public Python modules is PyPi: 
 See https://pypi.python.org/pypi
 12. Version Control
 Git and Mercurial (hg) seem to be the two most popular modern VCS 
 used by Python developers with Bazaar (bzr) right behind them.
 There was a discussion here very recently on that subject, 
 see https://groups.google.com/d/topic/comp.lang.python/MD4Oqq9GJiQ/discussion

 What else do I need? Also, which software is used in daily base? I
 know version control software and bug tracking software are used
 almost everyday by developers. Which software is used less often?

This really depends on what kind of development you will be
doing and who else you will be doing it with.  A minimal development
environment is a shell, python interpreter, and an internet connection.

 Also, I will use GUI interface for Python. What kind of widget
 toolkits do you recommend? I know there are GTK+ and Qt.

Python comes with a GUI toolkit called tkinter.
The other major GUI toolkit is wxPython although it is not yet
available for Python3.
See also http://wiki.python.org/moin/GuiProgramming

Hope this helps get you started.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-23 Thread Roy Smith
In article 263da442-0c87-41df-9118-6003c6168...@googlegroups.com,
 ru...@yahoo.com wrote:

  1. Automated Refactoring Tools
  I wish.

Why?  I've never seen the appeal of these.  I do plenty of refactoring.  
It's unclear to me what assistance an automated tool would provide.

  2. Bug Tracking
  This is not really Python specific so any bug tracking tool
  you want to use will work.  There are several written in Python.
  The Python (cpython) project uses one called Roundup.

Pick a bug tracker because its features fit your requirements, not what 
language it's written in.

We've been using Asana (https://asana.com) for a while.  I can't say I'm 
in love with it, but it's worth looking at.  It's intended more as a 
project planner, but the dividing line between project planning and bug 
tracking is a bit hazy.

  10. Test Software
  Python comes with modules that will assist you in writing 
  your own tests, most notable unittest and doctest.

I resisted nose (https://nose.readthedocs.org/) for quite a while, but I 
started using it in the past year and I'm slowly becoming addicted to 
it.  At this point, I would only recommend unittest to somebody who was 
coming from an Xunit/Junit background and wanted something with the same 
look and feel.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-23 Thread rurpy
On 06/23/2013 05:49 PM, Roy Smith wrote: In article 
263da442-0c87-41df-9118-6003c6168...@googlegroups.com, ru...@yahoo.com wrote:
  1. Automated Refactoring Tools
  I wish.
 Why?  I've never seen the appeal of these.  I do plenty of refactoring.  
 It's unclear to me what assistance an automated tool would provide.

I've often wanted something that would help globally change 
things like function and method names including across multiple
files.  Even variable names in large functions (ideally functions
should be small enough that this is not a problem but sometime
shit happens).  I am not great at picking good names to begin
with and often code drift makes them even worse with time.
Editor search and replace doesn't cut it. 

Other things like finding all uses of various objects/functions
etc would also be useful now and then but I suppose that is a 
common IDE capability?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-23 Thread Roy Smith
In article ba5cbbcc-ff44-467d-91b6-108573da5...@googlegroups.com,
 ru...@yahoo.com wrote:

 
 Other things like finding all uses of various objects/functions
 etc would also be useful now and then but I suppose that is a 
 common IDE capability?

$ find . -name '*.py' | xargs grep my_function_name

seems to work for me.  I suppose a language-aware grep would be even 
better, because then it wouldn't find my_function_name when it's 
embedded in docstrings, comments, and the like.

On the other hand, you probably want to find those too.  If you refactor 
the name and don't find those, you end up with broken docstrings and 
broken comments.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-23 Thread Steven D'Aprano
On Sun, 23 Jun 2013 13:40:07 -0700, cutems93 wrote:

 Hello,
 
 I am new to python development and I want to know what kinds of tools
 people use for python development. I went to Python website and found
 several tools.
[snip list of a dozen tools]
 What else do I need? 

You don't *need* any of these. You only *need* two things to write Python 
code: something to edit text files, and the Python interpreter to check 
that the code runs correctly. Everything else is optional.

Rather than try to predict ahead of time every possible thing you need, 
you should start small, and as you discover a new requirement, then 
investigate. Why spend hours, days or weeks investigating refactoring 
tools only to find that after 15 years of programming you've never once 
used it?


 Also, which software is used in daily base? I know
 version control software and bug tracking software are used almost
 everyday by developers. Which software is used less often?

With respect, that's a silly question. It depends on what you do, and how 
often you do it. If you distribute a new version of your software every 
day, then you will use a distribution tool every day. If you do it once a 
year, then you use distribution tool once a year.


 Also, I will use GUI interface for Python. What kind of widget toolkits
 do you recommend? I know there are GTK+ and Qt.

tkinter comes supplied with Python. So long as you have tcl/tk installed, 
which nearly all Linux distros do, it should just work out of the box.



-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-23 Thread CM

   1. Automated Refactoring Tools
 
   I wish.
 
  Why?  I've never seen the appeal of these.  I do plenty of refactoring.  
  It's unclear to me what assistance an automated tool would provide.
 

 I've often wanted something that would help globally change  
 things like function and method names including across multiple
 files.  Even variable names in large functions (ideally functions
 should be small enough that this is not a problem but sometime
 shit happens).  I am not great at picking good names to begin
 with and often code drift makes them even worse with time.
 Editor search and replace doesn't cut it. 

I have occasionally used Bicycle Repair Man for this kind of thing.  I don't 
actually know if it works across files, and I never quite convinced myself that 
it really works faithfully at all, but you could always try it (and even 
improve it if you can):

http://bicyclerepair.sourceforge.net/#overallidea
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-23 Thread Tim Chase
On 2013-06-23 20:22, Roy Smith wrote:
 In article ba5cbbcc-ff44-467d-91b6-108573da5...@googlegroups.com,
  ru...@yahoo.com wrote:
 Other things like finding all uses of various objects/functions
 etc would also be useful now and then but I suppose that is a 
 common IDE capability?
 
 $ find . -name '*.py' | xargs grep my_function_name
 
 seems to work for me.  I suppose a language-aware grep would be
 even better, because then it wouldn't find my_function_name when
 it's embedded in docstrings, comments, and the like.
 
 On the other hand, you probably want to find those too.

Most good editors (and IDEs?) should handle this as well.  I can
speak for Vim where I could do something like[1]

  sh$ vim *.py
  :set hidden
  :argdo %s/\my_function_name\/new_func_name/gc

then evaluate the results, optionally issuing :wall to write all the
changes.

Alternatively, if you just want to find all the pattern-matches and
view them, you can use

  :vimgrep /\my_function_name\/ **/*.py

and then navigate them either using the quick-fix window:

  :copen

or go forward/backwards in the quick-fix list with[2]

  :cnext
  :cprevious

I'd wager money that Emacs allows you to do something similar, but
I'd have to let an Emacs-user step in to answer that.  YMMV with
other editors.  Is this a refactoring tool, or just a valuable
tool, regardless of how it's used for refactoring :-)

-tkc


[1]
The :set hidden tells Vim that it's okay to leave a buffer without
writing it, but still remember the changes made.  Many folks have
this in their vimrc configuration.  If you know you want to do it
everywhere, you can avoid the c flag to ask for confirmation.

[2]
These can be abbreviated as just :cn and :cp






.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-23 Thread Roy Smith
In article mailman.3736.1372035170.3114.python-l...@python.org,
 Tim Chase python.l...@thechases.com wrote:

 I'd wager money that Emacs allows you to do something similar,

I'm sure it can.  But, the next step in the evolution is:

$ emacs `find . -name '*.py' | xargs grep -l my_function_name`
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-23 Thread Michael Torrie
On 06/23/2013 02:40 PM, cutems93 wrote:
 What else do I need? Also, which software is used in daily base? I
 know version control software and bug tracking software are used
 almost everyday by developers. Which software is used less often?

Phew that's quite a list you have there.  Are you coming from Windows
development?

I personally do all my development with vim, git, and a web browser for
reference (or Python in a nutshell book).

Dunno why things necessarily have to be complicated.

 Also, I will use GUI interface for Python. What kind of widget
 toolkits do you recommend? I know there are GTK+ and Qt.

Yes I recommend a nice GUI toolkit.  Pick one and try it out.
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-23 Thread rusi
On Monday, June 24, 2013 5:58:03 AM UTC+5:30, Steven D'Aprano wrote:
 On Sun, 23 Jun 2013 13:40:07 -0700, cutems93 wrote:

  What else do I need? 

 You don't *need* any of these. You only *need* two things to write Python 
 code: something to edit text files, and the Python interpreter to check 
 that the code runs correctly. Everything else is optional.
 
 Rather than try to predict ahead of time every possible thing you need, 
 you should start small, and as you discover a new requirement, then 
 investigate. Why spend hours, days or weeks investigating refactoring 
 tools only to find that after 15 years of programming you've never once 
 used it?

Factually --- I dont believe this is correct -- professional programmers need 
all this and more on occasion -- eg your list does not have profilers, etc.

Pedagogically --- Steven's advice is right on the money.  If you are a noob and 
spend your time on breadth-first nurturing of the kind of list you've made, you 
will become a good programmer very slowly -- if at all. If you just follow 
Steven's advice -- stick to interpreter+editor -- you will become a good 
programmer much faster. [Or add to taste: Michael's browser + git]

Philosophically -- there are roughly two schools:
1. Scale languages up to deal with difficult problems
2. Trivialize problems into elegant language solutions

The first is like holing oneself into a fortress with heavy artillery. The 
second is like packing up a backpack with a water-bottle and going for a trek.
The second is more fun, though the first is sometimes needed, though less than 
people imagine

The first produces languages/systems/philosophies like C++, Java, .NET.
The extremal examples of the second are Apl and Lisp.
In Apl the goal is to write your programs in one line. If that is achieved why 
bother to make it readable?
The Lisp benchmark is that the implementation of Lisp in Lisp is one page
http://www.paulgraham.com/mcilroy.html

Python is not exactly in either extreme camp though its much closer to the 
backpack than the fortress model --  Pythonistas delight more in making 
programs short and sweet rather than grand and glorious.

A similar philosophical division to the above:
http://osteele.com/posts/2004/11/ides
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-23 Thread rusi
On Monday, June 24, 2013 4:48:35 AM UTC+5:30, ru...@yahoo.com wrote:
 On 06/23/2013 02:40 PM, cutems93 wrote:
  1. Automated Refactoring Tools
 
  I wish.

Here's pydev [python ide in eclipse]
http://pydev.org/manual_adv_refactoring.html

Note Ive never managed to get it running!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-23 Thread CM
On Sunday, June 23, 2013 4:40:07 PM UTC-4, cutems93 wrote:
 Hello, 
 
 
 
 I am new to python development and I want to know what kinds of tools people 
 use for python development. I went to Python website and found [12 different 
 types of] tools. 

 What else do I need? Also, which software is used in daily base? 
 Which software is used less often? 

It depends on what you want to do, but I myself would want at least an IDE.  Of 
your list, I've only used 1,4,6 for a long time to make desktop applications.

What do you want to do?

 Also, I will use GUI interface for Python. What kind of widget toolkits do 
 you recommend? I know there are GTK+ and Qt. 

You can search the archives of this list for a lot of that question asked now 
and then.  For me, wxPython.   
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2013-06-23 Thread cutems93
On Sunday, June 23, 2013 1:40:07 PM UTC-7, cutems93 wrote:
 Hello, 
 
 
 
 I am new to python development and I want to know what kinds of tools people 
 use for python development. I went to Python website and found several tools. 
 
 
 
 1. Automated Refactoring Tools
 
 2. Bug Tracking
 
 3. Configuration And BuildTools
 
 4. Distribution Utilities
 
 5. Documentation Tools
 
 6. Integrated Development Environments
 
 7. Python Debuggers
 
 8. Python Editors
 
 9. Python Shells
 
 10. Test Software
 
 11. Useful Modules
 
 12. Version Control
 
 
 
 What else do I need? Also, which software is used in daily base? I know 
 version control software and bug tracking software are used almost everyday 
 by developers. Which software is used less often? 
 
 
 
 Also, I will use GUI interface for Python. What kind of widget toolkits do 
 you recommend? I know there are GTK+ and Qt. 
 
 
 
 Thank you in advance!
 
 -Min S.-

Alright. Thanks everyone for your responses. I just want to know what tools are 
GENERALLY used by professional developers. I am helping somebody who wants to 
know about software that he might use in his project. He does not know what 
kind of project it will be, but it will be more like scripting in the 
beginning. I know my question is somewhat vague, but this is all I can give 
you. Could you help me by sharing your experiences?

Thanks!
-Min-
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Komodo 7 release (Python development tools)

2012-02-14 Thread Todd Whiteman

On 12-02-08 01:52 PM, Terry Reedy wrote:

On 2/8/2012 3:14 PM, Todd Whiteman wrote:


My name is Todd. I'm the lead developer for Komodo IDE (Interactive
Development Environment) and Komodo Edit (a free, open-source editor) at
ActiveState. I wanted to announce that the newest version, Komodo 7, has
been released:
http://www.activestate.com/komodo-ide/python-editor


It would seem that the Professional Python Editor is the same as Komodo
Edit, but it is unclear why only Python editing would be featured for
Komodo IDE.

http://www.activestate.com/komodo-edit

is the page with the link people need to download just the editor.


The above page covers features from both Edit and IDE - some will only 
apply to the IDE version. For a full comparison of features you can 
check out:

http://www.activestate.com/komodo-edit/compare-with-komodo-ide



Does K.Edit let me run a program with one key, like F5 in IDLE?
If so, does it leave me in interactive mode (python -i) as IDLE does?



Komodo Edit does not offer a quick run (F5) command by default, you 
could create your own Python command [1] in the Komodo toolbox and 
assign it the F5 key binding to serve such a purpose.


[1] The short command for running a Python script is: %(python) %F, 
which uses Komodo's interpolation shortcuts:

http://docs.activestate.com/komodo/7.0/shortcuts.html#shortcuts_top

Cheers,
Todd
--
http://mail.python.org/mailman/listinfo/python-list


[ANN] Komodo 7 release (Python development tools)

2012-02-09 Thread Todd Whiteman

Hello,

My name is Todd. I'm the lead developer for Komodo IDE (Interactive 
Development Environment) and Komodo Edit (a free, open-source editor) at 
ActiveState. I wanted to announce that the newest version, Komodo 7, has 
been released:


http://www.activestate.com/komodo-ide

Python has long been one of the main languages supported by Komodo, so 
we're always getting useful feedback and suggestions. For Komodo 7, 
we've incorporated a lot of this feedback into enhancing our Python 
features.


* Python Code Profiling (IDE only)
  Users have asked if there is a way to find out why their programs are 
taking so long to run. Komodo IDE 7 can show a graph of the methods and 
calls made by your program, so that you can detect where your CPU is 
being taken up.


* Sophisticated Syntax Checking
  Choose between multiple syntax checkers like PyLint, PyFlakes and 
PyChecker. Provides language-specific syntax checking for 
CSS/JavaScript/Django inside HTML template languages like Django.


* Code Collaboration (IDE only)
  We wanted to make pair programming easier. With the collaboration 
feature, multiple users can edit a document at the same time. It's kind 
of like Google Docs, but for code editing!


* Speed
  With Komodo 7 you'll notice a lot snappier Komodo start-up time, 
lower CPU utilization - particularly when idle, and lower memory usage 
for large projects.


* Even more...
  There are way more features in Komodo 7 than I can outline in a 
single post, so check out the online web pages for more Komodo 7 
enhancements:


http://www.activestate.com/komodo-ide/python-editor

Again, note that Komodo comes in two different flavours:

  1) Komodo Edit - completely free and fully open-source editor, 
offering smart code completions, syntax checking, code colorizing, 
sophisticated editing and more.


  2) Komodo IDE - a full featured IDE, offering advanced debugging, 
interactive shells, code browsing, source code control, database 
integration, unit testing, regular expression tools and more.


Try out Komodo 7 and let me know what you think. We really appreciate 
the support and feedback!


Cheers,
Todd
--
http://mail.python.org/mailman/listinfo/python-announce-list

   Support the Python Software Foundation:
   http://www.python.org/psf/donations/


Re: Komodo 7 release (Python development tools)

2012-02-09 Thread Rod Person
On Wed, 08 Feb 2012 16:52:50 -0500
Terry Reedy tjre...@udel.edu wrote:

 On 2/8/2012 3:14 PM, Todd Whiteman wrote:
 
  My name is Todd. I'm the lead developer for Komodo IDE (Interactive
  Development Environment) and Komodo Edit (a free, open-source
  editor) at ActiveState. I wanted to announce that the newest
  version, Komodo 7, has been released:
 
 This is a pretty good release announcement, but a few questions.
 ...
  http://www.activestate.com/komodo-ide/python-editor
 
 It would seem that the Professional Python Editor is the same as
 Komodo Edit, but it is unclear why only Python editing would be
 featured for Komodo IDE.
 
 http://www.activestate.com/komodo-edit
 
 is the page with the link people need to download just the editor.
 
 Does K.Edit let me run a program with one key, like F5 in IDLE?
 If so, does it leave me in interactive mode (python -i) as IDLE does?
 

I'm not an ActiveState employee, but I have used Komodo IDE since
version 4, on FreeBSD and Windows. The selling point of the IDE is
definitely the interactive python debugger which isn't in the editor.

It also supports more than python, just in case for some old reason
you'd find the need to write Perl, Ruby or TCL code.

-- 

Rod Person  http://www.rodperson.com  rodper...@rodperson.com

'Silence is a fence around wisdom'
-- 
http://mail.python.org/mailman/listinfo/python-list


Komodo 7 release (Python development tools)

2012-02-08 Thread Todd Whiteman

Hello,

My name is Todd. I'm the lead developer for Komodo IDE (Interactive 
Development Environment) and Komodo Edit (a free, open-source editor) at 
ActiveState. I wanted to announce that the newest version, Komodo 7, has 
been released:


http://www.activestate.com/komodo-ide

Python has long been one of the main languages supported by Komodo, so 
we're always getting useful feedback and suggestions. For Komodo 7, 
we've incorporated a lot of this feedback into enhancing our Python 
features.


* Python Code Profiling (IDE only)
  Users have asked if there is a way to find out why their programs are 
taking so long to run. Komodo IDE 7 can show a graph of the methods and 
calls made by your program, so that you can detect where your CPU is 
being taken up.


* Sophisticated Syntax Checking
  Choose between multiple syntax checkers like PyLint, PyFlakes and 
PyChecker. Provides language-specific syntax checking for 
CSS/JavaScript/Django inside HTML template languages like Django.


* Code Collaboration (IDE only)
  We wanted to make pair programming easier. With the collaboration 
feature, multiple users can edit a document at the same time. It's kind 
of like Google Docs, but for code editing!


* Speed
  With Komodo 7 you'll notice a lot snappier Komodo start-up time, 
lower CPU utilization - particularly when idle, and lower memory usage 
for large projects.


* Even more...
  There are way more features in Komodo 7 than I can outline in a 
single post, so check out the online web pages for more Komodo 7 
enhancements:


http://www.activestate.com/komodo-ide/python-editor

Again, note that Komodo comes in two different flavours:

  1) Komodo Edit - completely free and fully open-source editor, 
offering smart code completions, syntax checking, code colorizing, 
sophisticated editing and more.


  2) Komodo IDE - a full featured IDE, offering advanced debugging, 
interactive shells, code browsing, source code control, database 
integration, unit testing, regular expression tools and more.


Try out Komodo 7 and let me know what you think. We really appreciate 
the support and feedback!


Cheers,
Todd
--
http://mail.python.org/mailman/listinfo/python-list


Re: Komodo 7 release (Python development tools)

2012-02-08 Thread Terry Reedy

On 2/8/2012 3:14 PM, Todd Whiteman wrote:


My name is Todd. I'm the lead developer for Komodo IDE (Interactive
Development Environment) and Komodo Edit (a free, open-source editor) at
ActiveState. I wanted to announce that the newest version, Komodo 7, has
been released:


This is a pretty good release announcement, but a few questions.
...
http://www.activestate.com/komodo-ide/python-editor

It would seem that the Professional Python Editor is the same as Komodo 
Edit, but it is unclear why only Python editing would be featured for 
Komodo IDE.


http://www.activestate.com/komodo-edit

is the page with the link people need to download just the editor.

Does K.Edit let me run a program with one key, like F5 in IDLE?
If so, does it leave me in interactive mode (python -i) as IDLE does?

--
Terry Jan Reedy

--
http://mail.python.org/mailman/listinfo/python-list


Re: Komodo 7 release (Python development tools)

2012-02-08 Thread anon hung
 My name is Todd. I'm the lead developer for Komodo IDE (Interactive
 Development Environment) and Komodo Edit (a free, open-source editor) at
 ActiveState. I wanted to announce that the newest version, Komodo 7, has
 been released:

 This is a pretty good release announcement, but a few questions.
 ...
  http://www.activestate.com/komodo-ide/python-editor

 It would seem that the Professional Python Editor is the same as Komodo
 Edit, but it is unclear why only Python editing would be featured for
 Komodo IDE.

 http://www.activestate.com/komodo-edit

 is the page with the link people need to download just the editor.

 Does K.Edit let me run a program with one key, like F5 in IDLE?

AFAIK it sure does!

 If so, does it leave me in interactive mode (python -i) as IDLE does?

Hmmm, I don't know about that.

Best,
anonhung


-- 
a href=http://spreadingviktororban.weebly.com;Viktor Orban Prime
minister of Hungary/a
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2008-04-24 Thread Bruno Desthuilliers

Torsten Bronger a écrit :

Hallöchen!

[EMAIL PROTECTED] writes:


On 23 avr, 19:39, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:


Are there any completely free developent tools for python scripts
like IDLE. I have used IDLE , but I want to try out others
also. I saw stuff like PyCrust, but I don't see that it can run
the script as well.

emacs + python-mode (the one from Python, not the horror that
ships with recent emacs versions)


What's so bad about it?


I'd have to reinstall it to tell you exactly, but I do remember 
something really bad wrt/ the embedded python-shell, which is one the 
very strength of the emacs+python-mode combo.	



I just installed python-mode (is this the one with the py-
prefixes?),


It's the one with ;; Copyright (C) 1992,1993,1994  Tim Peters


and it ends multi-line strings at single quotes.


it chokes on unbalanced single quotes in triple-single-quoted strings, 
and on unbalanced double-quotes in triple-double-quoted strings, yes. 
Given that I never use triple-single-quoted strings (and don't remember 
having seen such a thing in the thousands of third-part .py files I've 
read so far), I'd qualify this as at most a very minor annoyance. Not 
having proper python-shell and pdb integration is  more 
annoying IMHO.

--
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2008-04-24 Thread Torsten Bronger
Hallöchen!

Bruno Desthuilliers writes:

 [...]

 and it ends multi-line strings at single quotes.

 it chokes on unbalanced single quotes in triple-single-quoted
 strings, and on unbalanced double-quotes in triple-double-quoted
 strings, yes. Given that I never use triple-single-quoted strings
 (and don't remember having seen such a thing in the thousands of
 third-part .py files I've read so far), I'd qualify this as at
 most a very minor annoyance. Not having proper python-shell and
 pdb integration is  more annoying IMHO.

My formulation was unfortunate.  What doesn't work (at least for me)
is something like

This is a docstring in which some variables are quoted.

Here, variables doesn't seem to belong to the docstring for
python-mode.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
  Jabber ID: [EMAIL PROTECTED]
   (See http://ime.webhop.org for further contact info.)
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2008-04-24 Thread Banibrata Dutta
On 4/24/08, Banibrata Dutta [EMAIL PROTECTED] wrote:
 On Windows, I use PyScripter, and it's quite nice and functional.

 On 4/24/08, Torsten Bronger [EMAIL PROTECTED] wrote:
  Hallöchen!
 
  Bruno Desthuilliers writes:
 
   [...]
  
   and it ends multi-line strings at single quotes.
  
   it chokes on unbalanced single quotes in triple-single-quoted
   strings, and on unbalanced double-quotes in triple-double-quoted
   strings, yes. Given that I never use triple-single-quoted strings
   (and don't remember having seen such a thing in the thousands of
   third-part .py files I've read so far), I'd qualify this as at
   most a very minor annoyance. Not having proper python-shell and
   pdb integration is  more annoying IMHO.
 
  My formulation was unfortunate.  What doesn't work (at least for me)
  is something like
 
  This is a docstring in which some variables are quoted.
 
  Here, variables doesn't seem to belong to the docstring for
  python-mode.
 
  Tschö,
  Torsten.
 
  --
  Torsten Bronger, aquisgrana, europa vetus
   Jabber ID: [EMAIL PROTECTED]
(See http://ime.webhop.org for further contact info.)
  --
  http://mail.python.org/mailman/listinfo/python-list
 


 --
 regards,
 Banibrata
 http://www.linkedin.com/in/bdutta



-- 
regards,
Banibrata
http://www.linkedin.com/in/bdutta
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2008-04-24 Thread Bruno Desthuilliers

Torsten Bronger a écrit :

Hallöchen!

Bruno Desthuilliers writes:


[...]


and it ends multi-line strings at single quotes.

it chokes on unbalanced single quotes in triple-single-quoted
strings, and on unbalanced double-quotes in triple-double-quoted
strings, yes. Given that I never use triple-single-quoted strings
(and don't remember having seen such a thing in the thousands of
third-part .py files I've read so far), I'd qualify this as at
most a very minor annoyance. Not having proper python-shell and
pdb integration is  more annoying IMHO.


My formulation was unfortunate.  What doesn't work (at least for me)
is something like

This is a docstring in which some variables are quoted.

Here, variables doesn't seem to belong to the docstring for
python-mode.


Nope, but it doesn't break anything neither. At this stage, this is a 
less than minor annoyance to me.

--
http://mail.python.org/mailman/listinfo/python-list


Python development tools

2008-04-23 Thread [EMAIL PROTECTED]
Are there any completely free developent tools for python scripts like
IDLE. I have used IDLE , but I want to try out others also. I saw
stuff like PyCrust, but I don't see that it can run the script as
well.
Thanks,

RR
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2008-04-23 Thread Mike Driscoll
On Apr 23, 12:39 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
 Are there any completely free developent tools for python scripts like
 IDLE. I have used IDLE , but I want to try out others also. I saw
 stuff like PyCrust, but I don't see that it can run the script as
 well.
 Thanks,

 RR

Check out PyDev for Eclipse. It's like Visual Studio for Python...I
actually find it kind of clunky, but it is cool!

To see what else there is, check out the Python wiki:

http://wiki.python.org/moin/PythonEditors

Mike
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2008-04-23 Thread bvidinli
i saw boa constructor to be most close to delphi in python editors..
it is still far away from delphi but, it is closest anyway.

2008/4/23, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 Are there any completely free developent tools for python scripts like
  IDLE. I have used IDLE , but I want to try out others also. I saw
  stuff like PyCrust, but I don't see that it can run the script as
  well.
  Thanks,

  RR

 --
  http://mail.python.org/mailman/listinfo/python-list



-- 
İ.Bahattin Vidinli
Elk-Elektronik Müh.
---
iletisim bilgileri (Tercih sirasina gore):
skype: bvidinli (sesli gorusme icin, www.skype.com)
msn: [EMAIL PROTECTED]
yahoo: bvidinli

+90.532.7990607
+90.505.5667711
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2008-04-23 Thread kperkins257
On Apr 23, 1:39 pm, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
 Are there any completely free developent tools for python scripts like
 IDLE. I have used IDLE , but I want to try out others also. I saw
 stuff like PyCrust, but I don't see that it can run the script as
 well.
 Thanks,

 RR

SPE is a very nice, and free python development tool.  Written in
python ansd uses wxpython for the gui.

http://pythonide.blogspot.com/
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2008-04-23 Thread [EMAIL PROTECTED]
On 23 avr, 19:39, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
 Are there any completely free developent tools for python scripts like
 IDLE. I have used IDLE , but I want to try out others also. I saw
 stuff like PyCrust, but I don't see that it can run the script as
 well.
 Thanks,

emacs + python-mode (the one from Python, not the horror that ships
with recent emacs versions) + ecb (Emacs code browser)

No bells and whistles, no clickodrom, but one of the most powerful
combo you can get. But be warned: learning and configuring emacs is
not for wheenies !-)


--
http://mail.python.org/mailman/listinfo/python-list


RE: Python development tools

2008-04-23 Thread Trent Nelson

 Are there any completely free developent tools for python
 scripts like IDLE. I have used IDLE , but I want to try out
 others also. I saw stuff like PyCrust, but I don't see that
 it can run the script as well.
 Thanks,

Ignoring the 'free' part of your question, I've recently moved from PyDev to 
Wing IDE (www.wingware.com), and would highly recommend it.

Trent.
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2008-04-23 Thread Torsten Bronger
Hallöchen!

[EMAIL PROTECTED] writes:

 On 23 avr, 19:39, [EMAIL PROTECTED] [EMAIL PROTECTED]
 wrote:

 Are there any completely free developent tools for python scripts
 like IDLE. I have used IDLE , but I want to try out others
 also. I saw stuff like PyCrust, but I don't see that it can run
 the script as well.

 emacs + python-mode (the one from Python, not the horror that
 ships with recent emacs versions)

What's so bad about it?

I just installed python-mode (is this the one with the py-
prefixes?), and it ends multi-line strings at single quotes.  That's
bad.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
  Jabber ID: [EMAIL PROTECTED]
   (See http://ime.webhop.org for further contact info.)
--
http://mail.python.org/mailman/listinfo/python-list


Re: Python development tools

2008-04-23 Thread castironpi
On Apr 23, 3:52 pm, Torsten Bronger [EMAIL PROTECTED]
wrote:
 Hall�chen!

 [EMAIL PROTECTED] writes:
  On 23 avr, 19:39, [EMAIL PROTECTED] [EMAIL PROTECTED]
  wrote:

  Are there any completely free developent tools for python scripts
  like IDLE. I have used IDLE , but I want to try out others
  also. I saw stuff like PyCrust, but I don't see that it can run
  the script as well.

  emacs + python-mode (the one from Python, not the horror that
  ships with recent emacs versions)

 What's so bad about it?

 I just installed python-mode (is this the one with the py-
 prefixes?), and it ends multi-line strings at single quotes.  That's
 bad.

 Tsch�,
 Torsten.

 --
 Torsten Bronger, aquisgrana, europa vetus
                                       Jabber ID: [EMAIL PROTECTED]
                (Seehttp://ime.webhop.orgfor further contact info.)

Did you guys see PyPE editor?  It just come out.
--
http://mail.python.org/mailman/listinfo/python-list