Re: Basic Information about Python

2010-07-30 Thread kevinlcarlson
On Jul 30, 6:55 am, Durga D  wrote:
> Hi JM,
>
>    Thanks alot for your prompt response.
>
>    If I include into windows setup, what will be setup size (assume
> before include 10 MB)? i mean, python supporting dlls/libs size for
> python exe.
>
> Regards,
> Durga.
>
> On Jul 30, 6:04 pm, Jean-Michel Pichavant 
> wrote:
>
> > Durga D wrote:
> > > Hi All,
>
> > >   I am new to python based application developement. I am using
> > > Windows XP.
>
> > >   1. Can I create desktop application (just hello world program) with
> > > Python
> > > language like exe in VC++?
>
> > yeshttp://www.py2exe.org/>   2. If First statement is Yes, Can I include 
> > this application with
> > > my
> > > existing setup(assume 10 MB) for windows?
>
> > you mean include it in a windows installer ? If so yes.
>
> > >   3. If Second statement is Yes, What will be the setup size?
>
> > >   Thank in advance.
>
> > > Regards,
> > > Durga.
>
> > JM
>
>

I use Pyinstaller with good results.  The Python runtime dll is about
two megs, plus a few others depending on what imports you are using.
For example, using wxPython to create a Windows app will add several
files totaling several megs.  You can then simply copy the
distribution file directory to the target machine, or use any good
installer software.

http://www.pyinstaller.org/

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


Helper app for intranet site

2010-08-28 Thread kevinlcarlson
I'm exploring the possibility of developing a helper app for an
existing internal company website.  Basically, it would automatically
scan the current page contents, including prepopulated forms, and
provide context-related business rule comments to the user, via a stay-
on-top wxPython panel.  Any suggestions on how to do this? (The web
developers are unavailable to do this within the site.)

Thanks,
Kevin


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


Re: Helper app for intranet site

2010-08-30 Thread kevinlcarlson
On Aug 29, 8:46 pm, Lawrence D'Oliveiro  wrote:
> In message
> <45e0772c-24a8-4cbb-a4fc-74a1b6c25...@n19g2000prf.googlegroups.com>,
>
> kevinlcarlson wrote:
> > I'm exploring the possibility of developing a helper app for an
> > existing internal company website.  Basically, it would automatically
> > scan the current page contents, including prepopulated forms, and
> > provide context-related business rule comments to the user, via a stay-
> > on-top wxPython panel.
>
> Seems like a roundabout way of doing it. Can’t you integrate into the server
> code which is generating the page contents, instead of trying to reverse-
> engineer those contents?

Absolutely - that would be the best way to accomplish this.
Unfortunately, our group has no access to the web server and the
developers have this functionality scheduled about a year into the
future, but we need it ASAP.  Also, our group would like to be in
control of the code and business rule contents, rather than wait for
updates from the busy web team...

So far, it looks like PAMIE could be a good choice for the page
scraping code - it includes WinGuiAuto.py which could be used to
identify the correct window handle and parse the contents.  Business
rule data could be stored locally in Sqlite, since it changes rarely
and there is a small user base... Does this seem like the right track?

Thanks,
Kevin
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Helper app for intranet site

2010-08-31 Thread kevinlcarlson
On Aug 30, 4:13 pm, Lawrence D'Oliveiro  wrote:
> In message
> <61894f54-90ff-4e0e-9c81-860b6e9cd...@p12g2000prn.googlegroups.com>,
>
>
>
> kevinlcarlson wrote:
> > On Aug 29, 8:46 pm, Lawrence D'Oliveiro 
> > wrote:
>
> >> In message
> >> <45e0772c-24a8-4cbb-a4fc-74a1b6c25...@n19g2000prf.googlegroups.com>,
> >> kevinlcarlson wrote:
>
> >>> I'm exploring the possibility of developing a helper app for an
> >>> existing internal company website.  Basically, it would automatically
> >>> scan the current page contents, including prepopulated forms, and
> >>> provide context-related business rule comments to the user, via a stay-
> >>> on-top wxPython panel.
>
> >> Seems like a roundabout way of doing it. Can’t you integrate into the
> >> server code which is generating the page contents, instead of trying to
> >> reverse- engineer those contents?
>
> > Absolutely - that would be the best way to accomplish this.
> > Unfortunately, our group has no access to the web server and the
> > developers have this functionality scheduled about a year into the
> > future, but we need it ASAP.  Also, our group would like to be in
> > control of the code and business rule contents, rather than wait for
> > updates from the busy web team...
>
> Conway’s Law: any piece of software reflects the organizational structure
> that produced it.

Hard to disagree with that sentiment - I've come across a fair amount
of disorganized software in my day... ;)
In any case, I'll try the WinGuiAuto approach and see how that
works...
-- 
http://mail.python.org/mailman/listinfo/python-list