Thanks, Justin. I imagine editors probably exist which can switch between
WYSIWYG and markup. Whether that markup can be Markdown or not, I don't
know. Marc-André Lemburg listed a few possible editors in the ticket he
opened, but I've not dug into their properties.
Skip
On Sun, Nov 12, 2017 at 11
On Sat, Nov 11, 2017 at 3:27 PM, Skip Montanaro
wrote:
> The Python Job Board could use a little help in a couple areas. One, we can
> always use help reviewing and approving (or rejecting) submissions. The
> backlog keeps growing, and the existing volunteers who help can't always
> keep up. (Thi
Kryptxy via Python-list writes:
> I have a group of arguments, say: (-a, -b, -c, -d, -e) [lets call it group1]
> I have another group, say: (-z, -y, -x, -w) [lets call it group2]
Argument groups are a feature to control the help output from the
parser:
When an argument is added to the grou
Kryptxy via Python-list writes:
> ...
> I am new to python. While learning python, I began a side project. Its a
> command-line search program.
> ...
> But, I am unable to understand how I should begin structuring the project
> (updating code according to OOP). If someone could have a look? Coul
On 2014-11-11 04:30, Jaimin Ajmeri wrote:
cfl.rr.com> writes:
New B question -- Need help with win32net.NetGroupAddUser. I used Mark
Hammond
sample code to create a new user from his book Python Programming on Win32. I
then added one line to add the newuser to a group.
def CreateUserAndS
cfl.rr.com> writes:
>
> New B question -- Need help with win32net.NetGroupAddUser. I used Mark
Hammond
> sample code to create a new user from his book Python Programming on Win32. I
> then added one line to add the newuser to a group.
> def CreateUserAndShare(userName, fullName):
> home
Am 31.01.2013 18:55, schrieb Peter Pearson:
txid =
'r7A7clvs9waizF+6QEiI0tgAq1ar48JItK3kg9kaeAFXz2vsMsHmOd9r9fhkmtxTz3CQnGAPMaDeKLvgb1A2VA'
secret =
'10812806653842663997bf5971637f86f26c71a4716276d7fa8f323a83588d91:1'
hashlib.sha256(txid+":"+secret).hexdigest()
> 'dfa8769
On Thursday, January 31, 2013 6:55:05 PM UTC+1, Peter Pearson wrote:
> On Thu, 31 Jan 2013 08:43:03 -0800 (PST), kryptox.excha...@gmail.com wrote:
>
>
>
> > I'm wondering if anyone can help me as I can't seem to get
>
> > this to work. There is an online dice game that is
>
> > provably fair b
On Thu, 31 Jan 2013 08:43:03 -0800 (PST), kryptox.excha...@gmail.com wrote:
> I'm wondering if anyone can help me as I can't seem to get
> this to work. There is an online dice game that is
> provably fair by calculating the 'dice roll' using using a
> sha256 hash calculated against my transaction
Ok, I'm still stuck! :(
I do however now think that I'm not supposed to use hmac here.
--
http://mail.python.org/mailman/listinfo/python-list
Irmen de Jong writes:
> Using Pypy 1.9.0. Importing readline. Using a background thread to get
> input() from
> stdin. It then crashes with:
>
> File "/usr/local/Cellar/pypy/1.9/lib_pypy/pyrepl/unix_console.py", line
> 400, in restore
> signal.signal(signal.SIGWINCH, self.old_sigwinch)
>
On Oct 30, 2:24 am, erikcw <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm trying to write a loop that will build a list of "template
> strings".
>
> My current implementation is *really slow*. It took 15 minutes to
> finish. (final len(list) was about 16k entries.)
>
> #combinations = 12 small templ
On Wed, 29 Oct 2008 19:24:32 -0700, erikcw wrote:
> I'm trying to write a loop that will build a list of "template strings".
>
> My current implementation is *really slow*. It took 15 minutes to
> finish. (final len(list) was about 16k entries.)
What is `list` here? Do you mean ``len(templates
>>> I guess, Apache does some kind of memory caching for files, which are often
>>> requested and small enough to fit into the system memory. May be, that's
>>> what the OP is referring to ...
>
>> I'm not aware of that, and I even more seriously doubt it. Because
>> caching is a complicated, do
Matthew Woodcraft schrieb:
Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
Sebastian 'lunar' Wiesner schrieb:
I guess, Apache does some kind of memory caching for files, which are often
requested and small enough to fit into the system memory. May be, that's
what the OP is referring to ...
I'm n
Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
>Sebastian 'lunar' Wiesner schrieb:
>> I guess, Apache does some kind of memory caching for files, which are often
>> requested and small enough to fit into the system memory. May be, that's
>> what the OP is referring to ...
> I'm not aware of that, an
Sebastian 'lunar' Wiesner schrieb:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[ Diez B. Roggisch <[EMAIL PROTECTED]> ]
I finally managed to work with static files with a little hack, but it's
ugly because I'm reading each static file per request.
How else should that work? Apache does that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[ "Martin v. Löwis" <[EMAIL PROTECTED]> ]
>> I guess, Apache does some kind of memory caching for files, which are
>> often requested and small enough to fit into the system memory.
>
> Are you sure about this?
No, I'm not. That's why I said "I gu
> I guess, Apache does some kind of memory caching for files, which are often
> requested and small enough to fit into the system memory.
Are you sure about this? I could not find anything in the documentation
(other than mod_cache and friends, which is an unrelated functionality).
Also, I don't
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
[ Diez B. Roggisch <[EMAIL PROTECTED]> ]
>> I finally managed to work with static files with a little hack, but it's
>> ugly because I'm reading each static file per request.
>
> How else should that work? Apache does that the same way.
I guess, Apac
kib schrieb:
Diez B. Roggisch a écrit :
Tool69 schrieb:
Hi,
Until now, I was running my own static site with Python, but I'm in
need of dynamism.
After reading some cgi tutorials, I saw Joe Gregorio's old article
"Why so many Python web frameworks?" about wsgi apps [http://
bitworking.org/new
Diez B. Roggisch a écrit :
Tool69 schrieb:
Hi,
Until now, I was running my own static site with Python, but I'm in
need of dynamism.
After reading some cgi tutorials, I saw Joe Gregorio's old article
"Why so many Python web frameworks?" about wsgi apps [http://
bitworking.org/news/Why_so_many_
Tool69 schrieb:
Hi,
Until now, I was running my own static site with Python, but I'm in
need of dynamism.
After reading some cgi tutorials, I saw Joe Gregorio's old article
"Why so many Python web frameworks?" about wsgi apps [http://
bitworking.org/news/Why_so_many_Python_web_frameworks] and h
In article <[EMAIL PROTECTED]>,
Mike Kent <[EMAIL PROTECTED]> wrote:
>
>I figure that if instead of returning the buffer from the context
>directly, I instead returned the buffer in a list, I could then change
>the buffer, put it in the returned list, then I'd have access to it
>back inside the co
Ricardo Aráoz wrote:
> Boris Borcic wrote:
>> Ricardo Aráoz wrote:
>>> Boris Borcic wrote:
[EMAIL PROTECTED] wrote:
> I want to create a program that I type in a word.
>
> for example...
>
> chaos
>
> each letter equals a number
>
> A=1
>>>
Gabriel Genellina wrote:
> En Thu, 01 Nov 2007 20:12:52 -0300, Ricardo Aráoz <[EMAIL PROTECTED]>
> escribió:
>
>>> def sumToOneDigit(num) :
if num < 10 :
return num
else :
return sumToOneDigit(sum(int(i) for i in str(num)))
>
> def sumToO
En Thu, 01 Nov 2007 20:12:52 -0300, Ricardo Aráoz <[EMAIL PROTECTED]>
escribió:
>> def sumToOneDigit(num) :
>>> if num < 10 :
>>> return num
>>> else :
>>> return sumToOneDigit(sum(int(i) for i in str(num)))
>>>
def sumToOneDigit(num):
return num % 9 or
Boris Borcic wrote:
> Ricardo Aráoz wrote:
>> Boris Borcic wrote:
>>> [EMAIL PROTECTED] wrote:
I want to create a program that I type in a word.
for example...
chaos
each letter equals a number
A=1
B=20
and so on.
So Chaos w
Ricardo Aráoz wrote:
> Boris Borcic wrote:
>> [EMAIL PROTECTED] wrote:
>>> I want to create a program that I type in a word.
>>>
>>> for example...
>>>
>>> chaos
>>>
>>> each letter equals a number
>>>
>>> A=1
>>> B=20
>>>
>>> and so on.
>>>
>>> So Chaos would be
>>>
>>> C=13 H=4 A=1 O=7 S=5
>
Boris Borcic wrote:
> [EMAIL PROTECTED] wrote:
>> I want to create a program that I type in a word.
>>
>> for example...
>>
>> chaos
>>
>> each letter equals a number
>>
>> A=1
>> B=20
>>
>> and so on.
>>
>> So Chaos would be
>>
>> C=13 H=4 A=1 O=7 S=5
>>
>> I want to then have those numbers
>
[EMAIL PROTECTED] wrote:
> I want to create a program that I type in a word.
>
> for example...
>
> chaos
>
> each letter equals a number
>
> A=1
> B=20
>
> and so on.
>
> So Chaos would be
>
> C=13 H=4 A=1 O=7 S=5
>
> I want to then have those numbers
> 13+4+1+7+5 added together to be
[EMAIL PROTECTED] a écrit :
> I want to create a program that I type in a word.
>
> for example...
>
> chaos
>
> each letter equals a number
>
> A=1
> B=20
>
> and so on.
>
> So Chaos would be
>
> C=13 H=4 A=1 O=7 S=5
>
> I want to then have those numbers
> 13+4+1+7+5 added together to
On 10/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I want to then have those numbers
> 13+4+1+7+5 added together to be 30.
>
> How can I do that?
>
> Also, just curious, but, how could I then have the 3 and 0 added
> together to be 3?
>
> Please help me out.
Will you put our names on you
[EMAIL PROTECTED] wrote:
>> I want to create a program that I type in a word.
>
> You can see that Python has a command to input strings from the
> command line.
>
>> chaos
>> each letter equals a number
>> A=1
>> B=20
>> and so on.
>> So Chaos would be
>> C=13 H=4 A=1 O=7 S=5
>> I want to t
> I want to create a program that I type in a word.
You can see that Python has a command to input strings from the
command line.
> chaos
> each letter equals a number
> A=1
> B=20
> and so on.
> So Chaos would be
> C=13 H=4 A=1 O=7 S=5
> I want to then have those numbers
> 13+4+1+7+5 added
McCann, Brian wrote:
> I posted this to the Twisted list...figured I'd try here too.
Didn't you get an answer? The cracks for special topics are usually
there.
> to work right. Looking through the API docs I found
> "connectionLost()", which I put in my protocol class (EchoProtocol
> in the ex
"Frank Drackman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
:
: "Kareem840" <[EMAIL PROTECTED]> wrote in message
: news:[EMAIL PROTECTED]
: > Hello. Unfortunately, I am in need of money to pay my credit card
: > bills. If you could spare just $1, I would be grateful. I have a Pay
Kareem840 wrote:
> Hello. Unfortunately, I am in need of money to pay my credit card
> bills. If you could spare just $1, I would be grateful. I have a Paypal
> account. [EMAIL PROTECTED] I swear this will go to my card
> balances. Thank you.
>
I accidentally sent $2, could you please refund the e
di wrote:
> "Kareem840" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Hello. Unfortunately, I am in need of money to pay my credit card
>> bills. If you could spare just $1, I would be grateful. I have a Paypal
>> account. [EMAIL PROTECTED] I swear this will go to my card
>> bal
Kareem840 wrote:
> Hello. Unfortunately, I am in need of money to pay my credit card
> bills. If you could spare just $1, I would be grateful. I have a Paypal
> account. [EMAIL PROTECTED] I swear this will go to my card
> balances. Thank you.
>
And I need to get a bus. I mean literally. It's the b
"Kareem840" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello. Unfortunately, I am in need of money to pay my credit card
> bills. If you could spare just $1, I would be grateful. I have a Paypal
> account. [EMAIL PROTECTED] I swear this will go to my card
> balances. Thank you.
Frank Drackman wrote:
> "Kareem840" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> Hello. Unfortunately, I am in need of money to pay my credit card
>> bills. If you could spare just $1, I would be grateful. I have a Paypal
>> account. [EMAIL PROTECTED] I swear this will go to my
"Kareem840" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello. Unfortunately, I am in need of money to pay my credit card
> bills. If you could spare just $1, I would be grateful. I have a Paypal
> account. [EMAIL PROTECTED] I swear this will go to my card
> balances. Thank you.
The money's on the way!
"Kareem840" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello. Unfortunately, I am in need of money to pay my credit card
> bills. If you could spare just $1, I would be grateful. I have a Paypal
> account. [EMAIL PROTECTED] I swear this will go to my ca
"Kareem840" <[EMAIL PROTECTED]> writes:
> Hello. Unfortunately, I am in need of money to pay my credit card
> bills. If you could spare just $1, I would be grateful. I have a Paypal
> account. [EMAIL PROTECTED] I swear this will go to my card
> balances. Thank you.
If you have a story of unusual
In comp.unix.solaris Kareem840 <[EMAIL PROTECTED]> wrote:
> Hello. Unfortunately, I am in need of money to pay my credit card
> bills. If you could spare just $1, I would be grateful. I have a Paypal
> account. [EMAIL PROTECTED] I swear this will go to my card
> balances. Thank you.
Better idea. S
<[EMAIL PROTECTED]> wrote:
> I need some help in reading error message: which line has problem? line
> 233? or line 37?
>
> Thank you.
>
> $ ./read2.py log.xml
> Traceback (most recent call last):
> File "./read2.py", line 233, in ?
> parser.parse(open(inputFileName))
> File "/usr/lib/py
Yacine,
I didn't run it from Idle . I don't use Idle !
I wrote my own IDE when I first started programming in Python, that is
what I used(it does execute scripts from the shell ;)
What you are seeing is exactly what I was talking about threads and..
dare I say it... bugs .
Be sure to look at t
"Steve Holden" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Could be the OP is using Cygwin, which won't support threading by
> default and will give very confusing results
>
> just-a-guess-ly y'rs - steve
Nice try :), but nope :).
Yacine Chaouche -- France.
--
h
"M.E.Farmer" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> What did you expect? This is what it did on win 2000/python 2.2.3
> ##> controller waiting... 0 loops
> ##> controller waiting... 1 loops
> Subject : the counter is now 0
> ##> controller waiting..
M.E.Farmer wrote:
Steve Holden wrote:
[snip]
Could be the OP is using Cygwin, which won't support threading by
default and will give very confusing results
Thanks Steve,
Well your guess was better then mine :)
I didn't know Cygwin did not support threads by default , I will have
to remember that.
Steve Holden wrote:
[snip]
>Could be the OP is using Cygwin, which won't support threading by
>default and will give very confusing results
Thanks Steve,
Well your guess was better then mine :)
I didn't know Cygwin did not support threads by default , I will have
to remember that.
Why do you suppo
M.E.Farmer wrote:
chahnaz.ourzikene wrote:
Hi,
I fixed the code, it runs under Linux but not under windows 0_o ??! i
guess
windows and Linux do not handle threads the same way.
However, i don't have the result i excpect.
What did you expect? This is what it did on win 2000/python 2.2.3
##> cont
chahnaz.ourzikene wrote:
> Hi,
>
> I fixed the code, it runs under Linux but not under windows 0_o ??! i
guess
> windows and Linux do not handle threads the same way.
>
> However, i don't have the result i excpect.
What did you expect? This is what it did on win 2000/python 2.2.3
##> controller
Hi,
I fixed the code, it runs under Linux but not under windows 0_o ??! i guess
windows and Linux do not handle threads the same way.
However, i don't have the result i excpect.
Please have a look here :
## In this little program, i'm trying to find a way to yield data from a
thread within anot
chahnaz.ourzikene wrote:
> "M.E.Farmer" <[EMAIL PROTECTED]> a écrit dans le message de news:
> [EMAIL PROTECTED]
>
> > Just a warning!
> > Threads and newbies don't mix well,
> > many pitfalls and hard to find bugs await you.
> > I would avoid using threads if at all possible.
>
> Indeed :). But ho
"M.E.Farmer" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Just a warning!
> Threads and newbies don't mix well,
> many pitfalls and hard to find bugs await you.
> I would avoid using threads if at all possible.
Indeed :). But how will i learn using threads if i avoid
Hi everybody,
"Daniel Bickett" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Instead of having the Controller query the Subject (not exactly
> plausible), I had it wait for a signal (threading.Event) as set by the
> Subject. You could also have it query a queue, as that
I found your object-oriented approach, while admirable, a little
muddled. So rather than modify your code, I simply took the paragraph
you wrote describing the scenario and wrote my own.[1]
Instead of having the Controller query the Subject (not exactly
plausible), I had it wait for a signal (thre
Just a warning!
Threads and newbies don't mix well,
many pitfalls and hard to find bugs await you.
I would avoid using threads if at all possible.
Now we have all that over lets see some code.
py> import threading
py> class Test(threading.Thread):
...def run(self):
... x = 0
I think it is more suitable in this form...
from threading import *
class Subject(object):
def __init__(self) :
self.counter = 0
t = Timer(0.1,self.doIteratingStuff)
t.start()
def incrementCounter(self,n=1) :
> Thanks for all and merry x-mas and blablablah
There is no X in Christmas, and blablablah should read Happy New Year!
>Of course, the indentations are lost since i copied this code from my
emacs
>on linux, and then paste it on my outlook express (i don't have the
net on
>linux :(...).
I have had
Allan Irvine wrote:
> Hope you can help - any thoughts welcome
Here is the best place you can get help for your problem:
http://www.catb.org/~esr/faqs/smart-questions.html
Tim Delaney
--
http://mail.python.org/mailman/listinfo/python-list
Am Tue, 14 Dec 2004 04:46:24 -0800 schrieb Allan Irvine:
> HI
>
> Hope this is the right place for this, I am new. I have a spec to
> create
> a (dual screen) framework application that
>
> 1 displays mp3, flash, jpegs etc. on top screen
> 2: displays buttons on bottom screen which alter image w
64 matches
Mail list logo