default=ACTIVE)
>
>
> Last but not least i am puzzled as to why we choose the method name
> "go" over "show". for "showing" the dialog. SimpleDialog uses no
> inheritance so name clashes are mum. Why would anyone choose "go" over
> "show" for a modal dialog? I would really like an explanation for
> this.
>
>
Sounds like you need to help by:
Creating a bug report
Attaching a patch
Thanks for the help, Rick.
Nick
--
http://mail.python.org/mailman/listinfo/python-list
gh to treat both LF and CRLF as newlines. Like Notepad did back in
the day, and maybe still does.
But if you're writing binary stuff, it makes all the difference in the
world.
Nick
--
http://mail.python.org/mailman/listinfo/python-list
ineer
> Zindagi Games
> ___
> PyQt mailing listp...@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
--
Nick Gaens
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 24, 6:53 pm, Alex Hall wrote:
> Hello all,
> I have a compiled version of my project, but the wx functions do not
> work. When run from the python source, instead of the compiled .exe
> file, wx works as expected. I am including msvcr90.dll in the dist
> folder. I looked for answers on Goog
n of NumPy, it
seems to work. However, the PyCogent installer can only see
the NumPy 1.1.1 version.
Any advice on what I might do to fix this?
Cheers!
Nick
--
Nicholas J. Matzke
Ph.D. Candidate, Graduate Student Researcher
Huelsenbeck Lab
Ce
ittle library to work.
Cheers!
Nick
Nick Matzke wrote:
Hi all,
I have a slightly weird question. I would like to install the PyCogent
library. However, this requires NumPy 1.3 or higher. I only have NumPy
1.1.1, because I got it as part of the Enthought Python Distribution
(4.1) back in
ipython
import numpy
dir(numpy)
====
Thanks!
Nick
> On Tue, Jun 8, 2010 at 10:30 PM, Nick Matzke
> <mailto:mat...@berkeley.edu>> wrote:
>
> Hi NumPy gurus,
>
> I have a slightly weird question. I would like to
install
> the PyCoge
to pass data to the callback function? Some GUIs give
you a user-data field in the event, does Tkinter?
Or am I reduced to using global data? A Singleton is just
Global Data by other means.
--
Nick Keighley
This led to packs of feral Global Variables roaming the
address space.
--
http://mail.pyt
On 9 June, 10:35, Bruno Desthuilliers wrote:
> Nick Keighley a crit :
> > I'm trapping mouse clicks using
>
> > canvas.bind("", mouse_clik_event)
>
> > def mouse_clik_event (event) :
> > stuff
>
> > What mouse_clik_event does is modif
On 9 June, 13:50, Bruno Desthuilliers wrote:
> Nick Keighley a écrit :
>
>
>
>
>
> > On 9 June, 10:35, Bruno Desthuilliers > 42.desthuilli...@websiteburo.invalid> wrote:
> >> Nick Keighley a crit :
>
> >>> I'm trapping mouse cli
On 7 July, 17:38, Rivka Miller wrote:
> Although C comes with a regex library,
C does not come with a regexp library
> Anyone know what the first initial of L. Peter Deutsch stand for ?
Laurence according to wikipedia (search time 2s)
--
http://mail.python.org/mailman/listinfo/python-list
On 8 July, 08:08, Nick Keighley
wrote:
> On 7 July, 17:38, Rivka Miller wrote:
> > Anyone know what the first initial of L. Peter Deutsch stand for ?
>
> Laurence according to wikipedia (search time 2s)
oops! He was born Laurence but changed it legally to "L." i
Steven nailed it!
Just thought to share an IDLE tip :)
Nick
--
http://mail.python.org/mailman/listinfo/python-list
ns.
Lots of helpful folk there, myself included.
Nick
On 07/09/2010 07:31 PM, Dani Valverde wrote:
Hello!
I am new to python and pretty new to programming (I have some
expertise wit R statistical programming language). I am just starting,
so my questions may be a little bit stupid. Can anyone su
d include a setup.py, which is a standard way of installing python
packages.
All you need to do is unpack the package to any folder and run
setup.py install
from that folder, which should take care of everything for you.
Some documentation on installing packages for you to read:
http://docs.pytho
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 »...
...oh sorry only about a third of it...
> Perhaps as
On 18 July, 09:38, Emmy Noether wrote:
> On Jul 18, 1:09 am, Nick <3-nos...@temporary-address.org.uk> wrote:
> > Emmy Noether writes:
> > > In this video, Stall man makes 4 promises to public but stalls on 2nd
> > > of them.
>
> > I have no idea of th
def myint(x):
return int(x)
Nick,
Warm thanks to Steven D' Aprano who taught me that just yesterday in the
Tutor list ;)
--
http://mail.python.org/mailman/listinfo/python-list
Ep, that missing line should be:
On 07/28/2010 04:27 PM, Nick Raptis wrote:
On 07/28/2010 04:15 PM, wheres pythonmonks wrote:
f( *map(lambda x: int(x), struct.unpack('2s2s2s','123456')))
102
But this seems too complicated.
Well, you don't need the lambda at all
i
dicts of lists? [I
guess my Perl background is showing -- I miss auto-vivification.]
Ah, python is no perl. Then again, perl is no python either.
- Random pseudo-Confucius quote
Have fun,
Nick
--
http://mail.python.org/mailman/listinfo/python-list
+pan.sysName
lsCmd = "/bin/ls %s/*.mod"%(dir,)
resp = commands.getoutput("ssh -X -l monsoon %s '%s'"% (pan.panName,
lsCmd))
fileList = resp.split("\n")
else:
pass
return fileList
Someday I may have time to go back a
this is heavily x-posted I'm answering from comp.lang.c
On 16 Aug, 08:20, Standish P wrote:
> [Q] How far can stack [LIFO] solve do automatic garbage collection and
> prevent memory leak ?
I'm having trouble understanding your question (I read your whole post
before replying). I strongly suspec
On 16 Aug, 09:33, Standish P wrote:
> On Aug 16, 12:47 am, Nick Keighley
> > On 16 Aug, 08:20, Standish P wrote:
this is heavily x-posted I'm answering from comp.lang.c
I also note that another poster has suggested you are a troll/loon
you seem to be using some computer scie
On 17 Aug, 18:34, Standish P wrote:
> On Aug 16, 11:09 am, Elizabeth D Rather wrote:
> > On 8/15/10 10:33 PM, Standish P wrote:
>
> > >>> If Forth is a general processing language based on stack, is it
> > >>> possible to convert any and all algorithms to stack based ones and
> > >>> thus avoid m
On 17 Aug, 21:37, Elizabeth D Rather wrote:
> On 8/17/10 10:19 AM, Standish P wrote
> > On Aug 17, 12:32 pm, John Passaniti wrote:
> >>> It is true that the other languages such as F/PS also have borrowed
> >>> lists from lisp in the name of nested-dictionaries and mathematica
> >>> calls them n
On 19 Aug, 16:25, c...@tiac.net (Richard Harter) wrote:
> On Wed, 18 Aug 2010 01:39:09 -0700 (PDT), Nick Keighley
> wrote:
> >On 17 Aug, 18:34, Standish P wrote:
> >> How are these heaps being implemented ? Is there some illustrative
> >> code or a book showing how
that it can
recognize, and delete those that it can't? Basically, like the BBEdit
"convert to ASCII" menu option under "Text".
I googled some on this, but nothing obvious came up that wasn't specific
to fixing one
Apologies, I figured there was some easy, obvious solution, since there
is in BBedit. I will explain further...
John Machin wrote:
On Jun 11, 6:09 am, Nick Matzke wrote:
Hi all,
So I'm parsing an XML file returned from a database. However, the
database entries have occasional non-
tent2 = unescape(line)
ascii_content = unicodedata.normalize('NFKD',
unicode(ascii_content2)).encode('ascii','ignore')
The string "line" would give the error, but ascii_content does not.
Cheers!
Nick
PS: "asciiDammit" is also fun to look at
Benjamin Peterson wrote:
> On behalf of the Python development team, I'm thrilled to announce the first
> production release of Python 3.1.
Excellent news!
Cheers,
Nick.
--
Nick Coghlan | ncogh...@gmail.com | Brisbane
ything else I can clarify about this
request, feel free to let me know.
Thanks for any help you can provide,
Nick
--
http://mail.python.org/mailman/listinfo/python-list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Agreed. Two string.split()s, first at the semi-colon and then at the
equal sign, will yield you your value, without having to fool around
with regexes.
On 7/23/2009 9:23 AM, Mark Lawrence wrote:
> scriptlear...@gmail.com wrote:
>> For example, I have
ing more than
simplifying the contract:
post:
name in __return__
So, in conclusion, generators and PyContract's forall() function don't
mix, and PyContract doesn't operate off of a copy of your parameters
unless you explicitly tell it so (I don't think it ever operates off a
copy of your return value).
Nick
0: http://www.wayforward.net/pycontract/
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 5 Aug 2009 03:06 pm Nick Daly wrote:
> The problem actually lies in the contract. Generally, the PyContract
> shouldn't affect the return values or in any way modify the code, which
> it doesn't, as long as the function returns a list values (the way the
> code
I came across this code just now:
def time_me(function):
def wrap(*arg):
start = time.time()
r = function(*arg)
end = time.time()
print "%s (%0.3f ms)" %(function.func_name, (end-start)*1000)
return wrap
@time_me
def some_function(somearg)
some_function(arg)
I've been lookin
On 27 Sep, 20:29, p...@informatimago.com (Pascal J. Bourguignon)
wrote:
> namekuseijin writes:
> > Fact is: almost all user data from the external words comes into
> > programs as strings. No typesystem or compiler handles this fact all
> > that graceful...
>
> I would even go further.
>
> Ty
On 30 Sep, 11:14, TheFlyingDutchman wrote:
> > > "in C I can have a function maximum(int a, int b) that will always
> > > work. Never blow up, and never give an invalid answer. "
>
> > > Dynamic typed languages like Python fail in this case on "Never blows
> > > up".
>
> > How do you define "Never
On 30 Sep, 15:24, TheFlyingDutchman wrote:
> > > If I had to choose between "blow up" or "invalid answer" I would pick
> > > "invalid answer".
>
> > there are some application domains where neither option would be
> > viewed as a satisfactory error handling strategy. Fly-by-wire, petro-
> > chemic
On 27 Sep, 18:46, namekuseijin wrote:
> Fact is: almost all user data from the external words comes into
> programs as strings. No typesystem or compiler handles this fact all
> that graceful...
snobol?
--
http://mail.python.org/mailman/listinfo/python-list
On 1 Oct, 11:02, p...@informatimago.com (Pascal J. Bourguignon) wrote:
> Seebs writes:
> > On 2010-09-30, Ian Collins wrote:
> >> Which is why agile practices such as TDD have an edge. If it compiles
> >> *and* passes all its tests, it must be right.
>
> > So far as I know, that actually just
On 1 Oct, 19:33, RG wrote:
> In article ,
> Seebs wrote:
> > On 2010-10-01, RG wrote:
> > >> Those goal posts are sorta red shifted at this point.
[...]
> > > Red shifted?
>
> > Moving away fast enough that their color has visibly changed.
doppler shift for instance or one of them cosmologi
On 10 Oct, 10:44, Lie Ryan wrote:
> On 10/02/10 20:04, NickKeighleywrote:
> >>> > > In a statically typed language, the of-the-wrong-type is something
> >>> > > which
> >>> > > can, by definition, be caught at compile time.
>
> >> > Any time something is true "by definition" that is an indicati
here's not much need to compile regexes unless you've got *a lot* of them in
your code. The first ones are automatically compiled and cached:
https://stackoverflow.com/questions/452104/is-it-worth-using-pythons-re-compile
Cheers,
Nick
--
https://mail.python.org/mailman/listinfo/python-list
| is in none of your strings.
split_on_dbl_dbl_quote = original_list.join('|').split('""')
remove_dbl_dbl_quotes_and_outer_quotes =
split_on_dbl_dbl_quote[::2].join('').split('|')
You need to be sure of your data: [::2] (return just even-number
plit('|')
split_on_dbl_dbl_quote = original_list.join('|').split('""')
remove_dbl_dbl_quotes_and_outer_quotes =
'"'.join(split_on_dbl_dbl_quote[::2]).split('|')
Cheers,
Nick
>
> You need to be sure of your data: [::2] (return jus
Τη Πέμπτη, 13 Ιουνίου 2013 7:52:27 μ.μ. UTC+3, ο χρήστης Νικόλαος Κούρας
έγραψε:
> On 13/6/2013 6:35 μμ, Joel Goldstick wrote:
>
>> [Tue Jun 11 21:59:31 2013] [error] [client 79.103.41.173]
>
>> FileNotFoundError: [Errno 2] \\u0394\\u03b5\\u03bd
>
>> \\u03c5\\u03c0\\u03ac\\u03c1\\
>
>>
>
>>
On 13/6/2013 9:28 μμ, Joel Goldstick wrote:
On Thu, Jun 13, 2013 at 2:10 PM, Nick the Gr33k mailto:supp...@superhost.gr>> wrote:
Τη Πέμπτη, 13 Ιουνίου 2013 7:52:27 μ.μ. UTC+3, ο χρήστης Νικόλαος
Κούρας έγραψε:
> On 13/6/2013 6:35 μμ, Joel Goldstick wrote:
>
On 13/6/2013 9:37 μμ, Andreas Perstinger wrote:
On 13.06.2013 20:10, Nick the Gr33k wrote:
[nothing new]
Could you please stop spamming the whole internet with your problems.
Not only that you've posted two similar offtopic messages within only 6
minutes to this list, you've also cros
On 14/6/2013 1:46 πμ, Dennis Lee Bieber wrote:
On Wed, 12 Jun 2013 09:09:05 + (UTC), ??
declaimed the following:
(*) infact UTF8 also indicates the end of each character
Up to a point. The initial byte encodes the length and the top few
bits, but the subsequent octets aren
On 13/6/2013 10:31 μμ, Grant Edwards wrote:
On 2013-06-13, Nick the Gr33k wrote:
On 13/6/2013 9:37 , Andreas Perstinger wrote:
On 13.06.2013 20:10, Nick the Gr33k wrote:
[nothing new]
Could you please stop spamming the whole internet with your problems.
Not only that you've poste
On 14/6/2013 4:00 πμ, Cameron Simpson wrote:
On 13Jun2013 17:19, Nikos as SuperHost Support wrote:
| A code-point and the code-point's ordinal value are associated into
| a Unicode charset. They have the so called 1:1 mapping.
|
| So, i was under the impression that by encoding the code-point in
On 14/6/2013 9:00 πμ, Zero Piraeus wrote:
:
On 14 June 2013 01:34, Nick the Gr33k wrote:
Why doesn't it work like this?
leading 0 = 1 byte flag
leading 1 = 2 bytes flag
leading 00 = 3 bytes flag
leading 01 = 4 bytes flag
leading 10 = 5 bytes flag
leading 11 = 6 bytes flag
Wouldn
On 13/6/2013 9:28 μμ, Joel Goldstick wrote:
your code is not finding a file named this:
'/home/nikos/public_html//home/dauwin/public_html/index.html'
The first part of this file path is:'/home/nikos/public_html
After that are TWO forward slashes which remind me of http:// and
following that
On 14/6/2013 10:36 πμ, Antoon Pardon wrote:
Op 13-06-13 10:08, Νικόλαος Κούρας schreef:
On 13/6/2013 10:58 πμ, Chris Angelico wrote:
On Thu, Jun 13, 2013 at 5:42 PM, ��
wrote:
On 13/6/2013 10:11 ��, Steven D'Aprano wrote:
No! That creates a string from 16474 in base two:
'0b1000
On 14/6/2013 4:14 πμ, Steven D'Aprano wrote:
On Thu, 13 Jun 2013 17:26:18 +0300, Νικόλαος Κούρας wrote:
i just want 4 cases to examine so correct execute to be run:
i'm reading and reading and reading this all over:
if '-' not in ( name and month and year ):
and i cant comprehend it.
Don't
On 14/6/2013 11:22 πμ, Antoon Pardon wrote:
Python prints numbers:
No it doesn't, numbers are abstract concepts that can be represented in
various notations, these notations are strings. Those notaional strings
end up being printed. As I said before we are so used in using the
decimal notation
On 14/6/2013 11:28 πμ, Jussi Piitulainen wrote:
'Parker' and 'May' and '2001'
'2001'
But why?
that expression should return True since all stings are not empty.
Either way, the interactive prompt is your friend.
--
What is now proved was at first only imagined!
--
http://mail.python.or
On 14/6/2013 11:03 πμ, Nick the Gr33k wrote:
On 14/6/2013 4:14 πμ, Steven D'Aprano wrote:
On Thu, 13 Jun 2013 17:26:18 +0300, Νικόλαος Κούρας wrote:
i just want 4 cases to examine so correct execute to be run:
i'm reading and reading and reading this all over:
if '-' not
On 14/6/2013 11:57 πμ, Chris Angelico wrote:
On Fri, Jun 14, 2013 at 6:44 PM, Nick the Gr33k wrote:
Someone want to explain this?
Stop writing. Start reading. It has been explained. In the course of a
long and adventurous thread in the principal European courts, it has
been revealed to you
On 14/6/2013 12:06 μμ, Heiko Wundram wrote:
Am 14.06.2013 10:37, schrieb Nick the Gr33k:
So everything we see like:
16474
nikos
abc123
everything is a string and nothing is a number? not even number 1?
Come on now, this is _so_ obviously trolling, it's not even remotely
funny anymore
On 14/6/2013 12:21 μμ, Jussi Piitulainen wrote:
Nick the Gr33k writes:
On 14/6/2013 11:28 πμ, Jussi Piitulainen wrote:
'Parker' and 'May' and '2001'
'2001'
But why?
that expression should return True since all stings are not empty.
It
On 14/6/2013 12:12 μμ, Chris Angelico wrote:
On Fri, Jun 14, 2013 at 7:00 PM, Nick the Gr33k wrote:
but i really wont to understand how 'or' and 'and' works inside an
expression. please answer my previous post if you know.
*eyeroll*
You have all the information. Go
I started another thread because the last one was !@#$'ed up by
irrelevant replies and was difficult to jeep track.
>>> name="abcd"
>>> month="efgh"
>>> year="ijkl"
>>> print(name or month or year)
abcd
Can understand that, it takes the first string out of the 3 strings that
has a truthy valu
On 14/6/2013 3:03 μμ, Denis McMahon wrote:
for i, month in enumerate(months):
if i != 0:
print(' %s ' % (i, month) )
else:
print(' %s ' % ("==", month) )
This s exactly what i was looking for Denis, thank you.
I tough of that myself too, but i had implemented it wrongly
On 14/6/2013 2:09 μμ, Antoon Pardon wrote:
Op 14-06-13 11:32, Nick the Gr33k schreef:
I'mm not trolling man, i just have hard time understanding why numbers
acts as strings.
They don't. No body claimed numbers acted like strings. What was explained,
was that when numbers are displ
On 14/6/2013 1:19 μμ, Cameron Simpson wrote:
On 14Jun2013 11:37, Nikos as SuperHost Support wrote:
| On 14/6/2013 11:22 πμ, Antoon Pardon wrote:
|
| >>Python prints numbers:
| >No it doesn't, numbers are abstract concepts that can be represented in
| >various notations, these notations are strin
On 14/6/2013 1:20 μμ, Fábio Santos wrote:
On 14 Jun 2013 10:20, "Heiko Wundram" mailto:modeln...@modelnine.org>> wrote:
>
> Am 14.06.2013 10:37, schrieb Nick the Gr33k:
>>
>> So everything we see like:
>>
>> 16474
>> nikos
>> abc
On 14/6/2013 2:51 μμ, rusi wrote:
Nikos:
This is not against you personally. Just your current mode of conduct
towards this list.
And that mode quite simply is this: You have no interest in python,
you are only interested in the immediate questions of your web-hosting.
If that was True i woul
On 14/6/2013 1:50 μμ, Antoon Pardon wrote:
Python works with numbers, but at the moment
it has to display such a number it has to produce something
that is printable. So it will build a string that can be
used as a notation for that number, a numeral. And that
is what will be displayed.
so a n
On 14/6/2013 3:40 μμ, Jussi Piitulainen wrote:
Nick the Gr33k writes:
On 14/6/2013 12:21 μμ, Jussi Piitulainen wrote:
Nick the Gr33k writes:
On 14/6/2013 11:28 πμ, Jussi Piitulainen wrote:
'Parker' and 'May' and '2001'
'2001'
But why?
that expres
On 14/6/2013 1:14 μμ, Cameron Simpson wrote:
Normally a character in a b'...' item represents the byte value
matching the character's Unicode ordinal value.
The only thing that i didn't understood is this line.
First please tell me what is a byte value
\x1b is a sequence you find inside strin
On 14/6/2013 4:48 μμ, Zero Piraeus wrote:
:
On 14 June 2013 09:07, Nick the Gr33k wrote:
Thanks for explaining this but i cannot follow its logic at all.
My mind is stuck trying to interpret it as an English sentence:
if ('Parker' and 'May' and '2001')
if (&
On 14/6/2013 5:49 μμ, Grant Edwards wrote:
On 2013-06-14, Nick the Gr33k wrote:
I started another thread
no kidding.
because the last one was !@#$'ed up by irrelevant replies and was
difficult to jeep track.
name="abcd"
month="efgh"
year="ijkl"
prin
On 14/6/2013 6:21 μμ, Joel Goldstick wrote:
let's cut to the chase and start with telling us what you DO know Nick.
That would take less typing
Well, my biggest successes up until now where to build 3 websites
utilizing database saves and retrievals
in PHP
in Perl
and later in Python
On 13/6/2013 9:04 μμ, Νικόλαος Κούρας wrote:
Τη Πέμπτη, 13 Ιουνίου 2013 7:52:27 μ.μ. UTC+3, ο χρήστης Νικόλαος Κούρας έγραψε:
On 13/6/2013 6:35 μμ, Joel Goldstick wrote:
[Tue Jun 11 21:59:31 2013] [error] [client 79.103.41.173]
FileNotFoundError: [Errno 2] \\u0394\\u03b5\\u03bd
\\u03c5\\
On 14/6/2013 7:15 μμ, Steven D'Aprano wrote:
On Fri, 14 Jun 2013 18:37:50 +0300, Nick the Gr33k wrote:
please take an overall look at my httpd.conf at
http://pastebin.com/Pb3VbNC9 in case you want to examine somehting
else.
Thank you very much.
PLEASE SUGGEST SOMETHING!
Don't s
On 14/6/2013 7:31 μμ, Steven D'Aprano wrote:
On Fri, 14 Jun 2013 16:07:56 +0300, Nick the Gr33k wrote:
Thanks for explaining this but i cannot follow its logic at all. My mind
is stuck trying to interpret it as an English sentence:
if ('Parker' and 'May' and '20
On 14/6/2013 7:47 μμ, Benjamin Kaplan wrote:
In an "and" clause,
python returns the first false value or the last value, because that
will evaluate to the correct Boolean value. In an "or" clause, python
returns the first true value or the last value. When Python finally got
a Boolean type, no o
On 14/6/2013 9:45 μμ, Mark Lawrence wrote:
On 14/06/2013 17:46, Mark Lawrence wrote:
Sure, just give me your password.
He actually offered to do just this!!! How stupid can you get? I'm so
fed up with his behaviour that I've emailed the Greek Embassy in London
pointing out what he's up to.
On 15/6/2013 9:50 πμ, alex23 wrote:
Please keep the snarky comments offlist.
Tried that. He posts them back here.
Alternatively, I'd ask that if you're so willing to deal with him, that the
*two of you* take this show offlist instead? I'm genuinely curious as to
whether he'd agree to this: gi
On 14/6/2013 7:42 μμ, Nobody wrote:
Python implements these operators by returning the actual value which
determined the result of the expression rather than simply True or False.
which in turn the actual value being returned is a truthy or a falsey.
That cleared the mystery in my head entirel
On 15/6/2013 10:49 πμ, Denis McMahon wrote:
On Sat, 15 Jun 2013 10:04:41 +0300, Nick the Gr33k wrote:
I called my self 'Ferrous Cranus'(this is what a guy from a forum
initially called me for being hard-headed :-) ) because i'm indeed
hardheaded and if i believe that 1 thing sho
On 15/6/2013 3:14 πμ, Cameron Simpson wrote:
On 14Jun2013 12:50, Nikos as SuperHost Support wrote:
| I started another thread because the last one was !@#$'ed up by
| irrelevant replies and was difficult to jeep track.
|
| >>> name="abcd"
| >>> month="efgh"
| >>> year="ijkl"
|
| >>> print(name o
On 15/6/2013 8:27 πμ, Larry Hudson wrote:
On 06/14/2013 09:56 AM, Nick the Gr33k wrote:
On 14/6/2013 7:31 μμ, Steven D'Aprano wrote:
On Fri, 14 Jun 2013 16:07:56 +0300, Nick the Gr33k wrote:
Returning True is the same thing as returning a variable's truthy value?
NO! 'T
On 15/6/2013 12:54 μμ, Lele Gaifax wrote:
Nick the Gr33k writes:
On 15/6/2013 8:27 πμ, Larry Hudson wrote:
Also they do NOT return "a variable's truthy value", they return the
variable itself.
No, as seen from my above examples, what is returned after the expr
eval are the a
On 15/6/2013 12:48 μμ, Lele Gaifax wrote:
Nick the Gr33k writes:
but those 2 gives the same results back
"k" in (name+month+year) == "k" in (name and month and year)
True
so both seem to work as expected.
That happens only by chance: it seems you now understand the ev
On 15/6/2013 12:48 μμ, Lele Gaifax wrote:
but those 2 gives the same results back
"k" in (name+month+year) == "k" in (name and month and year)
True
so both seem to work as expected.
That happens only by chance: it seems you now understand the evaluation
of "boolean" expressions in Python, so t
On 15/6/2013 5:44 μμ, Grant Edwards wrote:
There is some ambiguity in the term "byte". It used to mean the
smallest addressable unit of memory (which varied in the past -- at
one point, both 20 and 60 bit "bytes" were common). These days the
smallest addressable unit of memory is almost always
On 15/6/2013 5:59 μμ, Roy Smith wrote:
And, yes, especially in networking, everybody talks about octets when
they want to make sure people understand what they mean.
1 byte = 8 bits
in networking though since we do not use encoding schemes with variable
lengths like utf-8 is, how do we separ
On 15/6/2013 6:53 μμ, Michael Torrie wrote:
On 06/15/2013 07:07 AM, Nick the Gr33k wrote:
result = mylist (since its a no-emoty list)
result.append('bar')
result is mylist
True
Never seen the last statement before. What does that mean?
result is mylist
Yes. Surprisin
On 15/6/2013 8:11 μμ, Chris “Kwpolska” Warrick wrote:
On Fri, Jun 14, 2013 at 5:25 AM, alex23 wrote:
On Jun 14, 2:24 am, Νικόλαος Κούρας wrote:
iam researchign a solution to this as we speak.
Spamming endless "ZOMG HELP ME I'M INCOMPETENT" posts isn't "research".
--
http://mail.python.org/m
On 15/6/2013 7:41 μμ, Chris “Kwpolska” Warrick wrote:
On Sat, Jun 15, 2013 at 5:40 PM, Steven D'Aprano
wrote:
On Sat, 15 Jun 2013 07:58:27 -0400, D'Arcy J.M. Cain wrote:
I suggested including the poster that you are replying to.
In the name of all that's good and decent in the world, why on
On 15/6/2013 8:47 μμ, Steven D'Aprano wrote:
I still get two copies if you CC me. That's still unnecessary and rude.
If I wanted a copy emailed to me, I'd subscribe via email rather than via
news. Whether you agree or not, I'd appreciate if you respect my wishes
rather than try to wiggle out of
On 14/6/2013 4:58 μμ, Nick the Gr33k wrote:
On 14/6/2013 1:14 μμ, Cameron Simpson wrote:
Normally a character in a b'...' item represents the byte value
matching the character's Unicode ordinal value.
The only thing that i didn't understood is this line.
First please te
Hello,
Trying to browse http://superhost.gr/?page=files.py with tailing -F of
the error_log i noticed that error log outputs no error!
So that means that the script is correct.
here are the directory app's files.
ni...@superhost.gr [~/www/data/apps]# ls -l
total 412788
drwxr-xr-x 2 nikos nik
On 15/6/2013 10:46 μμ, Jarrod Henry wrote:
Nick, at this point, you need to hire someone to do your work for you.
The code is completely ready.
Some detail is missing and its not printing the files as expected.
Irrelevant to my question i just noticed weird behavior about my
pelatologio.py
On 15/6/2013 10:54 μμ, ru...@yahoo.com wrote:
On 06/15/2013 12:18 PM, rusi wrote:
On Jun 15, 10:52 pm, Steven D'Aprano wrote:
On Sat, 15 Jun 2013 10:36:00 -0700, rusi wrote:
With you as our spamming-guru, Onward! Sky is the limit!
If you're going to continue making unproductive, off-topic,
On 16/6/2013 12:29 πμ, Mark Lawrence wrote:
On 15/06/2013 20:38, Nick the Gr33k wrote:
Thank you and please whoever does not feel like helping, please at least
not spam the thread.
Your arrogance clearly has no bounds.
Your spamming to my threads in an unproductive and yet bitching way
On 16/6/2013 1:51 πμ, Chris Angelico wrote:
On Sun, Jun 16, 2013 at 6:29 AM, Benjamin Schollnick
wrote:
cur.execute('''SELECT ID FROM counters WHERE url = %s''', page )
cur.execute('''INSERT INTO counters (url) VALUES (%s)''', page )
Sure, whoever wrote that code is a fool.
http://xkcd.com/32
On 16/6/2013 1:51 πμ, Chris Angelico wrote:
On Sun, Jun 16, 2013 at 6:29 AM, Benjamin Schollnick
wrote:
cur.execute('''SELECT ID FROM counters WHERE url = %s''', page )
cur.execute('''INSERT INTO counters (url) VALUES (%s)''', page )
Sure, whoever wrote that code is a fool.
http://xkcd.com/32
1001 - 1100 of 1827 matches
Mail list logo