Re: Ranting about the state of Python IDEs for Windows

2005-01-11 Thread Nick Vargish
AkioIto [EMAIL PROTECTED] writes: Look at http://www.pspad.com/en/index.html. Thanks for the tip, looks perfect for the flash memory toolkit, since it can just run from the directory it was unpacked into. Nick -- # sigmask || 0.2 || 20030107 || public domain || feed this to a

Re: Help With Python

2005-01-26 Thread Nick Vargish
Here's my Monty Pythonic answer: ## cut here class Viking(): def __init__(): pass def order(): return 'Spam' # this is one viking making one order repeated 511 times. if you want # 511 vikings making seperate orders, you'll have to write a loop. v = Viking() orders = [

Re: variable declaration

2005-02-01 Thread Nick Vargish
[EMAIL PROTECTED] (Aahz) writes: It's kind of like having a guy who juggles chainsaws wearing body armor arguing with a guy who juggles rubber chickens wearing a T-shirt about who's in more danger. --Roy Smith, c.l.py, 2004.05.23 If it's Nethack, the guy in the T-shirt is in more danger. A

Re: Is Python as capable as Perl for sysadmin work?

2005-02-08 Thread Nick Vargish
John M. Gabriele [EMAIL PROTECTED] writes: At some point during some dingy job in the back boiler room of Unix, would you find yourself saying, geez, I'd wish I started this with Perl -- Python just isn't cutting it. ? Sometimes I have to write a quick script in Perl because Python isn't

Re: Considering python - have a few questions.

2005-02-14 Thread Nick Vargish
Grumman [EMAIL PROTECTED] writes: If running on a Mac really is a goal, ditch Access, its windows only. You'd want to look into MySQL, PostgreSQl or some such for inter-platform use. Depending on how large the dataset is likely to get, SQLite may be a good choice for the data-handling

Re: Why doesn't join() call str() on its arguments?

2005-02-16 Thread Nick Vargish
Leo Breebaart [EMAIL PROTECTED] writes: That suggests to me an obvious default of the kind that exists elsewhere in Python as well. I feel pretty much the opposite... If a non-string-type has managed to get into my list-of-strings, then something has gone wrong and I would like to know about

Re: Why doesn't join() call str() on its arguments?

2005-02-17 Thread Nick Vargish
news.sydney.pipenetworks.com [EMAIL PROTECTED] writes: Really ? Then why are you using python. Try import this at a Python prompt. I didn't invent Explicit is better than implicit. Python or most dynamic languages are are so great because of their common sense towards the implicit. Python

Re: [EVALUATION] - E02 - ULTIMATE RECIPE TO RESOLVE ALL ISSUES

2005-02-17 Thread Nick Vargish
Ilias Lazaridis [EMAIL PROTECTED] writes: This thread proofs simply the inability of this community [1] to focus on a simple essence. Many communities extend a sort of provisional membership to new arrivals, and grant newcomers the same respect and courtesy that established members recieve. I

Re: debian python2.4

2004-12-02 Thread Nick Vargish
km [EMAIL PROTECTED] writes: is there a debian binary of python2.4 ? root# apt-get update root# apt-cache search python2.4 idle-python2.4 - An IDE for Python (v2.4) using Tkinter python2.4 - An interactive high-level object-oriented language (version 2.4) python2.4-dev - Header files and a

Re: Python mascot proposal

2004-12-17 Thread Nick Vargish
EP [EMAIL PROTECTED] writes: (what is the mascot for C++?) I can't seem to find a goatse link... (But I didn't try very hard.) Nick -- # sigmask || 0.2 || 20030107 || public domain || feed this to a python print reduce(lambda x,y:x+chr(ord(y)-1),'

Re: What is on-topic for the python list [was Re: BASIC vs Python]

2004-12-21 Thread Nick Vargish
Doug Holton [EMAIL PROTECTED] writes: If you can't accept free speech and different perspectives, you're going to be disappointed. But please do not react by trying to intimidate and troll others here. Weren't you the one telling the rest of us what's appropriate for this group? Maybe you

Re: Developing Commercial Applications in Python

2005-01-06 Thread Nick Vargish
[EMAIL PROTECTED] writes: Can somebody there to point me any good commercial applications developed using python ? Python is used in several games, including Temple of Elemental Evil and the forthcoming Civilization 4. Humungous Games, which makes software for children, is also using Python.

Re: Python Operating System???

2005-01-06 Thread Nick Vargish
Arich Chanachai [EMAIL PROTECTED] writes: He should just build around a linux core or use OS kit (if he is serious/determined). There's Ubuntu Linux, a Debian-based distro with commercial backing and a regular release schedule. One of the neat things about Ubuntu is that Python use is

Replacing an XML element?

2005-09-20 Thread Nick Vargish
I've been trying to figure out how to do something that seems relatively simple, but it's just not coming together for me. I'm hoping someone will deign to give me a little insight here. The problem: We have XML documents that use a custom table format that was designed primarily for typesetting

Re: Replacing an XML element?

2005-09-20 Thread Nick Vargish
Max Erickson [EMAIL PROTECTED] writes: table.parentNode.replaceChild(newtable, table) I knew it had to be something simple (but not as simple as I am, apparently :^). Thanks much, Max, you've saved the rest of my day. Nick -- #includestdio.h/* sigmask (sig.c) 20041028 PUBLIC DOMAIN */

Re: Python analog of Ruby on Rails?

2005-06-01 Thread Nick Vargish
bruno modulix [EMAIL PROTECTED] writes: Err... Looks like I've seen this before, but where ??? Don't know, but it looks sort of familiar... Nick -- # sigmask (lambda deprecation version) 20041028 || feed this to a python print ''.join([chr(ord(x)-1) for x in

Re: Seeking IDE

2005-07-08 Thread Nick Vargish
with a monolithic IDE. Nick -- Nick Vargish :: http://nick.vargish.org -- http://mail.python.org/mailman/listinfo/python-list

Re: Python scripts wont run - HELP

2005-07-18 Thread Nick Vargish
windozbloz [EMAIL PROTECTED] writes: It now works from the command line like you said. Shouldn't I also be able to 'click' an icon that has been set to executable and launch the whole process that way? You'll need to put an interpreter line at the beginning of your script, as other posters

Re: Why doesn't join() call str() on its arguments?

2005-02-17 Thread Nick Vargish
news.sydney.pipenetworks.com [EMAIL PROTECTED] writes: I always wished computer science was more engineering then philosophy. That way there'd always be an obvious answer. You don't have a lot of experience with philosophers, do you? Most of them are quite willing to go on at great length

Re: [OT]: Re: Why doesn't join() call str() on its arguments?

2005-02-18 Thread Nick Vargish
news.sydney.pipenetworks.com [EMAIL PROTECTED] writes: I'm sure theres got to be a few copy cats in those 12 though. Those that don't come up with original answers alter the existing ones a bit and call it their own. Does that mean you just haven't had time to finish ? or you have been

Re: - E02 - Support for MinGW Open Source Compiler

2005-02-20 Thread Nick Vargish
BrainDead [EMAIL PROTECTED] writes: I believe that you are wasting your time. Looking at your email address, this may well be relevant. [ 4-line URL snipped ] Thanks for the historical reference. Please consider a visit to tinyurl.com before posting a monster like that... :^) Nick -- #

Re: [EVALUATION] - E02 - Support for MinGW Open Source Compiler

2005-02-20 Thread Nick Vargish
Ilias Lazaridis [EMAIL PROTECTED] writes: Now it's really time to close this thread. I suspect this will fall of deaf ears, but I have to mention that you do not get to close threads on Usenet. You can excuse yourself from this one and stop replying to comments, but you don't get to

Re: - E02 - Support for MinGW Open Source Compiler

2005-02-21 Thread Nick Vargish
Grant Edwards [EMAIL PROTECTED] writes: I've never understood the problem with long URLs. Many newsreaders let you click on them. If not, you just cut/paste it into a browser (with a shellscript a couple lines long, you can start firefox with the URL on the X clipboard with a single

Re: [EVALUATION] - E02 - Support for MinGW Open Source Compiler

2005-02-23 Thread Nick Vargish
Ilias Lazaridis [EMAIL PROTECTED] writes: Guido is the one, who should care by time about the status of the python-community. That one crashed my parser. Thank's for every bit of contribution, which has made this thread an worthfull insight into the python-community. To really get a sense

Re: How to write a ping client

2005-02-24 Thread Nick Vargish
Harlin Seritt [EMAIL PROTECTED] writes: ? #!/bin/sh ping $1 Enjoy, Nick -- # sigmask || 0.2 || 20030107 || public domain || feed this to a python print reduce(lambda x,y:x+chr(ord(y)-1),' Ojdl!Wbshjti!=obwAcboefstobudi/psh?') -- http://mail.python.org/mailman/listinfo/python-list

Re: Question about the Python Cookbook: How much of this is new?

2005-04-06 Thread Nick Vargish
Robert Kern [EMAIL PROTECTED] writes: So yeah, buy it. Seconded. My copy arrived from ORA yesterday and I'm still giddy with delight. Even if you have the first edition, the second includes a lot of recipes that leverage or demonstrate the new features in 2.3 and 2.4. Nick -- # sigmask

Re: How to Convert a makefile to Python Script

2005-04-20 Thread Nick Vargish
[EMAIL PROTECTED] writes: I am working on a Problem to convert makefile in to a python script. Are there any Modules? Please try to comment. How about this (untested): cut here import subprocess print (import os) make = subprocess.Popen([make, -n],stdout=subprocess.PIPE)

Re: Whats the best Python Book for me

2005-05-03 Thread Nick Vargish
I would recommend starting with the official tutorial to get a feel for the nuts-and-bolts syntax of Python. Once you've worked your way through that (probably not more than an afternoon), pick up a copy of the Python Cookbook. Since you're an experienced programmer, I think the Cookbook will help

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

2005-05-05 Thread Nick Vargish
Mage [EMAIL PROTECTED] writes: - identing with tabs Indenting with tabs is pretty much frowned upon in Python, as Guido relates in PEP 8: http://www.python.org/peps/pep-0008.html I guess it doesn't matter much if you are the only person who will ever touch your code, and you never, ever,