"Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
>En Tue, 04 Dec 2007 14:49:36 -0300, Dennis Lee Bieber
><[EMAIL PROTECTED]> escribió:
>> How about the cognate: Kulkukan?
>You meant Kukulkan. If you got it wrong from "Apocalypto" (Mel Gibson),
>well, it's just one of many errors in the film...
Ei
"Dennis Lee Bieber" <[EMAIL PROTECTED]> wrote:
> Euler? (most non-tech types would probably think that's a reference
> to someone who squirts lubricants into the workings of a steam engine)
You have just destroyed a long held image in my mind with this
horrible homophone - I used to conjure up i
Python on xkcd:
http://xkcd.com/353/
--
Ant.
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 4, 9:35 pm, Timothy Smith <[EMAIL PROTECTED]> wrote:
> Not sure exactly what I need to do to get wxPython to work on either of
> my Macs. (One's a notebook running Tiger (OS X 10.4.11), the other a Mac
> Pro running Leopard (10.5.1.))
>
> I downloaded what should be the latest binary, and it
[EMAIL PROTECTED] wrote:
> Is there any build in solution in python to handle timezones? My
> problem is I have to convert +4 time to +0. In the worst case i can
> just add +4 to the houer but I'm not very happy about that. Another
> problem is the summer/winter timechange which happen with one wee
Or you can look at
http://www.portablepython.com/
L.
--
http://mail.python.org/mailman/listinfo/python-list
In article
<[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> If you don't get an answer here, you should try the wxPython mailing
> list:
> http://www.wxpython.org/maillist.php
> I'm sure they'll be able to help you out (I don't have a Mac, so I
> don't know).
OK, will try there. Thanks.
--
http
On 2007-12-05, Chris Gonnerman <[EMAIL PROTECTED]> wrote:
> I spent some time today reading about Python 3, and specifically the
> differences between Python 3 and Python 2, and I was left with a
> question... why? Why bother to change to Python 3, when the CPython
> implementation is slower, a
Adrian Cherry napisał(a):
>> Python on xkcd:
>>
>> http://xkcd.com/353/
>>
>
> Another good comic from xkcd, I'm surprised by the muted response
> on here. Don't forget to check out the alt. text on the comic
>
> Alt text: "I wrote 20 short programs in Python yesterday. It was
> wonderful. Per
On 5 Dec 2007 10:08:48 GMT, Adrian Cherry <[EMAIL PROTECTED]> wrote:
> Ant <[EMAIL PROTECTED]> wrote in news:52f0eca3-e807-4890-b21d-
> [EMAIL PROTECTED]:
>
> > Python on xkcd:
> >
> > http://xkcd.com/353/
> >
>
> Another good comic from xkcd, I'm surprised by the muted response
> on here. Don't fo
pl see the beautiful pitcure
http://ribodire.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list
Ant wrote:
> http://xkcd.com/353/
I laughed :)
Richard
--
http://mail.python.org/mailman/listinfo/python-list
> Timothy Smith <[EMAIL PROTECTED]> (TS) wrote:
>TS> Not sure exactly what I need to do to get wxPython to work on either of
>TS> my Macs. (One's a notebook running Tiger (OS X 10.4.11), the other a Mac
>TS> Pro running Leopard (10.5.1.))
>TS> I downloaded what should be the latest binary,
On Nov 28, 11:18 am, Davy <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> How todebugPython program with GUI, especially Tkinter? Mydebug
> environment is PythonWin.
>
> For example, when I single step in the program, the step will go to
> mainloop() and always loop there. How can I know where the program
On Dec 4, 4:08 pm, [EMAIL PROTECTED] wrote:
> This is *not* an attempt to start yet another Python-versus-
> AnyOtherProgrammingLanguage flame war, but I thought people might be
> interested in this:
>
> http://www.tiobe.com/tpci.htm
>
> Marc
I find Ohloh comparisons also useful:
http://www.ohloh.
Ok, just noticed you linked the id3reader. I tested my code and it
worked fine.
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 5, 1:43 pm, Ionis <[EMAIL PROTECTED]> wrote:
> Hey guys, hope you can help me here. I've been playing with python for
> about a week or two and I've been reading "A Byte Of Python" to get me
> on my feet. I've decided to write a program which will list all ID3
> information in a directory of
[apologies if this double-posts; my email server's playing up]
Martin v. Löwis wrote:
> In a POSIX world, you need read permission on the directory.
> In Windows, with the "bypass-traversal-check" privilege,
> you only need read permission on the directory if you want
> to list it, not to acce
Martin v. Löwis wrote:
> In a POSIX world, you need read permission on the directory.
> In Windows, with the "bypass-traversal-check" privilege,
> you only need read permission on the directory if you want
> to list it, not to access a file in the directory. Is it
> actually possible for GetFileAtt
Ant <[EMAIL PROTECTED]> wrote in news:52f0eca3-e807-4890-b21d-
[EMAIL PROTECTED]:
> Python on xkcd:
>
> http://xkcd.com/353/
>
Another good comic from xkcd, I'm surprised by the muted response
on here. Don't forget to check out the alt. text on the comic
Alt text: "I wrote 20 short programs i
mcl wrote:
> I would like to have a USB pen drive, which can execute python scripts
> including CGI versions, which I can take to any Windows PC and run
> without having to install anything on the PC.
>
> My days of hacking are past so I am looking for something very simple.
>
> I would envisage a
En Wed, 05 Dec 2007 06:43:49 -0300, <[EMAIL PROTECTED]> escribió:
> Thanks guys for your answers! I know those library's but I was
> wondering is there something build-in for this simple convert convert.
> I have to do it only from +4 to +0.
Copying the example from the tzinfo docs:
from dateti
Steven D'Aprano wrote:
> On Tue, 04 Dec 2007 15:41:48 +0100, Diez B. Roggisch wrote:
>
>> You just discovered one reason why reload() is a bad idea and IMHO
>> shouldn't be used at all - as tempting it might be.
>
>
> I disagree -- I find reload() extremely useful for interactively testing
> mo
Russ P. wrote:
> If I had invented Python, I would have called it Newton or Euler,
> arguably the greatest scientist and mathematician ever, respectively.
This makes your taste on the matter dubious.
Such choice of a name implies either a claim to the fame of the Person that's
devoid of substanc
[EMAIL PROTECTED] a écrit :
> Hi,
>
> Is it possible to find out if an object is of a certain type or of a
> type derived from this type?
>
You have the answer, thanks to Diez and Christian. Now unless you have a
*very* compelling reason to check the type of an object, *just forget
about it*. 9
On Wed, 2007-12-05 at 10:08 +, Adrian Cherry wrote:
> Ant <[EMAIL PROTECTED]> wrote in news:52f0eca3-e807-4890-b21d-
> [EMAIL PROTECTED]:
>
> > Python on xkcd:
> >
> > http://xkcd.com/353/
> >
>
> Another good comic from xkcd, I'm surprised by the muted response
> on here. Don't forget to
> On Dec 5, 6:00 am, "Andreas Tawn" <[EMAIL PROTECTED]> wrote:
> > I'm trying to integrate the timeout function from
> herehttp://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/47
> 3878into a
> > long running automation script and the following code
> causes IDLE after
> > 20 or 30 iterations
A.T.Hofkamp wrote:
> Well, Python 3 design is from the ground up, and aimed at the future, so they
> are quite a few steps ahead of today's coding practice, let alone today's code
> base (which is still 1.5 compatible as you discovered).
Just a small note from me:
Several people think that we are
On Dec 5, 9:50 am, [EMAIL PROTECTED] wrote:
> Having a problem with "compiling" a Tkinter/python program using
> py2exe (and pyinstaller, for that matter)...
>
> I have several dialogs that are derived from the tkSimpleDialog.Dialog
> class. These work just fine if run through the interpreter. Wh
"Russ P." <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]
ups.com:
> Speaking of stupid names, what does "C++" mean? I think it's
> the grade you get when you just barely missed a "B--". But I
> can't deny that it *is* good for searching.
>
For that matter C# is no better, I thought that #
On 04/12/2007, Hendrik van Rooyen <[EMAIL PROTECTED]> wrote:
>
> "Dotan Cohen" wrote:
>
> > Newton was the bridge between science and superstition. Without him,
> > we would not have science. For that he is notable. He is both magician
> > and scientist. It was Newton's belief in the occult that l
On 5 Dez., 15:32, Christian Heimes <[EMAIL PROTECTED]> wrote:
> Athttp://www.joelonsoftware.com/articles/fog69.htmlJoel
> explains why rewriting from the scratch is often the worst strategy.
About migration strategies:
"I do not exactly recollect whether it was in Eastland or Jugemanland
hari wrote:
> Hi all,
> I need to automate printer command testing, prinetr supports
> parallel/
> serial/USB.How can i send the commands from python to printer.
>
> I have got pyparallel, as am new to python, no idea how to work on
> it.
> Please give some tips,The comamnd to be sent to the pri
> In other words, the string should be split at every 10th possition but
> if the 10th character is space, then the string must be split at the
> nearest space before the 10th possition.
>
> It could be better explained if the length of split strings will be
> 20.
>
> S='this is just a random seq
On Dec 5, 9:50 am, [EMAIL PROTECTED] wrote:
> Having a problem with "compiling" a Tkinter/python program using
> py2exe (and pyinstaller, for that matter)...
>
> I have several dialogs that are derived from the tkSimpleDialog.Dialog
> class. These work just fine if run through the interpreter. Wh
Gerardo Herzig <[EMAIL PROTECTED]> writes:
> Hi all. Im having some "problems" with a small concurrent plpython function.
Don't even *think* about starting multiple threads inside the Postgres
backend. It's an excellent way to break things.
regards, tom lane
--
http://ma
On Dec 5, 5:12 am, Richard Jones <[EMAIL PROTECTED]>
wrote:
> Ant wrote:
> >http://xkcd.com/353/
>
> I laughed :)
>
... I cried, it's a part of me!
-- Paul
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I need to automate printer command testing, prinetr supports
parallel/
serial/USB.How can i send the commands from python to printer.
I have got pyparallel, as am new to python, no idea how to work on
it.
Please give some tips,The comamnd to be sent to the printer is hex
data "1B 40".ple
On Dec 5, 12:18 am, Rod Person <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I've been doing python programming for about 2 years as a hobby and now
> I'm finally able to use it at work in an enterprise environment. Since
> I will be creating the base classes and
find a man at www.SexDatingPoint.com
find a man looking for a woman at www.SexDatingPoint.com
meet adult male at www.SexDatingPoint.com
men seeking women at www.SexDatingPoint.com
women seeking men
www.SexDatingPoint.com
woman seeking man
www.SexDatingPoint.com
woman looking for man
www.SexDatingPo
En Wed, 05 Dec 2007 15:06:43 -0300, Tlis <[EMAIL PROTECTED]> escribi�:
> With all the problems of the reload() function, I still hope, that
> there should be possible to write a safe module 'reloader', that would
> fix the references, as required (e.g. by changing the
> variable.__class__ referenc
> "Adrian Cherry" <[EMAIL PROTECTED]> (AC) wrote:
>AC> For that matter C# is no better, I thought that # was pronounced
>AC> hash, I still refer to C# as C-hash.
Are you musically illiterate?
--
Piet van Oostrum <[EMAIL PROTECTED]>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Priva
On Dec 4, 2007 10:02 AM, George Sakkis <[EMAIL PROTECTED]> wrote:
> On Dec 3, 12:50 pm, "Russ P." <[EMAIL PROTECTED]> wrote:
>
> > I know this because I've been through it myself. When I tell people
> > that I use Python, I often qualify it by pointing out that it is used
> > extensively at Google.
> > On Dec 5, 6:00 am, "Andreas Tawn" <[EMAIL PROTECTED]> wrote:
> > > I'm trying to integrate the timeout function from
> > herehttp://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/47
> > 3878into a
> > > long running automation script and the following code
> > causes IDLE after
> > > 20 o
En Wed, 05 Dec 2007 10:19:51 -0300, hari <[EMAIL PROTECTED]> escribi�:
> Hi all,
> I need to automate printer command testing, prinetr supports
> parallel/
> serial/USB.How can i send the commands from python to printer.
>
> I have got pyparallel, as am new to python, no idea how to work on
> it
On Dec 5, 10:07 am, [EMAIL PROTECTED] wrote:
> On Dec 5, 9:50 am, [EMAIL PROTECTED] wrote:
>
>
>
> > Having a problem with "compiling" a Tkinter/python program using
> > py2exe (and pyinstaller, for that matter)...
>
> > I have several dialogs that are derived from the tkSimpleDialog.Dialog
> > cla
This could be a solution
import commands
callables = commands.getoutput("nm -D /lib/libc.so.6 | egrep ' T '
").split("\n")
callables = [c.split()[2] for c in callables]
print callables
On Dec 5, 2007 5:26 PM, Rafael Sachetto <[EMAIL PROTECTED]> wrote:
> > > with Python it is simple to call dire
On Dec 4, 2007 8:35 PM, Timothy Smith <[EMAIL PROTECTED]> wrote:
> Not sure exactly what I need to do to get wxPython to work on either of
> my Macs. (One's a notebook running Tiger (OS X 10.4.11), the other a Mac
> Pro running Leopard (10.5.1.))
>
> I downloaded what should be the latest binary, a
On 5 Dec, 13:18, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
> On Tue, 04 Dec 2007 15:41:48 +0100, Diez B. Roggisch wrote:
> > You just discovered one reason why reload() is a bad idea and IMHO
> > shouldn't be used at all - as tempting it might be.
>
> I disagree -- I find reload
> > with Python it is simple to call direct functions from c-librarys.
> > Is there a way to browse over a library i.e. '/lib/libc.so' with
> > python, to see all possible functions in a library?
>
> You could use the subprocess module to execute 'nm /lib/libc.so' and look
> at lines with type T.
Piet van Oostrum wrote:
> "Adrian Cherry" <[EMAIL PROTECTED]> (AC) wrote:
>> For that matter C# is no better, I thought that # was
>> pronounced hash, I still refer to C# as C-hash.
>
> Are you musically illiterate?
I wonder what Cb (C-flat) would be. Ada? :)
Regards,
Björn
--
BOFH excuse #
On Dec 5, 1:35 pm, [EMAIL PROTECTED] wrote:
> I've been using the HyperText module for a while now
> (http://dustman.net/andy/python/HyperText/), and I really like it.
>
> I've run into a situation where I have code to construct a table
> and while it is normally perfect, there are times where the
Hello group,
I'm trying to perform some simple pdf file processing using PyWin32
package with Adobe's COM support. After searching the whole Acrobat
Interapplication Communication Reference, I didn't find a way to get
the fullname (file path) of
AcroExch.PDDoc which does have a GetFileName method
On Dec 5, 2007 12:06 PM, Tlis <[EMAIL PROTECTED]> wrote:
> On 5 Dec, 13:18, Steven D'Aprano <[EMAIL PROTECTED]
> cybersource.com.au> wrote:
> > On Tue, 04 Dec 2007 15:41:48 +0100, Diez B. Roggisch wrote:
> > > You just discovered one reason why reload() is a bad idea and IMHO
> > > shouldn't be use
Guess what made xkcd today:
http://xkcd.com/353/
--
http://mail.python.org/mailman/listinfo/python-list
Dennis Lee Bieber wrote:
> I wouldn't be that harsh... Though I've never heard # as "hash"...
Python programmer and never heard of the hashbang? :)
Also see: http://en.wikipedia.org/wiki/Number_sign
Regards,
Björn
--
BOFH excuse #170:
popper unable to process jumbo kernel
--
http://mail.
On 2007-12-05, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] a écrit :
>> Is it possible to find out if an object is of a certain type
>> or of a type derived from this type?
>
> You have the answer, thanks to Diez and Christian. Now unless
> you have a *very* compelling reason
En Wed, 05 Dec 2007 12:32:31 -0300, georg.heiss <[EMAIL PROTECTED]>
escribi�:
> with Python it is simple to call direct functions from c-librarys.
> Is there a way to browse over a library i.e. '/lib/libc.so' with
> python, to see all possible functions in a library?
You could use the subproces
> Deltantor <[EMAIL PROTECTED]> (D) wrote:
>D> Does c.l.python get religious spam that much? Of all of the places to be
>D> spammed the least likely I expected would be here.
Is that the reason you find it necessary to repeat it?
--
Piet van Oostrum <[EMAIL PROTECTED]>
URL: http://www.cs.uu.
On Dec 5, 10:14 pm, [EMAIL PROTECTED] wrote:
> Guess what made xkcd today:
>
> http://xkcd.com/353/
rofl, pity it's on page 2 already of the group ;(
--
http://mail.python.org/mailman/listinfo/python-list
If you're on AIX and Python immediately dumps core when trying to import
any SVN module, then adding "-Wl,-brtl" to LINKFORSHARED in the Makefile
seems to fix the problem.
Bad: > LINKFORSHARED=-Wl,-bE:Modules/python.exp -lld
Good: < LINKFORSHARED=-Wl,-bE:Modules/python.exp -lld
I'm coming back to Python after an absence and it's surprising how
many things I've forgotten since wandering (against my will) into Java
land.
Anyway, I have a need for a way to make SimpleXMLRPCServer
interruptable. Basically, I have a main server that, in response to
certain RPC calls, creates
On 2007-12-05, Tim Chase <[EMAIL PROTECTED]> wrote:
> http://docs.python.org/lib/module-textwrap.html
>
> The Python library has already done all the heavy lifting--no
> need to re-invent the wheel.
Well no, clearly we need xwrap methods and a ctextwrap module. ;)
--
Neil Cerutti
--
http://mail
On Dec 5, 10:46 am, [EMAIL PROTECTED] wrote:
> On Dec 5, 10:07 am, [EMAIL PROTECTED] wrote:
>
>
>
> > On Dec 5, 9:50 am, [EMAIL PROTECTED] wrote:
>
> > > Having a problem with "compiling" a Tkinter/python program using
> > > py2exe (and pyinstaller, for that matter)...
>
> > > I have several dialog
Having a problem with "compiling" a Tkinter/python program using
py2exe (and pyinstaller, for that matter)...
I have several dialogs that are derived from the tkSimpleDialog.Dialog
class. These work just fine if run through the interpreter. When I
"compile" this with py2exe, I don't see any erro
I just tried changing this so that I now have a threading.Event()
called self.done, which is set within the body of the shutdown()
method. The serverWrapper loop now looks like this:
def serverWrapper():
while True:
server.handle_request()
if self.done.isSet():
bre
On Dec 5, 7:34 am, BlueBird <[EMAIL PROTECTED]> wrote:
> On Dec 4, 4:08 pm, [EMAIL PROTECTED] wrote:
>
> > This is *not* an attempt to start yet another Python-versus-
> > AnyOtherProgrammingLanguage flame war, but I thought people might be
> > interested in this:
>
> >http://www.tiobe.com/tpci.htm
On Dec 5, 3:19 pm, Kadin2048 <[EMAIL PROTECTED]> wrote:
> This is a very noob-ish question so I apologize in advance, but I'm
> hoping to get some input and advice before I get too over my head.
>
> I'm trying to convert some log files from a formfeed- and
> linefeed-delimited form into XML. I'd b
In article <[EMAIL PROTECTED]>,
Piet van Oostrum <[EMAIL PROTECTED]> wrote:
> >TS> I set PYTHONPATH to
> >TS> System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5
>
> Why would you do that?
Don't know, as it's not clear (to me) from the documentation whether
PYTHONPATH has to
This is a very noob-ish question so I apologize in advance, but I'm
hoping to get some input and advice before I get too over my head.
I'm trying to convert some log files from a formfeed- and
linefeed-delimited form into XML. I'd been thinking of using Python to
do this, but I'll be honest an
On Dec 5, 10:17 pm, Chris <[EMAIL PROTECTED]> wrote:
> On Dec 5, 9:35 pm, [EMAIL PROTECTED] wrote:
>
>
>
> > I've been using the HyperText module for a while now
> > (http://dustman.net/andy/python/HyperText/), and I really like it.
>
> > I've run into a situation where I have code to construct a t
Hello to every one.
I currently working on project where, I need to handle my audio streaming ,
For that reason
I m looking for some python lib or any python module, which wl help me to
construct RTP packets. Or any one can able to lead me to any resource wl
also help lot..
Than
I once made a small app that used threads on IDLE.
There was a strange error when using 'print' & threads. When what I printed
filled the entire screen, instead of moving all the text up, IDLE just
hanged. Try running your code from the shell instead, to see if the problem
is in IDLE.
HTH,
Sergio
Neil Cerutti a écrit :
> On 2007-12-05, Bruno Desthuilliers
> <[EMAIL PROTECTED]> wrote:
>
>>[EMAIL PROTECTED] a écrit :
>>
>>>Is it possible to find out if an object is of a certain type
>>>or of a type derived from this type?
>>
>>You have the answer, thanks to Diez and Christian. Now unless
>>y
On Dec 5, 2007 3:19 PM, Kadin2048 <[EMAIL PROTECTED]> wrote:
> This is a very noob-ish question so I apologize in advance, but I'm
> hoping to get some input and advice before I get too over my head.
>
> I'm trying to convert some log files from a formfeed- and
> linefeed-delimited form into XML.
On Dec 5, 9:50 am, [EMAIL PROTECTED] wrote:
> Having a problem with "compiling" a Tkinter/python program using
> py2exe (and pyinstaller, for that matter)...
>
> I have several dialogs that are derived from the tkSimpleDialog.Dialog
> class. These work just fine if run through the interpreter. Wh
Thank you for your help, it is really appreciated. I'll post back if
there are any more problems.
--
http://mail.python.org/mailman/listinfo/python-list
Kay Schluehr wrote:
>
> This unexpected attack in his rear frightened him so much, that he
> leaped forward with all his might: the horse's carcase dropped on the
> ground, but in his place the wolf was in the harness, and I on my part
> whipping him continually: we both arrived in full career saf
HI,
I am sorry for OT here. But I search google, could not quench my thrist, so
came here, and for single question, I don't want to subscribe in Apache
Newsgroup.
The problem is :
i wwant to implement a mod_python based Website + Reporting Application on
my system.
In the domain, my system is : m
Ionis a écrit :
> Hey guys, hope you can help me here. I've been playing with python for
> about a week or two and I've been reading "A Byte Of Python" to get me
> on my feet. I've decided to write a program which will list all ID3
> information in a directory of .mp3 files into a .html file.
>
>
I'm trying to integrate the timeout function from here
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/473878 into a
long running automation script and the following code causes IDLE after
20 or 30 iterations in countTest.
This is in 2.5, XP and there's no traceback.
Could someone point m
In article <[EMAIL PROTECTED]>,
"Chris Mellon" <[EMAIL PROTECTED]> wrote:
> This is a pretty simple problem and is well suited for a beginner
> project. The file() builtin will get you the data in your log file.
> Using the split() method of the string object, you can break your
> logfile into ch
Johny wrote:
> I have a string of a variable length and I need to split the string
> in strings of 6 characters .
> But if the 6th character is not space then I must split the string
> at possition before the 6th character.
>
> For example:
> if the main string S is
>
> S='abcde fghc ijkl mnop
On Dec 5, 11:55 am, Chris <[EMAIL PROTECTED]> wrote:
> On Dec 5, 10:55 am, Johny <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > I have a string of a variable length and I need to split the string
> > in strings of 6 characters .
> > But if the 6th character is not space then I must split the string
> > a
[EMAIL PROTECTED] wrote:
> Hi,
>
> Is it possible to find out if an object is of a certain type or of a
> type derived from this type?
http://docs.python.org/lib/built-in-funcs.html
Look for isinstance.
Diez
--
http://mail.python.org/mailman/listinfo/python-list
On Dec 5, 10:55 am, Johny <[EMAIL PROTECTED]> wrote:
> I have a string of a variable length and I need to split the string
> in strings of 6 characters .
> But if the 6th character is not space then I must split the string
> at possition before the 6th character.
>
> For example:
> if the main str
> * R_OK: A process with bypass-traversal-check priv. enabled
> doesn't need any access to intervening directories in order
> to get the attributes of a file within them. This means that
> our existing R_OK result is accurate for any file: if we can
> get its attributes then you can open the file f
Hi,
Is it possible to find out if an object is of a certain type or of a
type derived from this type?
Thanks,
Barry
--
http://mail.python.org/mailman/listinfo/python-list
Russ P. wrote:
> Speaking of stupid names, what does "C++" mean?
According to Special Relativity, C++ is a contradiction in terms :)
--
http://mail.python.org/mailman/listinfo/python-list
Thanks guys for your answers! I know those library's but I was
wondering is there something build-in for this simple convert convert.
I have to do it only from +4 to +0.
--
http://mail.python.org/mailman/listinfo/python-list
I have a string of a variable length and I need to split the string
in strings of 6 characters .
But if the 6th character is not space then I must split the string
at possition before the 6th character.
For example:
if the main string S is
S='abcde fghc ijkl mnop'
the result should be
abcde
fg
On Tue, 04 Dec 2007 15:41:48 +0100, Diez B. Roggisch wrote:
> You just discovered one reason why reload() is a bad idea and IMHO
> shouldn't be used at all - as tempting it might be.
I disagree -- I find reload() extremely useful for interactively testing
modules. But I would never dream of usi
On Dec 5, 6:00 am, "Andreas Tawn" <[EMAIL PROTECTED]> wrote:
> I'm trying to integrate the timeout function from
> herehttp://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/473878into a
> long running automation script and the following code causes IDLE after
> 20 or 30 iterations in countTest.
Hi,
I am looking for an open source project to contribute to, to enhance
my python skills. I have about 6 months experience in the language. I
have searched freshmeat.net, but as I'm pretty new, I'm not sure which
projects I would be able to contribute to.
If anyone can suggest any open source pr
On Dec 5, 2:04 pm, Ionis <[EMAIL PROTECTED]> wrote:
> On Dec 5, 11:59 am, Chris <[EMAIL PROTECTED]> wrote:
>
> > Ok, just noticed you linked the id3reader. I tested my code and it
> > worked fine.
>
> Thanks alot Chris. Could you comment your code so I can see what each
> line is doing? I hope tha
On Dec 5, 11:59 am, Chris <[EMAIL PROTECTED]> wrote:
> Ok, just noticed you linked the id3reader. I tested my code and it
> worked fine.
Thanks alot Chris. Could you comment your code so I can see what each
line is doing? I hope that isn't a problem. Still pretty new to python.
--
http://mail.py
I need to parse a Python file by breaking it into blocks matching
indentation levels so that function definitions, for loops, and
classes are kept together as blocks. For example, if I have something
like
from scipy import*
from pylab import*
g = .6
Input_freq = 10.0
def load_data(path):
On Dec 5, 10:37 am, "Andreas Tawn" <[EMAIL PROTECTED]> wrote:
> > > On Dec 5, 6:00 am, "Andreas Tawn" <[EMAIL PROTECTED]> wrote:
> > > > I'm trying to integrate the timeout function from
> > > herehttp://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/47
> > > 3878into a
> > > > long running autom
On Dec 4, 1:01 pm, Tommy Grav <[EMAIL PROTECTED]> wrote:
> I am trying to install PyObjC 1.4 on my Mac OS X 10.4.11.
>
> I run:
>
> [EMAIL PROTECTED] Temporary/pyobjc-1.4 --> python setup.py bdist_mpkg --
> open
> ** using pyobjc source-deps py2app for building
> running bdist_mpkg
> installing to
On Dec 3, 9:44 am, Rick Muller <[EMAIL PROTECTED]> wrote:
> I need some distutils help. I currently run a python library
> (PyQuante) that, until recently, had all of its modules in a single
> directory, called "PyQuante". The setup command in my setup.py module
> had a single "packages" line:
>
>
1 - 100 of 130 matches
Mail list logo