On 19 Apr., 08:37, Hook <[EMAIL PROTECTED]> wrote:
> Traceback (most recent call last):
> File "./3.py", line 20, in
> Obj.Connect ('Database')
> File "/mnt/isis/Projects/Python/Learning/DB_m.py", line 102, in Connect
> self.TRACE ("DB::Connect (" + database + "," + mode)
> File "/m
Hook wrote:
> When I run the script I get this:
>
> Traceback (most recent call last):
> File "./3.py", line 20, in
> Obj.Connect ('Database')
> File "/mnt/isis/Projects/Python/Learning/DB_m.py", line 102, in Connect
> self.TRACE ("DB::Connect (" + database + "," + mode)
> File "/m
On Apr 19, 12:37 am, Hook <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having a problem with multiple inheritance - it's clearly something
> I've missed, but the web pages and books that I've consulted aren't
> helping, so I'll throw myself on the mercy and collective wisdom of
> Usenet!
>
> I've got 4
In article <[EMAIL PROTECTED]>,
Hook <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm having a problem with multiple inheritance - it's clearly something
> I've missed, but the web pages and books that I've consulted aren't
> helping, so I'll throw myself on the mercy and collective wisdom of
> Usene
Hook <[EMAIL PROTECTED]> writes:
> I'm having a problem with multiple inheritance
You aren't alone. Multiple inheritance (MI) is difficult to implement,
and once implemented, usually difficult to understand and sometimes
counterintuitive.
I recommend you read and absorb the article "The Truth ab
We (www.tradertrade.com) china wholesale and retail new Nike
Sneakers,Air Jordan Sneakers,air force ones 1s,Nike Dunks SB,Bape Sta
from nike outlets and factory stores,also Nike wholesale - Jordan
Shoes we supply nike sneakers jordan sneaker air force 1s ...
Featuring unique gift ideas for birthd
> Is it possible to change an
> environment variable, so that Python uses this coding automatically?
No.
> Or pass a command-line argument when Emacs python-mode invokes the
> Python interpreter?
No.
> Or execute this line of Python in a startup script
> which is invoked whenever a new Python s
[EMAIL PROTECTED] napisał(a):
> so i load a gif onto a canvas and when i click the canvs i want to get
> the color of the pixel that is clicked.
> so i need to ge the object im clicking.
> i was told in another thread to use find_withtag or find_closest but
> it is not working, maybe im using the
>
Patrick Mullen wrote:
> On Fri, Apr 18, 2008 at 4:29 PM, globalrev <[EMAIL PROTECTED]> wrote:
>> type "python setup.py install"
>>
>> that is used in most "addons" for python.
>>
>> well using windows vista, where the h*** am i supposed to type this?
>>
>> if it is not doable in windows, what do
On Apr 18, 11:58 am, Aaron Watters <[EMAIL PROTECTED]> wrote:
> Why is the migration to py3k a concern?
> For example I have libraries which use string%dictionary
> substitution where the dictionary is actually an object
> which emulates a dictionary. The __getitem__ for
> the object can be very e
On Apr 14, 9:53 pm, "m.moghimi" <[EMAIL PROTECTED]> wrote:
> On Apr 14, 5:15 pm, "Twayne" <[EMAIL PROTECTED]> wrote:
>
>
>
> > > Hi,
>
> > > We are to hold a workshop about python (introduction). It will be two
> > > one hour and half sessions.
> > > I wanted to know which subjects do you suggest t
On Apr 18, 2:08 pm, Joseph Turian <[EMAIL PROTECTED]> wrote:
> How widely adopted is python 2.5?
>
> We are doing some development, and have a choice to make:
> a) Use all the 2.5 features we want.
> b) Maintain backwards compatability with 2.4.
>
> So I guess the question is, does anyone have a se
On Apr 19, 3:16 am, Joseph Turian <[EMAIL PROTECTED]> wrote:
> Basically, we're planning on releasing it as open-source, and don't
> want to alienate a large percentage of potential users.
How about Java users? Jython was recently at 2.2 (still is for all I
know). I'm pleased they've got that fa
Mondaine Women's Railway watch #A669.30305.11SBC - Replica Watch Fake
Mondaine Women's Railway watch #A669.30305.11SBC Link :
http://www.watchesprice.net/Replica-Mondaine-10291.html
Replica Watches Home : http://www.watchesprice.net/
Replica Mondaine Brands : http://www.watchesprice.net/Mondaine-R
Bulova Watches, Bulova Ladies' Sport Marine Star Mother of Pearl Dial
Diamond Bezel Women's Watch - Replica Watch Fake
Bulova Watches, Bulova Ladies' Sport Marine Star Mother of Pearl Dial
Diamond Bezel Women's Watch Link :
http://www.watchesprice.net/Replica-Bulova-2208.html
Replica Watches Home
On Wed, 16 Apr 2008 21:13:18 -0400, Steve Holden wrote:
>
> Since there is only one instance of TypeNone (the value we reference as
> None) the easiest test is
>
>if x is None:
>
Thanks... the "if x is None:" statement is exactly what I was looking for.
--
http://mail.python.org/mailman/l
Joseph Turian wrote:
> Basically, we're planning on releasing it as open-source, and don't
> want to alienate a large percentage of potential users.
Then develop for 2.5 with an eye on what is to come this year in 2.6 with
regard to already planned
deprecations.
- Paddy.
--
http://mail.python.o
On Apr 18, 2:16 pm, Joseph Turian <[EMAIL PROTECTED]> wrote:
> Basically, we're planning on releasing it as open-source, and don't
> want to alienate a large percentage of potential users.
99% is a big percent. My 1% doesn't like something.
--
http://mail.python.org/mailman/listinfo/python-list
HI all, i found winreg module from
http://www.rutherfurd.net/python/winreg/index.html
very useful and simple, instead _winreg.
But i have a problem with this module, in its iterable part.
look at the following code
key = Key(HKLM,r"SYSTEM\CurrentControlSet\Services\Tcpip\Enum")
for i in key.val
Hello,
I have written an open source IDE in python and Qt, called eggy. Eggy
supports several languages, including python, ruby, C, C++, java, perl
and others. Eggy also supports group projects over the lan or internet -
with live changes, lets you compile and run your code, supports
templates
On 2008-04-19 03:09, [EMAIL PROTECTED] wrote:
> Another poster pointed me to
>>> sys.stdout = codecs.getwriter("UTF-8")(sys.stdout)
> and this works great. All I want now is some reassurance that this is
> the most appropriate way for me to achieve what I want (e.g. least
> likely to break with fut
On Apr 19, 6:20 am, hellt <[EMAIL PROTECTED]> wrote:
> HI all, i found winreg module
> fromhttp://www.rutherfurd.net/python/winreg/index.html
> very useful and simple, instead _winreg.
>
> But i have a problem with this module, in its iterable part.
>
> look at the following code
>
> key = Key(HKL
Sorry, the above post is not complete. This is the rest:
# There should be a for or a while loop around here
try:
name = _winreg.EnumValue(key, index)
except EnvironmentError:
# It raises WindowsError, but the _winreg documentation
# recommends catching EnvironmentError
break
else:
Thanks to everyone who replied. Kay and Mark put me on the right track
immediately. Ben is quite right - the fragment that I posted couldn't
have given that error, but I didn't want to post the whole thing -
perhaps wrongly, I thought it wouldn't help clarify what I thought the
problem was. And
At 12:16 PM -0700 4/18/08, Joseph Turian wrote:
>Basically, we're planning on releasing it as open-source, and don't
>want to alienate a large percentage of potential users.
>--
>http://mail.python.org/mailman/listinfo/python-list
A few seconds after reading this, I read the announcement for pyspr
On Apr 18, 4:48 am, Bruno Desthuilliers wrote:
[...]
> Practically, this means that (amongst other niceties) :
> - you can define functions outside classes and use them as instance or
> class methods
> - you can add/replaces methods dynamically on a per-class or
> per-instance basis
> - you can ac
Hi,
I'm trying to run a process from a python script. I need the exit
status of that process but do not care about its output, so until now
was using os.system(). But it turned out that the process often went
into an infinite loop, so I wrote a SIGALRM handler. Unfortunately the
code I came up with
On 17 Apr., 14:25, andrew cooke <[EMAIL PROTECTED]> wrote:
> PS Is there anywhere that explains why Decorators (in the context of
> functions/methods) are so good?
We had kind of an inverse discussion a while ago when someone asked
about the fate of aspect oriented programming (AOP) in Python. My
Hi All.
I'm trying to write a script that will send me an email message when my IP
address changes on a specific NIC. On Linux, the script works. On FreeBSD, it
fails with:
Traceback (most recent call last):
File "./pyifcheck.py", line 22, in
if get_ip_address('xl0') == IPADDY:
File "./pyifch
bvidinli schrieb:
> is there a way to find out if file open in system ? -
> please write if you know a way other than lsof. because lsof if slow for me.
> i need a faster way.
> i deal with thousands of files... so, i need a faster / python way for this.
> thanks.
I think you can do this with inot
[EMAIL PROTECTED] schrieb:
> A: everything (or almost) in Python is an object. Including functions,
> classes, modules etc.
Everything you can access from or through Python code must be an object.
Every object has at least a type and a reference count.
Christian
--
http://mail.python.org/mailma
Hello. I'm using urllib.urlretrieve to download files,
because it provides a handy hook function.
Unfortunately, it won't let me send headers, which
could be quite useful. Is there any way I could do
this?
__
Sent from Yahoo! Mail.
A
On 19 avr, 16:34, andrew cooke <[EMAIL PROTECTED]> wrote:
> On Apr 18, 4:48 am, Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
>
> [...]
>
> > Practically, this means that (amongst other niceties) :
> > - you can define functions outside classes and use them as instance or
> > class methods
> > - y
triplezone3 schrieb:
> Hello. I'm using urllib.urlretrieve to download files,
> because it provides a handy hook function.
> Unfortunately, it won't let me send headers, which
> could be quite useful. Is there any way I could do
> this?
I suggest you look into urllib2. It allows you to explicitly
On Apr 17, 4:06 pm, AlFire <[EMAIL PROTECTED]> wrote:
> Q: why function got dictionary? What it is used for?
As previously mentioned, a function has a __dict__ like (most) other
objects.
You can e.g. use it to create static variables:
int foobar()
{
static int i = 0;
return i++;
}
is rou
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes:
> Hi,
> I'm trying to run a process from a python script. I need the exit
> status of that process but do not care about its output, so until now
> was using os.system(). But it turned out that the process often went
> into an infinite loo
Hi,
I have this trivial program:
import inspect
class A:
def __init__(self, a):
self.a = a
def __str__(self):
return 'A(%s)' % self.a
a = A(8)
print a
the output is:
A(8)
A(8)
Why does the inspect module cause the output
to be printed twice?
Thanks
--
http://mail.python
I have looked in to urllib2, and I can't find a
function which would allow me to get the progress of
the download as it happens, bit by bit, like
urlretrieve does, at least not easily.
urllib.urlretrieve's returnhook is just handy.
I have another question concerning urlretrieve, is
there a way I ca
[EMAIL PROTECTED] wrote:
> On Apr 18, 12:23 am, I V <[EMAIL PROTECTED]> wrote:
>> On Thu, 17 Apr 2008 19:30:33 -0700, erikcw wrote:
>>> use some sort of data-structure (maybe
>>> nested dictionaries or a custom class) and store the pickled
>>> data-structure in a single row in the database (then un
2008/4/19, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> Hi,
Hello,
> I have this trivial program:
>
> import inspect
> class A:
> def __init__(self, a):
> self.a = a
> def __str__(self):
> return 'A(%s)' % self.a
> a = A(8)
> print a
>
> the output is:
> A(8)
> A(8)
>
On 19 avr, 19:39, sturlamolden <[EMAIL PROTECTED]> wrote:
> On Apr 17, 4:06 pm, AlFire <[EMAIL PROTECTED]> wrote:
>
> > Q: why function got dictionary? What it is used for?
>
> As previously mentioned, a function has a __dict__ like (most) other
> objects.
>
> You can e.g. use it to create static v
> Why does the inspect module cause the output
> to be printed twice?
I also tested it, no problem here either.
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 19, 1:41 pm, Karl-Heinz Ruskowski <[EMAIL PROTECTED]>
wrote:
> > Why does the inspect module cause the output
> > to be printed twice?
>
> I also tested it, no problem here either.
I realized what the problem was.
I called the file inspect.py, stupid me.
Thanks
--
http://mail.python.org/m
do i need to import something to use random?
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 19, 8:33 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> barfoo = foobar
> foobar = lambda x : x
>
> And boom.
That's why I used the qualifier 'roughly equivalent' and not simply
'equivalent'.
--
http://mail.python.org/mailman/listinfo/python-list
DoIt - A task execution tool (build-tool)
=
This is the first public release of DoIt
Website: http://python-doit.sourceforge.net/
Release: DoIt 0.1.0
License: MIT
About
-
DoIt is a build tool that focus not only on making/building things but on
execut
On Sun, Apr 20, 2008 at 12:58 AM, globalrev <[EMAIL PROTECTED]> wrote:
> do i need to import something to use random?
> --
you need to import random :)
Python 2.5.1 (r251:54863, Mar 7 2008, 03:39:23)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright",
On 19 Apr, 10:15, Rafał Wysocki <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] napisa³(a):
>
>
>
> > so i load a gif onto a canvas and when i click the canvs i want to get
> > the color of the pixel that is clicked.
> > so i need to ge the object im clicking.
> > i was told in another thread to use
I'd like to use my webserver to distribute some simple python physics
apps. Ideally, I'd like to use some simple form to input a few pieces
of data, call a python program, and return some image from a plot or
some other rendering. This is easy to do using CGI, but I was
wondering whether anyone on
On Fri, 18 Apr 2008 04:46:38 +0200
Martin Manns <[EMAIL PROTECTED]> wrote:
> pyspread 0.0.1 is now available at:
> http://pyspread.sourceforge.net
Hi,
I updated to version 0.0.2 that fixes the tarballs and zip files.
Any information about the package working on different platforms is
appreciated
On Apr 18, 9:29 pm, sturlamolden <[EMAIL PROTECTED]> wrote:
> On 18 Apr, 21:28, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > Passing a NULL SectionHandle to NTCreateProcess/CreateProcessEx
> > results in a fork-style copy-on-write duplicate of the current process.
>
> I know about NtCreateP
Eduardo Schettino wrote:
> DoIt - A task execution tool (build-tool)
> =
>
> This is the first public release of DoIt
>
> Website: http://python-doit.sourceforge.net/
> Release: DoIt 0.1.0
> License: MIT
>
> About
> -
>
> DoIt is a build tool that foc
globalrev wrote:
> do i need to import something to use random?
No, you need to import random
--
http://mail.python.org/mailman/listinfo/python-list
On 19 Apr, 21:43, globalrev <[EMAIL PROTECTED]> wrote:
> On 19 Apr, 10:15, Rafaù Wysocki <[EMAIL PROTECTED]> wrote:
>
>
>
> > [EMAIL PROTECTED] napisa³(a):
>
> > > so i load a gif onto a canvas and when i click the canvs i want to get
> > > the color of the pixel that is clicked.
> > > so i need to
On 19 Apr, 21:55, Rick Muller <[EMAIL PROTECTED]> wrote:
> I'd like to use my webserver to distribute some simple python physics
> apps. Ideally, I'd like to use some simple form to input a few pieces
> of data, call a python program, and return some image from a plot or
> some other rendering. Thi
On Apr 19, 1:27 pm, Scott David Daniels <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > On Apr 18, 12:23 am, I V <[EMAIL PROTECTED]> wrote:
> >> On Thu, 17 Apr 2008 19:30:33 -0700, erikcw wrote:
> >>> use some sort of data-structure (maybe
> >>> nested dictionaries or a custom class) and
On Apr 19, 2:44 pm, globalrev <[EMAIL PROTECTED]> wrote:
>
> www.vpython.orgmight be what you are looking for.
Except, if I'm not mistaken, vpython isn't a web framework. It would
work if I wanted to write some python scripts and have other people
run them, but I want to run everything through a
On Sun, Apr 20, 2008 at 2:04 AM, John Machin <[EMAIL PROTECTED]> wrote:
> You may like to consider the possibility of confusion caused by the
> similarity of some characters in some fonts (DoIt, Do1t, Dolt) ...
> google("dictionary dolt") :-)
> --
> http://mail.python.org/mailman/listinfo/pyth
Hi, is it possible to manipulate class attributes from within a decorator
while the class is being defined?
I want to register methods with some additional values in a class attribute.
But I can't get a decorator to change a class attribute while the class is
still being defined. Something like
Just few link on some Movies
Movies: http://victoria-beckham.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Movies
Movies: http://victoria-beckham.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Movies
Movies: http://victoria-beckham.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Movies
Movies: http://victoria-beckham.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Movies
Movies: http://victoria-beckham.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Movies
Movies: http://victoria-beckham.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Movies
Movies: http://victoria-beckham.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Movies
Movies: http://victoria-beckham.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Movies
Movies: http://victoria-beckham.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Movies
Movies: http://victoria-beckham.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Movies
Movies: http://victoria-beckham.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Movies
Movies: http://victoria-beckham.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Movies
Movies: http://victoria-beckham.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
Just few link on some Movies
Movies: http://victoria-beckham.12w.net
F
R
E
E
C
E
L
E
B
R
I
T
Y
M
O
V
I
E
S
--
http://mail.python.org/mailman/listinfo/python-list
On 2008-04-18 23:35:12 -0600, Ivan Illarionov <[EMAIL PROTECTED]> said:
> On Sat, 19 Apr 2008 04:45:54 +, Ivan Illarionov wrote:
>
>> On Fri, 18 Apr 2008 22:30:45 -0500, Grant Edwards wrote:
>>
>>> On 2008-04-18, Bob Greschke <[EMAIL PROTECTED]> wrote:
>>>
However, in playing around wi
Wilbert Berendsen schrieb:
> Hi, is it possible to manipulate class attributes from within a decorator
> while the class is being defined?
>
> I want to register methods with some additional values in a class attribute.
> But I can't get a decorator to change a class attribute while the class is
> How can I reach the class attribute `regexps' from within a decorator?
Now, the first way that comes to my mind is simply overloading the class and
set your regexps variable in your new class.
The other way is to create an object and set it more manually (obj.regexps =
['.*']). Which for me i
On 2008-04-18 21:33:34 -0600, Grant Edwards <[EMAIL PROTECTED]> said:
> On 2008-04-18, Bob Greschke <[EMAIL PROTECTED]> wrote:
>
>> I'm on a Solaris 8 with Python 2.3.4 and when crunching
>> through, literally, millions and millions of samples of
>> seismic data fingers point out the difference n
>
>
> www.greschke.com/unlinked/files/pocus.png
>
>
> Darnit.
www.greschke.com/unlinked/images/pocus.png
--
http://mail.python.org/mailman/listinfo/python-list
Rick Muller wrote:
> On Apr 19, 2:44 pm, globalrev <[EMAIL PROTECTED]> wrote:
>
>
>> www.vpython.orgmight be what you are looking for.
>>
>
> Except, if I'm not mistaken, vpython isn't a web framework. It would
> work if I wanted to write some python scripts and have other people
> run them
On 18/04/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Apr 18, 8:46 am, "Dotan Cohen" <[EMAIL PROTECTED]> wrote:
> > I had once heard something about python running on a Series 40 Nokia,
> > but I am unable to google anything concrete. Might it have been
> > Jython? Is there a known im
China wholesaler of cheap air jordan shoes,wholesale
jordans,wholesale
jordans from china,wholesale nike jordans (www.crazysupplier.com)
Buy new jordan 23 shoes, air jordan 23 shoes,jordan xx3,nike jordan
xxiii,new air jordan 23 shoes,AJ23,jordan 23 (www.crazysupplier.com)
cheap Air jordan xxiii,Jo
On Apr 19, 3:36�pm, John Machin <[EMAIL PROTECTED]> wrote:
> globalrev wrote:
> > do i need to import something to use random?
>
> No, you need to import random
But you could alsways import it as something.
>>> import random as something
>>> something.random()
0.45811606256668347
--
http://mail.
if i have a larger project and want to divide my program into several
files, how do i include these files in the mainprogram?
using import someprojectfile doesnt work because import is for site-
packages right and i dont want to put all my files
in that folder.
so how do i do it?
--
http://mail
globalrev wrote:
> if i have a larger project and want to divide my program into several
> files, how do i include these files in the mainprogram?
>
> using import someprojectfile doesnt work because import is for site-
> packages right and i dont want to put all my files
> in that folder.
>
> so
On 20 Apr, 02:04, "Martin P. Hellwig" <[EMAIL PROTECTED]> wrote:
> globalrev wrote:
> > if i have a larger project and want to divide my program into several
> > files, how do i include these files in the mainprogram?
>
> > using import someprojectfile doesnt work because import is for site-
> > pa
On Apr 18, 9:36 pm, Ross Ridge <[EMAIL PROTECTED]>
wrote:
> Ross Ridge <[EMAIL PROTECTED]> said:
>
> > If you have Python 2.5, here's a faster version:
>
> > from struct import *
> > unpack_i32be = Struct(">l").unpack
>
> > def from3Bytes_ross2(s):
> > return unpack_i32be(s + "\0")[
On Apr 19, 10:29 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> FWIW, NT's POSIX subsytem fork() uses (or used to use) the NULL
> SectionHandle method and was POSIX certified, so it's certainly
> possible.
Windows Vista Ultimate comes with Interix integrated, renamed
'Subsystem for Unix bas
On Apr 19, 2008, at Apr 19:3:55 PM, Rick Muller wrote:
Do any of the AJAX frameworks for Python compare in simplicity to
writing a simple CGI script? I've been impressed with web.py, since it
seems pretty easy to use, but I would go to the trouble of learning
one of the bigger frameworks if they
Hi,
Wanted to check if there is any known, reliable, FOSS/Libre -- Obfurscator
for Python 2.5 code.
--
regards,
Banibrata
http://www.linkedin.com/in/bdutta
--
http://mail.python.org/mailman/listinfo/python-list
En Thu, 17 Apr 2008 19:11:36 -0300, Petr Jakeš <[EMAIL PROTECTED]>
escribió:
> I am trying to dig through User-defined Exceptions. chapter 8.5 in
> http://docs.python.org/tut/node10.html
>
>
> I would like to know, if is it OK to add following line to the __init__
> method of the TransitionErro
Ross Ridge <[EMAIL PROTECTED]> wrote:
> It's the same as the previous version except that it "precompiles"
> the struct.unpack() format string. =A0It works similar to the way Python
> handles regular expressions.
George Sakkis <[EMAIL PROTECTED]> wrote:
>I didn't know about the Struct class; pret
En Wed, 16 Apr 2008 10:50:44 -0300, <[EMAIL PROTECTED]> escribió:
> I am using the RotatingFileHandler logger with Python 2.5 on Windows and
> I am getting an error on the rollover. When the log file gets close to
> the size where it needs to rollover, I start getting the following error
>
Ross Ridge wrote:
> Ross Ridge <[EMAIL PROTECTED]> wrote:
>> It's the same as the previous version except that it "precompiles"
>> the struct.unpack() format string. =A0It works similar to the way Python
>> handles regular expressions.
>
> George Sakkis <[EMAIL PROTECTED]> wrote:
>> I didn't know
Greetings!
I've just started learning python, so this is probably one of those
obvious questions newbies ask.
Is there any way in python to check if a text file is blank?
What I've tried to do so far is:
f = file("friends.txt", "w")
if f.read() is True:
On Apr 19, 10:19 pm, Wilbert Berendsen <[EMAIL PROTECTED]> wrote:
> Hi, is it possible to manipulate class attributes from within a decorator
> while the class is being defined?
>
> I want to register methods with some additional values in a class attribute.
> But I can't get a decorator to change
>
> Is there any way in python to check if a text file is blank?
>
> What I've tried to do so far is:
>
> f = file("friends.txt", "w")
> if f.read() is True:
> """do stuff"""
> else:
> """do other stuf
On Apr 20, 1:04 am, [EMAIL PROTECTED] wrote:
> Greetings!
>
> I've just started learning python, so this is probably one of those
> obvious questions newbies ask.
>
> Is there any way in python to check if a text file is blank?
>
> What I've tried to do so far is:
>
> f = file("frie
[EMAIL PROTECTED] wrote:
> Greetings!
>
> I've just started learning python, so this is probably one of those
> obvious questions newbies ask.
>
> Is there any way in python to check if a text file is blank?
>
> What I've tried to do so far is:
>
> f = file("friends.txt", "w")
>
98 matches
Mail list logo