is there a strawberry python?

2009-09-12 Thread Wensui Liu
the reason I like strawberry perl is that I don't need to have admin right
to install it. i can just unzip it and start the game.
i am wondering if there is something similar in python community.

any insight will be appreciated!

-- 
==
WenSui Liu
Blog   : statcompute.spaces.live.com
Tough Times Never Last. But Tough People Do.  - Robert Schuller
==
-- 
http://mail.python.org/mailman/listinfo/python-list


should i move on to python3

2009-03-07 Thread Wensui Liu
i started learning python with earlier version and am happy with it
and all related packages, such as scipy, pywin, and so on.
right now, i am wondering if i should move to python3. if i do, will
all packages working on earlier version still work in python3? this is
my major concern.
my another question is how many python users will move to python3.

any insight?
thanks a lot.
--
http://mail.python.org/mailman/listinfo/python-list


OT: good code snippet manager

2007-11-16 Thread Wensui Liu
Might anyone recommend a good code snippet manager to me?
Thank you so much!

-- 
===
WenSui Liu
(http://spaces.msn.com/statcompute/blog)
===
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: ANN: ActivePython 2.5.0.0 is now available

2007-03-13 Thread Wensui Liu
Is it free of charge?

On 3/13/07, Trent Mick [EMAIL PROTECTED] wrote:
 I'm happy to announce that ActivePython 2.5.0.0 is now available for download
 from:
  http://www.activestate.com/products/activepython/

 This is the first release of ActivePython for Python version 2.5. Apologies
 for the long delay between core Python 2.5 and this release. The good news is
 that part of the reason for this delay was to finally get approval to include
 crypto in ActivePython, hence:

 Changes in this release include:
 - Full OpenSSL support (finally!)
 - Update to Python 2.5 (duh)
 - [Mac OS X] Universal build (finally!)
 - [Windows] Update to PyWin32 build 210
 - All the new standard extensions: SQLite, ctypes, ElementTree
 - [Linux] Rationalized the build names.
 - [Mac OS X] A sane uninstall script

 See the release notes for full details:
 http://aspn.activestate.com/ASPN/docs/ActivePython/2.5/relnotes.html


 What is ActivePython?
 -

 ActivePython is ActiveState's binary distribution of Python. Builds for
 Windows, Mac OS X, Linux, HP-UX and AIX are made freely available.

 ActivePython includes the Python core and the many core extensions: zlib and
 bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3)
 database libraries, the Tix GUI widgets for Tkinter, ElementTree for XML
 processing, ctypes (on supported platforms) for low-level library access, and
 others. The Windows distribution ships with PyWin32 -- a suite of Windows
 tools developed by Mark Hammond, including bindings to the Win32 API and
 Windows COM. See this page for full details:
 http://aspn.activestate.com/ASPN/docs/ActivePython/2.5/whatsincluded.html

 As well, ActivePython ships with a wealth of documentation for both new and
 experienced Python programmers. In addition to the core Python docs,
 ActivePython includes the What's New in Python series, Dive into Python,
 the Python FAQs  HOWTOs, and the Python Enhancement Proposals (PEPs).

 An online version of the docs can be found here:
  http://aspn.activestate.com/ASPN/docs/ActivePython/2.5/welcome.html

 We would welcome any and all feedback to:
  [EMAIL PROTECTED]

 Please file bugs against ActivePython at:
  http://bugs.activestate.com/query.cgi?set_product=ActivePython


 On what platforms does ActivePython run?
 

 ActivePython includes installers for the following platforms:

 - AIX/PowerPC
 - HP-UX/PA-RISC
 - Linux/x86
 - Linux/x86_64: x86_64 is also known as AMD64
 - Solaris/SPARC
 - Solaris/x86
 - Mac OS X
 - Windows/x64: x64 is also known as AMD64
 - Windows/x86


 Extra Bits
 --

 ActivePython releases also include the following:

 - ActivePython25.chm: An MS compiled help collection of the full
ActivePython documentation set. Linux users of applications such as
xCHM might find this useful. This package is installed by default on
Windows.

 Extra bits are available from:
  http://downloads.activestate.com/ActivePython/etc/


 Thanks, and enjoy!

 Trent, Python Tech Lead

 --
 Trent Mick
 trentm at activestate.com

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



-- 
WenSui Liu
A lousy statistician who happens to know a little programming
(http://spaces.msn.com/statcompute/blog)
-- 
http://mail.python.org/mailman/listinfo/python-list


convert many excel files to pdf in batch

2007-02-28 Thread Wensui Liu
Dear all,
right now, I have 20 something excel reports that need to be converted
to pdf and I have pdf write installed on my PC.
Is there a way that I can do so in python?
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: convert many excel files to pdf in batch

2007-02-28 Thread Wensui Liu
Adam,
If you could come up with a way without using Adobe writer, it should
also work for me.
thanks.

On 28 Feb 2007 12:53:52 -0800, Adam [EMAIL PROTECTED] wrote:
 1. Get PDFCreator
 2. Install
 3. Set as default printer
 4. Have all excel files in same folder
 5. Select all excel files
 6. Right click
 7. Select Print
 8. Save Each PDF to a location
 9. ???
 10. Profit

 Never done it with Adobe Writer. I'm a cheapskate.

 Regards,
 Adam

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



-- 
WenSui Liu
A lousy statistician who happens to know a little programming
(http://spaces.msn.com/statcompute/blog)
-- 
http://mail.python.org/mailman/listinfo/python-list


book for a starter

2007-02-27 Thread Wensui Liu
Good morning, all,

I just start learning python and have a question regarding books for a
newbie like me.
If you are only allowed to buy 1 python book, which one will you pick? ^_^.

Thank you so much!
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: book for a starter

2007-02-27 Thread Wensui Liu
Thank you all for your wonderful suggestion and advice.

Have a great evening!

wensui

On 27 Feb 2007 12:08:46 -0800, RickMuller [EMAIL PROTECTED] wrote:
 On Feb 27, 12:08 pm, Sriram [EMAIL PROTECTED] wrote:
  Hi,
 
  If you have experience programming, just read the online tutorial 
  athttp://docs.python.org/tut/tut.html
 

 Seconded. It really is a wonderful introduction to Python. Once you've
 digested that, the Python Library Reference in the docs is your best
 friend. The nice thing about getting familiar with the official python
 documentation is that it's always available to you.

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



-- 
WenSui Liu
A lousy statistician who happens to know a little programming
(http://spaces.msn.com/statcompute/blog)
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: numpy, numarray, or numeric?

2007-02-18 Thread Wensui Liu
I have the same doubt when I started using DataFrame class by Andrew
Straw. When I used his code as it is, it didn't work because python
can't find numeric module. But after I made a small change by 'import
numpy' to his code, everything seems to work now.

To me, it seems numpy works as same as numeric. HTH.

On 2/15/07, Christian Convey [EMAIL PROTECTED] wrote:
 I need to bang out an image processing library (it's schoolwork, so I
 can't just use an existing one).  But I see three libraries competing
 for my love: numpy, numarray, and numeric.

 Can anyone recommend which one I should use?  If one is considered the
 officially blessed one going forward, that would be my ideal.

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



-- 
WenSui Liu
A lousy statistician who happens to know a little programming
(http://spaces.msn.com/statcompute/blog)
-- 
http://mail.python.org/mailman/listinfo/python-list


reference data in a dictionary

2007-02-14 Thread Wensui Liu
dear all,
i am new to python and have a question about referencing data in a dict.
is there anyway that allows me to do something like:
dict[['row1', 'row2', .'row100']]

thanks much.

-- 
WenSui Liu
A lousy statistician who happens to know a little programming
(http://spaces.msn.com/statcompute/blog)
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: reference data in a dictionary

2007-02-14 Thread Wensui Liu
I know dict['row1'] will always work. but it will only get 1 row out
of the dict. is there anyway i can get multiple (1) rows out of dict
by directly refeencing them, something like dict[['row1', 'row2']].

thank you for reply, Ben.

wensui

On 2/14/07, Ben Finney [EMAIL PROTECTED] wrote:
 Wensui Liu [EMAIL PROTECTED] writes:

  i am new to python and have a question about referencing data in a
  dict.  is there anyway that allows me to do something like:

  dict[['row1', 'row2', .'row100']]

 What behaviour would you expect from that statement? If we know what
 you're trying to do, perhaps we can suggest a solution.

 --
  \Like the creators of sitcoms or junk food or package tours, |
   `\ Java's designers were consciously designing a product for |
 _o__)people not as smart as them.  -- Paul Graham |
 Ben Finney

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



-- 
WenSui Liu
A lousy statistician who happens to know a little programming
(http://spaces.msn.com/statcompute/blog)
-- 
http://mail.python.org/mailman/listinfo/python-list


anyway to create a table-like object?

2007-02-14 Thread Wensui Liu
Dear all,

is there a way to create a 2-dimension-table-like object such that I
can reference a whole column directly using something like :
mytable.column1 ?

by the way, can python be used for database programming to pull large
volume data (hundred M or even several Gs) out of large database and
do data manipulation and reporting ? if yes, how is the speed and
efficiency ?

thanks.

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


Re: New Pythin user looking foe some good examples to study

2007-02-13 Thread Wensui Liu
yeah! i also think cookbook is easy to read and code is very practical.

On 2/12/07, Larry Bates [EMAIL PROTECTED] wrote:
 Johnny Garcia wrote:
  I have just discovered Python and am familiarizing myself with the syntax
  but I have always found that code examples where the best way for me to
  learn.
 
 
 
  Can anyone point me to a site with some good open source functioning python
  applications?
 
 
 
  I would appreciate any help.
 
 
 
  Also, does anyone know of any good Linux or python user groups in the orange
  county, California area?
 
 
 Pick up a copy of Python Cookbook from O'Reilly.

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



-- 
WenSui Liu
A lousy statistician who happens to know a little programming
(http://spaces.msn.com/statcompute/blog)
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Wow, Python much faster than MatLab

2007-01-01 Thread Wensui Liu
Gerry,

I have the similar background as yours, many years using SAS/R. Right
now I am trying to pick up python.

From your point, is there anything that can be done with python easily
but not with SAS/R?

thanks for your insight.

wensui

On 1/1/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 We're not so far apart.

 I've used SAS or 25 years, and R/S-PLUS for 10.

 I think you've said it better than I did, though: R requires more attention
 (which is often needed).

 I certainly didn't mean that R crashed - just an indictment of how much I
 thought I was holding in my head.

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



-- 
WenSui Liu
A lousy statistician who happens to know a little programming
(http://spaces.msn.com/statcompute/blog)
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Wow, Python much faster than MatLab

2006-12-30 Thread Wensui Liu
Sturla,

I am working in the healthcare and seeing people loves to use excel /
spss as database or statistical tool without know what he/she is
doing. However, that is not the fault of excel/spss itself but of
people who is using it. Things, even include SAS/R, would look stupid,
when it has been misused.

In the hospitals, people don't pray God. They pray MD. :-)

On 30 Dec 2006 19:09:59 -0800, sturlamolden [EMAIL PROTECTED] wrote:

 Stef Mientki wrote:

  I always thought that SPSS or SAS where thé standards.
  Stef

 As far as SPSS is a standard, it is in the field of religious use of
 statistical procedures I don't understand (as I'm a math retard), but
 hey p0.05 is always significant (and any other value is proof of the
 opposite ... I think).

 SPSS is often used by scientists that don't understand maths at all,
 often within the fields of social sciences, but regrettably also within
 biology and medicine. I know of few program that have done so much harm
 as SPSS. It's like handing an armed weapon to a child. Generally one
 should stay away from the things that one don't understand,
 particularly within medicine where a wrong result can have dramatic
 consequences. SPSS encourages the opposite. Copy and paste from Excel
 to SPSS is regrettably becoming the de-facto standard in applied
 statistics. The problem is not the quality of Excel or SPSS, but rather
 the (in)competence of those conducting the data analysis. This can and
 does regrettably lead to serious misinterpretation of the data, in
 either direction. When a paper is submitted, these errors are usually
 not caught in the peer review process, as peer review is, well, exactly
 what is says: *peer* review.

 Thus, SPSS makes it easy to shoot your self in the foot. In my
 experience students in social sciences and medicine are currently
 thought to do exact that, in universities and colleges all around the
 World. And it is particularly dangerous within medical sciences, as
 peoples' life and health may be affected by it. I pray God something is
 done to prohibit or limit the use of these statistical toys.


 Sturla Molden
 PhD

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



-- 
WenSui Liu
A lousy statistician who happens to know a little programming
(http://spaces.msn.com/statcompute/blog)
-- 
http://mail.python.org/mailman/listinfo/python-list