Re: Is Python portable/Can I install it on an USB Stick?

2010-07-15 Thread Marek Kubica
On 14 Jul 2010 19:28:58 GMT tommyb...@hotmail.com (Thomas Tundor) wrote: Is Python portable? Yes. Can I install it on an USB Stick? Yes. Or is Python installing (at least on WinXP) services or register some DLLs or write something into Registry? Well, the installer is writing something

Re: Naming Conventions, Where's the Convention Waldo?

2010-07-11 Thread Marek Kubica
On Sun, 11 Jul 2010 00:26:36 -0700 (PDT) rantingrick rantingr...@gmail.com wrote: Another source of asininity seems to be the naming conventions of the Python language proper! True/False start with an upper case and i applaud this. However str, list, tuple, int, float --need i go on...?--

Re: If Scheme is so good why MIT drops it?

2009-07-19 Thread Marek Kubica
On Sun, 19 Jul 2009 15:09:28 -0400 Roy Smith r...@panix.com wrote: In article 1cethsrrw8h6k$.9ty7j7u7zovn@40tude.net, Frank Buss f...@frank-buss.de wrote: there is one free unique implementation on the 3 major platforms Linux, Windows and MacOS X Most people would still consider

Re: Advantages of Python (for web/desktop apps)?

2009-06-29 Thread Marek Kubica
On 28 Jun 2009 11:45:06 -0700 a...@pythoncraft.com (Aahz) wrote: Perhaps I was unclear: I already knew what LMGTFY stands for, and I think that using a site that requires JavaScript is anti-social. Maybe they could just redirect to Google if JS wasn't detected. regards, Marek --

[issue5567] Operators in operator module don't work with keyword arguments

2009-03-26 Thread Marek Kubica
New submission from Marek Kubica ma...@xivilization.net: When calling operators from the ``operator``-module, they refuse to accept keyword arguments: operator.add(a=1, b=2) TypeError: add() takes no keyword arguments Operators with keyword arguments are important when one wants to create

[issue5567] Operators in operator module don't work with keyword arguments

2009-03-26 Thread Marek Kubica
Marek Kubica ma...@xivilization.net added the comment: Well, some Schemes have an CURRYR variant which creates partial functions with positional arguments from the right but the current solution with partial accepting keywords is way more flexible since I can pre-set any arguments I like

Re: calling an external program and capturing the output

2009-01-18 Thread Marek Kubica
On Sun, 18 Jan 2009 09:36:59 -0800 (PST) Xah Lee xah...@gmail.com wrote: See: • Making System Calls in Perl and Python http://xahlee.org/perl-python/system_calls.html You can safely drop the Raw-Strings as they are only needed on Windows when constuction paths and programs with hardcoded

Re: Where Find Activestate Python 2.5?

2009-01-11 Thread Marek Kubica
On Sun, 11 Jan 2009 16:29:16 -0800 W. eWatson notval...@sbcglobal.net wrote: Using that gets me to http://www.activestate.com/activepython/, the big download 2.6 button again. Nowhere did I get your url. An interesting maze. Tried that Other Systems and Versions just below that Download Now

Re: Why not Ruby?

2009-01-01 Thread Marek Kubica
On Thu, 01 Jan 2009 13:13:19 -0800, Fuzzyman wrote: Care to save me the effort of looking it up and tell me what Data.Map does that Python's dict doesn't? I guess if it is functional then every mutation must copy and return a new data structure? (Which will be much more efficient in Haskell

Re: What is site-packages?

2008-12-28 Thread Marek Kubica
On Sun, 28 Dec 2008 04:06:36 -0800, Hussein B wrote: You mean like MoinMoin, Django or Pylons for example? Yes. Or lxml, BeautifulSoup, psycopg2 and basically anything that is available on PyPI. regards, Marek -- http://mail.python.org/mailman/listinfo/python-list

Re: pyparsing: match empty line

2008-09-03 Thread Marek Kubica
Hi, First of all a big thank you for your excellent library and of course also for your extensive and enlightening answer! 1) Well done in resetting the default whitespace characters, since you are doing some parsing that is dependent on the presence of line ends. When you do this, it is

Re: pyparsing: match empty line

2008-09-03 Thread Marek Kubica
On Wed, 03 Sep 2008 06:12:47 -0700, Paul McGuire wrote: On Sep 3, 4:26 am, Marek Kubica [EMAIL PROTECTED] wrote: I could set the whitespace on every element, but that is as you surely agree quite ugly. Do you accept patches? I'm thinking about some kind of factory-class which would

pyparsing: match empty line

2008-09-02 Thread Marek Kubica
Hi, I am trying to get this stuff working, but I still fail. I have a format which consists of three elements: \d{4}M?-\d (4 numbers, optional M, dash, another number) EMPTY (the EMPTY token) [Empty line] (the PAGEBREAK token. The line may contain whitespaces, but nothing else) While the

Re: Confused: looking for a simple XML parser

2008-08-15 Thread Marek Kubica
Hi, On Fri, 15 Aug 2008 17:21:56 -0700, Rex wrote: What tool should I use? For easy stuff ElementTree (bundled with Python 2.5 but also available to older versions), for more complex stuff lxml (which extends the ET API, so the learning curve is incremental). regards, Marek --

Re: Python's doc problems: sort

2008-05-12 Thread Marek Kubica
On Tue, 29 Apr 2008 19:48:39 -0700, [EMAIL PROTECTED] wrote: Python priests: go fuck yourselfs. In case you have something useful to add, grap the documentation sources of Python 2.6 (they were converted from LaTeX to reST now) and send a patch to the documentation maintainers. Lamenting

Re: Django Vs Rails

2005-09-08 Thread Marek Kubica
Hello! On 7 Sep 2005 20:56:28 -0700 flamesrock wrote: On the other, Rails seems to have a brighter future, Why that? Django is not yet released and everybody is talking about it. Like it happened with RoR. How difficult would it be to learn Ruby+Rails, assuming that someone is already

Re: Dabo in 30 seconds?

2005-08-01 Thread Marek Kubica
Hello! On Sun, 31 Jul 2005 17:38:44 -0700 James Stroud wrote: On Sunday 31 July 2005 05:14 pm, Robert Kern wrote: You can't blame Dabo for this one. Your wxPython install is broken. Yes, but my Tkinter install works just fine. But you chose wx: dabo.ui.loadUI(wx) Why can't I compile my

Re: The state of OO wrappers on top of wxPython (was Re: Wheel-reinvention with Python)

2005-08-01 Thread Marek Kubica
On Sat, 30 Jul 2005 14:13:14 -0700 Cliff Wells wrote: But how stable is GTK on systems such as Windows and OS/X? That has been what has kept me from using it. Most GTK apps I've used on Windows (including the venerable GIMP) are nowhere near as stable as their Linux counterparts (although

Re: Wheel-reinvention with Python

2005-08-01 Thread Marek Kubica
Hello! On Sun, 31 Jul 2005 13:46:55 +0200 Torsten Bronger wrote: Be that as it may, some Google postings suggest that it works at least with wxPython. Yes, it does. I hadn't done this a long time, but it is possible. In fact, afaik there are less problems with py2exe and wxPython than with

Re: Wheel-reinvention with Python

2005-08-01 Thread Marek Kubica
On 31 Jul 2005 16:38:45 -0700 Paul Rubin wrote: I can put up a Tk gui in about 5 lines of code from a stock Python distro without having to install anything additional. How do I do that with wxPython? It is very easy under Debian Sarge to do it. Well after installing python-tk which needs

Re: PyGTK or wxPython (not a flame war) on Windows

2005-07-25 Thread Marek Kubica
Hi! On Sun, 24 Jul 2005 22:16:01 +0200 Torsten Bronger wrote: I'm very suprised. wxPython is still that buggy? I read reports from 2000 about such observations, but they tried wxPython in a non-standard way, and the project has had 5 years to become more stable after all. Well, I don't

Re: PyGTK or wxPython (not a flame war) on Windows

2005-07-24 Thread Marek Kubica
Hello! AFAIK PyGTK doesn't look native on Win as well, but I don't care. It does have a nearly-native look and feel: http://gtk-wimp.sourceforge.net/screenshots/ And yes, the theme adjusts itself to Windows XP themes, so GTK+ apps look nearly like any other Windows Program. The native look and

Re: PyGTK or wxPython (not a flame war) on Windows

2005-07-24 Thread Marek Kubica
Hi! Am Sun, 24 Jul 2005 19:47:30 +0200 schrieb Torsten Bronger: Is PyGTK more Pythonic by the way? I had a look at wxPython yesterday and didn't like that it has been brought into the Python world nearly unchanged. You can see its non-Python origin clearly. How does PyGTK feel in this

Re: Detecting computers on network

2005-07-24 Thread Marek Kubica
Hello! On Fri, 22 Jul 2005 10:32:04 -0600 Sandeep Arya wrote: Sybren.. Does nmap is available on every systems? I tried on my linux fc4 machine in user previleage. it was not working. Does this just belongs to superuser... I'm not Sybren, but I think I'm able to respond. nmap is only

Re: Friend wants to learn python

2005-07-24 Thread Marek Kubica
Hello, On 23 Jul 2005 10:24:02 -0700 Pietro Campesato wrote: Maybe diveintopython.org can help I consider diveintopython a little bit to hard for the beginner. I really like this book, it's excellent, great thanks to Mike Pilgrim for providing us the book. I pointed a friend to Python

Re: How to run python script in background after i logout

2005-07-24 Thread Marek Kubica
Hello! On 24 Jul 2005 12:59:04 -0700 Steve M wrote: Another is that when I use putty.exe from Windows for my ssh client, I can't get scroll-back buffers to work correctly with screen. (Screen is really powerful with its own scrollback buffers and screendumps and stuff but I don't have time

Re: PyGTK or wxPython (not a flame war) on Windows

2005-07-23 Thread Marek Kubica
Hello! How well does PyGTK run on Windows (98, 2K, XP)? How stable is it? Will I be able to make an executable (using Py2Exe) of an application that uses PyGTK? I _do_ like PyGTK on Windows. It works without problems. You can find a ready to use py2exe script on

Re: Is Python like VB?

2005-03-17 Thread Marek Kubica
Hi! People coming from VB background probably also appreciate the ability to draw the UI in pointclick style: http://gazpacho.sicem.biz/ http://wxglade.sourceforge.net/ Unfortunately these seem to still be a tad rough around the edges... wxGlade is a port of Glade (which is designed for

SimpleXMLServer meets inetd

2005-03-12 Thread Marek Kubica
Hi! I was thinking about connecting SimpleXMLRPCServer with inetd.. but I haven't been able to replace the socket by sys.stdin and sys.stdout. Maybe socket.fromfd(sys.stdin.fileno()) could help me, but I can't get it to work, I always get connection refused. Any ideas? greets, Marek --

Re: [ANN] WConio 1.5 Binary Installer for Python 2.4

2005-03-06 Thread Marek Kubica
Am Sat, 05 Mar 2005 20:33:22 -0600 schrieb Chris Gonnerman: http://newcenturycomputers.net/projects/wconio.html I've done this before: http://www.pythonwiki.de/PythonErweiterungen/WindowsBinaries greets, Marek -- http://mail.python.org/mailman/listinfo/python-list