On 3/8/2013 11:12 PM, Bob Hanson wrote:
I do notice trivial changes,
I am currently set up again to do doc changes, so if you already have
some non-controversial changes to the *current* docs, the online html
versions, go ahead and email them to me.
but I also feel some of the
documentati
On 3/8/2013 11:45 AM, Wolfgang Maier wrote:
Dear all,
can anybody point out a situation where you really need itertools.filterfalse()
?
So far, I couldn't think of a case where you couldn't replace it with a
generator expression/if combination.
e.g.,
a=filterfalse(lambda x: x%2, range(1,101))
b
On Friday, March 8, 2013 9:41:57 PM UTC-6, Rick Johnson wrote:
> First impression of Fountain: TOTAL CRAP!
Noted. But it seems to be the syntax the screenwriters and their programmers
have settled on for now. It's all working pretty well. Just no Python or
command-line implementations yet. I d
On Fri, 08 Mar 2013 19:48:28 -0500, Colin J. Williams wrote:
> I have a program that I wish to run in both Python 2.7 and Python 3.2
>
> The program runs correctly under each version, but it runs more slowly
> under 3.2.
Without knowing what your program does, it is impossible to comment on
why
On Fri, 08 Mar 2013 19:18:50 -0800, Νίκος Γκρ33κ wrote:
> I agree with you but i wonder why the world would want to dedicate hours
> for fiddling with my script? Why anyone should mess with my website
> http://superhost.gr ?
What makes you think it would be hours? For somebody who knows what the
On Mar 8, 10:47 pm, Steven D'Aprano wrote:
> On Wed, 06 Mar 2013 18:58:12 -0800, rusi wrote:
> >> My questions:
> >> 1. Why is Ruby on Rails much more popular than Django?
>
> > "Where there is choice there is no freedom"
> >http://www.jiddu-krishnamurti.net/en/1954/1954-03-03-jiddu-krishnamurti-
On Wed, 06 Mar 2013 18:50:35 -0500, Terry Reedy wrote:
> On 3/6/2013 2:48 PM, rh wrote:
>
> > [Bob Hanson wrote:]
> >
> > > I've tried twice to register with the bug tracker -- including
> > > just before sending this post. [...]
> > >
> > > [other details and errors snipped]
> > >
> > > I had w
On Sat, Mar 9, 2013 at 2:31 PM, Bob Hanson wrote:
> (I was without internet access for a few days while the experts
> at the phone company once again attempted to simulate minimal
> competence culminating with their "DSL install expert" -- who had
> never heard of Linux -- trying to puzzle out my
On Friday, March 8, 2013 3:07:59 PM UTC-6, Rick Dooling wrote:
> I am an amateur Python person, and I usually learn just
> enough to make one writing tool or another as I go,
> because mainly I'm a writer, not a programmer. Recently,
> I've been exploring a markdown syntax called Fountain for
> scr
On 06 Mar 2013 03:38:36 GMT, Steven D'Aprano wrote:
> On Tue, 05 Mar 2013 17:51:36 -0800, Bob Hanson wrote:
>
> > [trouble reporting bugs]
>
> Works for me.
>
> Please try again, and if it still does not work, please email me off-list
> and I will help you either set up an account or report a
On 09/03/2013 03:17, Νίκος Γκρ33κ wrote:
Τη Σάββατο, 9 Μαρτίου 2013 2:18:42 π.μ. UTC+2, ο χρήστης Ian έγραψε:
So the -c is an option to Python. It means that instead of reading a
script, Python should run commands passed on the command line in the
next argument. That's the ''. It's empty, so
On 09/03/2013 03:18, Νίκος Γκρ33κ wrote:
Τη Παρασκευή, 8 Μαρτίου 2013 11:37:11 μ.μ. UTC+2, ο χρήστης Chris Angelico
έγραψε:
There is NO WAY that you are the smartest or most devious person on
Earth. Also, the three hours that you put in are *nothing* compared to
the collective time that the re
Τη Σάββατο, 9 Μαρτίου 2013 2:18:42 π.μ. UTC+2, ο χρήστης Ian έγραψε:
> So the -c is an option to Python. It means that instead of reading a
> script, Python should run commands passed on the command line in the
> next argument. That's the ''. It's empty, so what this instructs
> Python is to d
Τη Παρασκευή, 8 Μαρτίου 2013 11:37:11 μ.μ. UTC+2, ο χρήστης Chris Angelico
έγραψε:
> There is NO WAY that you are the smartest or most devious person on
> Earth. Also, the three hours that you put in are *nothing* compared to
> the collective time that the rest of the world will spend fiddling
Τη Σάββατο, 9 Μαρτίου 2013 2:26:56 π.μ. UTC+2, ο χρήστης Ian έγραψε:
> On Fri, Mar 8, 2013 at 1:31 PM, Νίκος Γκρ33κ wrote:
>
> > Thank you very much for pointing my flaws once again!
>
> >
>
> > I cant beleive how easy you hacked the webserver again and be able to read
> > my cgi scripts sourc
On Wed, 06 Mar 2013 03:12:43 +, Mark Lawrence wrote:
> On 06/03/2013 01:43, Bob Hanson wrote:
>
> > [problem reporting bugs]
>
> You'll be delighted to know that everybody will have to sign a
> contributor agreement if they're supplying a patch file on the bug
> tracker, see
> http://blog.
Program summary:
I have a module called user.py that imports another module called
app.py. Functions in app.py are used in user.py to describe 3D
objects. These objects are saved in another object described in
doc.py.
app.py contains a function called view(). When called in user.py, it
signal
I have a program that I wish to run in both Python 2.7 and Python 3.2
The program runs correctly under each version, but it runs more slowly
under 3.2.
This is probably due to the fact that the .pyc file is created for the
Python 2.7 execution.
When Python 3.2 is run it fails to create a ne
On Fri, Mar 8, 2013 at 1:31 PM, Νίκος Γκρ33κ wrote:
> Thank you very much for pointing my flaws once again!
>
> I cant beleive how easy you hacked the webserver again and be able to read my
> cgi scripts source and write to cgi-bin too!
>
> I have added extra security by following some of your ad
On Fri, Mar 8, 2013 at 1:54 PM, wrote:
> Τη Παρασκευή, 8 Μαρτίου 2013 8:54:15 μ.μ. UTC+2, ο χρήστης Steven D'Aprano
> έγραψε:
>
>> >>> -c ''; rm -rf /; oops.py
>
>> Please don't tell the newbies to destroy their system, no matter how
>> tempting it might be.
>
> What that "-c ''" options i keep
Thank you, Chris. I was trying to avoid the xcode since I know didley about
that too, but I'll download it and see if I can get it to run.
THANKS AGAIN
Rick
On Friday, March 8, 2013 3:51:44 PM UTC-6, Chris Angelico wrote:
> On Sat, Mar 9, 2013 at 8:07 AM, Rick Dooling wrote:
>
> > To that end
On 03/08/2013 12:54 PM, nagia.rets...@gmail.com wrote:
Τη Παρασκευή, 8 Μαρτίου 2013 8:54:15 μ.μ. UTC+2, ο χρήστης Steven D'Aprano
έγραψε:
-c ''; rm -rf /; oops.py
Please don't tell the newbies to destroy their system, no matter how
tempting it might be.
What that "-c ''" options i keep se
On Sat, Mar 9, 2013 at 8:33 AM, Nobody wrote:
> On Fri, 08 Mar 2013 13:41:27 -0500, Roy Smith wrote:
>
>> So, the question is, WHY aren't aware and naive datetimes separate
>> classes? They share many attributes and methods, but not all.
>
> They share all attributes and methods.
>
> You could ju
On Sat, Mar 9, 2013 at 8:07 AM, Rick Dooling wrote:
> To that end, I would like to take this Ruby script (which works pretty well,
> but throws errors in Mac OS X; some Ruby ones and some Prince ones) and
> convert it to Python so I can fix it myself, because I don't know Ruby at
> all, and wou
Ian Kelly gmail.com> writes:
> Depending on your Python version lst is either a range object or a
> list, neither of which is an iterator. If you pass to consume an
> iterable object that is not an iterator, it will implicitly obtain an
> iterator for it, consume from the iterator, and then disc
On Sat, Mar 9, 2013 at 7:31 AM, Νίκος Γκρ33κ wrote:
> I cant beleive how easy you hacked the webserver again and be able to read my
> cgi scripts source and write to cgi-bin too!
>
> I have added extra security by following some of your advice, i wonder if
> youc an hack it again!
>
> Fell free
On Fri, 08 Mar 2013 13:41:27 -0500, Roy Smith wrote:
> So, the question is, WHY aren't aware and naive datetimes separate
> classes? They share many attributes and methods, but not all.
They share all attributes and methods.
You could just as well ask why positive and negative floats aren't
se
Hello all,
I am an amateur Python person, and I usually learn just enough to make one
writing tool or another as I go, because mainly I'm a writer, not a programmer.
Recently, I've been exploring a markdown syntax called Fountain for
screenwriters
http://fountain.io/syntax
https://github.com/
Τη Παρασκευή, 8 Μαρτίου 2013 8:54:15 μ.μ. UTC+2, ο χρήστης Steven D'Aprano
έγραψε:
> >>> -c ''; rm -rf /; oops.py
> Please don't tell the newbies to destroy their system, no matter how
> tempting it might be.
What that "-c ''" options i keep seeing in the attempts to pass bogus info in
my 'pa
On Fri, Mar 8, 2013 at 1:28 PM, Skip Montanaro wrote:
> I've never really used itertools before. While trying to figure out
> how to break a list up into equal pieces, I came across the consume
> function in the examples here:
>
> http://docs.python.org/2/library/itertools.html
>
> It seems to me
Τη Παρασκευή, 8 Μαρτίου 2013 10:01:59 μ.μ. UTC+2, ο χρήστης Ian έγραψε:
> On Fri, Mar 8, 2013 at 12:19 PM, wrote:
>
> > I dare anyone who wants to to mess with 'htmlpage' variable value's now!
>
> >
>
> > I made it unhackable i believe!
>
> >
>
> > I'am testing it myself 3 hours now and find
I've never really used itertools before. While trying to figure out
how to break a list up into equal pieces, I came across the consume
function in the examples here:
http://docs.python.org/2/library/itertools.html
It seems to me that it should return whatever it consumes from the
list. I thoug
On Fri, Mar 8, 2013 at 1:01 PM, Ian Kelly wrote:
> On Fri, Mar 8, 2013 at 12:19 PM, wrote:
>> I dare anyone who wants to to mess with 'htmlpage' variable value's now!
>>
>> I made it unhackable i believe!
>>
>> I'am testing it myself 3 hours now and find it safe!
>>
>> Please feel free to try al
On Fri, Mar 8, 2013 at 12:19 PM, wrote:
> I dare anyone who wants to to mess with 'htmlpage' variable value's now!
>
> I made it unhackable i believe!
>
> I'am testing it myself 3 hours now and find it safe!
>
> Please feel free to try also!
Okay, done. I was still able to read your source file
On Fri, Mar 8, 2013 at 2:32 PM, Neil Cerutti wrote:
> On 2013-03-08, khudo.anasta...@gmail.com
> wrote:
> >> I believe your instructor intends you to start with the
> >> skeleton of the program provided above. Complete it by writing
> >> the missing functions: menu, decode, and encode.
> >
> > t
On Friday, March 8, 2013 2:32:24 PM UTC-5, Neil Cerutti wrote:
> On 2013-03-08, khudo.anasta...@gmail.com
>
> wrote:
>
> >> I believe your instructor intends you to start with the
>
> >> skeleton of the program provided above. Complete it by writing
>
> >> the missing functions: menu, decode,
On 2013-03-08, khudo.anasta...@gmail.com
wrote:
>> I believe your instructor intends you to start with the
>> skeleton of the program provided above. Complete it by writing
>> the missing functions: menu, decode, and encode.
>
> that is where I confused, I am not sure how to do it, I started
> but
Τη Παρασκευή, 8 Μαρτίου 2013 8:54:15 μ.μ. UTC+2, ο χρήστης Steven D'Aprano
έγραψε:
> On Fri, 08 Mar 2013 04:55:07 +0100, Vito De Tullio wrote:
>
>
>
> > Νίκος Γκρ33κ wrote:
>
> >
>
> >>> -c ''; rm -rf /; oops.py
>
> >>
>
> >> Yes its being pulled by http request!
>
> >>
>
> >> But plea
Τη Παρασκευή, 8 Μαρτίου 2013 7:04:29 μ.μ. UTC+2, ο χρήστης sven έγραψε:
> On 8 March 2013 16:50, Νίκος Γκρ33κ wrote:
>
>
>
>
>
>
>
>
> but that same exact code is executed withour errors when someone is
> http://superhost.gr
>
>
>
> the erro is produces when he is requesting a link fro
On Friday, March 8, 2013 2:07:55 PM UTC-5, Neil Cerutti wrote:
> On 2013-03-08, khudo.anasta...@gmail.com wrote:
>
> > Hi every every body,
>
> > Today I have to submit my assignment for Computer Science, And
>
> > I am absolutely stuck in writing the code. Please help me in
>
> > soon possibl
On 2013-03-08, khudo.anasta...@gmail.com wrote:
> Hi every every body,
> Today I have to submit my assignment for Computer Science, And
> I am absolutely stuck in writing the code. Please help me in
> soon possible.
>
> The main idea of the program is encode and decode the text.
> that wot the ins
Hi every every body,
Today I have to submit my assignment for Computer Science, And I am absolutely
stuck in writing the code. Please help me in soon possible.
The main idea of the program is encode and decode the text.
that wot the instructor gave us so far.
Sample Run
Here's a sample run of t
On Fri, 08 Mar 2013 04:55:07 +0100, Vito De Tullio wrote:
> Νίκος Γκρ33κ wrote:
>
>>> -c ''; rm -rf /; oops.py
>>
>> Yes its being pulled by http request!
>>
>> But please try to do it, i dont think it will work!
>
> try yourself and tell us what happened
That's not very nice.
Please don't
In article <513a26fa$0$30001$c3e8da3$54964...@news.astraweb.com>,
Steven D'Aprano wrote:
> On Wed, 06 Mar 2013 22:20:11 -0500, Roy Smith wrote:
>
> > I stumbled upon an interesting bit of trivia concerning lists and list
> > comprehensions today.
> >
> > We use mongoengine as a database model
To make a long (and painful) story short, I've got a (large) list of
datetimes, and was getting some bizarre errors working with it. One of
the things I tried while debugging the problem was verifying that all
the elements of the list were indeed datetimes:
In [59]: set(type(foo) for foo in x
On Thu, 07 Mar 2013 09:27:42 +, Sven wrote:
> Additionally, what if I wanted to pull a random element from N, but I
> want to ensure all elements from N have been used before starting to
> pick already chosen random elements again. So far I thought of
> duplicating the list and removing the ra
On Wed, 06 Mar 2013 22:20:11 -0500, Roy Smith wrote:
> I stumbled upon an interesting bit of trivia concerning lists and list
> comprehensions today.
>
> We use mongoengine as a database model layer. A mongoengine query
> returns an iterable object called a QuerySet. The "obvious" way to
> crea
On Mar 8, 7:29 pm, Oscar Benjamin wrote:
> On 8 March 2013 05:26, wrote:
>
> > On Friday, March 8, 2013 2:18:06 AM UTC+5:30, subhaba...@gmail.com wrote:
>
> >> I was trying to learn Hidden Markov Model. In Python there are various
> >> packages, but I was willing to do some basic calculation st
On Wed, 06 Mar 2013 18:58:12 -0800, rusi wrote:
>> My questions:
>> 1. Why is Ruby on Rails much more popular than Django?
>
> "Where there is choice there is no freedom"
> http://www.jiddu-krishnamurti.net/en/1954/1954-03-03-jiddu-
krishnamurti-8th-public-talk
Surely that should be, where ther
On Mar 8, 9:50 am, rh wrote:
> Choices are good.
> Having one choice is a mess. And look back at history and current events
> if you don't see that.
See http://www.perl.com/pub/1999/03/pm.html for how a real post-modern
hip language gives endless choice. Also called TIMTOWTDI. Or perl
--
htt
On 08/03/2013 17:04, Sven wrote:
On 8 March 2013 16:50, Νίκος Γκρ33κ mailto:nikos.gr...@gmail.com>> wrote:
but that same exact code is executed withour errors when someone is
http://superhost.gr
the erro is produces when he is requesting a link from that page...
--
But with
On 2013-03-08, Wolfgang Maier wrote:
> Dear all,
> can anybody point out a situation where you really need
> itertools.filterfalse() ? So far, I couldn't think of a case
> where you couldn't replace it with a generator expression/if
> combination. e.g.,
>
> a=filterfalse(lambda x: x%2, range(1,101
Τη Παρασκευή, 8 Μαρτίου 2013 6:46:35 μ.μ. UTC+2, ο χρήστης Chris Angelico
έγραψε:
> On Sat, Mar 9, 2013 at 3:35 AM, Νίκος Γκρ33κ wrote:
>
> >15 htmlpage = htmlpage.replace( '/home/nikos/public_html/', '' )
>
> > re = , re.search =
> > , htmlpage = ['/home/nikos/public_html/index.ht
Dear all,
can anybody point out a situation where you really need itertools.filterfalse()
?
So far, I couldn't think of a case where you couldn't replace it with a
generator expression/if combination.
e.g.,
a=filterfalse(lambda x: x%2, range(1,101))
b=(i for i in range(1,101) if not i % 2)
do no
On Sat, Mar 9, 2013 at 3:35 AM, Νίκος Γκρ33κ wrote:
>15 htmlpage = htmlpage.replace( '/home/nikos/public_html/', '' )
> re = , re.search = search>, htmlpage = ['/home/nikos/public_html/index.html', 'pelatologio.py']
> : expected string or buffer
The regular expression functions expec
A problem occurred in a Python script. Here is the sequence of function calls
leading up to the error, in the order they occurred.
/home/nikos/public_html/cgi-bin/metrites.py in ()
12
13 htmlpage = form.getvalue('htmlpage')
14 if re.search( r'(.html|.py)', htmlpage ):
15 htm
Hi,
Wingware has released version 4.1.12 of Wing IDE, our integrated development
environment designed specifically for the Python programming language.
Wing IDE provides a professional quality code editor with vi, emacs, and
other
key bindings, auto-completion, call tips, refactoring, context-a
* rh [130307 20:21]:
> On Wed, 6 Mar 2013 17:55:12 -0900
> Tim Johnson wrote:
>
> >
> > I believe that indifference on the part of Python to fastcgi is a
> > self-inflicted wound. I don't believe that there is any good
> > excuse for such indifference, except for a sort of bureaucratic
>
On Thursday, March 7, 2013 10:50:52 PM UTC-6, rh wrote:
> Choices are good. [...] Having one choice is a mess. And
> look back at history and current events
Sometimes "choices" are forced upon you without your consent or even without
regard for the end users' well-being. In this case "choices" ar
On 08/03/2013 14:04, prqu...@gmail.com wrote:
Greetings,
I'm trying to run a simple Tkinter program that opens a program when
you click a button. The code is listed below. I use a command to
call a program that then calls a fortran program. However, when I
click on the button, it opens the pr
On 8 March 2013 05:26, wrote:
> On Friday, March 8, 2013 2:18:06 AM UTC+5:30, subhaba...@gmail.com wrote:
>>
>> I was trying to learn Hidden Markov Model. In Python there are various
>> packages, but I was willing to do some basic calculation starting from the
>> scratch so that I can learn the
We are a user of this python-based GPL maillist/web forum platform:
http://groupserver.org
I'd be interested in folks thoughts about it.
We'd like to see the development community grow.
The main difference with Mailman is that it is more of a balance
between web and e-mail, while still access
Hi,
I would like to enable loggin in my script using the logging module that comes
with Python 2.7.3.
I have the following few lines setting up logging in my script, but for
whatever reason I don't seem to get any output to stdout or to a file
provided to the basicConfig method.
Any ideas?
Greetings,
I'm trying to run a simple Tkinter program that opens a program when you click
a button. The code is listed below. I use a command to call a program that
then calls a fortran program. However, when I click on the button, it opens
the program but the menu of the program i'm calling
Hi
I need to write the unit test cases for similary kind of sitution.
I need to write the unit test case for Foo.testCall. for both case true or
false. I am unalbe to do that.
kindly please help me on this. as function is not returning any thing. from
google i got mox is good for this case. but
I must thank the tester of my webisites's security!
He hacked it nicely and easily through tampering with 'htmlpage' variable's
value!
Now i'am validating htmlpage's input value and i don't beleive its hackable any
more!
Please feel free to try whoever want to!
Thnk you all for your patience
On 3/8/2013 2:23 AM, gerson.k...@gmail.com wrote:
I am rebuilding Python 2.7.4 using Visual Studio 2010. As part of
that, I wanted to build with a current OpenSSL version (1.0.1e) and
an updated SQLite version.
What I noted: the projects in the main workspace (at least in
PCBuild) directly inclu
The problem is my server hits memory usage threshold, and starts giving me
errors like Oracle unable to spawn off new session stating Out of Memory error
and what not. I won't be bothered much if I have the luxury of available memory
for other processes to use. If only if the UNIX understand my
On Thursday, March 7, 2013 12:57:09 PM UTC+1, Terry Reedy wrote:
> On 3/7/2013 6:02 AM, sferen...@gmail.com wrote:
>
> > Hi,
>
> >
>
> > When is the 3.3.1 final due? I have found this
>
> > [http://python.org/dev/peps/pep-0398/#id1], but the info doesn't seem
>
> > up to date. Is there a bette
69 matches
Mail list logo