On Tue, 11 Jun 2013 18:29:05 -0700, nagia.retsina wrote:
if page or form.getvalue('show') == 'log':
# it is a python script
page = page.replace( '/home/nikos/public_html/cgi-bin', '' )
elif page or form.getvalue('show') == 'stats':
page = page.replace(
On Jun 12, 3:44 pm, Tim Roberts t...@probo.com wrote:
It seems silly to fire up a regular expression compiler to look for a
single character.
if name.find('=') 0 and month.find('=') 0 and year.find('=') 0:
If truthiness is the only concern, I prefer using `in`:
if '=' in name and
On 12 Jun 2013 01:36, Roy Smith r...@panix.com wrote:
In article mailman.3023.1370964449.3114.python-l...@python.org,
Serhiy Storchaka storch...@gmail.com wrote:
11.06.13 07:11, Roy Smith написав(ла):
In article mailman.2992.1370904643.3114.python-l...@python.org,
Roel Schroeven
On 12 Jun 2013 02:20, nagia.rets...@gmail.com wrote:
How can i be able to answer you guys posts by my mail client?
Don't delete mails that you might want to reply to.
If you do anything else, you're just making it difficult for yourself.
Cheers,
Phil
--
Τη Τετάρτη, 12 Ιουνίου 2013 9:36:41 π.μ. UTC+3, ο χρήστης Phil Connell έγραψε:
On 12 Jun 2013 02:20, nagia@gmail.com wrote:
How can i be able to answer you guys posts by my mail client?
Don't delete mails that you might want to reply to.
If you do anything else, you're just
Hello,
I am trying to write a script which will parse a code segment (with
ast.parse()), locate the correct function/method node (by name) in the
resulting tree and replace this function (node) with another function (node),
e.g.:
MyMod1.py:
class FooBar():
def Foo(self): #I want to replace
Adam Mercer wrote:
Hi
I'm trying to update one of my scripts so that it runs under python2
and python3, but I'm running into an issue that the following example
illustrates:
$ cat test.py
try:
# python-2.x
from urllib2 import urlopen
from ConfigParser import ConfigParser
On 06/11/2013 08:47 AM, Eam onn wrote:
Is there a PyGame tutorial out there? I've seen TheNewBoston's tuts, but he
didn't finish his. MetalX100 did a VERY good tutorial. I've been having trouble
with some player movement because he isn't moving smoothly, he jumps. If I add
5 pixels to his X
On Tue, 11 Jun 2013 22:49:05 -0600, Michael Torrie wrote:
What do each of these functions return? When you print out
re.search('=', name) what happens?
First of all i have changed the code to the following because using a
regex
to detect a single char was an overkill.
if '=' not in name
On Wed, Jun 12, 2013 at 5:45 PM, Νικόλαος Κούρας supp...@superhost.gr wrote:
First of all i have changed the code to the following because using a
regex
to detect a single char was an overkill.
if '=' not in name and '=' not in month and '=' not in year:
It'd be courteous to acknowledge
#
# Collect directory and its filenames as bytes
path = b'/home/nikos/public_html/data/apps/'
files = os.listdir( path )
for filename in files:
# Compute 'path/to/filename'
filepath_bytes = path + filename
On 06/11/2013 01:09 PM, Νικόλαος Κούρας wrote:
Τη Τρίτη, 11 Ιουνίου 2013 10:52:02 π.μ. UTC+3, ο χρήστης Larry Hudson έγραψε:
On 06/10/2013 06:56 AM, Νικόλαος Κούρας wrote:
i think your suggestions works only if you have a mail handy in TB and you hit
follow-up what if you dont have the mail
On Wed, 12 Jun 2013 08:02:24 +, Νικόλαος Κούρας wrote:
i tried to insert
print( filename )
sys.exit(0)
That's not very useful. That will just print ONE file name, then stop.
You have how many files in there? Two? Twenty? What if the problem does
not lie with the first one?
just before
On Tue, 11 Jun 2013 13:20:52 -0700, Νικόλαος Κούρας wrote:
The above if structure works correctly *only* if the user sumbits by
form:
name, month, year or month, year
If, he just enter a year in the form and sumbit then, i get no error,
but no results displayed back.
Any ideas as to
On 06/12/2013 01:20 AM, Larry Hudson wrote:
On 06/11/2013 01:09 PM, Νικόλαος Κούρας wrote:
Τη Τρίτη, 11 Ιουνίου 2013 10:52:02 π.μ. UTC+3, ο χρήστης Larry Hudson έγραψε:
On 06/10/2013 06:56 AM, Νικόλαος Κούρας wrote:
I forgot to specify I'm talking about using Thunderbird Newsgroups, not the
I've done some tests: i've simulated a serial transmission with
1. Terminal.exe
https://sites.google.com/site/terminalbpp/
2. Com0com
I've made a script that transmit a char every 5ms. The test system is
Terminal---Com0Com---Terminal
so i haven't used my program.
After 3-4minutes the terminal
On 12/6/2013 11:27 πμ, Denis McMahon wrote:
On Tue, 11 Jun 2013 13:20:52 -0700, Νικόλαος Κούρας wrote:
The above if structure works correctly *only* if the user sumbits by
form:
name, month, year or month, year
If, he just enter a year in the form and sumbit then, i get no error,
but no
Ronny Mandal wrote:
Hello,
I am trying to write a script which will parse a code segment (with
ast.parse()), locate the correct function/method node (by name) in the
resulting tree and replace this function (node) with another function
(node), e.g.:
MyMod1.py:
class FooBar():
def
On 12/6/2013 11:31 πμ, Steven D'Aprano wrote:
On Wed, 12 Jun 2013 08:02:24 +, Νικόλαος Κούρας wrote:
i tried to insert
print( filename )
sys.exit(0)
That's not very useful. That will just print ONE file name, then stop.
You have how many files in there? Two? Twenty? What if the problem
root@nikos [/home/nikos/www/data/apps]# ls -l
total 412788
drwxr-xr-x 2 nikos nikos 4096 Jun 12 12:03 ./
drwxr-xr-x 6 nikos nikos 4096 May 26 21:13 ../
-rwxr-xr-x 1 nikos nikos 13157283 Mar 17 12:57 100\ Mythoi\ tou\
Aiswpou.pdf*
-rwxr-xr-x 1 nikos nikos 29524686 Mar 11 18:17
On Wed, Jun 12, 2013 at 9:54 AM, Νικόλαος Κούρας supp...@superhost.gr wrote:
but if enumerate yields 0 instead of '==' then elif '=' not in
year of course fails.
So, i must tell:
for i, month in enumerate(months):
print('option value=%s %s /option' % (i, month) )
to somehow
(*) 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’t distinguishable as final in
isolation. 0x80-0xBF can all be either medial or final.
So, the first high-bits are a directive
On Wed, 12 Jun 2013 08:02:24 +, Νικόλαος Κούρας wrote:
# Collect directory and its filenames as bytes
path = b'/home/nikos/public_html/data/apps/'
files = os.listdir( path )
[snip code]
I realised that the version I gave you earlier, or rather the modified
version you came up with, was
On Wed, 12 Jun 2013 12:00:38 +0300, Νικόλαος Κούρας wrote:
On 12/6/2013 11:31 πμ, Steven D'Aprano wrote:
On Wed, 12 Jun 2013 08:02:24 +, Νικόλαος Κούρας wrote:
and the output is just Pacman.exe as seen in
http://superhost.gr/?page=files.py
Wrong. The output is:
Internal Server Error
On 12/6/2013 12:07 μμ, F�bio Santos wrote:
On Wed, Jun 12, 2013 at 9:54 AM, Νικόλαος Κούρας supp...@superhost.gr wrote:
but if enumerate yields 0 instead of '==' then elif '=' not in
year of course fails.
So, i must tell:
for i, month in enumerate(months):
print('option value=%s
On 12/6/2013 12:17 μμ, Steven D'Aprano wrote:
On Wed, 12 Jun 2013 12:00:38 +0300, Νικόλαος Κούρας wrote:
On 12/6/2013 11:31 πμ, Steven D'Aprano wrote:
On Wed, 12 Jun 2013 08:02:24 +, Νικόλαος Κούρας wrote:
and the output is just Pacman.exe as seen in
http://superhost.gr/?page=files.py
On Wed, 12 Jun 2013 09:09:05 +, Νικόλαος Κούρας wrote:
Isn't 14 bits way to many to store a character ?
No.
There are 1114111 possible characters in Unicode. (And in Japan, they
sometimes use TRON instead of Unicode, which has even more.)
If you list out all the combinations of 14 bits:
On Wed, 12 Jun 2013 12:24:24 +0300, Νικόλαος Κούρας wrote:
On 12/6/2013 12:17 μμ, Steven D'Aprano wrote:
On Wed, 12 Jun 2013 12:00:38 +0300, Νικόλαος Κούρας wrote:
On 12/6/2013 11:31 πμ, Steven D'Aprano wrote:
On Wed, 12 Jun 2013 08:02:24 +, Νικόλαος Κούρας wrote:
and the output is
On 12 Jun 2013 10:29, Νικόλαος Κούρας supp...@superhost.gr wrote:
On 12/6/2013 12:07 μμ, F�bio Santos wrote:
On Wed, Jun 12, 2013 at 9:54 AM, Νικόλαος Κούρας supp...@superhost.gr
wrote:
but if enumerate yields 0 instead of '==' then elif '=' not in
year of course fails.
So, i must
[Please trim your replies to the relevant parts.]
On 12.06.2013 10:54, Νικόλαος Κούρας wrote:
But when it comes to select '==' from month instead of
'==' to be submitted a zero gets submitted and i think the
problem is the way i'm filling up months into the drop down menu which
On Monday, June 10, 2013 7:01:30 PM UTC+2, Zachary Ware wrote:
On Mon, Jun 10, 2013 at 10:37 AM, Yunfei Dai yunfei.dai.si...@gmail.com
wrote:
Hi all,
Hi Yunfei,
I have some questions on import:
1.from datetime import datetime works well. But I am confused why
I think the main problem is that you have to return the unchanged node (you
return None which might be an indentation accident). I also had to take the
add() FunctionDef out of the enclosing Module. So (I don't have codegen or
is it part of the stdlib?):
Thank you, my problem is now
Thanks Steven , i made some alternations to the variables names and at
the end of the way that i check a database filename against and hdd
filename. Here is the code:
#
=
# Convert
On Monday, June 10, 2013 9:10:16 PM UTC+2, Dave Angel wrote:
On 06/10/2013 01:01 PM, Zachary Ware wrote:
On Mon, Jun 10, 2013 at 10:37 AM, Yunfei Dai yunfei.dai.si...@gmail.com
wrote:
Hi all,
Hi Yunfei,
I have some questions on import:
1.from datetime import
On 11Jun2013 18:25, Nikos nagia.rets...@gmail.com wrote:
| What are the values of 'name', 'month' and 'year' in each of the cases?
|
| Printing out ascii(name), ascii(month) and ascii(year), will be helpful.
|
| Then try stepping through those lines in your head.
|
| i hav epribted all
Original Message
Subject: Re: A certainl part of an if() structure never gets executed.
Date: Wed, 12 Jun 2013 10:07:39 +0100
From: Fábio Santos fabiosantos...@gmail.com
To: Νικόλαος Κούρας supp...@superhost.gr
CC: python-list@python.org python-list@python.org
Newsgroups:
On 12/6/2013 1:07 μμ, Andreas Perstinger wrote:
So, i must tell:
for i, month in enumerate(months):
print('option value=%s %s /option' % (i, month) )
to somehow return '==' instead of 0 but don't know how.
As with most of your problems you are barking up the wrong tree.
Why
Oh my God!
i just need to do this:
for i, month in enumerate( months ):
print('option value=%s %s /option' % (month, month) )
--
http://mail.python.org/mailman/listinfo/python-list
this idea seemed perfect but it turned out that you have to execute the module
as a package (python -m scripts.myscript) otherwise I get an error on the
relative import.
Unfortunately I am working in a team and I do not have control on how the
module is launched.
On Tuesday, June 11, 2013
Am Mittwoch, 12. Juni 2013 12:07:54 UTC+2 schrieb Andreas Perstinger:
[Please trim your replies to the relevant parts.]
On 12.06.2013 10:54, Νικόλαος Κούρας wrote:
But when it comes to select '==' from month instead of
'==' to be submitted a zero gets submitted and i think
this idea seemed perfect but it turned out that you have to execute the module
as a package (python -m py.myscripts.any_script) otherwise I get an error on
the relative import.
Unfortunately I am working in a team and I do not have control on how the
module is launched.
On Tuesday, June 11,
As with most of your problems you are barking up the wrong tree.
Why not use the actual value you get from the form to check whether you
have a valid month?
Do you understand why 0 is submitted instead of ==?
Bye, Andreas
I have corrected the enumerate loop but it seems thet now the
On 12/6/2013 12:24 μμ, Steven D'Aprano wrote:
On Wed, 12 Jun 2013 09:09:05 +, Νικόλαος Κούρας wrote:
Isn't 14 bits way to many to store a character ?
No.
There are 1114111 possible characters in Unicode. (And in Japan, they
sometimes use TRON instead of Unicode, which has even more.)
On 12/6/2013 12:37 μμ, Steven D'Aprano wrote:
On Wed, 12 Jun 2013 12:24:24 +0300, Νικόλαος Κούρας wrote:
[1] Correction. While I was typing this, it came good, for about 20
seconds, and displayed a hideously ugly background pattern and a cute
smiling face waving, and then broke again.
Ah
In article mailman.3050.1371018754.3114.python-l...@python.org,
Phil Connell pconn...@gmail.com wrote:
Well, continuing down this somewhat bizarre path:
new_songs, old_songs = [], []
itertools.takewhile(
lambda x: True,
(new_songs if s.is_new() else old_songs).append(s) for s
On 12 Jun 2013 12:08, Νικόλαος Κούρας supp...@superhost.gr wrote:
Oh my God!
i just need to do this:
for i, month in enumerate( months ):
print('option value=%s %s /option' % (month, month) )
Usually what goes in option value=... is an ID of something. You should
keep using (i,
On 12 Jun 2013 12:43, Roy Smith r...@panix.com wrote:
In article mailman.3050.1371018754.3114.python-l...@python.org,
Phil Connell pconn...@gmail.com wrote:
Well, continuing down this somewhat bizarre path:
new_songs, old_songs = [], []
itertools.takewhile(
lambda x: True,
On Jun 12, 4:10 pm, jacopo jacopo.pe...@gmail.com wrote:
this idea seemed perfect but it turned out that you have to execute the
module as a package
(python -m py.myscripts.any_script) otherwise I get an error on the relative
import.
Unfortunately I am working in a team and I do not have
Roy Smith writes:
We've been in the twilight zone for a while. That's when the fun
starts. But, somewhat more seriously, I wonder what, exactly, it is
that freaks people out about:
[(new_songs if s.is_new() else old_songs).append(s) for s in songs]
Clearly, it's not the fact that it
On Wed, Jun 12, 2013 at 2:26 AM, Peter Otten __pete...@web.de wrote:
Applying these findings to your script:
from contextlib import contextmanager
try:
# python-2.x
from urllib2 import urlopen
from ConfigParser import ConfigParser
@contextmanager
def my_urlopen(url):
On Sun, May 26, 2013 at 1:30 AM, Roy Smith r...@panix.com wrote:
In article 51a0caac$0$30002$c3e8da3$54964...@news.astraweb.com,
Steven D'Aprano steve+comp.lang.pyt...@pearwood.info wrote:
On Sat, 25 May 2013 16:41:58 +1000, Chris Angelico wrote:
On Sat, May 25, 2013 at 4:38 PM, zoom
- Original Message -
In article mailman.2027.1369333910.3114.python-l...@python.org,
Dave Angel da...@davea.name wrote:
On 05/23/2013 09:09 AM, Roy Smith wrote:
SNIP
nosetests --process-timeout=60 --processes=40 test_api.py
Do you have a 40-processor system?
On 05/25/2013 09:49 PM, Roy Smith wrote:
In article 15a1bb3a-514c-454e-a966-243c84123...@googlegroups.com,
John Ladasky john_lada...@sbcglobal.net wrote:
Because someone's got to say it... The generation of random numbers is too
important to be left to chance. ‹ Robert R. Coveyou
On Fri, May 24, 2013 at 11:23 PM, Peter Brooks
peter.h.m.bro...@gmail.com wrote:
Actually, thinking about
it, there is probably a source of non-algorithmically-derived 'random'
numbers somewhere on the net that would do the job nicely.
True entropy is usually provided by a source such as
On 05/24/2013 08:38 PM, Carlos Nepomuceno wrote:
Date: Fri, 24 May 2013 17:11:18 -0700
Subject: Re: Survey of Python-in-browser technologies
From: drsali...@gmail.com
To: carlosnepomuc...@outlook.com
CC: python-list@python.org
Security is an important topic...
I don't think IPv6 will change anything about NAPT usage. In fact, I guess, it
will probably will make NAPT usage even more important and needed.
--
http://mail.python.org/mailman/listinfo/python-list
Date: Fri, 24 May 2013 17:28:07 -0700
Subject: Re: Simple algorithm question - how to reorder a sequence
economically
From: peter.h.m.bro...@gmail.com
To: python-list@python.org
[...]
If the scenario could be modelled mathematically, then there'd be
On 20 May 2013 00:36, killybear...@gmail.com wrote:
One more question. Function np.argmax returns max of non-complex numbers ?
Because FFT array of my signal is complex.
Use abs() like in my example. This will give the absolute value of the
complex numbers:
z = 1+1j
z
(1+1j)
abs(z)
On Sun, May 26, 2013 at 12:16 PM, Carlos Nepomuceno
carlosnepomuc...@outlook.com wrote:
list(range(13 * 4 * decks)) == range(13 * 4 * decks)
Not in Python 3.
--
http://mail.python.org/mailman/listinfo/python-list
Date: Sun, 26 May 2013 15:17:11 +1000
Subject: Re: Python Magazine
From: ros...@gmail.com
[...]
Blocking a whole network (/65) is totally undesirable and may even become
illegal.
Blocking a /64 is exactly the same as blocking a /32 with NAT behind
On Sun, May 26, 2013 at 12:17 PM, RVic rvinc...@gmail.com wrote:
Ah, brilliant -- yes, this is so much more elegant in Python:
#now cut the cards
x = random.randrange(2,range(13 * 4 * decks))
cards = cards[x:]+cards[:x]
Or if for some reason you want to do it in place:
cards[x:], cards[:x]
From: usenetm...@solar-empire.de
Subject: Re: Cutting a deck of cards
Date: Sun, 26 May 2013 22:13:55 +0200
To: python-list@python.org
Carlos Nepomuceno carlosnepomuc...@outlook.com wrote:
From:
To: python-list@python.org
From: breamore...@yahoo.co.uk
[...]
See this
http://docs.python.org/3/whatsnew/3.3.html#pep-397-python-launcher-for-windows
--
If you're using GoogleCrap™ please read this
http://wiki.python.org/moin/GoogleGroupsPython.
On Mon, May 27, 2013 at 4:16 AM, Carlos Nepomuceno
carlosnepomuc...@outlook.com wrote:
list(range(13 * 4 * decks)) == range(13 * 4 * decks)
;)
Not in Python 3.
ChrisA
--
http://mail.python.org/mailman/listinfo/python-list
Date: Tue, 28 May 2013 08:18:06 +1000
Subject: Re: Encodign issue in Python 3.3.1 (once again)
From: ros...@gmail.com
To: python-list@python.org
[...]
This is something that's utterly trivial, yet a window to your mind.
It's like boarding an airliner
Date: Mon, 27 May 2013 21:26:21 -0700
Subject: Re: How to: Setuptools
From: rustompm...@gmail.com
To: python-list@python.org
On May 28, 9:09 am, Carlos Nepomuceno carlosnepomuc...@outlook.com
wrote:
Date:
Date: Tue, 28 May 2013 07:40:07 +0100
Subject: RE: Total Beginner - Extracting Data from a Database Online
(Screenshot)
From: pconn...@gmail.com
[...]
c11 = [tables[0][r][10] for r in range(len(tables[0]))]
Or rather:
c11 = [row[10] for row
On 31 May 2013, at 13:11, DRJ Reddy wrote:
Hello all,
Was busy with work. Finally finished the job of registering the domain
name.
Will be live soon. The url is http://pythonmagazine.org. Hope we will be live
soon.
I was surprised when I saw it is running on ASP.NET, can this be ?
don't ya have something intelligent to say motherfucker?
2013/5/28 rusi rustompm...@gmail.com
On May 28, 10:55 am, Νίκος Γκρ33κ nikos.gr...@gmail.com wrote:
Ôç Ôñßôç, 28 ÌáÀïõ 2013 1:18:06 ð.ì. UTC+3, ï ÷ñÞóôçò Chris Angelico
Ýãñáøå:
You're effectively asking people to put in a few
To: python-list@python.org
From: breamore...@yahoo.co.uk
Subject: Re: Changing filenames from Greeklish = Greek (subprocess complain)
Date: Sun, 2 Jun 2013 15:51:31 +0100
[...]
Steve is going for the pink ball - and for those of you who are
watching
Hi,
I've just uploaded pypiserver 1.1.1 to the python package index.
pypiserver is a minimal PyPI compatible server. It can be used to serve
a set of packages and eggs to easy_install or pip.
pypiserver is easy to install (i.e. just 'pip install pypiserver'). It
doesn't have any external
Date: Mon, 3 Jun 2013 12:05:49 +1000
Subject: Re: Python #ifdef
From: ros...@gmail.com
To: python-list@python.org
[...]
Ah. I actually wasn't aware of m4's use with sendmail. I first met it
as the aforementioned PHP preprocessor, simply by Googling
On 05/30/2013 10:03 AM, Eternaltheft wrote:
do you think ti would be better if i call drawBoard?
Better is meaningless without context.
Are you being charged per keystroke?
--
DaveA
--
http://mail.python.org/mailman/listinfo/python-list
On 4 June 2013 14:35, Mark Lawrence breamore...@yahoo.co.uk wrote:
On 04/06/2013 14:29, rusi wrote:
The Clash of the Titans
Lé jmf chârgeth with mightƴ might
And le Mond underneath trembleth
Now RR mounts his sturdy steed
And the windmill yonder turneth
+1 funniest poem of the week :)
On 30 May 2013 22:03, Carlos Nepomuceno carlosnepomuc...@outlook.com wrote:
Here's another way, mathematically equivalent (although not necessarily
equivalent using floating point computations!) which avoids the divide-by-
zero problem:
abs(a - b) epsilon*a
That's wrong! If abs(a)
list = []
Reading further, one sees that the function works with two lists, a list of
file names, unfortunately called 'list',
That is very good advice in general: never choose a variable name
that is a keyword.
--
MarkJ
Tacoma, Washington
--
From: oscar.j.benja...@gmail.com
Date: Thu, 30 May 2013 23:57:28 +0100
Subject: Re: Short-circuit Logic
To: carlosnepomuc...@outlook.com
CC: python-list@python.org
On 30 May 2013 22:03, Carlos Nepomuceno carlosnepomuc...@outlook.com wrote:
Here's
On Tue, Jun 11, 2013 at 1:30 PM, rusi rustompm...@gmail.com wrote:
Or by example:
def foo(x)...
def bar(x,y)...
there is no reason to confuse the two xes.
Whereas
x = ...
def foo(x)...
Now there is!
The first should be encouraged, the second discouraged.
Again, there can be good
On Sunday 02 June 2013 13:10:30 Chris Angelico did opine:
On Mon, Jun 3, 2013 at 2:21 AM, حéêüëلïٍ تïٌلٍ nikos.gr...@gmail.com
wrote:
Paying for someone to just remove a dash to get the script working is
too much to ask for
One dash: 1c
Knowing where to remove it: $99.99
Total bill:
On Tue, Jun 4, 2013 at 9:53 PM, Carlos Nepomuceno
carlosnepomuc...@outlook.com wrote:
Are there any benefits from using dict() instead of {}?
Not for what you're doing, but you can use dict() with an iterable.
Most of the time, use the literal.
ChrisA
--
' Server: ApacheBooster/1.6' isn't a signature of httpd. I think you are
really running something different.
From: nob...@nowhere.com
Subject: Re: Changing filenames from Greeklish = Greek (subprocess complain)
Date: Tue, 4 Jun 2013 14:01:48 +0100
To: python-list@python.org
On Tue, 04
On Tue, Jun 4, 2013 at 1:12 PM, Νικόλαος Κούρας nikos.gr...@gmail.comwrote:
Τη Τρίτη, 4 Ιουνίου 2013 8:09:18 μ.μ. UTC+3, ο χρήστης Chris Angelico
έγραψε:
On Wed, Jun 5, 2013 at 3:02 AM, Νικόλαος Κούρας nikos.gr...@gmail.com
wrote:
I'm willing to let someone with full root access to my
On 06/12/2013 05:24 AM, Steven D'Aprano wrote:
On Wed, 12 Jun 2013 09:09:05 +, Νικόλαος Κούρας wrote:
Isn't 14 bits way to many to store a character ?
No.
There are 1114111 possible characters in Unicode. (And in Japan, they
sometimes use TRON instead of Unicode, which has even more.)
On Tue, Jun 4, 2013 at 3:49 PM, Chris Angelico ros...@gmail.com wrote:
So... can we cite http://xkcd.com/859/ in two threads at once, or does
that create twice as much tension?
No, you just look at one of them upside-down, and then they cancel
each other out.
--
On 2013-06-12, Chris Angelico ros...@gmail.com wrote:
On Wed, Jun 12, 2013 at 5:45 PM, ?? supp...@superhost.gr wrote:
First of all i have changed the code to the following because using a
regex
to detect a single char was an overkill.
if '=' not in name and '=' not in month and
Is Rick Johnson the alter ego of Xah Lee, or is he the result of a cross
breeding experiement with a troll by Saruman at Isengard?--
http://mail.python.org/mailman/listinfo/python-list
Am 12.06.2013 13:23, schrieb Νικόλαος Κούρας:
So, how many bytes does UTF-8 stored for codepoints 127 ?
What has your research turned up? I personally consider it lazy and
respectless to get lots of pointers that you could use for further
research and ask for more info before you even
Op 05-06-13 11:06, Νικόλαος Κούρας schreef:
Τη Τετάρτη, 5 Ιουνίου 2013 11:59:28 π.μ. UTC+3, ο χρήστης alex23 έγραψε:
On Jun 5, 6:41 pm, Chris Angelico ros...@gmail.com wrote:
This matter is far more serious than you seem to be giving it
consideration for. You complain that I violated your
At least partially, my confusion seems to be caused by the dichotomy of
the concepts of copyright and license. How do these relate to each other?
A license emerges out of the commercial domain is purely about
commercial protections.
I should clarify, that commercial protections here means
On Mon, 27 May 2013 13:43:36 -0700 (PDT)
Romila Anamaria romila.anama...@yahoo.com wrote:
I am beginner
in Python programming
Are you a beginner in using the Internet too? You just sent a 2.69MB
message to a mailing list. You shouldn't send huge files like that in
email at all but especially
On 5 Jun 2013 06:23, Tim Roberts t...@probo.com wrote:
A single machine word was 60 bits, so a single register read got you 10
characters.
10 characters! Now that sounds like it's enough to actually store a word.
However long words can inadverten be cropped.
--
On 12/6/2013 2:49 μμ, F�bio Santos wrote:
On 12 Jun 2013 12:08, �� supp...@superhost.gr
mailto:supp...@superhost.gr wrote:
Oh my God!
i just need to do this:
for i, month in enumerate( months ):
� � � � print('option value=%s %s /option' % (month, month) )
Usually
On 12/6/2013 2:32 μμ, Νικόλαος Κούρας wrote:
On 12/6/2013 12:37 μμ, Steven D'Aprano wrote:
On Wed, 12 Jun 2013 12:24:24 +0300, Νικόλαος Κούρας wrote:
[1] Correction. While I was typing this, it came good, for about 20
seconds, and displayed a hideously ugly background pattern and a cute
On 2013-05-24 14:43, Chris Angelico wrote:
On Fri, May 24, 2013 at 11:23 PM, Peter Brooks
peter.h.m.bro...@gmail.com wrote:
Actually, thinking about
it, there is probably a source of non-algorithmically-derived 'random'
numbers somewhere on the net that would do the job nicely.
True entropy
1. How you run -- 'launch' -- the code -- from py and from prod
when I have to test I use python any_script.py but in production there is a
c++ program that is able to wrap and run python code (the technical details are
a bit beyond my knowledge)
2. What error you get
when I run as python
On 2013-06-11, dhyams dhy...@gmail.com wrote:
You would use StringIO instead of writing a temp file.
I don't think that would work...py_compile takes a filename as
input, not a file object.
Dang. Sorry for the misinfo.
--
Neil Cerutti
--
http://mail.python.org/mailman/listinfo/python-list
On 12/06/2013 14:05, Neil Cerutti wrote:
Also, I wish he would stop fudging his From info. I've got
something like 8 entries for this ass in my killfile, and it
seems I need a new one every day.
An ass eh, when did he get promoted to that position?
--
Steve is going for the pink ball - and
On 2013-06-11, Mark Janssen dreamingforw...@gmail.com wrote:
list = []
Reading further, one sees that the function works with two lists, a list of
file names, unfortunately called 'list',
That is very good advice in general: never choose a variable name
that is a keyword.
You can't
On 2013-06-12, F?bio Santos fabiosantos...@gmail.com wrote:
On 5 Jun 2013 06:23, Tim Roberts t...@probo.com wrote:
A single machine word was 60 bits, so a single register read got you 10
characters.
10 characters! Now that sounds like it's enough to actually store a word.
However long words
On 12/06/2013 13:42, Νικόλαος Κούρας wrote:
Something you want me to try?
I'd suggest suicide but that would no doubt start another stream of
questions along the lines of How do I do it?.
--
Steve is going for the pink ball - and for those of you who are
watching in black and white, the
1 - 100 of 260 matches
Mail list logo