Standarize TOML?

2021-05-16 Thread Jason C. McDonald
eason not to adopt pyproject.toml...and the topic thus became weirdly political. I understand that Brett Cannon intends to bring this up at the next language summit, but, ah, might as well put the community two-cents in now, hey? I, for one, feel like this is obvious. -- Jason C. McDonald (CodeMo

Re: I was really uncomfort with any programming...

2020-06-06 Thread Jason C. McDonald
well, but that doesn't mean they'll necessarily enjoy it. I'm actually rather curious why you *need* to become "efficient" (proficient?) in Python? Work requirement? By the way, you should put your message the the BODY of the email, not in the subject line. Keep subject lin

Re: new feature in Python.

2020-09-30 Thread Jason C. McDonald
ators and abuse them thusly, that's a consenting adults situation. Introducing this new syntax into the language creates a trip hazard for the user. Third, that proposed operator, .=  oww that's hard to see. It looks like a typo, and could easily be typed as one, or overlooked altogether (ag

Re: py2exe and OpenGL problem

2005-09-25 Thread Mike C. Fletcher
exe and python 24. When I run my setup.py, the >dist seems to generate just fine. However run I run the resulting exe, >I get an error: > >IOError: [Errno 2] No such file or directory >'c:\\app\\dist\\library.zip\\OpenGL\\version' > >Now I've tried the recommended

Re: Teenagers of busses do *what*?

2005-09-29 Thread Mike C. Fletcher
t scared and fix your society. Entirely off-topic, Mike -- ____ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com -- http://mail.python.org/mailman/listinfo/python-list

Overloading __init__ & Function overloading

2005-09-30 Thread Iyer, Prasad C
I am new to python. I have few questions a. Is there something like function overloading in python? b. Can I overload __init__ method Thanks in advance regards prasad chandrasekaran --- Cancer cures smoking -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Overloading & Overriden

2005-09-30 Thread Iyer, Prasad C
Hi, Does python supports Overloading & Overriding of the function? regards prasad chandrasekaran This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not th

RE: Overloading __init__ & Function overloading

2005-09-30 Thread Iyer, Prasad C
Thanks a lot for the reply. But I want to do something like this class BaseClass: def __init__(self): # Some code over here def __init__(self, a, b): # Some code over here def __init__(self, a, b, c): # some code here

RE: Python CGI Script

2005-10-02 Thread Iyer, Prasad C
I guess your python script isn't getting executed. a. I guess you might have to tweak the server if the script is not getting executed. b. Maybe your script is getting executed but you are not setting the "Content-type" parameter which is essential for browser that it is an html page. Note :- Se

Re: Idle

2005-10-04 Thread Philippe C. Martin
Hi, I remember having that when the wrong version of TCL/TK was installed on my system. Regards, Philippe Hrvoje Blazevic wrote: > How do I get Idle to work on Linux? > > I've tried to compile 2.4.2 on Fedora core 4, and Suse 9.3, but Idle is > after make install either missing (Fedora), or

2 class with same name in different module

2005-10-05 Thread Iyer, Prasad C
I have a class in a module which is getting imported in main module. How do you differentiate between the 2 class regards prasad chandrasekaran This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the p

Confused with module and .py files

2005-10-05 Thread Iyer, Prasad C
Actually I am bit confused between the modules and .py file How do I differentiate between the 2. For example I have a file import1.py, import2.py file Which has few functions and classes And if I have a class with same name "BaseClass" in both the file How would I use it if I declare it as give

RE: Confused with module and .py files

2005-10-05 Thread Iyer, Prasad C
: Re: Confused with module and .py files # #Iyer, Prasad C wrote: #> Actually I am bit confused between the modules and .py file #> How do I differentiate between the 2. #> #> For example #> I have a file import1.py, import2.py file #> Which has few functions and classes #> And i

Re: Merging sorted lists/iterators/generators into one stream of values...

2005-10-06 Thread Mike C. Fletcher
iterators[1][0]) == 1: iterators.sort() continue if __name__ == "__main__": s1 = [10, 20, 30, 40, 50] s2 = [15, 25] s3 = [17, 27, 37] s4 = [] for value in inorder(cmp, s1, s2, s3, s4): print value Anyway, have fun, Mike --

Re: Merging sorted lists/iterators/generators into one stream of values...

2005-10-07 Thread Mike C. Fletcher
value in inorder(cmp, s1, s2, s3, s4): print value s1 = [{'a':'b'}, {'a':'e'}] s2 = [{'a':'d'}, {'a':'z'}] def comp( a,b ): return cmp( a['a'],b['a']) for value in in

Re: Merging sorted lists/iterators/generators into one stream of values...

2005-10-10 Thread Mike C. Fletcher
It's never used AFAICS. >def merge_by_sort(streams): > sources = [[s.next(), i, s.next] for i, s in enumerate(streams)] > while sources: >sources.sort(reverse=True) >best_source = sources[-1] >yield best_source[0] >try: best_source[0] = b

Re: how to capture key pressing

2005-10-10 Thread Philippe C. Martin
Hi, Look at curses. Philippe billie wrote: > Hi all. I'm searching for a module that permit me to costantly log every > key pressed on the keyboard and eventually assign it a function (e.g. when > "esc" is pressed: exit program"). -- http://mail.python.org/mailman/listinfo/python-list

Re: graphic memory & animation

2005-10-17 Thread Mike C. Fletcher
ct direction to take? If so is it easy to interface with Python > (it seems PyOpenGL is not freeware...) PyOpenGL has a BSD-style license, that's about as 'free' as one can get in the freeware sense. Just a note, Mike -- ____ M

A Logging System for Python

2005-10-17 Thread Philippe C. Martin
Dear all, I have been looking for a logging system and have come across http://www.red-dove.com/python_logging.html. As the site refers to PEP 282, I assume this package is a potential contender for integration in the Python distribution. Am I correct and if so is there any trend to include it i

Re: A Logging System for Python

2005-10-17 Thread Philippe C. Martin
Even better ! Thanks, Philippe Robert Kern wrote: > Philippe C. Martin wrote: >> Dear all, >> >> I have been looking for a logging system and have come across >> http://www.red-dove.com/python_logging.html. >> >> As the site refers to PEP 28

Don't want to serialize a variable of object

2005-10-17 Thread Iyer, Prasad C
Hi, I got a class which I need to serialize, except for couple of variable. i.e. import cPickle as p class Color: def __init__(self): print "hello world" self.x=10 self.somechar="this are the characters" color=Color() f=file('poem.txt', 'w') p.dump(color, f) f.close()

RE: Don't want to serialize a variable of object

2005-10-18 Thread Iyer, Prasad C
#Sent: Tuesday, October 18, 2005 1:01 PM #To: Iyer, Prasad C #Cc: python-list@python.org #Subject: Re: Don't want to serialize a variable of object # #Iyer, Prasad C wrote: # #>Hi, #>I got a class which I need to serialize, except for couple of variable. #>i.e. #> #>import c

Re: wxPython + pyPlot

2005-10-18 Thread Philippe C. Martin
I think wxWidget comes with a sample Philippe Robert wrote: > Maebe, does anyone have some examples with wxPython and pyplot? > > Thanks again, > Robert -- http://mail.python.org/mailman/listinfo/python-list

Re: Vim capable IDE?

2005-10-18 Thread Philippe C. Martin
True and I had to give up emacs when I went to eclipse, but it was well worth it. I seem to recall that sourcenavigator allowed to configure an external editor (or maybe was it sniff+ ?) Regards, Philippe Chris Lasher wrote: > Thanks for your responses, guys. I can't get the PIDA page to come

Re: wxPython + pyPlot

2005-10-18 Thread Philippe C. Martin
My mistake, I understood plot (as in "from wx.lib.plot import *" that comes with wxwidgets and which does have a demo) Sorry, Philippe Robert wrote: > Philippe C. Martin wrote: > >> I think wxWidget comes with a sample >> >> Philippe > Yes I use it,

Abstract Methods & Abstract Class

2005-10-19 Thread Iyer, Prasad C
Do we have something like abstract methods & Abstract class. So that my class would just define the method. And the implementation would be defined by somebody else. This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is inten

http/urlib pos/get question (newbie)

2005-10-20 Thread Philippe C. Martin
Hi, (I am _very_ new to web programming) I am writing a client module (browser plugin) and server module (Python CGI) that need to exchange information. I want the transaction to be intiated when the client accesses the link. I need data to go back and forth between the client and the server (c

Looking for client+server sample code (httplib and/or urlib)

2005-10-21 Thread Philippe C. Martin
Hi, Are there such samples/tutorial out there ? Regards, Philippe -- http://mail.python.org/mailman/listinfo/python-list

Re: http/urlib pos/get question (newbie)

2005-10-21 Thread Philippe C. Martin
I have found what I needed ... in one of my books :E) regards, Philippe Philippe C. Martin wrote: > Hi, > (I am _very_ new to web programming) > > I am writing a client module (browser plugin) and server module (Python > CGI) that need to exchange information. > > I wa

Re: Looking for client+server sample code (httplib and/or urlib)

2005-10-21 Thread Philippe C. Martin
I have found what I needed ... in one of my books :E) Philippe Philippe C. Martin wrote: > Hi, > > Are there such samples/tutorial out there ? > > Regards, > > Philippe -- http://mail.python.org/mailman/listinfo/python-list

how to modify text in html form from python

2005-10-21 Thread Philippe C. Martin
Hi, I am trying to change the data in a form field from python. The following code does not crash but has no effect as if "form" is just a copy of the original html form. Must I recreate the form order to do that ? My point is for the client to be able to re-read the modified data. Thanks, P

Re: how to modify text in html form from python

2005-10-21 Thread Philippe C. Martin
ion, sorry. Philippe Philippe C. Martin wrote: > Hi, > > I am trying to change the data in a form field from python. The following > code does not crash but has no effect as if "form" is just a copy of the > original html form. > > Must I recreate the form order to

Re: how to modify text in html form from python

2005-10-21 Thread Philippe C. Martin
have not yet found an easier way. Regards, Philippe Paul McNett wrote: > Philippe C. Martin wrote: >> PS: If my question is not clear, I am trying to "share" the form between >> the client and server. >> >> just as many sites out there allow you to m

Re: how to modify text in html form from python

2005-10-21 Thread Philippe C. Martin
the form field and gives it to its local smart card ... (this a couple of time) -) the cgi script gets the final verdict from the server smart card and acts accordingly. I hope that is clearer. Regards, Philippe Mike Meyer wrote: > "Philippe C. Martin" <[EMAIL PROTECTED

Re: how to modify text in html form from python

2005-10-21 Thread Philippe C. Martin
Mike Meyer wrote: > "Philippe C. Martin" <[EMAIL PROTECTED]> writes: > > > > Some. To continue clarifying: > > The phrase "cgi script" refers to a server-side script that is run in > response to the user clicking something on the client. Tha

Re: how to modify text in html form from python

2005-10-21 Thread Philippe C. Martin
I don't want to open another socket/port but stick to http:80 Regards, Philippe Mike Meyer wrote: > "Philippe C. Martin" <[EMAIL PROTECTED]> writes: > >> Mike, >> >> Here is what I am trying to do: >> >> WHAT >> -)

Re: how to modify text in html form from python

2005-10-21 Thread Philippe C. Martin
). Thanks anyway. Regards, Philippe Paul Rubin wrote: > "Philippe C. Martin" <[EMAIL PROTECTED]> writes: >> * HOW (if there's a better way let me know please) ** >> As I have not found any better solution yet, I am trying to do the >> foll

Re: how to modify text in html form from python

2005-10-21 Thread Philippe C. Martin
Mike Meyer wrote: > "Philippe C. Martin" <[EMAIL PROTECTED]> writes: > >> I feel fairly stupid ... but to my defense in the past 17 years of >> coding, i've only spent 3 days looking at web stuff: >> >> I now can understand how "writing&q

Re: how to modify text in html form from python

2005-10-21 Thread Philippe C. Martin
Mike Meyer wrote: > > I don't know much about plugins. I believe they get started when the > page loads, which gives you a chance to do the authentication when you > want it done. Well not in this case actually: the user triggers the plugin which in turn open the url, so the connection is "owne

Re: how to modify text in html form from python

2005-10-21 Thread Philippe C. Martin
some thinking before I ask more questions. Regards, Philippe Mike Meyer wrote: > "Philippe C. Martin" <[EMAIL PROTECTED]> writes: >> Mike Meyer wrote: >>> I don't know much about plugins. I believe they get started when the >>> page loads, w

Re: System tray Icon

2005-10-24 Thread Mike C. Fletcher
an app run with just a system tray Icon??? any help > would be greatly appreciated. I have no clue where to start. -- Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com -- http://mail.pyth

Small utility program for the windows

2005-10-24 Thread Iyer, Prasad C
Hi, I am trying to create a small utility program which would be configured in registry. Something like this Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\*\shell\ShortCut\command] @="\"python C:\\workspace\\python\\Tut\\ShortCut.py\"" It gives me access denied

python cgi script not understood as html

2005-10-24 Thread Philippe C. Martin
Hi, The following code outputs the actual HTML text to the browser, not the interpreted text. Any idea ? Regards, Philippe import cgi import logging import auth #this is the one you must implement (or use SCF ;-) html_ok = """ Content-Type: text/html\n http://www.w3.org/TR/html4/loose.dtd";>\n

Re: python cgi script not understood as html

2005-10-24 Thread Philippe C. Martin
the title should say "python cgi script html output not understood as html" Philippe C. Martin wrote: > Hi, > > The following code outputs the actual HTML text to the browser, not the > interpreted text. > > Any idea ? > > Regards, > > Philippe >

Re: python cgi script not understood as html

2005-10-24 Thread Philippe C. Martin
Many thanks !! Regards, Philippe Mitja Trampus wrote: > Philippe C. Martin wrote: >> Hi, >> >> The following code outputs the actual HTML text to the browser, not the >> interpreted text. >> >> Any idea ? >> >> html_ok = ""&quo

Re: python cgi script not understood as html

2005-10-24 Thread Philippe C. Martin
It is, thanks. Philippe Peter Hansen wrote: > Philippe C. Martin wrote: >> The following code outputs the actual HTML text to the browser, not the >> interpreted text. >> >> html_ok = """ >> Content-Type: text/html\n >> > "http://

RE: python cgi script not understood as html

2005-10-25 Thread Iyer, Prasad C
Your python script is not getting executed. I guess there is something wrong with the server configuration. #-Original Message- #From: Philippe C. Martin [mailto:[EMAIL PROTECTED] #Sent: Tuesday, October 25, 2005 1:27 AM #To: python-list@python.org #Subject: python cgi script not

pyxpcom and firefox

2005-10-25 Thread Philippe C. Martin
Hi, I write this post here because I do not manage to get in touch with mozilla dev people: *** [EVAL-IN] irc.mozilla.org [ERROR] ReferenceError: irc is not defined *** I have two questions: 1) has anyone compiled/installed pyxpcom with firefox 1.5xx ? 2) is there a plan to make it

SCWEB 0.1 to be released

2005-10-25 Thread Philippe C. Martin
Dear all, I intend to release withing the next very few week the version 0.1 of SCWEB, a cross-platform web authentication platform _mostly_ written in Python and adaptable to most programming languages. SCWEB will come with server modules (cgi), client modules (Firefox extension/plugin and XPCOM

feature request / max size limit on StringIO

2005-10-25 Thread Clark C. Evans
Hello. I've not been able to use cStringIO since I have the need to ensure that the memory buffers created are bounded within a resonable limit set by specifications. No, this code does not properly belong in my application as the modules that use "files" should not have to care about any resourc

Re: tool for syntax coloring in html

2005-10-26 Thread Philippe C. Martin
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

Using Python to add thumbnails to Explorer

2005-10-26 Thread c d saunter
Greetings All, In Widows Explorer there is a thumbnail view, where you see images as thumbnails. Applications such as MS Office and OpenOffice, when installed, cause their respective filetypes to be previewed as thumbnails as well. Thumbnails are stored in the Thumbs.db hidden file.

Re: Jpg

2005-10-26 Thread c d saunter
Tuvas ([EMAIL PROTECTED]) wrote: : I am building a GUI interface at the moment, and would like to have : support for displaying a jpg file, and a FITS file if possible. Is : there any way to do this? My interface has been written in Tkinter at : the moment, especially because of it's great portabil

Re: Using Python to add thumbnails to Explorer

2005-10-26 Thread c d saunter
Hi Roger, Thanks for the info - I was actually interested in custom per file thumbnails rather than icons, but your message sentt me pouring through seemingly relevent parts of the registry - however what I need isn't there. Turns out I need to use a .dll shell

db.DB_CREATE|db.DB_INIT_MPOOL|db.DB_THREAD|db.DB_INIT_CDB

2005-10-27 Thread Neville C. Dempsey
Why does this python program fail to read record "600"? #!/usr/bin/env python import bsddb # twiceopen.py key="600" btf=bsddb.db.DB_INIT_THREAD list1=bsddb.btopen("twiceopen.tbl",btflags=btf) list1[key]="we have the technology" list2=bsddb.btopen("twiceopen.tbl",btflags=btf) #print "key

Re: db.DB_CREATE|db.DB_INIT_MPOOL|db.DB_THREAD|db.DB_INIT_CDB

2005-10-28 Thread Neville C. Dempsey
On Thu, 2005-10-27 at 12:30 -0400, Jean-Paul Calderone wrote: > On Fri, 28 Oct 2005 00:17:54 +0800, "Neville C. Dempsey" at 3ttechnology.com> wrote: > >import bsddb # twiceopen.py > >Maybe the solution needs one of: > > db.DB_CREATE|db.DB_INIT_MPOOL|db.DB_THREA

scweb pre-release 0.1

2005-11-01 Thread Philippe C. Martin
project will also soon be hosted on: http://scwebxpcom.mozdev.org Any info on xpcom/pyxpcom is quite welcome: the current xpcom component (c++ which does not register properly (sigh) is also on the site) ... any help welcome. Regards, Philippe -- http://mail.python.org/mailman/listinfo

Re: Using Python to add thumbnails to Explorer

2005-11-02 Thread c d saunter
John J. Lee ([EMAIL PROTECTED]) wrote: : "Roger Upole" <[EMAIL PROTECTED]> writes: : Or, if not, then you can do it with module ctypes. : http://starship.python.net/crew/theller/ctypes/ : There's an O'Reilly book called something like "win32 shell : programming" that covers this stuff. : John

Re: Parrot Project for Python

2005-11-04 Thread Swaroop C H
See http://pirate.tangentcode.com/ - Swaroop -- http://mail.python.org/mailman/listinfo/python-list

SCLOGON 0.1 Smart Card event daemon for GNU/Linux

2005-11-05 Thread Philippe C. Martin
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

Python gui

2005-11-05 Thread Philippe C. Martin
Hi, Is wxWidget now part of python ? or will it be ? regards, Philippe -- http://mail.python.org/mailman/listinfo/python-list

Re: Python gui

2005-11-05 Thread Philippe C. Martin
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) > > &

starting an X11 session from Python

2005-11-05 Thread Philippe C. Martin
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

Re: starting an X11 session from Python

2005-11-05 Thread Philippe C. Martin
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

Re: starting an X11 session from Python

2005-11-05 Thread Philippe C. Martin
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: >

Re: starting an X11 session from Python

2005-11-06 Thread Philippe C. Martin
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

Tkinter and X11

2005-11-07 Thread Philippe C. Martin
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

Re: Tkinter and X11

2005-11-07 Thread Philippe C. Martin
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.

user account logon from python

2005-11-08 Thread Philippe C. Martin
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

Re: user account logon from python

2005-11-08 Thread Philippe C. Martin
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

Re: user account logon from python

2005-11-08 Thread Philippe C. Martin
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

Re: user account logon from python

2005-11-08 Thread Philippe C. Martin
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

Re: user account logon from python

2005-11-08 Thread Philippe C. Martin
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

Re: How to set program name in Python? ($0 in Perl)

2005-11-10 Thread Swaroop C H
Thanks Fredrik for the info. It was not a must-have, I was just curious if it was possible. Thanks, Swaroop www.SwaroopCH.info -- http://mail.python.org/mailman/listinfo/python-list

Problem with __str__ if baseclass is list

2005-11-12 Thread Edward C. Jones
#! /usr/bin/env python class A(list): def __init__(self, alist, n): list.__init__(self, alist) self.n = n def __str__(self): return 'AS(%s, %i)' % (list.__str__(self), self.n) def __repr__(self): return 'AR(%s, %i)' % (list.__repr__(self), self.

ANNOUNCE: twill v0.7.4, Web testing language.

2005-11-13 Thread C. Titus Brown
ANNOUNCING twill v0.7.4. twill is a simple Web scripting language built on top of Python and John J. Lee's 'mechanize'. It's designed for automated testing of Web sites, but it should prove useful for anybody who needs to interact with Web sites (especially those using logins and cookies) on the

SnakeCard goes open source

2005-11-13 Thread Philippe C. Martin
undle (software=Python, applets BasicCard T=1, JavaCard T=0) SCALS: (software: Python (core), VB6 (GUI), C++ (GINA DLL), applets BasicCard T=1, JavaCard T=0) SC PCSC Server(software=Python) Best regards, Philippe -- http://mail.python.org/mailman/listinfo/python-list

Re: SnakeCard goes open source

2005-11-13 Thread Philippe C. Martin
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

SnakeCard products source code

2005-11-14 Thread Philippe C. Martin
Dear all, The source code is available in the download section: www.snakecard.com Regards, Philippe -- http://mail.python.org/mailman/listinfo/python-list

Re: SnakeCard products source code

2005-11-14 Thread Philippe C. Martin
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

Python and U3 devices

2005-11-17 Thread Philippe C. Martin
Dear all, Has anyone attempted to compile Python for a U3 device ? Regards, Philippe -- http://mail.python.org/mailman/listinfo/python-list

SnakeCard on sourceforge

2005-11-18 Thread Philippe C. Martin
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

compiling Python under Windows

2005-11-21 Thread Philippe C. Martin
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-

Re: compiling Python under Windows

2005-11-21 Thread Philippe C. Martin
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

Re: compiling Python under Windows

2005-11-21 Thread 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 ? Regards, Philippe > Sorry, > > Philippe > > > > Philippe C. Martin

Re: compiling Python under Windows

2005-11-21 Thread Philippe C. Martin
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 >>

Python install minimum requirements

2005-11-21 Thread Philippe C. Martin
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

Re: Python install minimum requirements

2005-11-22 Thread Philippe C. Martin
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

Crash in python while run from U3 device

2005-11-26 Thread Philippe C. Martin
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 s

Re: Crash in python while run from U3 device

2005-11-26 Thread Philippe C. Martin
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

Re: Crash in python while run from U3 device

2005-11-26 Thread Philippe C. Martin
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

SCU3 and Python packaged for U3 (with SCU3) V 0.1 released

2005-11-27 Thread Philippe C. Martin
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

Re: Writing pins to the RS232

2005-11-28 Thread Philippe C. Martin
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

ANNOUNCE: twill v0.8

2005-11-29 Thread C. Titus Brown
ANNOUNCING twill v0.8. twill is a simple language for testing Web applications. It's designed for automated testing of Web sites, but it can be used to interact with Web sites in a variety of ways. twill has an interactive shell, 'twill-sh', and can also run scripts. twill is a reimplementation

Re: 3d Transformation

2005-11-29 Thread Mike C. Fletcher
otations and scales. You can find the module here: http://cvs.sourceforge.net/viewcvs.py/pyopengl/vrml/vrml97/transformmatrix.py?view=markup the module also allows for generating inverse arrays (what you use for transforming from outer coordinates to inner, instead of inner to outer), a

SCU3 Python package 0.2 released: wxPython support added

2005-12-01 Thread Philippe C. Martin
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

Re: how to run an external program...

2005-12-01 Thread Philippe C. Martin
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

os.chdir + GUI question

2005-12-03 Thread Philippe C. Martin
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

SCPocketGrades released

2005-12-03 Thread Philippe C. Martin
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 driv

Re: SCPocketGrades released

2005-12-03 Thread Philippe C. Martin
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

<    1   2   3   4   5   6   7   8   9   10   >