Re: how to write thread-safe module ? and pytz

2005-08-13 Thread Stuart Bishop
nicolas_riesch wrote: > Does someone know if the module pytz > (http://sourceforge.net/projects/pytz/) is thread-safe ? > I have not seen it explicitely stated, and just wanted to be sure, as I > want to use it. pytz is thread safe. > That's because in the file pytz/tzinfo.py, I see global variab

Testing

2005-08-13 Thread Rudi Grinberg
nothing to see -- http://mail.python.org/mailman/listinfo/python-list

py2exe: no exe produced?

2005-08-13 Thread guoxiaotian
I tried py2exe the latest version with python 2.4 on windows. the setup script looks like this: ___ # setup.py from distutils.core import setup import py2exe setup(name="Hello", scripts=["f:\python\hello.py"],)

Re: Standalone applications ?

2005-08-13 Thread Madhusudan Singh
Paolo Alexis Falcone wrote: > On Sat, 13 Aug 2005 23:29:27 -0400, Madhusudan Singh wrote: > >> Hi >> >> I just finished developing an application using Qt Designer in Python >> that uses pyqwt, gpib, etc. How does one create standalone executables >> for applications such as these ? > > General

Re: Standalone applications ?

2005-08-13 Thread Paolo Alexis Falcone
On Sat, 13 Aug 2005 23:29:27 -0400, Madhusudan Singh wrote: > Hi > > I just finished developing an application using Qt Designer in Python that > uses pyqwt, gpib, etc. How does one create standalone executables for > applications such as these ? Generally, you can't, as Python is an interpreted

Standalone applications ?

2005-08-13 Thread Madhusudan Singh
Hi I just finished developing an application using Qt Designer in Python that uses pyqwt, gpib, etc. How does one create standalone executables for applications such as these ? Thanks. -- http://mail.python.org/mailman/listinfo/python-list

Re: Bug on Python2.3.4 [FreeBSD]?

2005-08-13 Thread Terry Reedy
> I am now enlightened as to the usefulness of 'r+', as it starts the > read fp at the begining of the file. Both 'r+' and 'w+' let you write anywhere, whereas 'a+' is supposed to make all writes EOF appends. 'r+' (and 'r') requires an existing file while 'w+' (like 'w') will open a new file or

Re: Spaces and tabs again

2005-08-13 Thread John Machin
Dan Sommers wrote: > On Sun, 14 Aug 2005 01:04:04 GMT, > Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > > >>On 13 Aug 2005 13:18:21 -0700, [EMAIL PROTECTED] declaimed the following >>in comp.lang.python: > > >>>Are you kidding? You are going to MANDATE spaces? >>> >> >> After the backlash,

Re: socket setdefaulttimeout

2005-08-13 Thread John Machin
Dennis Lee Bieber wrote: > > I've got the opposite problem -- I'm on a dial-up (well, for a few > more weeks -- until the DSL gear arrives). For some reason DNS lookups > seem to be low priority and, if I'm downloading messages in Agent (from > three servers yet) and email (Eudora), Firefox

Re: Spaces and tabs again

2005-08-13 Thread Dan Sommers
On Sun, 14 Aug 2005 01:04:04 GMT, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On 13 Aug 2005 13:18:21 -0700, [EMAIL PROTECTED] declaimed the following > in comp.lang.python: >> >> Are you kidding? You are going to MANDATE spaces? >> > After the backlash, Python 4.0 will ban leading spa

Changing data of xhtml document

2005-08-13 Thread Thanos Tsouanas
Hello list! I've got a unicode string which holds an xhtml website, begining with tag. Also, it writes the tag which I want to avoid at this stage. Are there any really easy solutions to this problem? Any modules that could be helpful for slight modification of such sgmlish files? The downsid

Re: wx.MessageDialog displayed without components inside

2005-08-13 Thread perchef
nope, I have put md.Destroy() away and it didn't change something. I don't think that's the problem because ShowModal() is a blocking method, execution is stop until you press YES or NO (in my case with wx.YES_NO) -- http://mail.python.org/mailman/listinfo/python-list

Re: Permutation Generator

2005-08-13 Thread Jim Washington
On Fri, 12 Aug 2005 12:39:08 -0700, Talin wrote: > I'm sure I am not the first person to do this, but I wanted to share > this: a generator which returns all permutations of a list: > > def permute( lst ): > if len( lst ) == 1: > yield lst > else: > head = lst[:1] >

BiskyMisky

2005-08-13 Thread BiskyMisky.com
BiskyMisky www.biskymisky.com -- http://mail.python.org/mailman/listinfo/python-list

Re: thread limit in python

2005-08-13 Thread Bryan Olson
Peter Hansen wrote: > Bryan Olson wrote: > >> Peter Hansen wrote: >> > My question was in the context of the OP's situation. What >> possible use >> > for 1000 OS threads could he have? >> >> Is this a language thing? Surely you realize that "what possible >> use could be" carries an i

Re: Zope, Python 2.4 pythonScripts import problem

2005-08-13 Thread Josef Meile
Hi, > I have installed brand new platform - Zope-2-7-6, Python 2.4.1, Plone > 2.0.5, OS Debian 1:3.3.6-2. You may then ask in a zope or plone list. This is a python specific list. But I will answer you any way. > After import a old Plone site from the following platform > Zope-2-7-4, Python 2.3.

Re: Catching stderr output from graphical apps

2005-08-13 Thread Bryan Olson
Robert Kern wrote: > Christopher Subich wrote: >> If you can get a cross-platform solution, please re-annoucne it; this >> sounds like a really neat module to have handy for graphical programs. > > > Look at py.io[1]. It seems to have implemented a probably-cross-platform > solution. Please

Re: Dictionary inheritance

2005-08-13 Thread Elmo Mäntynen
On Fri, 12 Aug 2005 12:44:11 -0700, Talin wrote: > I want to make a dictionary that acts like a class, in other words, > supports inheritance: If you attempt to find a key that isn't present, > it searches a "base" dictionary, which in turn searches its base, and so on. > > Now, I realize its f

Re: Spaces and tabs again

2005-08-13 Thread sigzero
Ah!!! I read it and noticed the date "April 1st". Doh! -- http://mail.python.org/mailman/listinfo/python-list

Re: Spaces and tabs again

2005-08-13 Thread sigzero
That is rediculous. If that happens...Python comes of my list of languages to use. Are they going to mandate 4 spaces as well? Robert -- http://mail.python.org/mailman/listinfo/python-list

Re: thread limit in python

2005-08-13 Thread Peter Hansen
Bryan Olson wrote: > Peter Hansen wrote: > > My question was in the context of the OP's situation. What possible use > > for 1000 OS threads could he have? > > Is this a language thing? Surely you realize that "what possible > use could be" carries an insinuation that is not > such a good ide

Re: Bug on Python2.3.4 [FreeBSD]?

2005-08-13 Thread [EMAIL PROTECTED]
Using FreeBSD 4.10 and Python 2.3.4: > uname -a FreeBSD garner_ted 4.10-RELEASE FreeBSD 4.10-RELEASE #7: Thu Apr 28 22:44:58 CDT 2005 >python Python 2.3.4 (#4, Nov 19 2004, 15:37:16) [GCC 2.95.4 20020320 [FreeBSD]] on freebsd4 Type "help", "copyright", "credits" or "license" for more information

Parsing a log file

2005-08-13 Thread CG
I am looking for a way to parse a simple log file to get the information in a format that I can use. I would like to use python, but I am just beginning to learn how to use it. I am not a programmer, but have done some simple modifications and revisions of scripts. I am willing to attempt this o

Re: Spaces and tabs again

2005-08-13 Thread Jeff Schwab
Christopher Subich wrote: > [EMAIL PROTECTED] wrote: > >> Are you kidding? You are going to MANDATE spaces? > > > Actually, future whitespace rules will be extensive. See: > http://64.233.187.104/search?q=cache:k1w9oZr767QJ:www.artima.com/weblogs/viewpost.jsp%3Fthread%3D101968 > > > (google

Re: Using globals with classes

2005-08-13 Thread Madhusudan Singh
Scott David Daniels wrote: > Madhusudan Singh wrote: >> I am using qwtplot to display a running plot : >> > The way I'd normally accomplish this is to separate the setup and use > by defining a class: > How would one enable dynamic autoscaling of the axes ? I am using setAxisAutoScale, and

[no subject]

2005-08-13 Thread gdcook
Can anyone help with this? I am running: Python 2.3.4 SWIG 1.3.23 openssl 0.9.8 Do I need to reconfig Python with certain ssl ciphers? This is the output I receive when running alltests: [EMAIL PROTECTED] tests]# python alltests.py ...

Re: Spaces and tabs again

2005-08-13 Thread Christopher Subich
[EMAIL PROTECTED] wrote: > Are you kidding? You are going to MANDATE spaces? Actually, future whitespace rules will be extensive. See: http://64.233.187.104/search?q=cache:k1w9oZr767QJ:www.artima.com/weblogs/viewpost.jsp%3Fthread%3D101968 (google cache of http://www.artima.com/weblogs/viewpost.

Re: Permutation Generator

2005-08-13 Thread David Isaac
"Talin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I wanted to share > this: a generator which returns all permutations of a list: Try this instead: def permuteg(lst): return ([lst[i]]+x for i in range(len(lst)) for x in permute(lst[:i]+lst[i+1:])) \ or [[]

Re: Spaces and tabs again

2005-08-13 Thread sigzero
Aahz wrote: > Python 3.0 will prohibit tabs. > -- > Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ > > The way to build large Python applications is to componentize and > loosely-couple the hell out of everything. Are you kidding? You are going to MANDATE spaces? Rob

Re: "Compile time" checking?

2005-08-13 Thread Benjamin Niemann
[EMAIL PROTECTED] wrote: > On Fri, 12 Aug 2005 22:25:07 -0700 > Steve Jorgensen wrote: > >> Since Python does not use manifest typing, there's not much you can do >> about this, but typeless languages like this are great if you're using a >> process >> that finds the errors the compiler would oth

Re: thread limit in python

2005-08-13 Thread Bryan Olson
Peter Hansen wrote: > My question was in the context of the OP's situation. What possible use > for 1000 OS threads could he have? Is this a language thing? Surely you realize that "what possible use could be" carries an insinuation that is not such a good idea. Possible uses are many and per

Re: catching all exceptions [SOLVED]

2005-08-13 Thread a_geek
Hello, Tomasz Lisowski wrote: >> Well, actually the second statement doesn't even compile... any ideas >> why I shouldn't be able to catch "anonymous" exceptions like this, or >> whether and how I can (and only overlooked it)? [ one of three suggestions: ] > Try this: Ok, so the answer simply w

Re: Spaces and tabs again

2005-08-13 Thread Aahz
In article <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: > >I know that some people likes tabs, and other people likes spaces, so >probably a single standard cannot be enforced, but I think the python >compiler must generate an error (and stop compiling) when the >sourcecode of a module contains

Re: catching all exceptions

2005-08-13 Thread Tomasz Lisowski
> Hello, > > I'd like to catch all exeptions and be able to inspect them. > > The simple case: I know which exceptions I'll get: > > # standard textbook example: > try: > something() > except ThisException, e: > print "some error occurred: ", str(e) > > > The not-so-simple case: Handli

Re: how to append semicolon to a variable

2005-08-13 Thread Grant Edwards
On 2005-08-13, tiissa <[EMAIL PROTECTED]> wrote: > Grant Edwards wrote: >> s = ';'.join([couch,price,sdate,city]) >> print s > > I'll risk myself with something like: > > s = ';'.join([tag.string for tag in [couch,price,sdate,city]]) > > Of course, from the question I wouldn't have any clue. I jus

Re: "Compile time" checking?

2005-08-13 Thread Steve Jorgensen
On Sat, 13 Aug 2005 11:04:55 +0400, <[EMAIL PROTECTED]> wrote: >On Fri, 12 Aug 2005 22:25:07 -0700 >Steve Jorgensen wrote: > >> Since Python does not use manifest typing, there's not much you can do about >> this, but typeless languages like this are great if you're using a process >> that finds t

Re: "Compile time" checking?

2005-08-13 Thread en.karpachov
On Fri, 12 Aug 2005 22:25:07 -0700 Steve Jorgensen wrote: > Since Python does not use manifest typing, there's not much you can do about > this, but typeless languages like this are great if you're using a process > that finds the errors the compiler would otherwise find. I'm referring, of > cour

COM access sooo slow !?

2005-08-13 Thread kowald
Hi everybody, I'm using win32com.client.Dispatch() to access a COM object (a database) from Python and in principle is works fine. However, it is unbelievably slow :-( It is 70 times slower than a C++ version of the same program ! Is this a well known problem of the Python COM interface or could

Re: catching all exceptions

2005-08-13 Thread Bengt Richter
On Sat, 13 Aug 2005 17:42:00 +0200, [EMAIL PROTECTED] wrote: >Hello, > >I'd like to catch all exeptions and be able to inspect them. > >The simple case: I know which exceptions I'll get: > ># standard textbook example: >try: >something() >except ThisException, e: >print "some error occurre

Re: how to append semicolon to a variable

2005-08-13 Thread tiissa
Grant Edwards wrote: > On 2005-08-13, yaffa <[EMAIL PROTECTED]> wrote: > >>i have the following lines of python code: >> >> couch = incident.findNextSibling('td') >> price = couch.findNextSibling('td') >> sdate = price.findNextSibling('td') >> city = sdate.findNextSibling('td')

Re: how to append semicolon to a variable

2005-08-13 Thread Bengt Richter
On 13 Aug 2005 08:14:32 -0700, "yaffa" <[EMAIL PROTECTED]> wrote: >dear folks, > >i have the following lines of python code: > >couch = incident.findNextSibling('td') > price = couch.findNextSibling('td') > sdate = price.findNextSibling('td') > city = sdate.findNextSiblin

Re: wx.MessageDialog displayed without components inside

2005-08-13 Thread stas
On Sat, 13 Aug 2005 09:37:15 -0700, perchef wrote: > Is there a reason why a wx.MessageDialog would be displayed without > components inside ? > > this : > > md = wx.MessageDialog(None,'foo','bar',wx.YES_NO) Here you create a dialog > result = md.ShowModal() Now you show it > md.Destroy() But

Re: how to append semicolon to a variable

2005-08-13 Thread Grant Edwards
On 2005-08-13, yaffa <[EMAIL PROTECTED]> wrote: > i have the following lines of python code: > > couch = incident.findNextSibling('td') > price = couch.findNextSibling('td') > sdate = price.findNextSibling('td') > city = sdate.findNextSibling('td') > strUrl = addr.b.s

Dr. Dobb's Python-URL! - weekly Python news and links (Aug 12)

2005-08-13 Thread Cameron Laird
QOTW: "... So I started profiling the code and the slowdown was actually taking place at places where I didn't expect it." -- Guyon Mor?e (and about twenty-three thousand others) "[A] suggestion from the world of 'agile development': stop making so many decisions and start writing some actual cod

wx.MessageDialog displayed without components inside

2005-08-13 Thread perchef
Is there a reason why a wx.MessageDialog would be displayed without components inside ? this : md = wx.MessageDialog(None,'foo','bar',wx.YES_NO) result = md.ShowModal() md.Destroy() In my application, give me : http://img252.imageshack.us/my.php?image=messagedialog6nw.jpg This isn't a bug in wx

Re: catching all exceptions

2005-08-13 Thread Paolino
[EMAIL PROTECTED] wrote: > Hello, > > I'd like to catch all exeptions and be able to inspect them. > > The simple case: I know which exceptions I'll get: > > # standard textbook example: > try: > something() > except ThisException, e: > print "some error occurred: ", str(e) > > > The n

Re: thread limit in python

2005-08-13 Thread Peter Hansen
Bryan Olson wrote: > Peter Hansen wrote: > > Probably, but I haven't yet seen anyone ask the real important question. > > What possible use could you have for more than 1000 *simultaneously > > active* threads? There are very likely several alternative approaches > > that will fit your use ca

catching all exceptions

2005-08-13 Thread a_geek
Hello, I'd like to catch all exeptions and be able to inspect them. The simple case: I know which exceptions I'll get: # standard textbook example: try: something() except ThisException, e: print "some error occurred: ", str(e) The not-so-simple case: Handling all other exceptions: #

Re: How to find Python path in Visual C++ install wizard

2005-08-13 Thread Philippe C. Martin
Thanks you all. As my software has python "executables" and libraries + c++ libs, the HKEY_LOCAL should be myt way out. Best regards, Philippe Philippe C. Martin wrote: > Hi, > > I realize this is not really a Python question but ... > > I am trying to setup an .msi for my software (P

Re: need help with my append syntax

2005-08-13 Thread bruno modulix
yaffa wrote: > dear folks, Dear Yaffa, > i'm trying to append a semicolon to my addr string Python strings don't have a 'append' method. > and am using the > syntax below. for some reason the added on of the ; doesn't work. "doesn't work" is the worst possible description of a problem. Pleas

Re: Dictionary inheritance

2005-08-13 Thread bruno modulix
Talin wrote: > I want to make a dictionary that acts like a class, in other words, > supports inheritance: I must be missing your point here, since dict is a class and as such support inheritence: >>> class MyDict(dict):pass ... >>> d = MyDict() >>> d.items() [] >>> > If you attempt to find a

Re: Spaces and tabs again

2005-08-13 Thread Jeff Schwab
[EMAIL PROTECTED] wrote: > Hello, I know this topic was discussed a *lot* in the past, sorry if it > bores you... > >>From the Daily Python-URL I've seen this interesting Floating Point > Benchmark: > http://www.fourmilab.ch/fourmilog/archives/2005-08/000567.html > > This is the source pack: > ht

how to append semicolon to a variable

2005-08-13 Thread yaffa
dear folks, i have the following lines of python code: couch = incident.findNextSibling('td') price = couch.findNextSibling('td') sdate = price.findNextSibling('td') city = sdate.findNextSibling('td') strUrl = addr.b.string currently what this ends up doing

Re: Archetype Permission Errors with CMFBoard 2.2

2005-08-13 Thread Yuan HOng
Ops. Sorry for posting the wrong list. On 8/13/05, Yuan HOng <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to integrate the latest CMFBoard 2.2 with my Plone site > (2.0.5 with Archetypes 1.3.3-final). I'd like to have my users to post > anonymously with CMFBoard, so I added a forumNB of type

Archetype Permission Errors with CMFBoard 2.2

2005-08-13 Thread Yuan HOng
Hi, I am trying to integrate the latest CMFBoard 2.2 with my Plone site (2.0.5 with Archetypes 1.3.3-final). I'd like to have my users to post anonymously with CMFBoard, so I added a forumNB of type 'open'. However, when an anonymous user tries to added a new Topic to the board, a bunch of error

Re: UCALC equivalent

2005-08-13 Thread Scott David Daniels
John Machin wrote: > Scott David Daniels wrote: >> max wrote: >>> Larry Bates <[EMAIL PROTECTED]> wrote in >> The python equivalent: >> ... >> exec "def shl(x, y): return x * 2^y" > > Perhaps this should be: > exec "def shl(x, y): return x * 2 ** y" > or > exec "def shl(x, y): return x <<

Re: Dictionary inheritance

2005-08-13 Thread bruno modulix
Devan L wrote: > Talin wrote: > >>I want to make a dictionary that acts like a class, in other words, >>supports inheritance: (snip) > > Dictionaries aren't classes? They are. -- bruno desthuilliers python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for p in '[EMAIL PROTECT

Re: What are modules really for?

2005-08-13 Thread bruno modulix
Magnus Lycka wrote: > bruno modulix wrote: > >> Magnus Lycka wrote: >> >>> N.Davis wrote: >>> >>> Functions existing in a module? Surely if "everything is an object" (OK thats Java-talk but supposedly Python will eventually follow this too) >>> >>> >>> >>> int too? ;) >> >> >> >> Y

Re: How to find Python path in Visual C++ install wizard

2005-08-13 Thread laurent
Hello, there's a pretty solution. if the user hasn't got python or don't want to install python. You can make your application executable without a complete installation of python. for this, look at project like py2exe or freeze. These tools make an executable of your pyc files and produce some

Re: What are modules really for?

2005-08-13 Thread Terry Reedy
"Mike Meyer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Magnus Lycka <[EMAIL PROTECTED]> writes: >> Terry Reedy wrote: >>> However, everything is an instance of a class or type. >> Except whitespace, comments, operators and statements! >> (Did I miss anything?) > [snip] Mayb

Re: Printing literal text of an argument

2005-08-13 Thread Paul McGuire
Rex - If what you are looking for is a monitor of calls to a certain function, check out this decorator example from the Python Wiki: http://wiki.python.org/moin/PythonDecoratorLibrary?highlight=%28Decorator%29#head-d4ce77c6d6e75aad25baf982f6fec0ff4b3653f4 This will allow you to very quickly tur

Re: Parallel port programming on windows XP / 2000

2005-08-13 Thread pdalet
I have written a python script with pyparallel pyDS1267 (W2K, pyparallel 0.1, giveio_setup.exe, pythoncard), with no problems on this OS. I have not tested with pyparallel 0.2 pyDS1267, pyUltraISR http://sourceforge.net/projects/gpib82357a/ [EMAIL PROTECTED] lyp champollion av pezet 46100 FIGE

Re: Running one Python program from another as a different user

2005-08-13 Thread Alessandro Bottoni
Jeff Schwab wrote: > [EMAIL PROTECTED] wrote: >> Thanks, that looks very promising... >> Is there a solution for pre-Python v2.4? I have to have code that works >> on 2.x, 0<=x<=4. Do I just use the os.popen instead? > > import os > > def run_as(username): > pipe = os.popen("su %s" % us

Re: Bug on Python2.3.4 [FreeBSD]?

2005-08-13 Thread Terry Reedy
"Donn Cave" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Quoth "Terry Reedy" <[EMAIL PROTECTED]>: > | Standard C, by Plauger & Brodie says that 'a' plus whatever else means > all > | writes start at the current end-of-file. > > Of course, but the question was, where do reads sta

Re: simpli int/str problem

2005-08-13 Thread sinan .
i thank you all, first of al ill change my dictinary variable name :) then ill use %s and %d . and thanks for other examples,these examples enchance my python-way thinking. :) On 8/12/05, Scott David Daniels <[EMAIL PROTECTED]> wrote: > Paolino wrote: > > sinan . wrote: > > > >> hi all, > >> i hav

Re: How to find Python path in Visual C++ install wizard

2005-08-13 Thread Martin v. Löwis
Philippe C. Martin wrote: > I am trying to setup an .msi for my software (Python code (.pyc) + drivers) > to make installation easier for Windows users. > > I am using the installer that comes with V. C++ 7.1. > > I would like to find the way to make sure Python is installed and then copy > autom

Re: Parallel port programming on windows XP / 2000

2005-08-13 Thread Novice Experl
I'm still stuck... my script is finished and works just fine on win98 using pyparallel, but I still haven't seen any sample code to do access the port in XP / 2000. If I don't make progress soon, I'll need to find a solution in another language, which I don't really want to do. --

Re: Spaces and tabs again

2005-08-13 Thread Torsten Bronger
Hallöchen! [EMAIL PROTECTED] writes: > [...] I know that some people likes tabs, and other people likes > spaces, so probably a single standard cannot be enforced, but I > think the python compiler must generate an error (and stop > compiling) when the sourcecode of a module contains both spaces

Spaces and tabs again

2005-08-13 Thread bearophileHUGS
Hello, I know this topic was discussed a *lot* in the past, sorry if it bores you... >From the Daily Python-URL I've seen this interesting Floating Point Benchmark: http://www.fourmilab.ch/fourmilog/archives/2005-08/000567.html This is the source pack: http://www.fourmilab.ch/fbench/fbench.zip I

Re: Printing literal text of an argument

2005-08-13 Thread Reinhold Birkenfeld
Rex Eastbourne wrote: > Thanks. I adapted it a bit: > > def debug(foo): > print foo, 'is:' > exec('pprint.pprint(' + foo + ')') > > But I'm getting "NameError: name 'foo' is not defined," since foo is > not defined in this scope. (The function works beautifully when I'm > dealing with glo

Re: breaking a loop

2005-08-13 Thread Mosti El
I think u need break before exit() so if u want break from any loop just add break "el chupacabra" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, I'm just learning Pythonthanks in advance... > > Do you get out of this loop? > > Problem: When I type 'exit' (no quotes) the pr

Re: Bug on Python2.3.4 [FreeBSD]?

2005-08-13 Thread Uwe Mayer
Saturday 13 August 2005 06:18 am Donn Cave wrote: > Of course, but the question was, where do reads start? I would > guess the GNU C library "innovated" on this point. But in the > end it doesn't really matter unless Python is going to try to > square that all up and make open() consistent acros

How to find Python path in Visual C++ install wizard

2005-08-13 Thread Philippe C. Martin
Hi, I realize this is not really a Python question but ... I am trying to setup an .msi for my software (Python code (.pyc) + drivers) to make installation easier for Windows users. I am using the installer that comes with V. C++ 7.1. I would like to find the way to make sure Python is installe

Re: Python Wireless Extension Module (pyiw)

2005-08-13 Thread Eric Nieuwland
Jeremy Moles wrote: > I am mostly done with writing an extension module in C that wraps (and > makes easier) interfacing with libiw (the library that powers iwconfig, > iwlist, and friends on Linux). We're using this internally for a tool > to > manage wireless connectivity. This is a million tim

Re: socket setdefaulttimeout

2005-08-13 Thread Sheila King
Bryan: Thanks for the tips/suggestion. I will definitely look into that. (It will be my first foray into coding with threads...I do appreciate that you've laid a great deal of it out. I will certainly refer to my references and do substantial testing on this...) Thanks! -- Sheila King http://ww