Re: Can I trust downloading Python?

2013-09-11 Thread Mr. Roboto
On Saturday, September 7, 2013 9:17:46 PM UTC-4, Aaron Martin wrote:
> Hi, I am thinking about getting a software but it requires python, so that 
> brought up a few questions. Is it safe do download python, and does it come 
> with spam or advertisements? If it doesn't then should I get the latest 
> version? I mostly want to know if it is safe to download, because most of the 
> time downloading free stuff off the internet comes with spam and all that, so 
> I want to know if I can trust downloading it.

Hope others find this article helpful and relevant:

http://www.eweek.com/developer/open-source-python-code-sets-new-standard-for-quality-study.html/?kc=EWKNLEAU09102013BESTOF2&dni=77668545&rni=22939981

A development testing company (Coverity) reports that the core Python platform 
has a very low number of source code defects and its developers effect repairs 
to known flaws very readily, as compared to other open-source projects.  I 
can't attest to the validity of the claim (one way or the other), but it is 
something worth noting
-- 
https://mail.python.org/mailman/listinfo/python-list


About Embedding PyWin or wxPython

2006-07-24 Thread Mr. Roboto

Folks:  I want to embark on a project to add Python (actually, wxPython
or PythonWin) to a new Windows app I want to start writing soon.
Essentially, I want to take VB6 (or pos Delphi) and construct the app
framework/core functionality using one of those languages, then extend
the app w/ Python, the same way one can extend the MS Office apps
using VBA.  The core Python docs provide the fundamental info one
needs to get started.  But, I've been looking for some pointers to
articles/web pages that will bootstrap the effort, so I won't have to
completely reinvent the wheel.  So far, the c.l.p ngroup traffic (and
the web in general) that speaks to this subject is apparently pretty
sparse.  Since I'm a one-man show, it would be helpful if anyone could
offer pointers to sites/pages/books that address some of these issues:

1)  To COM or not ?  From an implementation standpoint, it seems
worthwhile to build the host app as a series of COM objects, which
could then be ref'd/manipulated via external Python code.  Not sure if
this makes sense from a performance-perspective, but I doubt the apps
I'm thinking about (mostly desk accessory utils kinda, sorta) are
going to be compute-intensive at all.

2)  SWIG or not ?  Have never used it, but know that SWIG has been
ref'd many times in the ngroup as an tool for facilitating the use of
Python as an embedded language.  Is SWIG worth the effort for a
relatively small (<10 KLOC) app ?

3)  Handling exceptions.  I want to start from Day One with a sensible
approach to debugging and testing both host objects and external
scripts.

4)  Deployment.  Size (30 - 50MB for wxPython or PyWin alone) and a
silent install of either pkg prior to installing the host app.

Regardless of the conversation in this group, I plan to get started in
the next few days.  This is how I'm currently looking at the above
issues:

1)  COM:  Yes, since COM seems like an easy fit w/o writing lotsa
glue code because of built-in support via PyWin

2)  SWIG:  Not for a 1st cut, at least not to get one's feet wet, so
to speak

3)  Exceptions:  No clue.  Need to closely read Extending/Embedding
Python for more guidance

4) Deployment: Bite the disk space bullet and use PyWin or wxPython as
is

Anyway, that's the beginning of the conversation.  If you have any
observations or suggestions, please feel free.  Later...MR

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


Re: About Embedding PyWin or wxPython

2006-07-25 Thread Mr. Roboto
Steve:  Thanx for reminding me.  I have that book around here
*someplace*.  Never finished it, but will dig it out pronto.  As you
so aptly point out, I want to develop more than experiment and who
better to learn from than the author of PyWin itself

Steve Holden wrote:
> You almost certainly would regard a copy of Hammind and Robinson's
> "Python Programming on Win32" as remarkable value for money. It's an
> axcellent book, and even has examples fo how you can make a VBA
> application scriptable in Python.
>
> If you are more interested in developing functionality that
> experimenting, buying that book would save to a huge amount of time.
> 
> regards
>   Steve

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


Re: About Embedding PyWin or wxPython

2006-07-25 Thread Mr. Roboto
Simon:  Good idea, but I'm not yet .NET-compatible and can't handle
that learning curve in addition to everything else.  IronPython is an
option I hadn't considered, but yours is a good idea for the next
project

Simon Hibbs wrote:
> Have you considered IronPython?
>
> This is of course only an option if you're prepared to code in VB.NET
> or C# instead of VB6 or Delphi, but it would provide seamless
> integratioon between your Python code and the rest of your app and
> would not require an external graphics library - although you would
> need to distribute the .NET and IronPython runtimes.

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


Re: About Embedding PyWin or wxPython

2006-07-25 Thread Mr. Roboto
Phillipe:  Actually, it's not performance of the core app that concerns
me.  I'm thinking more about UI/form *design* productivity.  I've done
a lot of Access work over the years and while the stand-alone VB form
designer isn't quite as thorough, it's still one of the slickest out
there.  Unfortunately, there's no designer for PyWin and wxPython's
XRC is nice but not in the same league as what can be done w/ Delphi
or VB.  Yes, I'm aware that wxWidgets has a real form designer, but
that's yet another story, for another day.

Making XRC into a more fully-featured tool (more on par w/ the
aforementioned) is a way nice project unto itself, but not right now.
However, the desk accessory I've mentioned is an excellent 1st step
towards *possibly* doing something much bigger

Philippe Martin wrote:
> Do you have major performances issues ? why not write everything in
> Python/WxPython ?
>
>
> I used to write my applications in VB6 with python com objects ... and
> decided there was no gain there.
> 
> Regards,
> 
> Philippe

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


Simple Char-I/O Dialogs for Win32 and DOS

2006-06-14 Thread Mr Roboto
Folks:

I've already searched the group and have determined there *are*
char I/O based input systems, ala NCURSES, that are
Python-compatible (ie. PyNCurses, UrWid, etc.)  What I *need* is
something that does simple dialogs under char-I/O Win32 and DOS
w/ very little fuss or muss.  At most, I need one or two dialog
boxes to boot my little app/util *AND* hope upon hope I don't
need port something (which would take more days than I have
*and* would also require a non-trivial support effort from a
one-man show: *me*) and can simply grab something (open-source)
off-the-shelf.  I don't need a dialog/forms designer, no
database access, just a basic dialog box to get input from a
couple of text boxes, check boxes, etc.

Does such an animal exist and can someone offer a link to the
kit ?  TIAMR

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


Re: Which compiler will Python 2.5 / Windows (Intel) be built with?

2006-06-15 Thread Mr Roboto
Jarek Zgoda wrote:
> nikie napisa³(a):
>
> > If you want to *buy* VS 2003, you could still purchase a 1-year MSDN
> > Pro Subscription. The price difference isn't *that* big compared to a
> > single-user license of VS, and it automatically includes past VS
> > versions (everything from VC++ 6.0 and upwards, IIRC).
>
> This doesn't make building Python exension libraries any easier.
>
> In some cases, you can still build Python extension with MinGW. I didn't
> try this with anything more complicated than linking to libxml2, but
> still, it's some workaround. Not sure about the performace of such
> build, though.
>
> --
> Jarek Zgoda
> http://jpa.berlios.de/

I haven't personally tried a Python compile w/ this, but I'll
share it in hopes that it'll help:  one can download a free copy
of Visual C++ 2K5 *Express* from microsoft itself.  If you're
interested, try:

http://msdn.microsoft.com/vstudio/express/visualc/default.aspx

It's legal, free (no registration, no BS.)  HTHMR

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


[Q] About an Installer Script for PyWin

2006-08-25 Thread Mr. Roboto
I need PyWin under the covers, that is, to install it as part of an
application, but in such a way that it isn't visible to users.  I'm
concerned about a so-called "power-user", seeing the Python directory
and/or the corresponding entry in the 'Add/Remove Programs' list,
breaking my app by uninstalling what he/she thinks is removing an
'unnecessary program.'

Unfortunately, I don't see any installer scripts, like for Inno Setup
or NSIS in the source archive I just downloaded from SourceForge.
I'd love to volunteer to do something like this for the larger
community of Pythonista, but I can't find any info (via Google) about
this.  AFAIK, the critical info is related to the registry settings
for the Win32-related elements.  I'm especially concerned about
installation of the COM infrastructure, as getting the other registry
settings is mostly tedious (but doable), trial-and-error exports from
the Registry.  The rest "should" be simply a matter of creating the
primary directory structure and copying the archive files to it.

Does anyone have pointers ?  TIA

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