David Schwartz wrote:
> It's easy to point to things you think are mistakes and claim that if
> you had been in charge of the world, those mistakes would not have been
> made. If you are trying to balance completely different possible paths the
> universe might have taken, you need to make
Tcl/Tk got linked in with no
> fuss. Anyway, I built static-only (.a) versions of readline and
> ncurses, which did the trick.
Ah, you didn't *have* static versions of readline and ncurses...
So how should it possibly have linked those libraries statically???
Regards,
Martin
--
ht
scripts in place? What was your specific command
line you have used to link the entire interpreter?
In the absence of details, we have to take guesses on Usenet. Sometimes,
the guesses are right, and sometimes they are wrong.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
I use gvim.
regards,
Philippe
Xah Lee wrote:
> in some online documentations, for examples:
>
> http://perldoc.perl.org/perlref.html
> http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-17.html
> http://www.haskell.org/hawiki/HaskellDemo
>
> the codes are syntax colored.
>
> Is th
likely, it is the old BSD bug of not supporting POSIX correctly.
Somebody should really work with the system developers to get this
resolved; it's been several years now that the bug is present.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Dear all,
referring to www.snakecard.com/WordPress:
As I am _very_ much struggling with xpcom and pyxpcom, I have put on
www.snakecard.com/SCWEB:
1) the cgi scripts
2) a firefox plugin which simulates the xpcom (ie: access to the external
device ... smart card) and talks to the cgi scripts
The
recent attempt to tighten the specification through IRIs.
The IRI RFC defines a mapping between IRIs and URIs, and it uses
UTF-8 as the encoding, not latin-1.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
running uses the posixfile module,
and it should be rewritten to stop doing so, as the posixfile
module will go away eventually.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> I m not a python Expert or anythin
> i need help, i m losin my motivation to continue with python
> can anyone inspire me again.???
Ooh that is easy, start learning other programming languages, you'll go
back continuing with python very soon after that! ;-)
--
mph
--
[EMAIL PROTECTED] wrote:
> Martin P. Hellwig wrote:
>> [EMAIL PROTECTED] wrote:
>>> I m not a python Expert or anythin
>>> i need help, i m losin my motivation to continue with python
>>> can anyone inspire me again.???
>> Ooh that is easy, start learn
Dear all,
This is to announce the release of the event deamon I intend to use in
SCLOGIN; a GPL project that attempts to:
1) give the current logon managers (gdm, kdm, ...) the necessary plugins to
support vendor-independant smart card logon
2) be a complete logon manager itself
SCLOGIN will be
Hi,
Is wxWidget now part of python ? or will it be ?
regards,
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
Thanks, Tkinter it is.
Regards,
Philippe
Diez B. Roggisch wrote:
> Philippe C. Martin wrote:
>> Hi,
>>
>> Is wxWidget now part of python ? or will it be ?
>
> 1) No. 2) I guess no. Because it has pretty heavy dependencies (wx,
> GTK/other toolkit)
>
>
&
Hi,
Have there been any attempt to do so, and is there any source out there that
could help me get started ?
Regards,
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
Nothing, but that was not my question.
Regards,
Philippe
Sybren Stuvel wrote:
> Philippe C. Martin enlightened us with:
>> Have there been any attempt to do so, and is there any source out
>> there that could help me get started ?
>
> What's stopping you from usi
PS: my goal is to write an equivalent of gdm/kdm/xdm ... in python
Regards,
Philippe
Philippe C. Martin wrote:
> Nothing, but that was not my question.
>
> Regards,
>
> Philippe
>
>
> Sybren Stuvel wrote:
>
>> Philippe C. Martin enlightened us with:
>
Thanks I will look, I intend to use tkinter for the display as it is
built-in though.
Regards,
Philippe
Richard Townsend wrote:
> On Sat, 05 Nov 2005 19:51:40 +, Philippe C. Martin wrote:
>
>> Hi,
>>
>> Have there been any attempt to do so, and is there any
Hi,
Is there anything that prevents tkinter from running prior to login to an
X11 session: as the X server is already up ?
Regards,
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
Thanks jeff,
I actually want that Tkinter application to be the greater: replace gdm
Still feasible as far as Tkinter is conserned ?
Thanks and regards,
Philippe
[EMAIL PROTECTED] wrote:
> There should be no problem with this. After all, even the "greeter" is
> just an
> X application.
the future of this wonderful language called Python??
I think I know Although, the future is difficult to predict???
Maybe people will not care what Sun Microsystems and Google tell
them???
¡Kind regards!
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am attempting to write a linux logon manager with python.
Can python access login APIs (which module ?) or do I need to write a
wrapper ?
Regards,
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
That helps a lot, thanks.
Regards,
Philippe
[EMAIL PROTECTED] wrote:
> "login APIs" vary widely from system to system.
>
> Classic Unix systems use calls like getpwent and crypt to check passwords,
> and then call setuid, setgid and setgroups to set the identity of the user
> who is
> logging
Jeff,
1- I cannot find getpwent in the documentation
2- crypt will not work if the system does not have shadow pw
3- Even as root I get "Operation not permitted" using setuid and setgid ...
but I assume it is because I cannot get 1 and/or 2 to work.
Can you direct me to some link that would expla
rite("titi")
f.close()
Philippe C. Martin wrote:
> Jeff,
>
> 1- I cannot find getpwent in the documentation
> 2- crypt will not work if the system does not have shadow pw
> 3- Even as root I get "Operation not permitted" using setuid and setgid
> ... but I assu
Hi Mike,
Mike Meyer wrote:
>> 1- I cannot find getpwent in the documentation
>
> getpwent is a Unix library call. For python, you want the pwd
> module. The docs are http://docs.python.org/lib/module-pwd.html >.
>
I must be blind but still do not see it - do you mean getpwnam ?
>> 2- crypt w
d :)
I recommend that you get used to reading documentation,
instead of merely googling. help(int) would have revealed that.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
nd not decimal so that I
> will get 384 instead of 600?
Try this:
http://docs.python.org/lib/built-in-funcs.html#l2h-39
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
While that is possible in Python, it is very tedious to do: you
essentially have to generate mouse clicks for the application, using
the Win32 API.
Most packaging tools provide some support for unattended installation,
so I would rather research what options to pass to the installer to
make it non-i
Dear all,
I have decided to focus my activities on development and support.
I will release SnakeCard's produt line source code under the GPL licence
this week (www.snakecard.com) ... I need to fix the site.
It includes:
SCF: SnakeCard Framework (software=Python)
SCFB: SnaleCard Framework Bundle
I forgot
SC-School-ID and SC-Corporate-ID: software = Python, GUI = wxWidget, Applets
JavaCard and BasicCard.
Regards,
Philippe
Philippe C. Martin wrote:
> Dear all,
>
> I have decided to focus my activities on development and support.
>
> I will release SnakeCard's pro
Dear all,
The source code is available in the download section: www.snakecard.com
Regards,
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
I have not tested it with longhorn yet, but it works fine with XP-pro and
2000.
Regards,
Philippe
Kris wrote:
> Thanks for sharing it. I am interested in the GINA part.
>
>
> Philippe C. Martin wrote:
>> Dear all,
>>
>> The source code is ava
ly added to tix later;
then, it was never added to Tix.py.
> Anyway, where would I subit this report to have it considered that this be
> added to Tix?
As Jeff explains: sf.net/projects/python, preferably as a patch (unified
diff).
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Dear all,
Has anyone attempted to compile Python for a U3 device ?
Regards,
Philippe
--
http://mail.python.org/mailman/listinfo/python-list
Dear all,
The SnakeCard product line is now hosted on sourceforge.net:
SCFB - http://sourceforge.net/projects/sctoolkits
SC-ID - http://sourceforge.net/projects/sc-id
I will keep posting the snapshots on www.snakecard.com as well as SCLOGON
and SCWEB until they take shape ;-)
Regards,
Philip
Hi,
I'm currently blocking on bzip2:
python is in c:\python.2.4.2
and bz2 is in c:\bzip2-1.0.3
Since the readme say subprojects should be two directories above PCbuild, I
assume I'm OK.
I added c:\bzip2-1.0.3 to the include and link path, but I get:
"""
Performing Pre-Link Event ...
The system
My mistake: The makefile (as written in the readme!) looks for bzip 1.0.2
Sorry,
Philippe
Philippe C. Martin wrote:
> Hi,
>
> I'm currently blocking on bzip2:
>
> python is in c:\python.2.4.2
> and bz2 is in c:\bzip2-1.0.3
>
> Since the readme say subproje
Philippe C. Martin wrote:
> My mistake: The makefile (as written in the readme!) looks for bzip 1.0.2
>
PS: since bzip.org does not have 1.0.2 source anymore, can I just rename
1.0.3 ?
Regards,
Philippe
> Sorry,
>
> Philippe
>
>
>
> Philippe C. Martin
Philippe C. Martin wrote:
>>My mistake: The makefile (as written in the readme!) looks for bzip 1.0.2
>>
>
> PS: since bzip.org does not have 1.0.2 source anymore, can I just rename
> 1.0.3 ?
That should work; alternatively, you can change the project file.
Reg
y case, test_locale failures are typically
also of minor importance only, as well.
This is a minor issue only, and shouldn't affect Python's
functionality for most cases. Given that the rest of
the test suite passed, just go ahead and make install.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Thanks,
Regards,
Philippe
"Martin v. Löwis" wrote:
> Philippe C. Martin wrote:
>>>My mistake: The makefile (as written in the readme!) looks for bzip 1.0.2
>>>
>>
>> PS: since bzip.org does not have 1.0.2 source anymore, can I just rename
>>
Hi,
I am attemtping to package Python in a "U3" install program for Windows.
I got Python to compile/link and prior to adding the necessary code for the
U3 SDK registration, I would like to know where I can find the actual list
of files needed for a minimum installation (are DLLs and libs enough
y] to access
the value for a certain key.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
egards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
y asking for trouble. Instead, come up with a
function pointer API in one module, put that into a CObject, and
access the CObject through import statements.
Alternatively, make both extension modules link to the same
backend library.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
for x in p])
>>> n
{(6, 9): [], (1, 2): [], (4, 3): []}
Regards,
Martin
P.S. Please don't cross-post.
--
http://mail.python.org/mailman/listinfo/python-list
Thanks I'll take a look.
PS: www.u3.com
Regards,
Philippe
[EMAIL PROTECTED] wrote:
> If I found the right "U3" when I googled, then maybe this is relevant:
> http://www.voidspace.org.uk/python/movpy/
>
> Jeff
--
http://mail.python.org/mailman/listinfo/python-list
t certain
> methods when implementing an interface, I am not sure about Python
> though.
In Python, I'm sure: it is possible.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
es, which export the symbols that used to be in that
module.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
ible to
*use* them - installing them still won't work. To use them, unzip
them, and spread the files as you see fit.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Thomas W wrote:
> Hmmm ... any hints?
I think gettext needs environment variables (e.g. LANG)
to be set.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
For mapping types,
http://www.python.org/doc/current/lib/typesmapping.html
gives the list of operations they ought to support.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
could find out what AIX header file defines
hz to be 100, and whether there is any way to supress that definition.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
cted to see something like this. However: in the file containing
the #define hz: Is there any #ifdef around it that could be
disabled/enabled?
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Paul Watson wrote:
> Can we #undef _ALL_SOURCE for _codecs_cn.c compilation?
Where does _ALL_SOURCE come from? Why is it defined?
What is its effect on hz?
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
So just import, in VS.NET, the Python interpreter to your project
(Add Reference), and use the C# functions that the COM interop
code gives you.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Mike Meyer explains, the same is meaningless for .values():
they might not be unique. For .items(), conversion into a set
does would appear to be meaningful, but doesn't actually work:
if the values contain unhashable objects, the set of tuples
cannot be constructed (as set members must be
SOURCE is
defined, this in turn is defined because _XOPEN_SOURCE is not.
As _XOPEN_SOURCE cannot be enabled (see configure.in), we just
work around by removing the hz definition again. */
#undef hz
#endif
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
> I'm FREE to use the software, FREE to redistribute it, FREE to give it
> away, FREE to make derivative works, FREE to transfer the licence, *and*
> I got it FREE of cost as well, but that doesn't make it free.
>
Indeed, when I explain GPL to non-techies and what their (
Mike Meyer wrote:
> "Martin P. Hellwig" <[EMAIL PROTECTED]> writes:
>> If the non-techie is still interested, I'll rave on about that I
>> understand why GPL is a good way to ensure availability of IP
>> especially if the software is a collaborated
Mike Meyer wrote:
>
> Is that software really unavailable, or just unavailable for free? If
> the latter, then it's not unavailabe. If the former, the it didn't
> become unavailable, as it was never available in the first place.
> In the latter case, you could also use those examples to similarly
s. Does this have any significance? Is
> it possible that there are other settings not being used?
At this point, I'm giving up. I would need access to an AIX and more
time than I have to be of further help.
Good luck,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
e all duplicates, iterating over a set would have
to skip over duplicates) - there is also another semantical issue:
If one element is skipped/dropped, which of these (a or b)?
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Mike Meyer wrote:
>
> Well, they chose to make it available to others for reuse. But
> software "unavailable to those who can't afford it" is better than "no
> software at all"
That I do not agree with, I think it depends on which your side of the
fence you are.
For instance I have a specific
ly hasn't made it into the
implementation.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
n of objects with fixed hashes", or words to that
> effect. Do you want to file a PR on this?
It's more than that: you really mean "hashable values", where "hashable"
does not just imply that the hash value is fixed, but also that the
equal objects hash same.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
t is also explained in PEP 234.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
I have learned that I cannot write documentation that others can
understand. I usually write documentation which only attempts to be
correct, and others than make it understandable.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
mojosam wrote:
> How do I decide on a license?
If you want to look at this from a legal point of view,
I highly recommend reading Larry Rosen's book, Open Source
Licensing. It covers issue you would never have thought
of without studying law, and gives good advice (IMHO).
Regards
be useful.
The precise details are best discussed at [EMAIL PROTECTED] While this
is obviously wrong, it is not at all obvious what the right thing to do
is (it never is when dealing with XML).
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
> On Thu, 24 Nov 2005 23:26:38 +0100, Martin P. Hellwig wrote:
>
>> BSD/MIT style license is a
>> good substitute of no license at all.
>
> But that's not true: "no licence at all" means that nobody has the right
> to u
Steven D'Aprano wrote:
> On Thu, 24 Nov 2005 17:43:22 +0100, Martin P. Hellwig wrote:
>
>> if I owned a company
>> making profit on software sales (sale =! support) you sign a death wish
>> for using GPL
>
> Apart from Microsoft, and possibly Quark (makers o
finition of __hash__ does not meet
the specifications:
http://docs.python.org/ref/customization.html
"The only required property is that objects which compare equal have the
same hash value"
However, I can have two instances of mylist2 which compare equal,
yet have different hash values.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am currently porting some of my applications to U3 (www.u3.com) and I do
get a crash in ...objects\frameobject.c: PyFrameObject *back =
tstate->frame.
The point of the current test is to get a python function called on a U3
device event. (U3 only work with Windows currently).
My C stub cal
Steven D'Aprano wrote:
>
>
> I think you are over-estimating both the numbers and profitability of such
> niche software distributors, and misunderstanding the business models of
> them.
Coincidently, I worked at a software company making a "standard"
administration software for primary school
Philippe C. Martin wrote:
> Hi,
>
> I am currently porting some of my applications to U3 (www.u3.com) and I do
> get a crash in ...objects\frameobject.c: PyFrameObject *back =
> tstate->frame.
>
> The point of the current test is to get a python function called on a U3
n't
have any intuition as to what a class named "mylist2" should or
should not do.
Just that it has "list" in its name provides not sufficient clue: for
example, IdentityDictionary has "dictionary" in its name, yet I would
*not* expect that equality is used to c
ould typically refer
to the state of the object, and whether or not the results meets
some specified requirement would also depend on what the state is.
(unless either the specification is trivial (e.g. "may or may
not return a value") or the implementation is trivial (e.g.
"return 0"))
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
PS: I should add that the U3 device does not actually run Python, but copies
it to the PC and launches it: I'm almost certain this is a bug in my code.
Help please !
Regards,
Philippe
Philippe C. Martin wrote:
> Hi,
>
> I am currently porting some of my applications to U3 (w
"has a __hash__
implementation" (i.e. hash(x) returns a value, instead of raising an
exception).
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
he answer to this question is certainly "yes".
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
> On Sat, 26 Nov 2005 21:39:13 +0100, Martin P. Hellwig wrote:
>
>> The software was sold in 3 separates modules requiring a yearly renewal,
>
> The software is hardly sold if you have to renew that "sale" every year.
> That's mo
would consider "hashable" to mean:
hash() returns a value. To those people, it is a minor detail whether
you get the fallback implementation of hash() or whether there is a
default __hash__ implementation for all objects that don't otherwise
define __hash__.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Dear all,
I am very happy to announce the release of SCU3 V 0.1 and SCU3Python.u3p V.
0.1.
SCU3 is a python wrapper for U3 compliante devices
SCU3Python.u3p is a Python binary (2.4.2) packaged with SCU3 that allows to
launch idle from the U3 device launchpad
Both may be found on www.snakecard.co
Hi,
Some of it should be doable on windows:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecoreos5/html/wce50lrfescapecommfunction.asp
Yet this might require a new wrapper module for I am not sure what the
current interface lets you do.
Not sure about Linux.
Regards;
Phili
ence.pop()
except IndexError:
# always try to give the same exception string as
# dict
raise KeyError("popitem(): dictionary is empty")
return key, self.pop(key)
- One problem with the FancyDict is that it allows
d.keys.append(100)
Regards
eseshop maintainer is overworked, so that may take
some time.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Fuzzyman wrote:
>>- One problem with the FancyDict is that it allows
>> d.keys.append(100)
>
>
> Are you sure ?
Not at all. This was from inspection only; I propably
misinterpreted the code.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Dear all,
I have released SCU3Python.u3p (www.snakecard.com/src) .
It includes:
- SCU3 0.1: a python wrapper for the U3 SDK (www.u3.com)
- Python 2.4.2
- wxPython 2.6 (ansi)
- A hello-World-style basic wxPython application which shows how to retrieve
the U3 information (ex: current virtual disks
hi,
What do you need by "control" ?
look at os.system/execv/popen ...;
Regards,
Philippe
On Thu, 01 Dec 2005 11:57:03 -0800, ash wrote:
> hi,
> i want to know is there a way to run/control an external program form
> within a python program?
> thanks in advance for any support.
--
http://ma
ut is produced at all, for the unencodable
character; this is the same way that '?' would be treated (it is
also unencodable).
In the something_else case, a user-defined exception handler could
treat the error in any way it liked, e.g. encoding all letters
u'A' to digit '0
t the implementation of _rename, I see that it directly
calls MoveFile, which is documented here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/movefile.asp
That doesn't mention the in-use case, either.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
cause an
error, or that the attempt to open the file with FILE_SHARE_DELETE
would cause an error right away.
Somebody should investigate this with Sysinternal's filemon, to find
out whether the MoveFile operation really succeeds. Perhaps there is
a bug in the CRT, or in Python, also.
Regards,
ectory but found myself in the windows
desktop.
Any clue ?
Regards,
Philippe
--
SnakeCard, LLC
Philippe C. Martin
www.snakecard.com
--
http://mail.python.org/mailman/listinfo/python-list
Dear all,
I am very pleased to announce the release of SCPocketGrades V 0.1.
SCPocketGrades is a GPL U3 smart drive-based grade book application.
SCPocketGrades is coded in Python, wxPython, and C.
SCPocketGrades' main features are:
- (U3): no PC installation + data saved on smart drive (no m
oops: www.snakecard.com/src
On Sat, 03 Dec 2005 12:26:52 -0600, Philippe C. Martin wrote:
> Dear all,
>
> I am very pleased to announce the release of SCPocketGrades V 0.1.
>
> SCPocketGrades is a GPL U3 smart drive-based grade book application.
>
> SCPocketGrades is code
g of bases is not done in the function at all. Instead, the
callers of PyUnicode_EncodeDecimal will deal with number formats
(base, prefix, exponent syntax, etc.) They will assume ASCII
bytes.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
his automatically.
> That is: can I build 2.4 where all the extensions are archived in
> libpython2.4.a as a static library?
Certainly: Edit Modules/Setup to your needs.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Mike Meyer wrote:
> "Diez B. Roggisch" <[EMAIL PROTECTED]> writes:
>> Michal wrote:
>>> is there any way how to detect string encoding in Python?
>>> I need to proccess several files. Each of them could be encoded in
>>> different charset (iso-8859-2, cp1250, etc). I want to detect it,
>>> and enco
Martin P. Hellwig wrote:
> From what I can remember is that they used an algorithm to create some
> statistics of the specific page and compared that with statistic about
> all kinds of languages and encodings and just mapped the most likely.
More hearsay: I believe language-based h
1501 - 1600 of 4331 matches
Mail list logo