On Mon, 19 Jul 2010 00:53:56 -0400, Edward Diener wrote:
> In a python script a:
>
> from xxx.yyy.zzz import aaa
>
> fails with the message:
>
> "ImportError: No module named xxx.yyy.zzz"
>
> but from within the python interpreter the same line succeeds. What
> would be the causes of that ?
>
In a python script a:
from xxx.yyy.zzz import aaa
fails with the message:
"ImportError: No module named xxx.yyy.zzz"
but from within the python interpreter the same line succeeds. What
would be the causes of that ?
From within the python interpreter I have looked at sys.path and
xxx.yyy.zz
Human Rights In An Islamic State
Human Rights In An Islamic State
1. The Security Of Life And Property:
In the address which the Prophet delivered on the occasion of the
Farewell Hajj, he said: "Your lives and properties are forbidden to
one another till you meet your Lord on the Day of Resurrecti
And don't forget the oft requested strip_tease().
Malcolm
--
http://mail.python.org/mailman/listinfo/python-list
Hi Mark,
> You probably want to use the windows ShellExec function with a 'print' verb.
Thanks Mark! And cheers for the great win32api library!!
I've included a link[1] on how to do this for anyone searching the
archives.
Malcolm
[1] Print via ShellExecute (prints to the user's default printer
MRAB wrote:
[snip]
How about 'strip_str', 'lstrip_str' and 'rstrip_str', or something
similar?
+1 on the names
~Ethan~
--
http://mail.python.org/mailman/listinfo/python-list
On 19/07/2010 3:46 AM, pyt...@bdurham.com wrote:
Under Windows: Is there a way to print a file using the file's file
extension association using either the os.system or subprocess modules
(vs. win32 extensions)?
Use case: print PDF or Office documents to default printer without
having to distribu
On 18/07/2010 23:58, Edward A. Falk wrote:
In article<334170d5-a336-4506-bda1-279b40908...@k1g2000prl.googlegroups.com>,
be.krul wrote:
why is this group being spammed?
They're *all* being spammed. Why? Because they can, and because Google
doesn't care.
I see little or nothing because I
In article ,
Alf P. Steinbach /Usenet wrote:
>
>Consider, there would be almost no spam if spamming didn't pay.
Or if ISPs refused to tolerate it from their customers.
--
-Ed Falk, f...@despams.r.us.com
http://thespamdiaries.blogspot.com/
--
http://mail.python.org/mailman/listi
In article <334170d5-a336-4506-bda1-279b40908...@k1g2000prl.googlegroups.com>,
be.krul wrote:
>why is this group being spammed?
They're *all* being spammed. Why? Because they can, and because Google
doesn't care.
--
-Ed Falk, f...@despams.r.us.com
http://thespamdiaries.blogspo
Lawrence D'Oliveiro wrote:
In message
, Nick
Keighley wrote:
On 16 July, 09:24, Mark Tarver wrote:
On 15 July, 23:21, bolega wrote:
http://www.gnu.org/philosophy/stallman-kth.html
RMS lecture at KTH (Sweden), 30 October 1986
did you really have to post all of this...
read more »...
On 18 Jul, 07:01, "be.krul" wrote:
> why is this group being spammed?
There used to be bots that issued cancel messages against spam, but I
don't think they are actively maintained anymore.
--
http://mail.python.org/mailman/listinfo/python-list
MRAB wrote:
> News123 wrote:
>> Thomas Jollans wrote:
>>
>>>
string.rstrip( [ '-dir' ] )
or as
string.rstrip( '-dir' )
>>> The former should certainly raise an exception. '-dir' is not a single
>>> character !
>>> Or it should actually strip '-dir', or '-dir-dir', but not 'r--i'...
Christopher Olah
In mathematical notation, f*g = z->f(g(z)) and f^n = f*f*f... (n
times). I often run into situations in python where such operators
could result in cleaner code.
Python has a general mechanism for composing functions to make new
functions: the def statement. "z = f*g" is a spe
Firstly, apologies for posting to the wrong list. Since I was fiddling
around with a modification to the language, if the implementation
details of something I'd never expect to get accepted, I'd thought
python-dev might be appropriate... In retrospect, it is fairly clear
that it was the wrong choi
Under Windows: Is there a way to print a file using the file's
file extension association using either the os.system or
subprocess modules (vs. win32 extensions)?
Use case: print PDF or Office documents to default printer
without having to distribute win32 extensions.
Thanks,
Malcolm
--
http://m
On 07/18/2010 05:52 PM, Reid Kleckner wrote:
> Usual disclaimer: python-dev is for the development *of* python, not
> *with*. See python-list, etc.
Moving to python-list. Please keep discussion there.
>
> That said, def declares new functions or methods, so you can't put
> arbitrary expressions
On Jul 17, 11:11 am, Emmy Noether wrote:
> Well, there is a lot of resistance from the emacs community in sharing
> information. Richard Stallman is a true STALLER of progress. He has
> held the whole process hostage by not sharing information. He has
> RENEGED on his promise to make it truly ope
News123 wrote:
Thomas Jollans wrote:
string.rstrip( [ '-dir' ] )
or as
string.rstrip( '-dir' )
The former should certainly raise an exception. '-dir' is not a single
character !
Or it should actually strip '-dir', or '-dir-dir', but not 'r--i'... but
that's just silly.
It's silly with the
Thomas,
> In slightly related news, I just stumbled upon this:
> http://catb.org/esr/jargon/html/story-of-mel.html
>
> Now of course, he had it tough.
Tough???
Well we had it tough. Our computers[1][2] had 0 bytes of RAM and 0 bytes
of ROM. We had to hand wire our logic and physically push data
On Sun, Jul 18, 2010 at 12:49 AM, Johannes Kleese wrote:
> On 18.07.2010 08:09, geremy condra wrote:
>> On Sat, Jul 17, 2010 at 10:57 PM, Alf P. Steinbach /Usenet
>> wrote:
>
>>> in in a social group by sharing that group's behavior and values. This
>>> instinct is possibly stronger than the sex
Emmy Noether writes:
> On Jul 18, 12:27 am, David Kastrup wrote:
>
>> What did you ever do to _deserve_ others working for you?
>
> What did we do to deserve him to write that elisp manual of 800+
> pages ? NOTHING.
So once one gives you something, you demand everything?
> He gave it to us in
Thomas Jollans wrote:
>
>
>> string.rstrip( [ '-dir' ] )
>> or as
>> string.rstrip( '-dir' )
>
> The former should certainly raise an exception. '-dir' is not a single
> character !
> Or it should actually strip '-dir', or '-dir-dir', but not 'r--i'... but
> that's just silly.
>
It's silly wi
Emmy Noether wrote:
On Jul 18, 1:09 am, Nick <3-nos...@temporary-address.org.uk> wrote:
Emmy Noether writes:
On Jul 7, 1:57 pm, bolega wrote:
In this video, Stall man makes 4 promises to public but stalls on 2nd
of them.
I have no idea of the rights or wrongs of this case. But I've found
th
On 07/18/2010 01:18 PM, News123 wrote:
> Mark Lawrence wrote:
>> On 17/07/2010 23:17, MRAB wrote:
>>> Chris Rebert wrote:
On Fri, Jul 16, 2010 at 10:27 AM, MRAB
wrote:
> Jason Friedman wrote:
It's a pity that str.strip() doesn't actually take a set() of length-1
string
thanks a lot. I was really stupid.
of course I should keep a references to use it later.
--
http://mail.python.org/mailman/listinfo/python-list
Mark Lawrence wrote:
> On 17/07/2010 23:17, MRAB wrote:
>> Chris Rebert wrote:
>>> On Fri, Jul 16, 2010 at 10:27 AM, MRAB
>>> wrote:
Jason Friedman wrote:
>>>
>>> It's a pity that str.strip() doesn't actually take a set() of length-1
>>> strings, which would make its behavior more obvious and
On 07/17/2010 04:59 AM, pyt...@bdurham.com wrote:
> Tim,
>
>> 2.x?! You were lucky. We lived for three months with Python 1.x in a septic
>> tank. We used to have to get up at six in the morning, write our 1.x code
>> using ed, eat a crust of stale bread, go to work down in machine language,
>>
Emmy Noether writes:
> On Jul 18, 1:09 am, Nick <3-nos...@temporary-address.org.uk> wrote:
>> Emmy Noether writes:
>> > On Jul 7, 1:57 pm, bolega wrote:
>> >> "Democracy is sick in the US, government monitors your
>> >> Internet"http://www.youtube.com/watch?v=2BfCJq_zIdk&feature=fvsr
>>
>> >>
On 2010-07-18, Emmy Noether wrote:
> DEFUN ("or", For, Sor, 0, UNEVALLED, 0,
> "Eval args until one of them yields non-NIL, then return that value.
> \n\
> The remaining args are not evalled at all.\n\
> If all args return NIL, return NIL.")
> (args)
> Lisp_Object args;
> {
> register L
On Jul 18, 1:09 am, Nick <3-nos...@temporary-address.org.uk> wrote:
> Emmy Noether writes:
> > On Jul 7, 1:57 pm, bolega wrote:
> >> "Democracy is sick in the US, government monitors your
> >> Internet"http://www.youtube.com/watch?v=2BfCJq_zIdk&feature=fvsr
>
> >> Enjoy .
>
> > In this video
On Jul 18, 12:27 am, David Kastrup wrote:
> Emmy Noether writes:
> >> Some entity, AKA David Kastrup ,
> >> wrote this mindboggling stuff:
> >> (selectively-snipped-or-not-p)
>
> Software is a puzzle and it must be explained to be able to do that,
> its like a lock
>
> >>> There is no u
Mark Lawrence wrote:
> On 17/07/2010 20:38, Mick Krippendorf wrote:
>>
>> If Java were *really* a multiple dispatch language, it wouldn't be
>> necessary to repeat the accept-code for every subclass. Instead a single
>> accept method in the base class would suffice. In fact, with true
>> multiple d
Emmy Noether writes:
> On Jul 7, 1:57 pm, bolega wrote:
>> "Democracy is sick in the US, government monitors your
>> Internet"http://www.youtube.com/watch?v=2BfCJq_zIdk&feature=fvsr
>>
>> Enjoy .
>
> In this video, Stall man makes 4 promises to public but stalls on 2nd
> of them.
I have no
On 18.07.2010 08:09, geremy condra wrote:
> On Sat, Jul 17, 2010 at 10:57 PM, Alf P. Steinbach /Usenet
> wrote:
>> in in a social group by sharing that group's behavior and values. This
>> instinct is possibly stronger than the sex drive, e.g., wars are seldom
>> fought over sex ("surrender, and
Emmy Noether writes:
>> Some entity, AKA David Kastrup ,
>> wrote this mindboggling stuff:
>> (selectively-snipped-or-not-p)
>
Software is a puzzle and it must be explained to be able to do that,
its like a lock
>
>>> There is no unfreedom involved here. Freedom does not hand you a fre
36 matches
Mail list logo