On Feb 1, 10:34 pm, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2008-02-01, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Feb 1, 9:55 pm, Grant Edwards <[EMAIL PROTECTED]> wrote:
> >> On 2008-02-01, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote:
>
> >> > I'm trying to solve a jython
On 2008-02-01, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote:
>> >> Sure seems like a bug to me. On Unix, "/" is an absolute path.
>> >> On windows, "/" is relative to the current device.
>>
>> > If you mean "the current drive letter" it's not actually true
>> > since "\ \" is used for that:
>>
>>
Hi,
I am new on everything about web development. I did many things to get the
error at the end.
My system has Apache 1.3 by default. I could install Apache 2.2 with no
problem. I had to change all binaries in /usr/bin and /usr/sbin to new
apache binaries. All ok. System came with python 2.3.1. I r
When I ssh into a windows machine (running Cygwin sshd), I can
invoke python at the shell prompt (you have to use -i option
and I don't really understand why).
Once it's started there are couple rather odd behaviors:
1) readline support doesn't work.
2) you have call sys.exit() to exit (neithe
On 2008-02-01, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote:
> On Feb 1, 9:55 pm, Grant Edwards <[EMAIL PROTECTED]> wrote:
>> On 2008-02-01, Giampaolo Rodola' <[EMAIL PROTECTED]> wrote:
>>
>> > I'm trying to solve a jython-related issue and I discovered a
>> > different behavior affecting os.path.is
Dan Stromberg <[EMAIL PROTECTED]> writes:
> > * Is the feature useful for the broad mass?
>
> Yes, probably, at least if this kind of feature's inclusion in other
> languages and my two recent needs for it are any indication. In other
> languages, they are sometimes called bags or multisets.
I
On Wed, 23 Jan 2008 08:51:13 +0100, Christian Heimes wrote:
> Dan Stromberg wrote:
>> Is there a particular reason why bags didn't go into 2.5.x or 3000?
>>
>> I keep wanting something like them - especially bags with something
>> akin to set union, intersection and difference.
>
> Ask yourself
En Fri, 01 Feb 2008 15:46:05 -0200, Trevor Johnson
<[EMAIL PROTECTED]> escribió:
> I think I have a good candidate for a meta class here. Never done this
> before and would like someone to help. In the code that follows, there is
> one variable that needs to be changed: the letter 'a' as inserte
In a comment Guido made on a recent bug report for the 'freeze'
utility, he stated:
"I think nobody really cares about freeze any more -- it isn't
maintained."
That being the case, what is the preferred/best replacement for freeze
on a *nix platform? I'm looking for something that, like freeze,
On Fri, 01 Feb 2008 06:09:49 -0800, Paul McGuire wrote:
> IIRC, the optimization of successive string concatentions is only
> available when running Python on Windows. If you are running on Linux,
> this should have more benefit.)
There's no reason to believe it is platform-dependent, although it
I could correct version mismatch by handling files under:
$ ls -l /usr/lib |grep python
lrwxr-xr-x1 root wheel16 Feb 2 01:17 libpython.dy ->
libpython2.dylib
lrwxr-xr-x1 root wheel16 Feb 2 01:11 libpython2.5.dylib ->
libpython2.dylib
lrwxr-xr-x1 root wheel7
Grant Edwards <[EMAIL PROTECTED]> wrote:
>I guess it depends on your definition of "absolute". In my
>mind, it means that it always refers to the same location
>regardless of the CWD.
Strictly speaking "/" refers to same location regardless of the current
working directory (CWD) on Windows. It'
On Feb 1, 10:49 am, [EMAIL PROTECTED] wrote:
> On Jan 16, 9:24 am, jrpfinch <[EMAIL PROTECTED]> wrote:
>
>
>
> > I'm attempting to use thepxsshto execute commands on a remote
> > machine and do stuff with the output. Both machines are running SSH
> > Version Sun_SSH_1.0, protocol versions 1.5/2.0
Mike Kent wrote:
> That being the case, what is the preferred/best replacement for freeze
> on a *nix platform?
Don't know about best or preferred, but pyinstaller seems to do that.
http://pyinstaller.python-hosting.com>
good luck
/W
--
http://mail.python.org/mailman/listinfo/python-list
Grant Edwards <[EMAIL PROTECTED]> wrote:
>When I ssh into a windows machine (running Cygwin sshd), I can
>invoke python at the shell prompt (you have to use -i option
>and I don't really understand why).
>
>Once it's started there are couple rather odd behaviors:
>
> 1) readline support doesn't wo
I have an application that simultaneously extends and embeds the python
interpreter.
It is threaded, but all python calls are performed in one thread.
Several interpreters are running simultaneously -- the application
receives an event, activates a particular interpreter, and calls some
python c
On 2008-02-02, Ross Ridge <[EMAIL PROTECTED]> wrote:
>>When I ssh into a windows machine (running Cygwin sshd), I can
>>invoke python at the shell prompt (you have to use -i option
>>and I don't really understand why).
>>
>>Once it's started there are couple rather odd behaviors:
>>
>> 1) readline
On Feb 1, 3:08 pm, Mike Kent <[EMAIL PROTECTED]> wrote:
> In a comment Guido made on a recent bug report for the 'freeze'
> utility, he stated:
>
> "I think nobody really cares about freeze any more -- it isn't
> maintained."
>
> That being the case, what is the preferred/best replacement for freez
En Fri, 01 Feb 2008 22:31:06 -0200, Ross Ridge
<[EMAIL PROTECTED]> escribió:
> If you're using the offficial Win32 port of Python than you probably
> want to use the Cygwin version because Win32 version doesn't support
> readline anyways.
I don't understand the comment. Most of the readline fun
> That's odd, because readline seems to work fine in a Windows
> console (recalling previous lines and line editing).
That's an illusion. The Windows version of Python does not
support or use GNU readline at all. What you see is a feature
of the console window.
Regards,
Martin
--
http://mail.pyt
> "I think nobody really cares about freeze any more -- it isn't
> maintained."
>
> That being the case, what is the preferred/best replacement for freeze
> on a *nix platform?
I don't think that there is one, or that there should be one.
If you care about the feature (i.e. provide a single exec
> Is there a reason why "/" is considered an absolute pathname by
> CPython?
Yes: it tests whether a path is absolute on the current volume.
Use the source, Luke.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
> Is there some way to track references per interpreter, or to get the
> memory allocator to set up seperate arenas per interpreter so that it
> can remove all allocated memory when the interpreter exits?
No. The multi-interpreter feature doesn't really work, so you are
basically on your own. If y
On 2008-02-02, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
> En Fri, 01 Feb 2008 22:31:06 -0200, Ross Ridge
><[EMAIL PROTECTED]> escribió:
>
>> If you're using the offficial Win32 port of Python than you
>> probably want to use the Cygwin version because Win32 version
>> doesn't support readline
On Thu, 31 Jan 2008 18:35:17 +0100, Stefan Behnel wrote:
> Hi,
>
> Steven D'Aprano wrote:
>> On Fri, 01 Feb 2008 00:40:01 +1100, Ben Finney wrote:
>>
>>> Quite apart from a human thinking it's pretty or not pretty, it's *not
>>> valid XML* if the XML declaration isn't immediately at the start of
On Jan 20, 2:59 pm, Christian Heimes <[EMAIL PROTECTED]> wrote:
> rupert.thurner wrote:
> > i forgot to mention that i cannot see any explicit sys._getframe(), or
> > __del__ in the genshi code, while the ones intrac-core seemed to be
> > there in 0.10.4.
>
> Does the code keep a reference to a tra
hello,
Which useragent lib supports javascript?
I know something about these libs: urllib,urllib2,cookielib,httplib
But I'm not sure which one of them can support javascript scripts.
Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
> The basic fact, though, remains, the same code works for me with the
> same input but not for two particular users (out of hundreds).
I see. That's mysterious.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Gabriel Genellina wrote:
> En Fri, 01 Feb 2008 22:31:06 -0200, Ross Ridge
> <[EMAIL PROTECTED]> escribió:
>
>> If you're using the offficial Win32 port of Python than you probably
>> want to use the Cygwin version because Win32 version doesn't support
>> readline anyways.
>
> I don't understand
J. Peng wrote:
> hello,
>
> Which useragent lib supports javascript?
> I know something about these libs: urllib,urllib2,cookielib,httplib
> But I'm not sure which one of them can support javascript scripts.
> Thanks!
None of them do. Javascript support is a very complex task! I believe
there ha
1. functools.partialpre: partialpre( f, x, y )( z )-> f( z, x, y )
2. functools.pare: pare( f, 1 )( x, y )-> f( y )
3. functools.parepre: parepre( f, 1 )( x, y )-> f( x )
4. functools.calling_default: calling_default( f, a, DefaultA, b )->
f( a, , b )
--
http://mail.python.org/mailman/listinfo/pyt
AFAIK, nothing.
How abount letting a browser do it?
By using pamie [1] or selenium, you can drive a browser from python.
[1] http://pamie.sourceforge.net/
On Feb 2, 2008 11:07 AM, J. Peng <[EMAIL PROTECTED]> wrote:
> hello,
>
> Which useragent lib supports javascript?
> I know something about the
On Jan 30, 4:40 pm, "Blubaugh, David A." <[EMAIL PROTECTED]> wrote:
> I do not understand why no one has answered the following question:
>
> Has anybody worked with Gene Expression Programming
>
> David Blubaugh
>
David (may i call you David?)
May i suggest you lock your workstation when you
js åé:
> AFAIK, nothing.
> How abount letting a browser do it?
> By using pamie [1] or selenium, you can drive a browser from python.
>
> [1] http://pamie.sourceforge.net/
>
> On Feb 2, 2008 11:07 AM, J. Peng <[EMAIL PROTECTED]> wrote:
>> hello,
>>
>> Which useragent lib supports javascript?
En Sat, 02 Feb 2008 01:40:50 -0200, Steve Holden <[EMAIL PROTECTED]>
escribi�:
> Gabriel Genellina wrote:
>> I don't understand the comment. Most of the readline functionality is
>> already present on Windows XP (command history, up/down arrows, edit
>> [...]
> Until you try to do something li
Steven D'Aprano wrote:
> The same way it knows that " encoding. If the parser knows that the hex bytes
>
> 3c 3f 78 6d 6c
>
> (or 3c 00 3f 00 78 00 6d 00 6c 00 if you prefer UTF-16, and feel free to
> swap the byte order)
>
> mean "
> then it can equally know that bytes
>
> 20 09 0a
>
> a
There are news:
http://article.gmane.org/gmane.comp.lang.lua.general/44781
I think Psyco may deserve some updates, because it can be useful on
Python 3.0 too, on 64bit, and on iterators (with itertools) too.
Bye,
bearophile
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 1, 4:31 pm, Jinno <[EMAIL PROTECTED]> wrote:
> I don't know if anyone ever got back to you with a fix, but for me the
> fix was really simple.
>
> I just added a self.sendline() and a time.sleep(0.5) right before the
> first read_nonblocking() call within synch_original_prompt
Thank you!!!
www.enmac.com.hk
GSM Mobile Phones, Digital iPods, Digital Clocks, Digital Pens,
Digital Quran. Enjoy these products with Islamic Features (Complete
Holy Quran with Text and Audio, Tafaseer books, Ahadees Books, Daily
Supplications, Universal Qibla Direction, Prayer Timing and much more)
visit our
-On [20080201 19:06], JKPeck ([EMAIL PROTECTED]) wrote:
>In both of these cases, there are only plain, 7-bit ascii characters
>in the xml, and it really is valid utf-16 as far as I can tell.
Did you mean to say that the only characters they used in the UTF-16 encoded
file are characters fr
101 - 140 of 140 matches
Mail list logo