fast dictionary initialization

2016-06-10 Thread maurice
Hi. If I have already a list of values, let's call it valuesList and the keysList, both same sized lists, what is the easiest/quickest way to initialize a dictionary with those keys and list, in terms of number of lines perhaps? example: valuesList = [1,2,3] keysList = ['1','2','3'] So the di

[smtplib] how to assure login was succesful?

2016-05-24 Thread maurice
Hello to all. I have the following question: Once my python script reaches the point where I login in my email account with: server.login(username,password) (where server server = smtplib.SMTP('smtp.office365.com:587')), it returns a tuple like this: (235, '2.7.0 Authentication successful tar

good way to avoid recomputations?

2016-04-05 Thread Maurice
Hi. I working on a project where I have 5 scripts loading the same file at the very beginning so I would like to know the best way I can get this file without having to compute it 5 times. I also perform, in all the scripts, a list comprehension using this file that takes 30s to run. Would be c

Re: Convert list to another form but providing same information

2016-03-21 Thread Maurice
Just figured why: If I type this on the kernel: weirdList = [[0]*3]*5 weirdList Out[257]: [[0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0], [0, 0, 0]] weirdList[0][0] = 1 weirdList Out[259]: [[1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0], [1, 0, 0]] All first elements of the sublists also changes. I

Convert list to another form but providing same information

2016-03-21 Thread Maurice
Hello, hope everything is okay. I think someone might have dealt with a similar issue I'm having. Basically I wanna do the following: I have a list such [6,19,19,21,21,21] (FYI this is the item of a certain key in the dictionary) And I need to convert it to a list of 32 elements (meaning days

Python programming

2011-01-02 Thread Maurice Shih
Dear python-list@python.org, I am making a program of the quadratic sieve on python 2.5.2. I am also using sympy to find linear dependencies in mod 2. For example matrix A is : 10110 01101 00011 1 And using sympy I can type in a command to solve ax=0, which is: 1=0 01002=0 0010-1=0

Python programming

2010-12-22 Thread Maurice Shih
ng my request. Maurice Shih -- http://mail.python.org/mailman/listinfo/python-list

Re: How far can stack [LIFO] solve do automatic garbage collection and prevent memory leak ?

2010-08-25 Thread Joshua Maurice
On Aug 25, 4:01 pm, John Passaniti wrote: > On Aug 25, 5:01 pm, Joshua Maurice wrote: > > > I agree. Sadly, with managers, especially non-technical > > managers, it's hard to make this case when the weasel > > guy says "See! It's working.". &

Re: How far can stack [LIFO] solve do automatic garbage collection and prevent memory leak ?

2010-08-25 Thread Joshua Maurice
On Aug 25, 1:44 pm, John Passaniti wrote: > On Aug 24, 9:05 pm, Hugh Aguilar wrote: > > > What about using what I learned to write programs that work? > > Does that count for anything? > > It obviously counts, but it's not the only thing that matters.  Where > I'm employed, I am currently managin

Re: Completion of The Python Papers Volume 4 Issue 1

2009-05-06 Thread Maurice Ling
My apologies. It should be Volume 4 Issue 1 instead of Issue 4 Volume 1. Thank you Scott for pointing this out. Regards Maurice On May 6, 10:08 pm, "mauricel...@acm.org" wrote: > Welcome to Issue 4 Volume 1 of The Python Papers. This marks our 4th > year in business. It i

Re: Re; finding euclidean distance,better code?

2008-03-29 Thread Maurice LING
nd numbing regularity of the layout of the > suburb of the city after which it seems to be named - > For all I know 'manhatten' could be a native american word that > means "net". > > Have you noticed that when people say "Sorry.but" they are > no

Re: Multiple Submits in HTML Forms - Cherrypy

2008-03-18 Thread Maurice LING
Carsten Haese wrote: > On Tue, 2008-03-18 at 07:14 +0000, Maurice LING wrote: >> Hi, >> >> Assuming that I have this code for Cherrypy 3 >> >> class Welcome: >> def index(self): >> return """ >> >>

Multiple Submits in HTML Forms - Cherrypy

2008-03-18 Thread Maurice LING
erform different actions when different button is pressed? Thanks in advance Cheers maurice -- http://mail.python.org/mailman/listinfo/python-list

The Python Papers is looking for additional Associate Editors

2007-11-23 Thread Maurice LING
The Python Papers 5. How will you propose to improve The Python Papers Please direct any queries to [EMAIL PROTECTED] Thank you Maurice Ling Associate Editor, The Python Papers -- http://mail.python.org/mailman/listinfo/python-list

The Python Papers is looking for additional Associate Editors

2007-11-22 Thread maurice ling
ny queries to [EMAIL PROTECTED] Thank you Maurice Ling Associate Editor, The Python Papers -- http://mail.python.org/mailman/listinfo/python-list

Re: Joining open source python projects

2007-11-19 Thread Maurice LING
llset are? How much time you can commit? What do you want to learn? etc etc Alternatively look in Sourceforge.com, there is never enough hands. maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: SOAPpy port reuse

2007-11-18 Thread Maurice LING
Diez B. Roggisch wrote: > Maurice LING schrieb: >> Hi, >> >> I have a problem: >> >> 1. Assuming that my application is a SOAP server that uses SOAPpy, >> 2. I am given port 35021 for use. >> >> What I normally do (simply) is: >> >> f

Re: Book: Python Power!: The Comprehensive Guide

2007-11-18 Thread Maurice LING
ursory glance while standing in the bookshop suggest that I should give it a closer read - there are some interesting stuffs that caught my eyes but I only have time for a quick flip then. maurice -- http://mail.python.org/mailman/listinfo/python-list

SOAPpy port reuse

2007-11-17 Thread Maurice LING
should have been killed). Thanks in advance. Cheers maurice -- http://mail.python.org/mailman/listinfo/python-list

The Python Papers Monograph Series (TPPM): Call for Proposals

2007-11-11 Thread Maurice LING
The editorial committee of The Python Papers (ISSN 1834-3147) calls for proposals for The Python Papers Monograph Series. Potential authors should contact the editors at [EMAIL PROTECTED] at an early stage of preparation. We await your indications of interests. Regards Maurice Ling Associate

The Python Papers Monograph Series (TPPM): Call for Proposals

2007-11-11 Thread Maurice LING
The editorial committee of The Python Papers (ISSN 1834-3147) calls for proposals for The Python Papers Monograph Series. Potential authors should contact the editors at [EMAIL PROTECTED] at an early stage of preparation. We await your indications of interests. Regards Maurice Ling Associate

[ANN] The Python Papers volume 2 issue 3

2007-09-06 Thread Maurice LING
yphant - A Python Framework for Modelling Reusable Information Processing TasksPages 28-43 We will like to thank the community for their contributions and support. Regards Maurice Ling Associate Editor -- http://mail.python.org/mailman/listinfo/python-list

Re: why should I learn python

2007-09-06 Thread Maurice LING
(volume 2 issue 2, http://archive.pythonpapers.org/ThePythonPapersVolume2Issue2.pdf) has an article on Django, a web framework. It may help you see what you are missing out on. maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: Database intensive application

2007-08-12 Thread Maurice LING
go, CherryPy, TurboGears and many other tools Best book(s): Dive into Python, Learning Python maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: YahooQuote 0.1.0

2007-06-26 Thread Maurice LING
Hi David, I can't download from your link http://www.freenet.org.nz/python/yahooquote/YahooQuote-0.1.tar.gz Cheers maurice DavidM wrote: > Hi, > > After a 3-year break from working with it, I've just released version 0.1.0 > (the first formally packaged release) of Y

Re: Who uses Python?

2007-06-05 Thread Maurice LING
Python. I am into text mining as well. Perhaps we can communicate more on this... I am also interested in your data mining tools, orange... Care to give more details. Thanks in advance Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: Who uses Python?

2007-06-04 Thread Maurice LING
walterbyrd wrote: > I mean other than sysadmins, programmers, and web-site developers? > > I have heard of some DBAs who use a lot of python. > > I suppose some scientists. I think python is used in bioinformatics. I > think some math and physics people use python. > > I suppose some people use

[ANN] The Python Papers Volume 2 Issue 2

2007-05-22 Thread Maurice LING
at the Open Source Developer's Conference 2006 (Melbourne, Australia). Thank you everyone for all your support. Cheers Maurice Ling (Associate Editor) -- http://mail.python.org/mailman/listinfo/python-list

Re: db.commit() to take effect

2006-12-02 Thread Maurice LING
John Machin wrote: > progman wrote: > >>I was testing the python+mysql >> >>here are my sample codes: >> >>import MySQLdb >>from pprint import pprint >>db = MySQLdb.connect(host="localhost", user="root", passwd="password", >>db="database") >>cursor = db.cursor() >>cursor.ex

Re: The Python Papers Edition One

2006-11-24 Thread Maurice LING
there to write a list comprehension? Copyright just says attribute credits when you use someone else's work within the limits of fair use; otherwise you might have to pay for it in the form of a licence, subject to the copyright owner. I believe you've done all these in college when wr

Re: Will GPL Java eat into Python marketshare?

2006-11-16 Thread Maurice LING
Paul Boddie wrote: > Maurice LING wrote: > >>Say given cytoscape.jar, I'll like to be able to do this: >> >> >>> from cytoscape javaimport cytoscape >> >>> c = cytoscape() >> >>And the tighest way I see that this can be done i

Re: Will GPL Java eat into Python marketshare?

2006-11-16 Thread Maurice LING
Stephen Eilert wrote: > Maurice LING escreveu: > > >>>I once wrote a partial JVM in Modula-3 (strictly a researchware >>>effort), so I can imagine it being done technically. But why? >>> >>>The big problem with Java-and-Python is not the VMs undern

Re: Will GPL Java eat into Python marketshare?

2006-11-16 Thread Maurice LING
> > I once wrote a partial JVM in Modula-3 (strictly a researchware > effort), so I can imagine it being done technically. But why? > > The big problem with Java-and-Python is not the VMs underneath. It is > the fact that Java has layers upon layers upon layers of idiosyncratic > libraries and

Re: Will GPL Java eat into Python marketshare?

2006-11-16 Thread Maurice LING
Dennis Lee Bieber wrote: > On Wed, 15 Nov 2006 22:41:19 GMT, Maurice LING <[EMAIL PROTECTED]> > declaimed the following in comp.lang.python: > > >>I'm hoping for a more optimistic outcome that this may open a >>possibility for tigher interoperabili

Re: Python deployment options.

2006-11-15 Thread Maurice LING
Cameron Laird wrote: > In article <[EMAIL PROTECTED]>, > Richard Charts <[EMAIL PROTECTED]> wrote: > . > . > . > >>Well on a Win machine, probably. >>Almost every Linux machine you come across will have (most likely a >>fairly rece

Re: Will GPL Java eat into Python marketshare?

2006-11-15 Thread Maurice LING
y on python VM. Is this still a blue sky dream? maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: Easy to use distributed system?

2006-08-13 Thread Maurice LING
Linda (http://www-users.cs.york.ac.uk/aw/pylinda/) Cheers maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: state of SOAP and python?

2006-08-10 Thread Maurice LING
Hi, I've been using SOAPpy for a number of my work. Looks good. maurice Mark Harrison wrote: > So I'm investigating doing some SOAP work... Any concensus on > what the best python libraries are for doing this? > > Too bad, xmlrpc is choking on our long longs. :-(

Re: When Python *Eggs* better than Python *distutils*?? What's Eggs?

2005-12-21 Thread Maurice LING
software should be named > eggs or hatch, not easy_install, ugly). I think this is one very specific area that one BIG community-wide concerted effort is better than a few smaller ones. Is there any chance of better coordination in this area? maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: Visual Python, really "Visual"?

2005-12-14 Thread Maurice LING
ast 4-6 tries). So, is there any python GUI builders based on tkinter? Personally, I prefer to drag and design a screen rather than programming it abstractly. Thanks maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: Is there anything that pickle + copy_reg cannot serialize?

2005-12-09 Thread Maurice LING
'ListType', 'LongType', 'MethodType', 'ModuleType', 'NoneType', 'NotImplementedType', 'ObjectType', 'SliceType', 'StringType', 'StringTypes', 'TracebackType', 'TupleType', 'TypeT

Re: Is there anything that pickle + copy_reg cannot serialize?

2005-12-08 Thread Maurice LING
ek assistance for: 1. Is code object the only thing can cannot be pickled (less facing recursion limits)? 2. In the above example, how copy_reg works with pickle? Thanks and Cheers Maurice > > However, both pickle implementations are recursive, so you will be > limited by the amount of

Is there anything that pickle + copy_reg cannot serialize?

2005-12-08 Thread Maurice LING
that pickle/copy_reg/marshal combination cannot serialize? If so, what are the workarounds? Thanks Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: New Python book

2005-10-07 Thread Maurice LING
pages) is mainly found in the context of GUI programming. maurice Dick Moores wrote: > (Sorry, my previous post should not have had "Tutor" in the subject > header.) > > Magnus Lie Hetland's new book, _Beginning Python: From Novice to > Professional_ was published

Re: Do thread die?

2005-09-22 Thread Maurice LING
Frithiof Andreas Jensen wrote: > "Maurice LING" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > >>I do have another dumb question which is OT here. Say aFunc method >>instantiates a SOAP server that serves forever, will it prevent b

Re: plateform info.

2005-09-22 Thread Maurice LING
here a way of getting the path to the site-packages directory? Considering that Mac OSX with Fink installs python libraries in /sw/lib/python, Mac OSX itself has python libraries in /System/Library/Frameworks/Python.framework/Versions//lib, etc etc... maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: Do thread die?

2005-09-22 Thread Maurice LING
Frithiof Andreas Jensen wrote: > "Maurice LING" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > >>I do have another dumb question which is OT here. Say aFunc method >>instantiates a SOAP server that serves forever, will it prevent b

Re: plateform info.

2005-09-22 Thread Maurice LING
ere a way of getting the path to the site-packages directory? Considering that Mac OSX with Fink installs python libraries in /sw/lib/python, Mac OSX itself has python libraries in /System/Library/Frameworks/Python.framework/Versions//lib, etc etc... maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: reading files with error

2005-09-17 Thread Maurice Ling
stderr.write("%8d %8d %8d %3.1f%% %6d:%02d %6.1fMB/s\r" % (i, f, i-f, i * 100. / total, rm, rs, spd)) sys.stderr.write("\n") Sorry but what are SEEK_END and SEEK_SET? Maurice -- Maurice Han Tong LING, BSc(Hons)(Biochem), AdvDipComp, CPT, SSN, FIFA, MASBMB, MAMBIS, M

reading files with error

2005-09-17 Thread Maurice LING
rop copying fail-point but may or may not be full length. What determines if Python is able to make it pass drag-and-drop copying fail-point? Is there anyway to do what I want, force read full length? Thanks and cheers Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: Do thread die?

2005-09-17 Thread Maurice LING
alhost', 8000], 'hi') Will the 2nd thread (bFunc) ever run since the 1st thread is running forever? Intuitively, I think that both threads will run but I just want to be doubly sure, because some of my program logic depends on the 2nd thread running while the 1st thread acts as a SOAP server or something. Thanks and Cheers Maurice -- http://mail.python.org/mailman/listinfo/python-list

Do thread die?

2005-09-16 Thread Maurice LING
unc).start() myThread(self.bFunc).start() if __name__=='__main__': myClass().runAll() Is this a good way? Thanks and cheers Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: Calling ftp commands from python

2005-08-31 Thread Maurice LING
ftp = FTP('ftp.geneontology.org') ftp.login() ftp.cwd('/pub/go/ontology') ftp.retrbinary('retr gene_ontology.obo', open('gdata/gene_ontology', 'wb').write) ftp.quit() if __name__ == '__main__': grab_geneontology() maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: Standalone applications ?

2005-08-14 Thread Maurice LING
henne wrote: > > I should have added that my platform is Linux. > > http://davidf.sjsoft.com/mirrors/mcmillan-inc/install1.html > > Squeeze works on Linux too. It tells me that the installer files are not found. M -- http://mail.python.org/mailman/listinfo/python-list

Re: Java RMI-like services in Python

2005-07-18 Thread Maurice LING
object (containing methods) be loaded into PyLinda's TupleSpace? Sorry, this may be a dumb question as lists are technically objects. Just want to be doubly sure. Thanks and cheers maurice -- http://mail.python.org/mailman/listinfo/python-list

Java RMI-like services in Python

2005-07-18 Thread Maurice LING
d been achieved in Java (http://www-128.ibm.com/developerworks/java/library/j-super.html) but wondering if it is possible in Python. Is so, how? Thanks. Cheers Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: Connecting to Firebird database using Kinterbasdb+Python

2005-07-04 Thread Maurice LING
Mathias Waack wrote: > Maurice LING wrote: > > >>I've been using FB1.5 and access the database using Kinterbasdb + >>Python. My connection is established using kinterbasdb.connect() method >>and the parameters host, dns, database, user, password are all defau

Connecting to Firebird database using Kinterbasdb+Python

2005-07-04 Thread Maurice LING
(*args, **keywords_args) File "/usr/lib/python2.2/site-packages/kinterbasdb/__init__.py", line 608, in __init__ self._C_con = _k.attach_db(dsn, dpb, dialect) Any ideas or solutions? Thanks in advance. Cheers maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: Migrating from Windows to OS X

2005-06-18 Thread Maurice LING
the site-package is symlinked to /Library/Python. Do not attempt to touch that. This installation can be accessed in Terminal by typing "pythonw". Are you or will you be using package managers such as darwinports or Fink? maurice -- http://mail.python.org/mailman/listinfo/python-list

which ports to use for SOAP?

2005-06-16 Thread Maurice LING
blem with say 2 programs using the same ports? Thanks in advance. Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: UML to Python/Java code generation

2005-06-16 Thread Maurice LING
Thanks James. I've googled a few times and it is always tools that generates UML from Python codes that comes up in the top hits, which brings me to wonder if there is something that does the opposite. maurice James wrote: >>Is there any UML tools that is able to take UML and gene

Re: Generating .pyo from .py

2005-06-16 Thread Maurice LING
say your code is "test.py" and you usually run it as "python test.py", then the "-O" option will generate .pyo files. That is "python -O test.py" Cheers maurice skn wrote: > Hello., > > Does the python compiler provide an option to generate a .p

UML to Python/Java code generation

2005-06-15 Thread Maurice LING
Hi, Is there any UML tools that is able to take UML and generate Python codes? Cheers Maurice -- http://mail.python.org/mailman/listinfo/python-list

provide 3rd party lib or not... philosophical check

2005-06-02 Thread Maurice LING
Hi, Just a philosophical check here. When a program is distributed, is it more appropriate to provide as much of the required 3rd party libraries, like SOAPpy, PLY etc etc, in the distribution itself or it is the installer's onus to get that part done? Cheers Maurice --

Re: something like CPAN, PPMs?

2005-06-02 Thread Maurice LING
deelan wrote: > Maurice LING wrote: > >> Hi Alex, >> >> I am actually working on something like that as an academic project. >> At this stage, at least for the purpose of my scope, it will not be as >> extensive as CPAN but a set of mechanisms for the same ef

Re: something like CPAN, PPMs?

2005-05-31 Thread Maurice LING
Hi Alex, I am actually working on something like that as an academic project. At this stage, at least for the purpose of my scope, it will not be as extensive as CPAN but a set of mechanisms for the same effect for Python. maurice Alex Gittens wrote: > I'm new to Python from Perl, an

Re: Melbourne (Australia) Python User Group

2005-05-24 Thread Maurice LING
Hi Anthony, count me in... Cheers Maurice Anthony wrote: > Hi all, > > I'm interested in starting a Python user group in Melbourne, > Australia. So far there seems to have been a lot of interest from > various parties, but for whatever reasons it's fizzled out.

Re: Is Python suitable for a huge, enterprise size app?

2005-05-19 Thread Maurice LING
Peter Hansen wrote: > Maurice LING wrote: > >> It makes big difference (legally) to if the codes are there and >> someone sees it, to if the codes are locked in some packaged or zipped >> form and someone reverse-engineer it. It is legally as different as if >>

Re: Is Python suitable for a huge, enterprise size app?

2005-05-19 Thread Maurice LING
Peter Hansen wrote: > Maurice LING wrote: > >> It makes big difference (legally) to if the codes are there and >> someone sees it, to if the codes are locked in some packaged or zipped >> form and someone reverse-engineer it. It is legally as different as if >>

Re: Is Python suitable for a huge, enterprise size app?

2005-05-19 Thread Maurice LING
ngineered quite easily but the act of doing that is criminal, unless performed under specified Council Directives (in EU) or under any statutory law in specific countries. But the act of looking at the codes if it is there is not criminal, just like reading a book in bookstore. If anyone can program

Re: hard memory limits

2005-05-07 Thread Maurice LING
Bengt Richter wrote: > On Sat, 07 May 2005 14:03:34 +1000, Maurice LING <[EMAIL PROTECTED]> wrote: > > >>John Machin wrote: >> >>>On Sat, 07 May 2005 02:29:48 GMT, [EMAIL PROTECTED] (Bengt Richter) wrote: >>> >>> >>> >>>>

Re: hard memory limits

2005-05-06 Thread Maurice LING
John Machin wrote: > On Sat, 07 May 2005 02:29:48 GMT, [EMAIL PROTECTED] (Bengt Richter) wrote: > > >>On Sat, 07 May 2005 11:08:31 +1000, Maurice LING <[EMAIL PROTECTED]> wrote: >> >>>It doesn't seems to help. I'm thinking that it might be a SOAPpy

Re: hard memory limits

2005-05-06 Thread Maurice LING
James Stroud wrote: > Sorry Maurice, apparently in bash its "ulimit" (no n). I don't use bash, so I > don't know all of the differences offhand. Try that. > > James Thanks guys, It doesn't seems to help. I'm thinking that it might be a SOAPpy proble

Re: hard memory limits

2005-05-06 Thread Maurice LING
Hi everyone, thanks for your help. Yes, I'm using Mac OSX 1.3 with 256MB Ram. Each element in the list is a float. The list is actually a retrieved results of document IDs from SOAP interface. And Mac OSX does not have 'unlimit' command as shown, Maurice-Lings-Computer:~ mauri

hard memory limits

2005-05-06 Thread Maurice LING
Hi, I think I've hit a system limit in python when I try to construct a list of 200,000 elements. My error is malloc: vm_allocate (size = 2400256) failed.. Just wondering is this specific to my system or what? Will adding more RAM helps in this case? Thanks and cheers Maurice --

Re: So many things that need to be decided....

2005-05-02 Thread Maurice LING
o place. Worry about it when it worries you. "do not distress yourself with imaginings" -desiderata Good luck. Cheers maurice Heather Stovold wrote: > Wow - deciding to program in python sure requires a lot of decisions! > > So far: > > I've decided on pyth

"implementation" of PEP 262 as an academic project

2005-04-29 Thread Maurice LING
onus to inform everyone again through comp.lang.python (python-list) and catalog-sig mailing list. Thank you everyone for your kind understanding. Cheers Maurice Hi, I've just read PEP 262 last night and finds that it does more or less describes what I have in mind. However, I am not sure if

Re: Python site-packages and import

2005-04-29 Thread Maurice LING
an empty file but it needs to be there for python to be considered as a package. Alternatively, you can use 'from id3 import ID3' instead of 'import id3.ID3' Cheers Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: New Python website

2005-04-29 Thread Maurice LING
lpe wrote: Hi maurice thanks for your interest, that surely looks interesting (and promising) I had no experience with any of the packages you mentioned, but it may well be usefull. Please email me with more details of what you had in mind. Hi, I've just read PEP 262 last night and finds th

Re: New Python website

2005-04-28 Thread Maurice LING
the Vaults of Parnassus, where you must host files elsewhere)", suggesting that he is looking for a site whereby 3rd party modules can be hosted, rather than a site telling you where 3rd party modules are hosted. maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: New Python website

2005-04-28 Thread Maurice LING
ld installscript=sudo python setup.py install centipyde.py is the following: ===== """ Author: Maurice H.T. Ling <[EMAIL PROTECTED]> Copyright (c) 2005 Maurice H.T. Ling Date created : 28th April 2005 """ PKGINFOPA

Re: Python site-packages and import

2005-04-28 Thread Maurice LING
fair, it is past midnight, and I'm probably just being stupid. Would anybody care to point out where? :) Peter your site-packages directory must be seen in python. try import sys sys.path and see if your site-packages directory is listed? maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: Can .py be complied?

2005-04-28 Thread Maurice LING
ource, nothing can be done anyway even if you have the codes, licensing agreements and contracts usually forbids everything. If the codes are open source, you will get the codes anyway and do according to the limits of the licence. maurice -- http://mail.python.org/mailman/listinfo/python-list

bytecode non-backcompatibility

2005-04-28 Thread Maurice LING
Martin v. Löwis wrote: Maurice LING wrote: I've emailed to catelog-sig mailing list and is still waiting to hear something. Currently, I have no idea of the structure of PyPI. I hope I can hear from them soon and generate some starting points... Posting questions is not the only way to

Re: bytecode non-backcompatibility

2005-04-27 Thread Maurice LING
PI. I hope I can hear from them soon and generate some starting points... Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: bytecode non-backcompatibility

2005-04-27 Thread Maurice LING
money. I am not advocating close source in any sense and I believe the choice of open or close source distribution is individual's and corporate's rights. Cheers Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: bytecode non-backcompatibility

2005-04-27 Thread Maurice LING
Martin v. Löwis wrote: Maurice LING wrote: technicalities are wrong but situation remains unchanged. For C modules, it is very likely that new versions of Python will continue to break the ABI, by changing the layout of structures. The most straight-forward way to deal with it as a sysadmin or

Re: bytecode non-backcompatibility

2005-04-26 Thread Maurice LING
Mike Meyer wrote: Maurice LING <[EMAIL PROTECTED]> writes: The idea of having to release the program or library as source files does ring alarms in many executives in corporate world. Less freezing the modules (which renders it platform dependent) or using Jython (which is not possible

Re: bytecode non-backcompatibility

2005-04-26 Thread Maurice LING
it working, I think it will need 5-10x more time than I can put into it... Cheers maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: bytecode non-backcompatibility

2005-04-26 Thread Maurice LING
age maintenance system I've described.. Good. I agree that we need more along that line. I've posted my idea on catelog-sig mailing list. Hope it get picked up... Cheers Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: Python internal design

2005-04-26 Thread Maurice LING
pecification" and "python virtual machine specification", I am unable to find anything yet. Please tell me if you managed to find something useful. Cheers Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: Can .py be complied?

2005-04-26 Thread Maurice LING
elease the JAR files without needing to release your codes. Cheers Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: bytecode non-backcompatibility

2005-04-26 Thread Maurice LING
with .so files here). What I do have resources (time and energy) for is to work with the maintainers of PyPI to implement the package maintenance system I've described.. maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: bytecode non-backcompatibility

2005-04-26 Thread Maurice LING
Terry Reedy wrote: "Maurice LING" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Now I understand that Python bytecodes are only dealing with pure python source codes. Then stop blaming (machine-independent) CPython 'bytecodes' for any problems you hav

Re: bytecode non-backcompatibility

2005-04-26 Thread Maurice LING
if you're not on such a system, I know. The long-term solution is for PyPI to grow to include this functionality. I must say that I do not quite understand your system. Please enlighten me. Thanks and cheers Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: bytecode non-backcompatibility

2005-04-26 Thread Maurice LING
which may happen... I am not yet masochistic enough to take pleasures in this... I also hope some python developers are reading this thread as well.. Call this a desperate plea from some of us.. Cheers Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: bytecode non-backcompatibility

2005-04-25 Thread Maurice LING
des) be made stable, like Java bytecodes, which are pretty stable? Perhaps a better question will be, what techniques Java VM designers use that enables Java class files (and JAR files) to be stable and usable across versions that is lacking in Python? Thanks. Cheers Maurice -- http://mail.python.org/mailman/listinfo/python-list

bytecode non-backcompatibility

2005-04-24 Thread Maurice LING
ich can be quite a bit of work... I do hope this problem will be sorted out some day. Cheers Maurice -- http://mail.python.org/mailman/listinfo/python-list

Re: python LEX

2005-04-21 Thread Maurice LING
jozo wrote: I have to work on python lexical definition in Lex. I spent lots of my time to find regular expresions written for Lex of Python language but nothing. Can somebody help me? I nEED hELP Jython has a Python language lexer written using JavaCC. -- http://mail.python.org/mailman/listinfo

Re: Embedding & Extending Python &other scripting languages

2005-04-20 Thread Maurice LING
Hi Tommy, After reading what you've written, it is still very vague for me. Is it a program that reads a specification and outputs the corresponding codes in the langauge you want? Cheers Maurice Tommy Nordgren wrote: I'm interested in doing a rather ambitious project concernin

  1   2   >