Re: Open Source: you're doing it wrong - the Pyjamas hijack

2012-05-09 Thread anthony
. this of course has neither waned nor faltered. i encourage anyone willing to take the time to consult the archives, pyjamas' and elsewhere, as they are the only path to proper answers. this will impact the project in both known and untold ways, but we have a great number of minds willing to push beyond. -- C Anthony -- http://mail.python.org/mailman/listinfo/python-list

Re: Open Source: you're doing it wrong - the Pyjamas hijack

2012-05-14 Thread anthony
ble resolution, i am more than happy to transfer assets to the PSF, so we can simply absolve each other and get back to writing some damn code. however, such decisions will be made with the same care and consideration as those which brought us here ... i'm not in a hurry to witness the very encumbrances i worked hard -- and received much flak -- be reinstated. so far so good ... let's just continue working toward that goal, together. i am tight on time and resources, so this is be my last correspondence here ... best to everyone. -- C Anthony -- http://mail.python.org/mailman/listinfo/python-list

Re: else condition in list comprehension

2005-01-11 Thread Anthony
ed for an if/then/else expression in > Python. They're both pretty unreadable, IMHO. Why not just factor out the if/then/else function like this: .def plusMinusTwo(i): . if i%2 == 0: . return i-2 . else: . return i+2 . .z = [plusMinusTwo(i) for i in range(10)] Then you can a

Re: counting items

2005-01-12 Thread Anthony
x27;ll do what you want (not sure on names, though). 2. Write a function to do what you want. Some sort of recursive thing should be pretty easy to write. Of course it depends on how fast you need to go, but that should give you a good first approximation. Anthony -- --

Re: THE GREATEST NEWS EVER ! °º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°`°º·...·°` (new

2005-04-09 Thread Anthony
I thought 'The Greatest News Ever' might mean something serious like transfer of the classic Beatles albums to SACD. But no, it's just religious crap. Now that the Pope's dead, do you think we could declare christianity officially extinct? Please? -- http://mail.python.org/mailman/listinfo/python-

os.tilmes() problem

2006-05-29 Thread Anthony
i have a problem with the os.times() command, on different Python versions, i get different printout: Server1# python Python 2.3.4 (#1, Feb 2 2005, 11:44:13) [GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import tim

os.time()

2006-05-30 Thread Anthony
i have a problem with the os.times() command, on different Python versions, i get different printout: Server1# python Python 2.3.4 (#1, Feb 2 2005, 11:44:13) [GCC 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import tim

Re: python and os.system() failure

2005-05-02 Thread Anthony
Thanks for the tip on strace. I will look into it. I only have a tempfile object: tmp = tempfile.mkstemp(dir="/var/tmp/") I will try to explicitly call a close() or whatever the syntax is to finalize the object to deletion by garbage collection. Thanks, Kenny -- http://mail.python.org/mailma

Re: python and os.system() failure

2005-05-17 Thread Anthony
fected the running of the script. Thanks alot, I think this will help. -- Anthony -- http://mail.python.org/mailman/listinfo/python-list

Melbourne (Australia) Python User Group

2005-05-24 Thread Anthony
t would be interested, please let me know. If you want to forward this email on to other people or groups, feel free to do so. Thanks, Anthony -- - HyPEraCtiVE? HeY, WhO aRE YoU cALliNg HypERaCtIve?! [EMAIL PROTECTED] -

Re: PYTHONPATH on OS X

2007-10-10 Thread Anthony
thon2.5', '/usr/local/lib/ > python2.5/plat-darwin', '/usr/local/lib/python2.5/plat-mac', '/usr/ > local/lib/python2.5/plat-mac/lib-scriptpackages', '/usr/local/lib/ > python2.5/lib-tk', '/usr/local/lib/python2.5/lib-dynload', '/

Re: Inheritance question

2008-03-25 Thread Anthony
1 def getid(self): return self.id class FooSon(Foo): def __init__(self): Foo.__init__(self) self.id = 2 def getid(self): a = Foo().getid() b = self.id return '%d.%d' % (a,b) >>> FooSon().getid() '1.2' Bes

Re: Inheritance question

2008-03-25 Thread Anthony
t;> FooSon().getid() '1.2' Or change "self.id" in Foo to something else, e.g., "self.id_foo". Does that help? Anthony -- http://mail.python.org/mailman/listinfo/python-list

Data Model:

2009-04-12 Thread Anthony
I'm struggling on whether or not to implement GroupItem (below) with two separate models, or with one model that has a distinguishing key: Given: class ParentGroup: a group of values represented by class GroupItem class ChildGroup: a group of values represented by class GroupItem fore

Re: Data Model:

2009-04-12 Thread Anthony
On Apr 12, 7:46 pm, Aaron Watters wrote: > On Apr 12, 10:14 pm, Anthony wrote: > > > > > I'm struggling on whether or not to implement GroupItem (below) with > > two separate models, or with one model that has a distinguishing key: > > > Given: > >

Re: Data Model:

2009-04-12 Thread Anthony
On Apr 12, 8:10 pm, Aaron Brady wrote: > On Apr 12, 9:14 pm, Anthony wrote: > > > > > I'm struggling on whether or not to implement GroupItem (below) with > > two separate models, or with one model that has a distinguishing key: > > > Given: > >

Re: Data Model:

2009-04-13 Thread Anthony
On Apr 12, 9:36 pm, Aaron Brady wrote: > On Apr 12, 10:33 pm, Anthony wrote: > > > > > On Apr 12, 8:10 pm, Aaron Brady wrote: > > > > On Apr 12, 9:14 pm, Anthony wrote: > > > > > I'm struggling on whether or not to implement GroupItem (below) w

Re: Data Model:

2009-04-13 Thread Anthony
On Apr 13, 1:26 am, Peter Otten <__pete...@web.de> wrote: > Anthony wrote: > > On Apr 12, 7:46 pm, Aaron Watters wrote: > >> On Apr 12, 10:14 pm, Anthony wrote: > > >> > I'm struggling on whether or not to implement GroupItem (below) with > >>

Data Model - database load

2009-04-14 Thread Anthony
Hello, I'm making a statistics tracking application and was wondering how my chosen data model design would affect performance. I'm not sure if I'm breaking up my objects into too granular a level in the interests of flexibility. class ParentStats """Summary level groups of stats""" class C

round function error???

2008-07-18 Thread Anthony
Isn't this a mistake??? >>> round(3499.349439034,44) 3499.3494390340002 >>> round(_,2) 3499.34999 >>> round(_,1) 3499.40001 My Python 2.5.1 spat that out.. -- http://mail.python.org/mailman/listinfo/python-list

Autocompletion and Interactive Tables in a Python IDE

2008-07-23 Thread Anthony
Hi, I'm a FoxPro programmer, but I want to learn python before it's too late. I do a lot of statistical programming, so I import SPSS into python. In my opinion, the best features of Visual FoxPro 9.0 were: a) Intellisense (tells you what classes/methods are available and what variables go into a

Re: Autocompletion and Interactive Tables in a Python IDE

2008-07-24 Thread Anthony
capability to keep data open? -- Do any of these IDEs have this browse capability?? On Jul 24, 4:10 am, Aspersieman <[EMAIL PROTECTED]> wrote: > Anthony wrote: > > Hi, I'm a FoxPro programmer, but I want to learn python before it's > > too late.  I do a lot of st

Looking for pointers/suggestion - how to make a webbrowser with these restriction?

2012-09-26 Thread Anthony Kong
Hi, all, It is kind of a MacGyver question. I am just looking for some general suggestions/pointer. First let me first describe the development environment I am in: it is a locked down WinXP PC with limited development tools and libraries. At my disposal I have python 2.6 , webkit 5.33 dll, wx

Re: Looking for pointers/suggestion - how to make a webbrowser with these restriction?

2012-09-26 Thread Anthony Kong
Hi, Chris, Thanks for your reply. I really do not have any requirement. It is more a curiosity question (not work related). I'd like to find out how python can be used to 'glue' all these moving parts together. Performance and security are definitely not a concern as it is just a toy idea/proje

Compairing filenames in a list

2012-09-29 Thread Kevin Anthony
I have a list of filenames, and i need to find files with the same name, different extensions, and split that into tuples. does anyone have any suggestions on an easy way to do this that isn't O(n^2)? -- Thanks Kevin Anthony www.NoSideRacing.com Do you use Banshee? Download the Comm

__setitem__ without position

2012-10-11 Thread Kevin Anthony
I have a class that contains a list of items I can set items using __setitem__ but if i want to set the while list, i changes the variable from a myclass to a list. How can i accomblish this Example >>>C = myclass() >>>C[0] = 57 >>>type(C) myclass >>> C = [57,58,59,60] >>>type(C) list -- http://m

Re: __setitem__ without position

2012-10-11 Thread Kevin Anthony
I'm not supprised... and understand why it's happening. I'm asking how to get around it. Basically i'm asking how to override, if i can, the `=` On Thu, Oct 11, 2012 at 5:32 PM, Dave Angel wrote: > On 10/11/2012 04:48 PM, Kevin Anthony wrote: > > I have a class

list comprehension question

2012-10-16 Thread Kevin Anthony
if product else self.__matrix[m][p]* other.__matrix[p][n]) for p in range(0,self.col) for n in range(0,self.col)] for m in range(0,self.__row)] But i know that isn't correct, can someone nudge my in the right direction? -- Thanks Kevin Anthony

Re: list comprehension question

2012-10-16 Thread Kevin Anthony
Is it not true that list comprehension is much faster the the for loops? If it is not the correct way of doing this, i appoligize. Like i said, I'm learing list comprehension. Thanks Kevin On Oct 16, 2012 10:14 PM, "Dave Angel" wrote: > On 10/16/2012 09:54 PM, Kevin Antho

Command Line Progress Bar

2012-12-25 Thread Kevin Anthony
Hello, I'm writing a file processing script(Linux), and i would like to have a progress bar. But i would also like to be able to print messages. Is there a simple way of doing this without implementing something like ncurses? -- Thanks Kevin Anthony www.NoSideRacing.com Do you use Ba

Re: webbrowser.open always opens up Safari on Lion

2012-02-25 Thread Anthony Nguyen
If Safari is your default browser, Python will open the address in Safari. >From the Python docs: webbrowser.open(url[, new=0[, autoraise=True]]) Display url using the default browser. If new is 0, the url is opened in the same browser window if possible. If new is 1, a new browser window is ope

Question about argparse and namespace

2012-05-23 Thread Kevin Anthony
s. Is this a good idea? is there a better way of doing this? -- Thanks Kevin Anthony Do you use Banshee? Download the Community Extensions: http://banshee.fm/download/extensions/ -- http://mail.python.org/mailman/listinfo/python-list

New member intro and question

2011-06-17 Thread Anthony Papillion
m-pc-in-a-power-outlet-2011022/) which isn't too shabby but I wonder if it will work. Thanks! Anthony Papillion -- http://mail.python.org/mailman/listinfo/python-list

Re: New member intro and question

2011-06-19 Thread Anthony Papillion
Just wanted to thank you guys for taking the time to respond. Looks like my 'limited resources' aren't so limited after all! Cheers, Anthony -- http://mail.python.org/mailman/listinfo/python-list

Simple question about loading a .glade UI file

2011-06-21 Thread Anthony Papillion
ct("destroy", gtk.main_quit) def on_winMain_delete(self, widget, dummy): gtk.main_quit() if __name__ == "__main__": myGui = GMB() gtk.main() Is there any reason why I'd be getting this error from the code above? Both the UI file and the source code file are in the same directory. Thanks! Anthony -- http://mail.python.org/mailman/listinfo/python-list

Why are my signals being ignored?

2011-06-22 Thread Anthony Papillion
is never called. I've been following tutorials and this seems to be the proper way to wire signals yet mine simply don't work. Would anyone be so kind as to look over the following code and give me a bit of advice (or direction) as to what I might be doing wrong? Thanks! Anthony

Re: Wgy isn't there a good RAD Gui tool fo python

2011-07-10 Thread Anthony Papillion
ldn't learn it in a week. It's very usable, pretty easy to learn, and doesn't cost you a penny. If you've not already, I recommend you check out Glade. I think it's probably what you're looking for. Anthony On 7/10/11, Ivan Kljaic wrote: > Ok Guys. I know that most

How to get or set the text of a textfield?

2011-07-10 Thread Anthony Papillion
Hi Everyone, So I've built a UI with Glade and have loaded it using the standard Python code. In my UI, I have a textfield called txtUsername. How do I get and set the text in this field from my Python code? Thanks! Anthony -- Anthony Papillion Advanced Data Concepts Get real about

Re: How to get or set the text of a textfield? - SOLVED

2011-07-10 Thread Anthony Papillion
problems. I'm excited. Thanks for the direction! Anthony -- http://mail.python.org/mailman/listinfo/python-list

OK, I lied, I do have another question...

2011-07-10 Thread Anthony Papillion
Hi Everyone, So I've used Glade to build a simple UI and I'm loading it with gtkBuilder. The UI loads fine but, for some reason, none of my signals are being connected. For example, in Glade, I said when the button called btnExit was clicked, execute the btnExit_clicked method. Then, in my App() c

An interesting beginner question: why we need colon at all in the python language?

2011-07-11 Thread Anthony Kong
Hi, all, Lately I am giving some presentations to my colleagues about the python language. A new internal project is coming up which will require the use of python. One of my colleague asked an interesting: *If Python use indentation to denote scope, why it still needs semi-colon at the end of f

Re: An interesting beginner question: why we need colon at all in the python language?

2011-07-11 Thread Anthony Kong
Awesome! Thanks for blog post link Cheers On Tue, Jul 12, 2011 at 12:16 AM, Thomas Jollans wrote: > On 07/11/2011 03:51 PM, Anthony Kong wrote: > > Hi, all, > > > > Lately I am giving some presentations to my colleagues about the python > > language. A new internal

My take on 'Python Productivity tip for Java Programmer'. Could you give me more feedback?

2011-07-11 Thread Anthony Kong
Hi, all, Lately I am giving some presentations to my colleagues about the python language. A new internal project is coming up which will require the use of python. One of the goals of the presentations, as told by the 'sponsor' of the presentation, is to help the existing Java/Excel VBA programm

Re: An interesting beginner question: why we need colon at all in the python language?

2011-07-11 Thread Anthony Kong
8163 02:59 PM, Anthony Kong wrote: > >> Hi, all, >> >> Lately I am giving some presentations to my colleagues about the python >> language. A new internal project is coming up which will require the use >> of >> python. >> >> One of my colleague

Property setter and lambda question

2011-07-11 Thread Anthony Kong
Hi, all, This question is in the same context of my two earlier questions. This question was raised by some python beginners, and I would like to check with the list to ensure I provide a correct answer. Here is a code snippet I used to demonstrate the keyword *property*: class A(object):

Re: My take on 'Python Productivity tip for Java Programmer'. Could you give me more feedback?

2011-07-11 Thread Anthony Kong
t; On 07/11/2011 05:07 PM, Anthony Kong wrote: > > Hi, all, > > > > Lately I am giving some presentations to my colleagues about the python > > language. A new internal project is coming up which will require the use > > of python. > > > > One of the goals

Re: Property setter and lambda question

2011-07-11 Thread Anthony Kong
as Jollans wrote: > On 07/11/2011 05:54 PM, Anthony Kong wrote: > > Hi, all, > > > > This question is in the same context of my two earlier questions. This > > question was raised by some python beginners, and I would like to check > > with the list to ensure I provi

Re: Property setter and lambda question

2011-07-11 Thread Anthony Kong
Good point! Need to get my terminology right. Thanks On Tue, Jul 12, 2011 at 2:43 AM, Ian Kelly wrote: > On Mon, Jul 11, 2011 at 9:54 AM, Anthony Kong > wrote: > > Hi, all, > > This question is in the same context of my two earlier questions. This > > question w

Re: Property setter and lambda question

2011-07-11 Thread Anthony Kong
> > PS: are you sure the lambda self: self.__foo() trick works, with > subclasses or otherwise? I haven't tested it, and I'm not saying it > doesn't, but I have a feeling double-underscore name mangling might be a > problem somewhere down the line? > > Awesome, Thomas. The trick only works if there

Re: Property setter and lambda question

2011-07-11 Thread Anthony Kong
On Tue, Jul 12, 2011 at 3:41 AM, Ian Kelly wrote: > On Mon, Jul 11, 2011 at 11:21 AM, Anthony Kong > wrote: > > Awesome, Thomas. The trick only works if there is only one leading > > underscore in the method names. > > The following example works as I expected for the

Re: An interesting beginner question: why we need colon at all in the python language?

2011-07-13 Thread Anthony Kong
Thanks, mate! I was writing that up really late at night. Somehow I changed term to semi-colon half way through, Cheers On Wed, Jul 13, 2011 at 5:36 PM, Thorsten Kampe wrote: > * Dave Angel (Mon, 11 Jul 2011 10:36:48 -0400) > > On 01/-10/-28163 02:59 PM, Anthony Kong wrote: > >

Functional style programming in python: what will you talk about if you have an hour on this topic?

2011-07-13 Thread Anthony Kong
Hi, all, If you have read my previous posts to the group, you probably have some idea why I asked this question. I am giving a few presentations on python to my colleagues who are mainly java developers and starting to pick up python at work. So I have picked this topic for one of my presentati

Functional style programming in python: what will you talk about if you have an hour on this topic?

2011-07-13 Thread Anthony Kong
(My post did not appear in the mailing list, so this is my second try. Apology if it ends up posted twice) Hi, all, If you have read my previous posts to the group, you probably have some idea why I asked this question. I am giving a few presentations on python to my colleagues who are mainly

Re: Functional style programming in python: what will you talk about if you have an hour on this topic?

2011-07-13 Thread Anthony Kong
Hi, James, > > You might also want to cover gotchas like Python's references. > Not sure what it means in the context of functional programming. If you can give some code to demonstrate, it will be great. Cheers -- Tony Kong *blog:* www.ahwkong.com Don’t EVER make the mistake that you can de

Re: What is the difference between PyPy and Python? are there lot of differences?

2011-07-13 Thread Anthony Kong
One of the main difference is that pypy supports only R-Python, which stands for 'Restricted Python". It is a subset of C-python language. See here for more info: http://codespeak.net/pypy/dist/pypy/doc/coding-guide.html#rpython-definition-not Cheers On Thu, Jul 14, 2011 at 12:06 AM, ArrC wrot

Re: What is the difference between PyPy and Python? are there lot of differences?

2011-07-13 Thread Anthony Kong
I stand corrected. Thanks Ian Cheers On Thu, Jul 14, 2011 at 1:18 AM, Ian Kelly wrote: > On Wed, Jul 13, 2011 at 8:19 AM, Anthony Kong > wrote: > > One of the main difference is that pypy supports only R-Python, which > stands > > for 'Restricted Python".

Re: Aw: Re: Aw: Functional style programming in python: what will you talk about if you have an hour on this topic?

2011-07-18 Thread Anthony Kong
Thanks for all the great suggestion. First of all, Carl is right that it does not take much to impress a java programmer about the expressiveness of functional programming. Covered map, reduce and filter as Rainer suggested. Emphasized the advantages of functional style as summarised by Steve

Question about compiling python 30 from subversion repository on OSX

2011-04-23 Thread Anthony Kong
Hi, all, I have checked out source code from this url http://svn.python.org/projects/python/branches/py3k, then run ./configure --with-universal-archs=64-bit make First of all, I got this message: --- Modules/Setup.dist is newer than Modules/Setup;

pip does not find after Python 3.10.4 installed

2022-05-26 Thread ANTHONY CHU
The Python 3.10.4 (64-bit) and Python Launcher had been (standard) installed successfully. But I could not find pip anywhere. I uninstalled and re-installed a couple of times, it is still the problem. I checked the installed directory C:\Users\x\AppData\Local\Programs\Python\Python310\Tool

Re: pip does not find after Python 3.10.4 installed

2022-05-26 Thread ANTHONY CHU
I found that RAV Antivirus complains some processes even Python 3.10.4 installed successfully. Remove RAV and re-install Python; then everything goes OK. Thanks, On 05/26/2022 8:24 AM ANTHONY CHU wrote: > > > The Python 3.10.4 (64-bit) and Python Launcher had been

i cant seem to figure out the error

2016-04-03 Thread anthony uwaifo
hi everyone, please i need help with this assignment. I have written a code and i still get an error. please help me debug my code. instructions: - Create a constructor that takes in an integer and assigns this to a `balance` property. - Create a method called `deposit` that takes in ca

Why do these statements evaluate the way they do?

2016-05-06 Thread Anthony Papillion
c. They say the reason is because the return is based on identity and not value but, to me, these statements are fairly equal. Can someone clue me in? Anthony -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- https://mail.python.org/mailman/listinfo/python-list

3D surface plot

2019-03-17 Thread Keith Anthony
I should know this ...! Anyway, I have a list of 36 tuples, each with x, y, z values I want to create a surface plot ... Need help putting data into right format for matplot3D ... This is a gmail account used by Keith D. Anthony On Sat, Mar 16, 2019 at 12:03 PM wrote: > Send Python-l

This is the email address I Believe I should email for support.

2019-12-18 Thread Anthony Graziano
When I try to uninstall python 3.8.0 to reinstall, it says that the program is currsntly running.   Please help   Sent from [1]Mail for Windows 10   References Visible links 1. https://go.microsoft.com/fwlink/?LinkId=550986 -- https://mail.python.org/mailman/listi

How to start using python

2020-11-12 Thread Anthony Steventon
I am new to Python and have downloaded the software onto my pc. There is no shortcut on my desktop. How the heck do I access it to start learning how to program with it? Anthony Steventon. -- This email has been checked for viruses by AVG. https://www.avg.com -- https://mail.python.org

Re: How to start using python

2020-11-13 Thread Anthony Steventon
message telling me the entry is undefined. Anthony Steventon. From: Bob Gailer Sent: Thursday, November 12, 2020 8:58 PM To: Anthony Steventon Cc: python list Subject: Re: How to start using python On Nov 12, 2020 10:41 PM, "Anthony Steventon" wrote: > > I am new to Python and

RELEASED Python 2.4.2 (final)

2005-09-28 Thread Anthony Baxter
g/2.4/highlights.html Enjoy the new release, Anthony Anthony Baxter [EMAIL PROTECTED] Python Release Manager (on behalf of the entire python-dev team) pgpwfrERwGZBK.pgp Description: PGP signature -- http://mail.python.org/mailman/listinfo/python-list

Problem processing Chinese

2005-10-13 Thread Anthony Liu
I believe that topic related to Chinese processing was discussed before. I could not dig out the info I want from the mail list archive. My Python script reads some Chinese text and then split a line delimited by white spaces. I got lists like ['\xbc\xc7\xd5\xdf', '\xd0\xbb\xbd\xf0\xbb\xa2', '\

Problem splitting a string

2005-10-14 Thread Anthony Liu
I have this simple string: mystr = 'this_NP is_VL funny_JJ' I want to split it and give me a list as ['this', 'NP', 'is', 'VL', 'funny', 'JJ'] 1. I tried mystr.split('_| '), but this gave me: ['this_NP is_VL funny_JJ'] It is not splitted at all. 2. I tried mystr.split('_'), and this gave me:

An interesting question about "print '\a'"

2005-10-23 Thread Anthony Liu
We know that if we do print '\a' the bell will sound. Now, why do I hear the sound on my local machine when I run a python script on a remote host? I understand if I hear it when I do print '\a' on my local machine. Does the command get sent back to the client machine? Thanks. ___

Web presentation layer/framework for python - recommendations?

2005-10-26 Thread Anthony . Hornby
it of perl and java stuff a few years back. Just do perl/python/shell scripting these days. All comments welcome :-) Regards Anthony. Mr Anthony Hornby Library Systems and Technology Coordinator Charles Darwin University (CRICOS 300K) Phone: +61 8 8946 6011 Email: [EMAIL PROTECTED] (remove th

Is mod_python 3.1 good for commercial blogging/CMS?

2005-11-07 Thread Anthony L.
relieve myself of some stress and go with that combo? I'd appreciate some practical advise on this. I am funding this myself on a small budget with no hard deadline, so it is critical to me that I choose a language that will minimize my costs. Are my assumptions correct, or am I fal

Re: Is mod_python 3.1 good for commercial blogging/CMS?

2005-11-08 Thread Anthony L.
In article <[EMAIL PROTECTED]>, "Ben Sizer" <[EMAIL PROTECTED]> wrote: > Anthony L. wrote: > > 1. I want to use CGI through Publisher handler, instead of CGI handler > > or PSP. Despite the speed increase mod_python gives me, there is a > > proble

Re: Is mod_python 3.1 good for commercial blogging/CMS?

2005-11-08 Thread Anthony L.
. > > Francois Thanks Francois. I am going to stick with Python for this. As it turns out, I'll have the freedom to use the software configuration I want, so now I don't have to worry about committing to Python, only discover that my Python code is useable only as a prototype for PHP or Perl. :) Anthony -- http://mail.python.org/mailman/listinfo/python-list

Re: Is mod_python 3.1 good for commercial blogging/CMS?

2005-11-08 Thread Anthony L.
erhaps editing the HTML markup in my Python code using an IDE like Dreamweaver and having a difficult time. I agree, editing an HTML doc in a WYSIWYG environment would be easier than me fishing through my req.write() calls and my strings to find my markup - which is what I am doing at the moment. Anthony -- http://mail.python.org/mailman/listinfo/python-list

How to enable bash mode at the interative mode?

2005-11-27 Thread Anthony Liu
That is, at the Python interactive mode, if I hit the upper arrow key, it'll bring up the last line of code. At http://groups.google.com/group/comp.lang.python/browse_thread/thread/fb8c2fd9eed0d/736fac8c33e84d0c?lnk=st&q=python+%22upper+arrow%22&rnum=2&hl=en#736fac8c33e84d0c , it seems that Michae

Re: How to enable bash mode at the interative mode?

2005-11-27 Thread Anthony Liu
t know how to install the readline module. I tried what was suggested from the newsgroup, but got an error at make: make: *** [Modules/readline.o] Error 1 Thanks --- Carl Friedrich Bolz <[EMAIL PROTECTED]> wrote: > Anthony Liu wrote: > > That is, at the Python interactive mode,

Problem with the maxent package

2005-11-29 Thread Anthony Liu
First of all, thank all of you who guided me through the readline library for enabling bash-like python interpreter. This has been taken care of nicely. I am trying to use the maxent package written by Zhang Le from here: http://homepages.inf.ed.ac.uk/s0450736/maxent_toolkit.html#download The b

One module cannot be found by the interpreter

2005-11-30 Thread Anthony Liu
I downloaded and built the python/c++ maxent package ( http://homepages.inf.ed.ac.uk/s0450736/maxent_toolkit.html ). I don't know what happened, the interpreter cannot find the cmaxent module, whereas cmaxent.py is right under the current directory. >>> from maxent import * cmaxent module not fo

RELEASED Python 2.3.5, release candidate 1

2005-01-26 Thread Anthony Baxter
3 page, at http://www.python.org/2.3/highlights.html Enjoy the new release, Anthony Anthony Baxter [EMAIL PROTECTED] Python Release Manager (on behalf of the entire python-dev team) pgpfPcU7iqsZR.pgp Description: PGP signature -- http://mail.python.o

Re: What is your favorite Python web framework?

2005-07-22 Thread Anthony Tarlano
You may want to check out Quixote http://www.mems-exchange.org/software/quixote/ A. -- http://mail.python.org/mailman/listinfo/python-list

Re: Strange email.Parser error?

2005-08-18 Thread Anthony Botrel
ember of fp. Anthony B. On 8/18/05, Andrey Smirnov <[EMAIL PROTECTED]> wrote: > I am getting the following traceback after upgrading my app to Python > 2.4.1. It's telling me that there is an error in Parser.py. It tells > me that 'fp.read(8192)' is given 2 arguments, bu

RELEASED Python 2.4.2, release candidate 1

2005-09-22 Thread Anthony Baxter
available from the Python 2.4 page, at http://www.python.org/2.4/highlights.html Enjoy the new release, Anthony Anthony Baxter [EMAIL PROTECTED] Python Release Manager (on behalf of the entire python-dev team) -- http://mail.python.org/mailma

RELEASED Python 2.3.5, final

2005-02-08 Thread Anthony Baxter
major Python release (2.3) are available from the Python 2.3 page, at http://www.python.org/2.3/highlights.html Enjoy the new release, Anthony Anthony Baxter [EMAIL PROTECTED] Python Release Manager (on behalf of the entire python-dev

Which module is "set " in?

2005-02-25 Thread Anthony Liu
I want to use the set function like mylist = ['a', 'b', 'b', 'd', 'e', 'a'] myset = set (mylist) But I don't know what to import, I tried sys, sets, they don't work. What's the easy way to find out the module that contains a particular function? __

Re: Which module is "set " in?

2005-02-25 Thread Anthony Liu
Thanks a lot, mine is Python 2.3, and from sets import Set as set works great! --- Steven Bethard <[EMAIL PROTECTED]> wrote: > Anthony Liu wrote: > > I want to use the set function like > > > > mylist = ['a', 'b', 'b', &#

Is it possible to pass a parameter by reference?

2005-02-26 Thread Anthony Liu
I defined two functions, f1 and f2. f1 modifies the value of a variable called apple. I want to pass the modified value of apple to f2. How can I do this? I got stuck. __ Do you Yahoo!? Yahoo! Mail - You care about security. So do

Is it possible to specify the size of list at construction?

2005-03-01 Thread Anthony Liu
I cannot figure out how to specify a list of a particular size. For example, I want to construct a list of size 10, how do I do this? __ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail -

Re: Is it possible to specify the size of list at construction?

2005-03-01 Thread Anthony Liu
t;[EMAIL PROTECTED]> wrote: > Anthony Liu wrote: > > I cannot figure out how to specify a list of a > > particular size. > > > > For example, I want to construct a list of size > 10, > > how do I do this? > > > A list does not have a fixed size (as

convert a list to a string?

2005-03-03 Thread Anthony Liu
Suppose I have a list myList = ["this", "is", "a", "sample", "list"] If I don't want to iterate through it and concatenate the list elements, how do I easily convert it to a string like "this is a sample list" str(myList) will only give you things like "["this", "is", "a", "sample", "list"]"

RE: convert a list to a string?

2005-03-03 Thread Anthony Liu
Oh, yes, that's a cool function! I did that before but have forgotten. Thanks a lot! --- Tony Meyer <[EMAIL PROTECTED]> wrote: > > Suppose I have a list > > > > myList = ["this", "is", "a", "sample", "list"] > > > > If I don't want to iterate through it and > concatenate > > the list elements

Re: Equality operator

2005-03-05 Thread Anthony Boyd
italy wrote: > Why doesn't this statement execute in Python: > > 1 == not 0 > > I get a syntax error, but I don't know why. > > Thanks, > Adam Roan Of course, you would normally want to use != to see if something is not equal to something else. 1 != 0 True -- http://mail.python.org/mailman/lis

RELEASED Python 2.4.1, release candidate 1

2005-03-10 Thread Anthony Baxter
n 2.4 page, at http://www.python.org/2.4/highlights.html Enjoy the new release, Anthony Anthony Baxter [EMAIL PROTECTED] Python Release Manager (on behalf of the entire python-dev team) pgpbzXOjmodRq.pgp Description: PGP signature -- http://mail.

RELEASED Python 2.4.1, release candidate 2

2005-03-17 Thread Anthony Baxter
idate have been fixed in this version. Highlights of the previous major Python release (2.4) are available from the Python 2.4 page, at http://www.python.org/2.4/highlights.html Enjoy the new release, Anthony Anthony Baxter [EMAIL PROTECTED] P

RELEASED Python 2.4 (final)

2004-11-30 Thread Anthony Baxter
ble from the 2.4 web page. http://www.python.org/2.4/ Please log any problems you have with this release in the SourceForge bug tracker (noting that you're using Python 2.4): http://sourceforge.net/bugs/?group_id=5470 Enjoy the new (stable!) release, Anthony Anthony Baxter [EMAIL

Re: asynchat and threading

2004-11-30 Thread Anthony Baxter
On Mon, 29 Nov 2004 23:24:54 -0500, Caleb Hattingh <[EMAIL PROTECTED]> wrote: > I heartily support something like this, but alas I have not the time to > help out with it. I like the Enthought python distribution because it > installs several packages in one shot. A pity there isn't a similar thi

Re: RELEASED Python 2.4 (final)

2004-11-30 Thread Anthony Baxter
On Tue, 30 Nov 2004 08:05:55 -0500, Dave Merrill <[EMAIL PROTECTED]> wrote: > Newb question: Is it possible/recommended to have multiple versions of > Python installed simultaneously? Earlier, I installed 2.4rc1, and a number > of things in my 2.3.3 install stopped working. Are there known techniq

Re: RELEASED Python 2.4 (final)

2004-11-30 Thread Anthony Baxter
n installs? SPE and wxWindows > both live in site-packages, which I would have thought would make them > Python-version specific. Beats me. You could try running SPE from a command line and seeing what errors it spits out - you're probably going to need to talk to whoever packaged up SPE.

Re: RELEASED Python 2.4 (final)

2004-12-01 Thread Anthony Baxter
On 30 Nov 2004 12:09:37 -0800, Chang LI <[EMAIL PROTECTED]> wrote:. > > On behalf of the Python development team and the Python community, I'm > > happy to announce the release of Python 2.4. > > > > Is there Windows 64-bit edition available? If you went to the 2.4 page, you'd see that there is i

cx_Freeze 3.0.1

2004-12-03 Thread Anthony Tuininga
. Thanks to Roger Binns for pointing this out. -- Anthony Tuininga [EMAIL PROTECTED] Computronix Distinctive Software. Real People. Suite 200, 10216 - 124 Street NW Edmonton, AB, Canada T5N 4A3 Phone: (780) 454-3700 Fax:(780) 454-3838 http://www.computronix.com -- http://mail.python.org/m

  1   2   3   4   >