Ferrous Cranus writes:
> host = gethostbyaddr() or "UnResolved"
>
> This will return the first argument that define the evaluation as
> being true or untrue.
>
> if function returns false the the 2nd argument.
> Nut if the function gives an exception will the condition return the
> 2nd argum
Στις 5/7/2013 3:06 πμ, ο/η Nobody έγραψε:
On Thu, 04 Jul 2013 13:38:09 +0300, Νίκος wrote:
So you are also suggesting that what gesthostbyaddr() returns is not
utf-8 encoded too?
The gethostbyaddr() OS function returns a byte string with no specified
encoding. Python 3 will doubtless try to d
On 07/05/2013 12:30 AM, Chris Angelico wrote:
On Fri, Jul 5, 2013 at 3:10 AM, Rustom Mody wrote:
On Thu, Jul 4, 2013 at 9:16 PM, Steven D'Aprano
wrote:
Which crime is that? Presumably you mean an actual criminal felony, not a
mere civil offence. Under which jurisdiction?
If piracy is a cri
On 05/07/2013 02:24, Steven D'Aprano wrote:
On Thu, 04 Jul 2013 17:54:20 +0100, Rotwang wrote:
[...]
Anyway, none of the calculations that has been given takes into account
the fact that names can be /less/ than one million characters long.
Not in *my* code they don't!!!
*wink*
The
actual
Στις 5/7/2013 3:06 πμ, ο/η Nobody έγραψε:
On Thu, 04 Jul 2013 13:38:09 +0300, Νίκος wrote:
So you are also suggesting that what gesthostbyaddr() returns is not
utf-8 encoded too?
The gethostbyaddr() OS function returns a byte string with no specified
encoding. Python 3 will doubtless try to d
[ Digressing to tuning remote access. Sorry. - Cameron ]
On 04Jul2013 21:50, Roy Smith wrote:
| Does Sublime have some sort of remote mode? We've got one guy who loves
| it, but needs to work on a remote machine (i.e. in AWS). I got X11
| working for him (he has a Mac desktop), so he can run
On 5 July 2013 03:03, Dave Angel wrote:
> In particular,
> http://docs.python.org/3.3/reference/lexical_analysis.html#identifiers
>
> has a definition for id_continue that includes several interesting
> categories. I expected the non-ASCII digits, but there's other stuff there,
> like "nonsp
On 5 July 2013 03:03, Dave Angel wrote:
> On 07/04/2013 09:24 PM, Steven D'Aprano wrote:
>> On Thu, 04 Jul 2013 17:54:20 +0100, Rotwang wrote:
>>> It's perhaps worth mentioning that some non-ascii characters are allowed
>>> in identifiers in Python 3, though I don't know which ones.
>>
>> PEP 3131
On 07/04/2013 09:24 PM, Steven D'Aprano wrote:
On Thu, 04 Jul 2013 17:54:20 +0100, Rotwang wrote:
[...]
Anyway, none of the calculations that has been given takes into account
the fact that names can be /less/ than one million characters long.
Not in *my* code they don't!!!
*wink*
The
act
On 4 July 2013 12:19, Antoon Pardon wrote:
> Op 04-07-13 01:40, Joshua Landau schreef:
>
>> Bear in mind that if the way you were acting was all in my "with
>> trepidation" category, I would likely have not spoken up. I believe
>> you crossed a lot further beyond that line.
>
> I had to look up "t
In article ,
Joshua Landau wrote:
[talking about Sublime Text]
> There's, instead of a scrollbar, a little "bird's-eye-view" of the
> whole code on the RHS.
I've never used it myself, but there's a couple of guys in the office
who do. I have to admit, this feature looks pretty neat.
Does Sub
On Thu, 04 Jul 2013 10:20:43 -0700, Arturo B wrote:
> I'm making this exercise: (Python 3.3)
>
> Write a function translate() that will translate a text into
> "rövarspråket" (Swedish for "robber's language"). That is, double every
> consonant and place an occurrence of "o" in between. For exampl
Just a minor suggestion:
def display_board(board):
print ' a b c d e f g h'
print '+---+---+---+---+---+---+---+---+'
for row in range(8):
for col in range(8):
piece = board[row * 8 + col]
if piece_type[piece] == WHITE:
print '| \x1b[31;0
On 04Jul2013 16:03, Oscar Benjamin wrote:
| On 4 July 2013 13:48, wrote:
| > On Tuesday, April 8, 2008 10:06:46 PM UTC+2, Torsten Bronger wrote:
| >
http://stackoverflow.com/questions/744373/circular-or-cyclic-imports-in-python
|
| Is there some reason you're responding to a post from 5 years
On Thu, 04 Jul 2013 17:54:20 +0100, Rotwang wrote:
[...]
> Anyway, none of the calculations that has been given takes into account
> the fact that names can be /less/ than one million characters long.
Not in *my* code they don't!!!
*wink*
> The
> actual number of non-empty strings of length a
On 5/07/2013 4:18 AM, feedthetr...@gmx.de wrote:
Oh, sorry, we forgot, that the US legal system is the only one applicable
> to the internt (and of course to the whole world).
Given that Australian citizens (at least) have been extradited to the
US for piracy crimes that weren't commited on US
On 07/04/2013 08:38 PM, Joshua Landau wrote:
On 4 July 2013 08:32, cutems93 wrote:
I am researching on editors for my own reference. I found that each of them has
some features that other don't, but I am not sure which features are
significant/necessary for a GOOD editor. What features do you
On 4 July 2013 06:39, Peter Otten <__pete...@web.de> wrote:
> Joshua Landau wrote:
>
>> On 3 July 2013 23:19, Joshua Landau wrote:
>>> If you don't want to do that, you'd need to use introspection of a
>>> remarkably hacky sort. If you want that, well, it'll take a mo.
>>
>> After some effort I'm
On 4 July 2013 08:32, cutems93 wrote:
> I am researching on editors for my own reference. I found that each of them
> has some features that other don't, but I am not sure which features are
> significant/necessary for a GOOD editor. What features do you a good editor
> should have? Keyboard sh
On Thu, 04 Jul 2013 13:38:09 +0300, Νίκος wrote:
> So you are also suggesting that what gesthostbyaddr() returns is not
> utf-8 encoded too?
The gethostbyaddr() OS function returns a byte string with no specified
encoding. Python 3 will doubtless try to decode that to a character string
using so
On 4 July 2013 17:54, Rotwang wrote:
> 53*(63**100 - 1)//62
Or about 10**10**6.255 (so about 1.80M digits long).
For the unicode side (Python 3, in other words) and reusing your math
(ya better hope it's right!), you are talking:
97812*((97812+2020)**100 - 1)/(97812+2020-1)
Or about 1
On Fri, Jul 5, 2013 at 8:12 AM, Andrew Berg wrote:
> On 2013.07.04 09:08, Wayne Werner wrote:
>> powershell -ExecutionPolicy Bypass -File ...
>>
>>
>> \o/
>>
>> Microsoft "security" at it again! (reminds me a bit of just pushing
>> "Cancel" to log into windows 98, I think it was)
> From an MSDN pa
On Fri, Jul 5, 2013 at 3:10 AM, Rustom Mody wrote:
> On Thu, Jul 4, 2013 at 9:16 PM, Steven D'Aprano
> wrote:
>>
>> Which crime is that? Presumably you mean an actual criminal felony, not a
>> mere civil offence. Under which jurisdiction?
>>
>> If piracy is a crime, and not just a civil offence,
On 2013.07.04 09:08, Wayne Werner wrote:
> powershell -ExecutionPolicy Bypass -File ...
>
>
> \o/
>
> Microsoft "security" at it again! (reminds me a bit of just pushing
> "Cancel" to log into windows 98, I think it was)
From an MSDN page linked in one of the answers:
> Now, why is
>
> Pow
On 07/04/2013 11:11 AM, kanchan.n.maha...@gmail.com wrote:
On Thursday, July 4, 2013 5:03:20 PM UTC+2, Oscar Benjamin wrote:
On 4 July 2013 13:48, wrote:
On Tuesday, April 8, 2008 10:06:46 PM UTC+2, Torsten Bronger wrote:
[snip]
If you do "import foo" inside bar and "import bar" insi
On Thu, Jul 4, 2013 at 2:52 PM, Ferrous Cranus wrote:
> Στις 4/7/2013 9:40 μμ, ο/η Grant Edwards έγραψε:
>
> On 2013-07-04, ?? wrote:
>>
>>>
>>> If you guys want to use it i can send you a patch for it. I know its
>>> illegal thing to say but it will help you use it without buying it.
>
On Fri, Jul 5, 2013 at 4:52 AM, Ferrous Cranus wrote:
> Στις 4/7/2013 9:40 μμ, ο/η Grant Edwards έγραψε:
>
>> On 2013-07-04, ?? wrote:
>>>
>>>
>>> If you guys want to use it i can send you a patch for it. I know its
>>> illegal thing to say but it will help you use it without buying it.
>
On 2013-07-04 15:24, MRAB wrote:
> On 04/07/2013 14:22, Tim Chase wrote:
> > Other nice-to-haves include
> >
> > - Unicode support (including various encodings)
>
> It's 2013, yet Unicode support is merely a "nice-to-have"?
Yeah, while I use Vim and it's got support, most of what I do
interacts w
On 07/04/2013 02:25 PM, Ferrous Cranus wrote:
> try:
> host = socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0]
> except:
> host = "Reverse DNS Failed"
>
> Is there a way to write the above so i cna print the error return when
> it fails?
>
Do you know what IP address causes the
Ferrous Cranus writes:
> try:
> host = socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0]
> except:
> host = "Reverse DNS Failed"
>
> Is there a way to write the above so i cna print the error return when
> it fails?
Try something like
try:
host = socket.gethostbyaddr( os.
Στις 4/7/2013 11:08 μμ, ο/η Dennis Lee Bieber έγραψε:
On Thu, 04 Jul 2013 13:38:09 +0300, ? declaimed
the following:
What character is 0xb6 anyways?
It depends on the encoding... In EBCDIC it's unassigned. It's a
paragraph mark in ISO-Latin-1 (ISO-8859-1). Apparently also a parag
Στις 4/7/2013 9:40 μμ, ο/η Grant Edwards έγραψε:
On 2013-07-04, ?? wrote:
If you guys want to use it i can send you a patch for it. I know its
illegal thing to say but it will help you use it without buying it.
A new low. Now he's offering to help people steal others' work.
Like y
On 2013-07-04, ?? wrote:
>
> If you guys want to use it i can send you a patch for it. I know its
> illegal thing to say but it will help you use it without buying it.
A new low. Now he's offering to help people steal others' work.
--
Grant
--
http://mail.python.org/mailman/listinfo
Rotwang wrote:
> Sorry to be OT, but this is sending my pedantry glands haywire:
We are mostly pedants, too -- so this is well-deserved...
> On 04/07/2013 08:06, Dave Angel wrote:
>> On 07/04/2013 01:32 AM, Steven D'Aprano wrote:
>>>
>>
>>>
>>> Well, if I ever have more than 63,000,000
Arturo B writes:
> I'm making this exercise: (Python 3.3)
>
> Write a function translate() that will translate a text into
> "rövarspråket" (Swedish for "robber's language"). That is, double
> every consonant and place an occurrence of "o" in between. For
> example, translate("this is fun") shoul
Am Donnerstag, 4. Juli 2013 19:10:07 UTC+2 schrieb rusi:
> On Thu, Jul 4, 2013 at 9:16 PM, Steven D'Aprano
> wrote:
>> On Thu, 04 Jul 2013 07:02:26 -0700, rusi wrote:
>>> ...
>>> Note that you are not objecting to the crime
>>
>> Which crime is that? Presumably you mean an actual criminal felony,
Am Donnerstag, 4. Juli 2013 19:20:43 UTC+2 schrieb Arturo B:
> ...
> So I want to question:
> How is the
>
> if 'h' in consonants else 'h' for 'h' in s
>
> part evaluated? (step by step please :P )
Although new to python I think I can solve this (if no one contradicts, I can
guess that I under
Op 04-07-13 19:20, Arturo B schreef:
I'm making this exercise: (Python 3.3)
Write a function translate() that will translate a text into "rövarspråket" (Swedish for "robber's
language"). That is, double every consonant and place an occurrence of "o" in between. For example,
translate("this is
Thanks to the OSA library, which works for SOAP requests with Python 3.x, I can
now use SOAP services at http://www.chemspider.com.
The results structure is
int
int
The result is a list of accession numbers (which correspond to chemical
compounds) and I get them i
I'm making this exercise: (Python 3.3)
Write a function translate() that will translate a text into "rövarspråket"
(Swedish for "robber's language"). That is, double every consonant and place an
occurrence of "o" in between. For example, translate("this is fun") should
return the string "tothoh
On Thu, Jul 4, 2013 at 9:16 PM, Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info> wrote:
> On Thu, 04 Jul 2013 07:02:26 -0700, rusi wrote:
>
> > On Thursday, July 4, 2013 7:03:19 PM UTC+5:30, Steve Simmons wrote:
> >> Boy oh boy! You really are a slow learner Nicos. You have just offered
> >
On Fri, Jul 5, 2013 at 2:38 AM, Steven D'Aprano
wrote:
> On Thu, 04 Jul 2013 15:47:57 +1000, Chris Angelico wrote:
>> Here's one example of shadowing that comes from a C++ project at work. I
>> have a class that represents a database transaction (constructing it
>> begins a transaction, it has met
Sorry to be OT, but this is sending my pedantry glands haywire:
On 04/07/2013 08:06, Dave Angel wrote:
On 07/04/2013 01:32 AM, Steven D'Aprano wrote:
Well, if I ever have more than 63,000,000 variables[1] in a function,
I'll keep that in mind.
[1] Based on empirical eviden
On Thu, 04 Jul 2013 15:47:57 +1000, Chris Angelico wrote:
> On Thu, Jul 4, 2013 at 3:32 PM, Steven D'Aprano
> wrote:
>> Accidental shadowing can be a problem, but I've never heard of anyone
>> saying that they were *forced* to shadow a global they needed access
>> to. Just pick a different name.
To Rurpy and cutems93,
My apologies too. I reacted before I thought about creating a new thread.
To your question: One thing that I don't use daily but find very useful to
have in an editor is 'Hex View' (or better yet a 'Hex Editor').
Whilst it has been 'dissed' recently on this list, I like
>Well, technically it's
>
>func.func_closure[0].cell_contents.__name__
>
>but of course you cannot know that for the general case.
Hah, I admit I lacked perseverance in looking at this in PyCharms debugger as I
missed
that.
Much appreciated!
jlc
--
http://mail.python.org/mailman/listinfo/python
Στις 4/7/2013 6:10 μμ, ο/η MRAB έγραψε:
What do you mean "I don't know how to catch the exception with
OSError"? You've tried "except socket.gaierror" and "except
socket.herror", well just write "except OSError" instead!
try:
host = socket.gethostbyaddr( os.environ['REMOTE_ADDR'] )[0]
On 07/04/2013 08:24 AM, MRAB wrote:
> On 04/07/2013 14:22, Tim Chase wrote:
>> On 2013-07-04 05:02, Dave Angel wrote:
>> [snip an excellent list of things to look for in an editor]
> It's 2013, yet Unicode support is merely a "nice-to-have"?
I agree that this is pretty important. Even if you do
On Thu, 04 Jul 2013 03:06:25 -0400, Dave Angel wrote:
> On 07/04/2013 01:32 AM, Steven D'Aprano wrote:
>>
>
>>
>> Well, if I ever have more than 63,000,000 variables[1] in a function,
>> I'll keep that in mind.
>>
>
>>
>> [1] Based on empirical evidence that Python supports names wit
On 2013-02-13 23:25:09 +, Chris Hinsley said:
New to Python, which I really like BTW.
First serious prog. Hope you like it. I know it needs a 'can't move if
your King would be put into check' test. But the weighted value of the
King piece does a surprising emergent job.
New version with
On Thu, 04 Jul 2013 07:02:26 -0700, rusi wrote:
> On Thursday, July 4, 2013 7:03:19 PM UTC+5:30, Steve Simmons wrote:
>> Boy oh boy! You really are a slow learner Nicos. You have just offered
>> to commit a crime and to include dozens of others in that crime ON A
>> PUBLIC FORUM. Please think befo
On Thu, 04 Jul 2013 12:01:26 +0100, Robert Kern wrote:
> On 2013-07-04 10:14, Νίκος wrote:
>
>> If you guys want to use it i can send you a patch for it. I know its
>> illegal thing to say but it will help you use it without buying it.
>
> Please do not use this forum to make such offers.
Than
On Thu, 4 Jul 2013, Steven D'Aprano wrote:
[1] Based on empirical evidence that Python supports names with length at
least up to one million characters long, and assuming that each character
can be an ASCII letter, digit or underscore.
The specification *does* state unlimited length:
http://
rusi wrote:
>On Thursday, July 4, 2013 7:03:19 PM UTC+5:30, Steve Simmons wrote:
>> Boy oh boy! You really are a slow learner Nicos. You have just
>offered to
>> commit a crime and to include dozens of others in that crime ON A
>PUBLIC
>> FORUM. Please think before you post.
>
>For the record
On 07/04/2013 06:23 AM, Aseem Bansal wrote:
I want to start GUI development using Tkinter in Python 2.7.5.
I have been searching all over google but couldn't find any IDE that
has drag-and-drop feature for Python GUI development.
For Tkinter, no luck. The general consensus always seems to be
On Thursday, July 4, 2013 5:03:20 PM UTC+2, Oscar Benjamin wrote:
> On 4 July 2013 13:48, wrote:
>
> > On Tuesday, April 8, 2008 10:06:46 PM UTC+2, Torsten Bronger wrote:
>
> [snip]
>
> >
>
> > If you do "import foo" inside bar and "import bar" inside foo, it will work
> > fine. By the time
On 04/07/2013 14:38, Νίκος Γκρ33κ wrote:
Στις 4/7/2013 4:34 μμ, ο/η MRAB έγραψε:
On 04/07/2013 13:47, Νίκος wrote:
Στις 4/7/2013 3:07 μμ, ο/η MRAB έγραψε:
On 04/07/2013 12:36, Νίκος wrote:
Στις 4/7/2013 2:06 μμ, ο/η MRAB έγραψε:
On 04/07/2013 11:38, Νίκος wrote:
Στις 4/7/2013 12:50 μμ, ο/η
On 4 July 2013 13:48, wrote:
> On Tuesday, April 8, 2008 10:06:46 PM UTC+2, Torsten Bronger wrote:
[snip]
>
> If you do "import foo" inside bar and "import bar" inside foo, it will work
> fine. By the time anything actually runs, both modules will be fully loaded
> and will have references to e
Αρχικό μήνυμα
Θέμα: Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in
position 0: invalid start byte
Ημερομηνία: Thu, 04 Jul 2013 14:34:42 +0100
Από: MRAB
Απάντηση: python-list@python.org
Προς: python-list@python.org
Ομάδες συζήτησης: comp.lang.python
Αναφορές
On Jul 4, 2013, at 9:22 AM, Tim Chase wrote:
> On 2013-07-04 05:02, Dave Angel wrote:
> [snip an excellent list of things to look for in an editor]
>
> Also,
>
> - the ability to perform changes in bulk, especially across files.
> Often, this is done with the ability to record/playback macros
On 04/07/2013 14:22, Tim Chase wrote:
On 2013-07-04 05:02, Dave Angel wrote:
[snip an excellent list of things to look for in an editor]
Also,
- the ability to perform changes in bulk, especially across files.
Often, this is done with the ability to record/playback macros,
though some edi
Στις 4/7/2013 4:34 μμ, ο/η MRAB έγραψε:
On 04/07/2013 13:47, Νίκος wrote:
Στις 4/7/2013 3:07 μμ, ο/η MRAB έγραψε:
On 04/07/2013 12:36, Νίκος wrote:
Στις 4/7/2013 2:06 μμ, ο/η MRAB έγραψε:
On 04/07/2013 11:38, Νίκος wrote:
Στις 4/7/2013 12:50 μμ, ο/η Ulrich Eckhardt έγραψε:
Am 04.07.2013 10:
On Wed, 3 Jul 2013, Dennis Lee Bieber wrote:
Consider that the Powershell default is to /prevent/ execution of
script files unless some security settings have been changed; even local
script files need to be "signed" to be executed.
Protip: No they don't - wrap it in a cmd/bat file and
On Thursday, July 4, 2013 7:03:19 PM UTC+5:30, Steve Simmons wrote:
> Boy oh boy! You really are a slow learner Nicos. You have just offered to
> commit a crime and to include dozens of others in that crime ON A PUBLIC
> FORUM. Please think before you post.
For the record Steve, let me say, I f
Am Donnerstag, 4. Juli 2013 15:36:02 UTC+2 schrieb Νίκος Γκρ33κ:
> Στις 4/7/2013 4:33 μμ, ο/η Steve Simmons έγραψε:
>> "Νίκος" wrote:
>>> Στις 4/7/2013 11:34 πμ, ο/η Dave Angel έγραψε:
On 07/04/2013 03:59 AM, Νίκος wrote:
> ...
> Download Sublime Text v3
>
Στις 4/7/2013 4:33 μμ, ο/η Steve Simmons έγραψε:
"Νίκος" wrote:
Στις 4/7/2013 11:34 πμ, ο/η Dave Angel έγραψε:
On 07/04/2013 03:59 AM, Νίκος wrote:
Στις 4/7/2013 10:32 πμ, ο/η cutems93 έγραψε:
I am researching on editors for my own reference. I
On 04/07/2013 13:47, Νίκος wrote:
Στις 4/7/2013 3:07 μμ, ο/η MRAB έγραψε:
On 04/07/2013 12:36, Νίκος wrote:
Στις 4/7/2013 2:06 μμ, ο/η MRAB έγραψε:
On 04/07/2013 11:38, Νίκος wrote:
Στις 4/7/2013 12:50 μμ, ο/η Ulrich Eckhardt έγραψε:
Am 04.07.2013 10:37, schrieb Νίκος:
I just started to hav
On 07/04/2013 08:48 AM, kanchan.n.maha...@gmail.com wrote:
On Tuesday, April 8, 2008 10:06:46 PM UTC+2, Torsten Bronger wrote:
Hallöchen!
I have a rather fat module that represents a document parser --
inline elements, block elements, and the like. Now I want to split
it into many modules to m
On 04/07/2013 13:52, Νίκος wrote:
Στις 4/7/2013 3:07 μμ, ο/η MRAB έγραψε:
Also, try printing out ascii(os.environ['REMOTE_ADDR']).
'108.162.229.97' is the result of:
print( ascii(os.environ['REMOTE_ADDR']) )
Seems perfectly valid. and also have a PTR record, so that leaved us
clueless about
"Νίκος" wrote:
>Στις 4/7/2013 11:34 πμ, ο/η Dave Angel έγραψε:
>> On 07/04/2013 03:59 AM, Νίκος wrote:
>>> Στις 4/7/2013 10:32 πμ, ο/η cutems93 έγραψε:
I am researching on editors for my own reference. I found that each
>of
them has some features that other don't, but I am not sure whic
Στις 4/7/2013 4:07 μμ, ο/η Ulrich Eckhardt έγραψε:
Am 04.07.2013 12:38, schrieb Νίκος:
Στις 4/7/2013 12:50 μμ, ο/η Ulrich Eckhardt έγραψε:
Am 04.07.2013 10:37, schrieb Νίκος:
Why cant it decode the starting byte? what starting byte is that?
It's the 0xb6 but it's expecting the starting byte
I want to start GUI development using Tkinter in Python 2.7.5.
I have been searching all over google but couldn't find any IDE that has
drag-and-drop feature for Python GUI development. Tried to ask on stackoverflow
(http://stackoverflow.com/questions/17439620/an-ide-with-drag-and-drop-feature-
On 2013-07-04 05:02, Dave Angel wrote:
[snip an excellent list of things to look for in an editor]
Also,
- the ability to perform changes in bulk, especially across files.
Often, this is done with the ability to record/playback macros,
though some editors have multiple insertion/edit cursors
Am 04.07.2013 12:38, schrieb Νίκος:
Στις 4/7/2013 12:50 μμ, ο/η Ulrich Eckhardt έγραψε:
Am 04.07.2013 10:37, schrieb Νίκος:
Why cant it decode the starting byte? what starting byte is that?
It's the 0xb6 but it's expecting the starting byte of a UTF-8 sequence.
Please do some research on UTF-
Folks,
Hi,
I am an IDL users and i have started to check out some pythons abilities, and
turns out it is really cool. I just wondering if there is a Google earth module
that we could import out lat-lon-(data) based on python codes. I have this web
site (https://code.google.com/p/kdm-idl/) that
Στις 4/7/2013 3:07 μμ, ο/η MRAB έγραψε:
Also, try printing out ascii(os.environ['REMOTE_ADDR']).
'108.162.229.97' is the result of:
print( ascii(os.environ['REMOTE_ADDR']) )
Seems perfectly valid. and also have a PTR record, so that leaved us
clueless about the internal server error.
--
Wha
Στις 4/7/2013 3:07 μμ, ο/η MRAB έγραψε:
On 04/07/2013 12:36, Νίκος wrote:
Στις 4/7/2013 2:06 μμ, ο/η MRAB έγραψε:
On 04/07/2013 11:38, Νίκος wrote:
Στις 4/7/2013 12:50 μμ, ο/η Ulrich Eckhardt έγραψε:
Am 04.07.2013 10:37, schrieb Νίκος:
I just started to have this error without changing nothi
On Tuesday, April 8, 2008 10:06:46 PM UTC+2, Torsten Bronger wrote:
> Hallöchen!
>
> I have a rather fat module that represents a document parser --
> inline elements, block elements, and the like. Now I want to split
> it into many modules to make everything more manageable.
>
> But at the mome
Dave Angel writes:
> Well, the number wouldn't be 63,000,000. Rather it'd be 63**100
Uhm, if we are talking about Py2, then you should not count all the
combinations starting with a digit, while under Py3 the number explodes,
as this is valid code:
>>> à = 1
>>> à
1
:-)
back to easily-en
On Thu, Jul 4, 2013 at 9:52 PM, MRAB wrote:
> On 04/07/2013 12:29, Νίκος wrote:
>>
>> Στις 4/7/2013 1:54 μμ, ο/η Chris Angelico έγραψε:
>>>
>>> On Thu, Jul 4, 2013 at 8:38 PM, � wrote:
So you are also suggesting that what gesthostbyaddr() returns is not
utf-8
encoded too?
Στις 4/7/2013 2:52 μμ, ο/η MRAB έγραψε:
On 04/07/2013 12:29, Νίκος wrote:
Στις 4/7/2013 1:54 μμ, ο/η Chris Angelico έγραψε:
On Thu, Jul 4, 2013 at 8:38 PM, � wrote:
So you are also suggesting that what gesthostbyaddr() returns is not
utf-8
encoded too?
What character is 0xb6 anyways?
I
Op 03-07-13 19:11, ru...@yahoo.com schreef:
> On 07/03/2013 03:21 AM, Antoon Pardon wrote:
>> Op 03-07-13 02:30, ru...@yahoo.com schreef:
>>> If your going to point out something negative about someone
>>> then do so politely. Ask yourself if you were pointing out
>>> incompetence to your boss (o
On 04/07/2013 12:36, Νίκος wrote:
Στις 4/7/2013 2:06 μμ, ο/η MRAB έγραψε:
On 04/07/2013 11:38, Νίκος wrote:
Στις 4/7/2013 12:50 μμ, ο/η Ulrich Eckhardt έγραψε:
Am 04.07.2013 10:37, schrieb Νίκος:
I just started to have this error without changing nothing
Well, undo the nothing that you didn
On 04/07/2013 12:29, Νίκος wrote:
Στις 4/7/2013 1:54 μμ, ο/η Chris Angelico έγραψε:
On Thu, Jul 4, 2013 at 8:38 PM, � wrote:
So you are also suggesting that what gesthostbyaddr() returns is not utf-8
encoded too?
What character is 0xb6 anyways?
It isn't. It's a byte. Bytes are not chara
Στις 4/7/2013 2:06 μμ, ο/η MRAB έγραψε:
On 04/07/2013 11:38, Νίκος wrote:
Στις 4/7/2013 12:50 μμ, ο/η Ulrich Eckhardt έγραψε:
Am 04.07.2013 10:37, schrieb Νίκος:
I just started to have this error without changing nothing
Well, undo the nothing that you didn't change. ;)
UnicodeDecodeError:
Στις 4/7/2013 1:54 μμ, ο/η Chris Angelico έγραψε:
On Thu, Jul 4, 2013 at 8:38 PM, � wrote:
So you are also suggesting that what gesthostbyaddr() returns is not utf-8
encoded too?
What character is 0xb6 anyways?
It isn't. It's a byte. Bytes are not characters.
http://www.joelonsoftware.c
Op 04-07-13 01:40, Joshua Landau schreef:
> On 3 July 2013 11:01, Antoon Pardon wrote:
>
>> This is not an attack of character. Level of skill/competence is
>> not in general seen as a character trait.
> I disagree. I'm not sure how to argue this, rather than point out that
> by "character trait"
On 04/07/2013 11:38, Νίκος wrote:
Στις 4/7/2013 12:50 μμ, ο/η Ulrich Eckhardt έγραψε:
Am 04.07.2013 10:37, schrieb Νίκος:
I just started to have this error without changing nothing
Well, undo the nothing that you didn't change. ;)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in
On 2013-07-04 10:14, Νίκος wrote:
If you guys want to use it i can send you a patch for it.
I know its illegal thing to say but it will help you use it without buying it.
Please do not use this forum to make such offers.
--
Robert Kern
"I have come to believe that the whole world is an enigm
On Thu, Jul 4, 2013 at 8:38 PM, Νίκος wrote:
> So you are also suggesting that what gesthostbyaddr() returns is not utf-8
> encoded too?
>
> What character is 0xb6 anyways?
It isn't. It's a byte. Bytes are not characters.
http://www.joelonsoftware.com/articles/Unicode.html
ChrisA
--
http://mai
Στις 4/7/2013 12:50 μμ, ο/η Ulrich Eckhardt έγραψε:
Am 04.07.2013 10:37, schrieb Νίκος:
I just started to have this error without changing nothing
Well, undo the nothing that you didn't change. ;)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0:
invalid start byte
[Thu
Αρχικό μήνυμα
Θέμα: Re: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in
position 0: invalid start byte
Ημερομηνία: Thu, 04 Jul 2013 06:29:25 -0400
Από: Dave Angel
Προς: python-list@python.org
Ομάδες συζήτησης: comp.lang.python
Αναφορές:
On 07/04/2013 06:0
On 07/04/2013 06:03 AM, Νίκος wrote:
Στις 4/7/2013 12:59 μμ, ο/η Dave Angel έγραψε:
On 07/04/2013 04:37 AM, Νίκος wrote:
I just started to have this error without changing nothing
in my index.html(template) and metrites.py(which ipen the template)
[Thu Jul 04 11:35:14 2013] [error] [client 10
Am 04.07.2013 10:37, schrieb Νίκος:
I just started to have this error without changing nothing
Well, undo the nothing that you didn't change. ;)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 0:
invalid start byte
[Thu Jul 04 11:35:14 2013] [error] [client 108.162.229.97
Στις 3/7/2013 8:23 μμ, ο/η Chris Angelico έγραψε:
What are the file permissions (file modes) on all your home
directories? Do you know what they mean?
root@nikos [~]# ls -al /home
total 88
drwx--x--x 22 root root 4096 Jul 3 20:03 ./
drwxr-xr-x 22 root root 4096 Jun 12 01:21 .
On Thu, Jul 4, 2013 at 7:14 PM, Νίκος wrote:
> If you guys want to use it i can send you a patch for it.
> I know its illegal thing to say but it will help you use it without buying
> it.
Considering that there are plenty of free text editors around, I don't
see any reason to steal one. If you wa
Στις 4/7/2013 12:59 μμ, ο/η Dave Angel έγραψε:
On 07/04/2013 04:37 AM, Νίκος wrote:
I just started to have this error without changing nothing
in my index.html(template) and metrites.py(which ipen the template)
[Thu Jul 04 11:35:14 2013] [error] [client 108.162.229.97] Original
exception was:
On 07/04/2013 04:37 AM, Νίκος wrote:
I just started to have this error without changing nothing
in my index.html(template) and metrites.py(which ipen the template)
[Thu Jul 04 11:35:14 2013] [error] [client 108.162.229.97] Original
exception was: [Thu Jul 04 11:35:14 2013] [error] [client
108.1
Στις 4/7/2013 11:34 πμ, ο/η Dave Angel έγραψε:
On 07/04/2013 03:59 AM, Νίκος wrote:
Στις 4/7/2013 10:32 πμ, ο/η cutems93 έγραψε:
I am researching on editors for my own reference. I found that each of
them has some features that other don't, but I am not sure which
features are significant/neces
On 07/04/2013 03:32 AM, cutems93 wrote:
I am researching on editors for my own reference. I found that each of them has
some features that other don't, but I am not sure which features are
significant/necessary for a GOOD editor. What features do you a good editor
should have? Keyboard shortcu
1 - 100 of 109 matches
Mail list logo