CodeInvestigator version 3.2.0 was released on August 21.
Release notes:
Bug fixes:
- Chrome browser: search by value
- less memory usage
Changes:
- nested iterations remain at selected iteration as much as possible
- block colours now follow a set pattern
- searches are now grouped
I am very sorry that I have offended you to such a degree you feel it necessary
to publicly eviscerate me.
Perhaps I could have worded it like this: So far I have not seen any troubles
including unicode characters in my strings, they *seem* to be fine for my
use-case. What kind of trouble
On Wednesday, 28 August 2013 04:03:15 UTC+5:30, MRAB wrote:
On 27/08/2013 21:53, mukesh tiwari wrote:
On Wednesday, 28 August 2013 01:49:59 UTC+5:30, MRAB wrote:
On 27/08/2013 20:41, mukesh tiwari wrote:
[snip]
if __name__== '__main__':
u = Downloader()
Op 27-08-13 18:18, Steven D'Aprano schreef:
On Wed, 28 Aug 2013 00:41:17 +1000, Chris Angelico wrote:
On Wed, Aug 28, 2013 at 12:25 AM, Grant Edwards
invalid@invalid.invalid wrote:
On 2013-08-27, ni...@superhost.gr wrote:
Iam having major issues with my VPS provider and
Am 08.08.2013 18:37, schrieb Chris Angelico:
On Thu, Aug 8, 2013 at 5:16 PM, Kurt Mueller
kurt.alfred.muel...@gmail.com wrote:
Am 08.08.2013 17:44, schrieb Peter Otten:
Kurt Mueller wrote:
What do I do, when input_strings/output_list has other codings like
iso-8859-1?
You have to know the
Hello Steven,
Iam not trying to beg for your sympathy, i'am just expressing my frustration
for my web hosting issues and i do that because i wanted to ask you for an
alternative web service(python 3 enabled).
Its totally human for one to express his own feeling to a python related and
web
This is a follow up to the Subject
right adjusted strings containing umlauts
For some text manipulation tasks I need a template to split lines
from stdin into a list of strings the way shlex.split() does it.
The encoding of the input can vary.
For further processing in Python I need the list of
Τη Τρίτη, 27 Αυγούστου 2013 8:07:52 μ.μ. UTC+3, ο χρήστης Steven D'Aprano
έγραψε:
On Tue, 27 Aug 2013 18:04:23 +0300, Ferrous Cranus wrote:
So, in this line:
cur.execute('''SELECT ID FROM counters WHERE url = %s''', page )
the variable 'page' needs conversion to what?
On Tue, 27 Aug 2013 12:41:10 -0700, mukesh tiwari wrote:
Hello All,
I am doing web stuff first time in python so I am looking for
suggestions. I wrote this code to download the title of webpages using
as much less resource ( server time, data download) as possible and
should be fast enough.
Hi!
Having repr(None) == 'None' is sure the right thing but why does str(None) ==
'None'? Wouldn't it be more correct if it was an empty string?
Regards
Piotr Dobrogost
--
http://mail.python.org/mailman/listinfo/python-list
In my attemtpt to be shwon only mesages pertaining to superhost.gr i try:
alias err='tail -F /usr/local/apache/logs/error_log | grep nikos '
but now it only displays to me the lines that have '/home/nikos' within them
and not all the relevant error lines.
--
Τη Τρίτη, 27 Αυγούστου 2013 6:22:32 μ.μ. UTC+3, ο χρήστης ishish έγραψε:
Am 27.08.2013 16:04, schrieb Ferrous Cranus:
Στις 27/8/2013 4:59 μμ, ο/η ishish έγραψε:
[Tue Aug 27 13:02:57 2013] [error] [client 110.202.175.189] Error
in
sys.excepthook:
[Tue Aug 27 13:02:57 2013]
Am 28.08.2013 10:48, schrieb Ferrous Cranus:
I quote from a Python 3 Guide
[http://python.about.com/od/python30/ss/30_strings_3.htm]:
The two data types, str and bytes, are mutually exclusive. One
cannot
legally combine them into one call. With the distinction between
text
and
Hi Guys:
Now I use pyyaml to load a yaml file, after I dump this load data,but I
found an questions,before I load the yaml file,the file looks like:
-
-b
-c
-
-e
-x
after I dump this data and write file, the file looks like:
- -b
-c
- -e
-x
although when dump
On 8/28/2013 4:57 AM, Piotr Dobrogost wrote:
Having repr(None) == 'None' is sure the right thing but why does str(None) ==
'None'? Wouldn't it be more correct if it was an empty string?
No.
There is no reason to be different.
--
Terry Jan Reedy
--
On 28/8/2013 04:01, Kurt Mueller wrote:
Because I cannot switch to Python 3 for now my life is not so easy:-)
For some text manipulation tasks I need a template to split lines
from stdin into a list of strings the way shlex.split() does it.
The encoding of the input can vary.
For further
Τη Τετάρτη, 28 Αυγούστου 2013 1:11:05 μ.μ. UTC+3, ο χρήστης ishish έγραψε:
http://wiki.python.org/moin/HandlingExceptions
is this how you mean?
try:
#find the needed counter for the page URL
if os.path.exists( path + page ) or
Τη Τετάρτη, 28 Αυγούστου 2013 1:43:08 μ.μ. UTC+3, ο χρήστης Ferrous Cranus
έγραψε:
Τη Τετάρτη, 28 Αυγούστου 2013 1:11:05 μ.μ. UTC+3, ο χρήστης ishish έγραψε:
http://wiki.python.org/moin/HandlingExceptions
is this how you mean?
try:
On 28/8/2013 04:32, Kurt Mueller wrote:
This is a follow up to the Subject
right adjusted strings containing umlauts
You started a new thread, with a new subject line. So presumably we're
starting over with a clean slate.
For some text manipulation tasks I need a template to split lines
Okey, continue trying and trying i came up with this:
try:
if os.path.exists( path + page ) or os.path.exists( cgi_path + page ):
cur.execute('''SELECT ID FROM counters WHERE url = %s''', page )
data = cur.fetchone()
except:
with open(err.out, a) as f:
On Wednesday, August 28, 2013 12:23:12 PM UTC+2, Dave Angel wrote:
On 28/8/2013 04:01, Kurt Mueller wrote:
Because I cannot switch to Python 3 for now my life is not so easy:-)
For some text manipulation tasks I need a template to split lines
from stdin into a list of strings the way
On Wed, 28 Aug 2013 09:19:40 +0200, Antoon Pardon wrote:
Op 27-08-13 18:18, Steven D'Aprano schreef:
On Wed, 28 Aug 2013 00:41:17 +1000, Chris Angelico wrote:
On Wed, Aug 28, 2013 at 12:25 AM, Grant Edwards
invalid@invalid.invalid wrote:
On 2013-08-27, ni...@superhost.gr
On 28/8/2013 07:14, Ferrous Cranus wrote:
But i cannot test it without looking at the error log which is scrolling like
hell and doesn't even quit with a ctrl+c
I take it this 'error log is shared with other users, and you can't
constrain them to cease and desist for a while?
How will i
Τη Τετάρτη, 28 Αυγούστου 2013 2:32:44 μ.μ. UTC+3, ο χρήστης Dave Angel έγραψε:
On 28/8/2013 07:14, Ferrous Cranus wrote:
But i cannot test it without looking at the error log which is scrolling
like hell and doesn't even quit with a ctrl+c
I take it this 'error log is
Τη Τετάρτη, 28 Αυγούστου 2013 2:32:44 μ.μ. UTC+3, ο χρήστης Dave Angel έγραψε:
On 28/8/2013 07:14, Ferrous Cranus wrote:
But i cannot test it without looking at the error log which is scrolling
like hell and doesn't even quit with a ctrl+c
I take it this 'error log is
On 8/28/2013 4:57 AM, Piotr Dobrogost wrote:
Having repr(None) == 'None' is sure the right thing but why does str(None) ==
'None'? Wouldn't it be more correct if it was an empty string?
the point of str(obj) is to return a string containing the obj (a sequence of
characters if it is unbound
Am 28.08.2013 12:14, schrieb Ferrous Cranus:
Okey, continue trying and trying i came up with this:
try:
if os.path.exists( path + page ) or os.path.exists( cgi_path + page
):
cur.execute('''SELECT ID FROM counters WHERE url = %s''', page )
data = cur.fetchone()
except:
Τη Τετάρτη, 28 Αυγούστου 2013 2:32:44 μ.μ. UTC+3, ο χρήστης Dave Angel έγραψε:
On 28/8/2013 07:14, Ferrous Cranus wrote:
But i cannot test it without looking at the error log which is scrolling
like hell and doesn't even quit with a ctrl+c
I take it this 'error log is
Τη Τετάρτη, 28 Αυγούστου 2013 2:51:03 μ.μ. UTC+3, ο χρήστης ishish έγραψε:
Am 28.08.2013 12:14, schrieb Ferrous Cranus:
Okey, continue trying and trying i came up with this:
try:
if os.path.exists( path + page ) or os.path.exists( cgi_path + page
):
On Tue, 27 Aug 2013 22:57:45 -0700, David M. Cotter wrote:
I am very sorry that I have offended you to such a degree you feel it
necessary to publicly eviscerate me.
You know David, you are right. I did over-react. And I apologise for
that. I am sorry, I was excessively confrontational.
On Wed, 28 Aug 2013 01:46:01 -0700, Ferrous Cranus wrote:
Τη Τρίτη, 27 Αυγούστου 2013 8:07:52 μ.μ. UTC+3, ο χρήστης Steven
D'Aprano έγραψε:
Hint: you can use
print(type(page), file=open('path/to/some/file', 'w'))
to see the type of the variable 'page' without displaying it on your
Well there you have it:
File /home/nikos/public_html/cgi-bin/metrites.py, line 191, in
module
if not data:
NameError: name 'data' is not defined
--
http://mail.python.org/mailman/listinfo/python-list
Τη Τετάρτη, 28 Αυγούστου 2013 3:11:07 μ.μ. UTC+3, ο χρήστης Steven D'Aprano
έγραψε:
On Wed, 28 Aug 2013 01:46:01 -0700, Ferrous Cranus wrote:
Τη Τρίτη, 27 Αυγούστου 2013 8:07:52 μ.μ. UTC+3, ο χρήστης Steven
D'Aprano έγραψε:
Hint: you can use
print(type(page),
On Wed, 28 Aug 2013 03:43:08 -0700, Ferrous Cranus wrote:
but i cannot see the error_log because of constant scrolling of error
output.
Then don't use tail -F, use less.
Or try tail -s 60 -F which will update only every 60 seconds.
--
Steven
--
On Wed, 28 Aug 2013 01:57:16 -0700, Piotr Dobrogost wrote:
Hi!
Having repr(None) == 'None' is sure the right thing but why does
str(None) == 'None'? Wouldn't it be more correct if it was an empty
string?
Why do you think an empty string is more correct? Would you expect
str([]) or
Op 28-08-13 13:25, Steven D'Aprano schreef:
On Wed, 28 Aug 2013 09:19:40 +0200, Antoon Pardon wrote:
Op 27-08-13 18:18, Steven D'Aprano schreef:
On Wed, 28 Aug 2013 00:41:17 +1000, Chris Angelico wrote:
On Wed, Aug 28, 2013 at 12:25 AM, Grant Edwards
invalid@invalid.invalid wrote:
On
Τη Τετάρτη, 28 Αυγούστου 2013 3:21:25 μ.μ. UTC+3, ο χρήστης Steven D'Aprano
έγραψε:
On Wed, 28 Aug 2013 03:43:08 -0700, Ferrous Cranus wrote:
but i cannot see the error_log because of constant scrolling of error
output.
Then don't use tail -F, use less.
Or try tail -s
On Wed, 28 Aug 2013 05:17:34 -0700, Ferrous Cranus wrote:
As i have pointed out i as the owner of the accoutn have read and write
perimssion bot at www/ and www/cgi-bin i also chnage the filename and
still cant write to the file.
If you type filenames as carelessly as you type requests for
On Wednesday, August 28, 2013 1:13:36 PM UTC+2, Dave Angel wrote:
On 28/8/2013 04:32, Kurt Mueller wrote:
For some text manipulation tasks I need a template to split lines
from stdin into a list of strings the way shlex.split() does it.
The encoding of the input can vary.
Does that mean
Τη Τετάρτη, 28 Αυγούστου 2013 3:38:11 μ.μ. UTC+3, ο χρήστης Steven D'Aprano
έγραψε:
On Wed, 28 Aug 2013 05:17:34 -0700, Ferrous Cranus wrote:
As i have pointed out i as the owner of the accoutn have read and write
perimssion bot at www/ and www/cgi-bin i also chnage the filename and
Hi,
From time to time I have to apply a series of functions to a value in such a
way:
func4(func3(func2(func1(myval
I was wondering if there is a function in standard library that would take a
list of functions and a initial value and do the above like this:
func_im_looking_for([func1,
Hi,
I would like to share some of my recent attempts concerning recursivity in
python, more precisely recursivity with lambda functions.
I know that the title of my thread with the tail-recursion words may wake up
some long and old war; please don't take it as such. I am not claiming anything
On 2013-08-28 05:52, AdamKal wrote:
From time to time I have to apply a series of functions to a value
in such a way:
func4(func3(func2(func1(myval
I was wondering if there is a function in standard library that
would take a list of functions and a initial value and do the above
like
This si what iam tryign now since the function ishish proposed wont help me.
try:
#find the needed counter for the page URL
if os.path.exists( path + page ) or os.path.exists( cgi_path + page ):
cur.execute('''SELECT ID FROM counters WHERE url = %s''', page )
data =
AdamKal writes:
Hi,
From time to time I have to apply a series of functions to a value
in such a way:
func4(func3(func2(func1(myval
I was wondering if there is a function in standard library that
would take a list of functions and a initial value and do the above
like this:
Am 28.08.2013 13:52, schrieb AdamKal:
Hi,
From time to time I have to apply a series of functions to a value in
such a way:
func4(func3(func2(func1(myval
I was wondering if there is a function in standard library that would
take a list of functions and a initial value and do the above
Tim Chase writes:
On 2013-08-28 05:52, AdamKal wrote:
From time to time I have to apply a series of functions to a value
in such a way:
func4(func3(func2(func1(myval
I was wondering if there is a function in standard library that
would take a list of functions and a initial
Thanks!
I guess this is as simple as it gets then. I was just looking for the one
obvious way to do it.
W dniu środa, 28 sierpnia 2013 15:11:34 UTC+2 użytkownik Tim Chase napisał:
On 2013-08-28 05:52, AdamKal wrote:
From time to time I have to apply a series of functions to a value
in
Am 2013-08-28 14:52 schrieb AdamKal:
Hi,
From time to time I have to apply a series of functions to a value in such a
way:
func4(func3(func2(func1(myval
I was wondering if there is a function in standard library that would take a
list of functions and a initial value and do the above
On Wed, Aug 28, 2013 at 11:23 PM, AdamKal adamkalin...@gmail.com wrote:
I guess this is as simple as it gets then. I was just looking for the one
obvious way to do it.
The one obvious way to do some things is to post on python-list and
see what comes back :) I love reading over these sorts of
On 2013-08-28 06:23, AdamKal wrote:
Thanks!
I guess this is as simple as it gets then. I was just looking for
the one obvious way to do it.
When 3 replies from 3 people all arrive within minutes, each
suggesting reduce(), I'd figure it's the one obvious way to do
it :-)
-tkc
--
W dniu środa, 28 sierpnia 2013 15:43:39 UTC+2 użytkownik Tim Chase napisał:
When 3 replies from 3 people all arrive within minutes, each
suggesting reduce(), I'd figure it's the one obvious way to do
it :-)
I guess it's at least a good hint ;)
Thanks to all! :)
--
Am 28.08.2013 13:55, schrieb Ferrous Cranus:
Τη Τετάρτη, 28 Αυγούστου 2013 2:32:44 μ.μ. UTC+3, ο χρήστης Dave Angel έγραψε:
You really have no directory in which you have write permissions? If
so, perhaps you'd better solve that first.
of cours ei ahve write permissions. Here:
Τη Τετάρτη, 28 Αυγούστου 2013 4:38:02 μ.μ. UTC+3, ο χρήστης Ulrich Eckhardt
έγραψε:
Am 28.08.2013 13:55, schrieb Ferrous Cranus:
Τη Τετάρτη, 28 Αυγούστου 2013 2:32:44 μ.μ. UTC+3, ο χρήστης Dave Angel
έγραψε:
You really have no directory in which you have write permissions? If
so,
On 28/08/2013 07:23, mukesh tiwari wrote:
[snip]
Initially I blocked the main using raw_input('') and it was working fine.
u = Downloader()
signal.signal( signal.SIGINT , u.handleexception)
thread.start_new_thread ( u.createurl , () )
for i in xrange ( 5 ) :
thread.start_new_thread
The change in integer division seems to be the most insidious source of silent
errors in porting code from python2 - since it changes the behaviour or valid
code silently.
I wish the interpreter had an instrumented mode to detect and report such
problems.
--
On 28 August 2013 16:15, Neal Becker ndbeck...@gmail.com wrote:
The change in integer division seems to be the most insidious source of silent
errors in porting code from python2 - since it changes the behaviour or valid
code silently.
I wish the interpreter had an instrumented mode to detect
On Wed, Aug 28, 2013, at 11:15, Neal Becker wrote:
The change in integer division seems to be the most insidious source of
silent
errors in porting code from python2 - since it changes the behaviour or
valid
code silently.
I wish the interpreter had an instrumented mode to detect and
On Thu, Aug 29, 2013 at 1:21 AM, Oscar Benjamin
oscar.j.benja...@gmail.com wrote:
On 28 August 2013 16:15, Neal Becker ndbeck...@gmail.com wrote:
The change in integer division seems to be the most insidious source of
silent
errors in porting code from python2 - since it changes the behaviour
Chris Angelico wrote:
On Thu, Aug 29, 2013 at 1:21 AM, Oscar Benjamin
oscar.j.benja...@gmail.com wrote:
On 28 August 2013 16:15, Neal Becker ndbeck...@gmail.com wrote:
The change in integer division seems to be the most insidious source of
silent errors in porting code from python2 - since
I have a crufty old DNS provisioning system that I'm rewriting and I
hope improving in python. (It's based on tinydns if you know what
that is.)
The record formats are, in the worst case, like this:
foo.[DOM]::[IP6::4361:6368:6574]:600::
What I would like to do is to split this string into a
The record formats are, in the worst case, like this:
foo.[DOM]::[IP6::4361:6368:6574]:600::
Any suggestions?
Write a little parser that can handle the record format?
Skip
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Aug 28, 2013, at 12:44, John Levine wrote:
I have a crufty old DNS provisioning system that I'm rewriting and I
hope improving in python. (It's based on tinydns if you know what
that is.)
The record formats are, in the worst case, like this:
foo.[DOM]::[IP6::4361:6368:6574]:600::
On 2013-08-28 13:14, random...@fastmail.us wrote:
On Wed, Aug 28, 2013, at 12:44, John Levine wrote:
I have a crufty old DNS provisioning system that I'm rewriting
and I hope improving in python. (It's based on tinydns if you
know what that is.)
The record formats are, in the worst
Thank you for your thoughtful and thorough response. I now understand much
better what you (and apparently the others) were warning me against and I will
certainly consider that moving forward.
I very much appreciate your help as I learn about python and embedding and all
these crazy encoding
On 2013-08-28, John Levine jo...@iecc.com wrote:
I have a crufty old DNS provisioning system that I'm rewriting and I
hope improving in python. (It's based on tinydns if you know what
that is.)
The record formats are, in the worst case, like this:
foo.[DOM]::[IP6::4361:6368:6574]:600::
On 2013-08-28, Tim Chase python.l...@tim.thechases.com wrote:
On 2013-08-28 13:14, random...@fastmail.us wrote:
On Wed, Aug 28, 2013, at 12:44, John Levine wrote:
I have a crufty old DNS provisioning system that I'm rewriting
and I hope improving in python. (It's based on tinydns if you
Neil Cerutti wrote:
On 2013-08-28, John Levine jo...@iecc.com wrote:
I have a crufty old DNS provisioning system that I'm rewriting and I
hope improving in python. (It's based on tinydns if you know what
that is.)
The record formats are, in the worst case, like this:
On 28/8/2013 07:38, Ferrous Cranus wrote:
no this is the general error log apache produces for all the server.
Is there a way to grep error logging info, pertainign only to my specific
nikos account or my superhost.gr domain?
I now nothing about Apache logs, but how about grepping the
Ferrous Cranus wrote:
Yes Uli, the script metrits.py is being invoked by Apache Web Server which in
turn runs under user
Nobody.
So, that mean that? user 'nobody' has no write permission to /home/nikos
folder?
Yes. You should make it group writable with nobody as the group. Use chmod
and
Reduce tricks are nice, but I prefer clarity sometimes:
def double(x):
return x*2
def add3(x):
return x+3
def compose(*funcs):
for func in funcs:
if not callable(func):
raise ValueError('Must pass callable functions')
def inner(value):
for func in
On 8/28/2013 11:15 AM, Neal Becker wrote:
The change in integer division seems to be the most insidious source of silent
errors in porting code from python2 - since it changes the behaviour or valid
code silently.
In Python since 2.??, put 'from __future__ import integer_division'
(sp?) at
So, I have been working in PHP for several years but I want to learn something
new. That something new is Python. But since I'm a web developer I want to
build stuff for the web.
I don't want to use Django because it's too bloated, it seem to do everything
for you. I don't like that. I want to
Le 28-08-2013, Thomas Baruchel baruc...@gmx.com a écrit :
The following functions are fully usable; I hope someone will enjoy using
them.
If you are not interested by the explanations, just jump to the end of the
message and take my functions for using them.
Despite the very short size of my
On Wed, Aug 28, 2013 at 4:14 PM, ecazs@gmail.com wrote:
So, I have been working in PHP for several years but I want to learn
something new. That something new is Python. But since I'm a web developer I
want to build stuff for the web.
I don't want to use Django because it's too
While designing a simple library, I found myself asking a
philosophical question: to check or not to check the parameter's
interface?
I think that, considering it is Python, the usual answer would be
no, but here is the situation that got me thinking:
class Flock:
def __init__(self):
On Wednesday, August 28, 2013 11:08:52 PM UTC+2, Joel Goldstick wrote:
On Wed, Aug 28, 2013 at 4:14 PM, Ecaz wrote:
So, I have been working in PHP for several years but I want to learn
something new. That something new is Python. But since I'm a web developer
I want to build stuff for
On Wednesday, August 28, 2013 11:25:44 PM UTC+2, Andreas Ecaz wrote:
I've looked at Flask, Bottle and Web.py. I quite like the look of Bottle.
I'll keep looking for some other microframeworks, maybe I can find something
else that interests me.
Thank you.
At the moment I'm worried
Can you have brackets within brackets? If so, this is impossible to deal
with within a regex.
Nope. It's a regular language, not a CFL.
Otherwise:
re.findall('((?:[^[:]|\[[^]]*\])*):?',s)
['foo.[DOM]', '', '[IP6::4361:6368:6574]', '600', '', '']
That seems to do it, thanks.
--
Regards,
John
On 8/28/2013 5:09 PM, Joe Junior wrote:
While designing a simple library, I found myself asking a
philosophical question: to check or not to check the parameter's
interface?
I think that, considering it is Python, the usual answer would be
no, but here is the situation that got me thinking:
On Wed, 28 Aug 2013 18:44:28 +, Prasad, Ramit wrote:
Normally I would have thought you would have a public_html or www
directory in your home folder that would be readable/writable to the web
server (and where you should write).
I expect that he does. But Nikos has tried writing to the
On Thu, Aug 29, 2013 at 4:44 AM, Prasad, Ramit
ramit.pra...@jpmorgan.com.dmarc.invalid wrote:
Normally I would have thought you would have a public_html or www directory
in your
home folder that would be readable/writable to the web server (and where you
should
write).
No, a normal setup
On Wed, Aug 28, 2013 at 6:49 PM, Steven D'Aprano
steve+comp.lang.pyt...@pearwood.info wrote:
On Wed, 28 Aug 2013 18:44:28 +, Prasad, Ramit wrote:
Normally I would have thought you would have a public_html or www
directory in your home folder that would be readable/writable to the web
On Wed, 28 Aug 2013 06:11:13 -0700, Ferrous Cranus wrote:
This si what iam tryign now since the function ishish proposed wont help
me.
I see that your apology for careless writing didn't last very long.
[...]
except:
print( repr(e) )
What is the value of e here, and where is it defined?
On Thu, Aug 29, 2013 at 7:54 AM, Terry Reedy tjre...@udel.edu wrote:
Depending on who the users will be, I might just not worry about it until an
exception is raised. If you try to protect against everything that you might
do wrong, you are on the road to madness, as the protection code might
On Wed, 28 Aug 2013 18:09:22 -0300, Joe Junior wrote:
While designing a simple library, I found myself asking a philosophical
question: to check or not to check the parameter's interface?
The only correct answer to that is, Yes no maybe.
:-)
I think that, considering it is Python, the
On Wed, 28 Aug 2013 18:56:56 -0400, Joel Goldstick wrote:
At any rate, isn't
this stuff really something that the Web Server company should be
helping him with? Its their server, they know how it is configured, and
they can quickly look in his directories to figure out permissions
related
Dear all,
I'm C++ programmer and unfortunately put semicolon at end of my
statements in python.
Quesion:
What's really defferences between putting semicolon and don't put?
Yours,
Mohsen
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Aug 29, 2013 at 10:18 AM, Mohsen Pahlevanzadeh
moh...@pahlevanzadeh.org wrote:
Dear all,
I'm C++ programmer and unfortunately put semicolon at end of my
statements in python.
Quesion:
What's really defferences between putting semicolon and don't put?
Very little. Putting the
On 2013-08-29 04:48, Mohsen Pahlevanzadeh wrote:
I'm C++ programmer and unfortunately put semicolon at end of my
statements in python.
Quesion:
What's really defferences between putting semicolon and don't put?
From a technical standpoint, nothing (see below). From a readability
on the
On 2013-08-29 10:31, Chris Angelico wrote:
but putting semicolons at the ends of Python statements is as
useless as putting lots of (((irritating (((superfluous
(((parentheses) in your C++ code. The parser won't mind,
but subsequent programmers will wonder what these
In article mailman.332.1377735563.19984.python-l...@python.org,
Mohsen Pahlevanzadeh moh...@pahlevanzadeh.org wrote:
Dear all,
I'm C++ programmer and unfortunately put semicolon at end of my
statements in python.
Quesion:
What's really defferences between putting semicolon and don't
On 8/28/13 8:18 PM, Mohsen Pahlevanzadeh wrote:
Dear all,
I'm C++ programmer and unfortunately put semicolon at end of my
statements in python.
Quesion:
What's really defferences between putting semicolon and don't put?
There is no difference. The semicolon is unnecessary in Python. If you
On Thu, Aug 29, 2013 at 10:37 AM, Tim Chase
python.l...@tim.thechases.com wrote:
On 2013-08-29 10:31, Chris Angelico wrote:
but putting semicolons at the ends of Python statements is as
useless as putting lots of (((irritating (((superfluous
(((parentheses) in your C++ code.
On Thu, Aug 29, 2013 at 10:33 AM, Roy Smith r...@panix.com wrote:
In article mailman.332.1377735563.19984.python-l...@python.org,
Mohsen Pahlevanzadeh moh...@pahlevanzadeh.org wrote:
Dear all,
I'm C++ programmer and unfortunately put semicolon at end of my
statements in python.
Quesion:
In article mailman.338.1377737268.19984.python-l...@python.org,
Chris Angelico ros...@gmail.com wrote:
This is about Perl, but may be of interest.
http://www.perl.com/pub/2007/12/06/soto-11.html
I got about halfway through, then raised an uncaught TLDNR Exception.
But I did like what he
On 29Aug2013 09:17, Chris Angelico ros...@gmail.com wrote:
| On Thu, Aug 29, 2013 at 7:54 AM, Terry Reedy tjre...@udel.edu wrote:
| Depending on who the users will be, I might just not worry about it until an
| exception is raised. If you try to protect against everything that you might
| do
On 28Aug2013 05:48, Nikos nikos.gr...@gmail.com wrote:
| Hi steven , sorry for the typos.
| you are write my script is invoked by apache web server application which it
runs under account 'nobody'
[...]
| nobody8449 0.0 0.2 65712 3228 ?S12:42 0:00
On 28Aug2013 18:44, Prasad, Ramit ramit.pra...@jpmorgan.com.dmarc.invalid
wrote:
| Ferrous Cranus wrote:
| Yes Uli, the script metrits.py is being invoked by Apache Web Server which
in turn runs under user
| Nobody.
| So, that mean that? user 'nobody' has no write permission to /home/nikos
On 28Aug2013 12:11, Steven D'Aprano steve+comp.lang.pyt...@pearwood.info
wrote:
| On Wed, 28 Aug 2013 01:46:01 -0700, Ferrous Cranus wrote:
| Also many times when i try to view the error_log by
| tail -F /usr/local/apache/logs/error_log
|
| i get realtime scrolling of other joomla webistes
1 - 100 of 218 matches
Mail list logo