Hi all,
Please see the below code.
class Test(threading.Thread):
def StartThread(self):
Lock = threading.Lock()
self.start()
class Test1(threading.Thread):
def __init__(self):
threading.Thread.__init__ ( self )
self.Lock = threading.Lock()
self.st
Bonjour,
Je cherche des dev Django dans la région de Reims (France)
pour organiser des rencontres sympas et échanger sur notre plateforme préférée
voire développer ensemble nos excellentes idées.
A votre écoute,
Fabrice
--
http://mail.python.org/mailman/listinfo/python-list
Luca Cerone writes:
> ...
Python has a module for cookie handling: "cookielib" ("cookiejar"
in Python 3).
"urllib2" has a standard way to integrate with this module.
However, I do not know the details (check the documentation
for the modules).
I have used "cookielib" externally to "urllib2". It
Currently the documentation download includes a lot of things but PEPs are not
its part. I wanted to suggest that PEPs should be included in the download.
They are very much relevant to Python.
--
http://mail.python.org/mailman/listinfo/python-list
@ Terry Jan Reedy, @Joel Goldstick
The problem with that documentation link is that it says the bugs in that
documentation should be mailed at that e-mail address. But the PEPs are not the
part of the documentation. I am saying that PEPs are not its part because when
I downloaded the documentat
Hi everybody,
I am trying to write a simple Python script to solve the "riddle" at:
http://quiz.gambitresearch.com/
The quiz is quite easy to solve, one needs to evaluate the expression between
the curly brackets (say that the expression has value )
and go to the web page:
http://quiz.gambitrese
eschneide...@comcast.net wrote:
> Is there also a way to have the code remember what I typed and not stop after
> the first letter the user types? For example, if I typed 'a' once, thus
> returning 'a__', and then typed in 'b', I want the code to return
> 'ab_' and so on. I wasn't clear
Is there also a way to have the code remember what I typed and not stop after
the first letter the user types? For example, if I typed 'a' once, thus
returning 'a__', and then typed in 'b', I want the code to return 'ab_'
and so on. I wasn't clear about this part in my original post. Tha
On Tue, Aug 20, 2013 at 4:05 PM, Terry Reedy wrote:
> On 8/20/2013 1:14 PM, Aseem Bansal wrote:
>>
>> In PEP 5 it is
>>
>> 4. Add an an optional warning mode to the parser that will inform
>>
>> There are 2 `an`s here.
>
>
> Fixed.
>
>
>> How to suggest a correction for this?
>
>
> You just did. I
On 8/20/2013 1:14 PM, Aseem Bansal wrote:
In PEP 5 it is
4. Add an an optional warning mode to the parser that will inform
There are 2 `an`s here.
Fixed.
How to suggest a correction for this?
You just did. If this list does not work, or for non-trivial
suggestions, go to bugs.python.org
wrote:
I am a Network Engineer, but have been trying to teach myself Python since Cisco
will be leverage it on new high end models, yet I am very new to programming and
Python; however, I have a need to have the ability to monitor traffic, more
specificity multicast packets from a few sources
@Joel Goldstick
That is the documentation and this is about the PEP. I didn't realize that the
same works for both. I'll do that.
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Aug 20, 2013 at 1:14 PM, Aseem Bansal wrote:
> In PEP 5 it is
>
> 4. Add an an optional warning mode to the parser that will inform
>
> There are 2 `an`s here. How to suggest a correction for this?
> --
> http://mail.python.org/mailman/listinfo/python-list
You already asked this question.
In PEP 5 it is
4. Add an an optional warning mode to the parser that will inform
There are 2 `an`s here. How to suggest a correction for this?
--
http://mail.python.org/mailman/listinfo/python-list
- Original Message -
> Hi,
> I have been using ipython and ipython with qtconsole and working on a
> code with functions. Each time I make a modification in function
> I have to quit IPTHON console (in both with and with out qt console )
> and reload the function freshly. If I need to s
alex23
>
> On 19/08/2013 10:55 AM, Sudheer Joseph wrote:
> > I have been using ipython and ipython with qtconsole and working on a
> > code with functions. Each time I make a modification in function
> > I have to quit IPTHON console (in both with and with out qt console )
> > and reload the funct
Folks:
I am a Network Engineer, but have been trying to teach myself Python since
Cisco will be leverage it on new high end models, yet I am very new to
programming and Python; however, I have a need to have the ability to monitor
traffic, more specificity multicast packets from a few sources.
On Tue, Aug 20, 2013 at 10:22 AM, Aseem Bansal wrote:
> @Joel Goldstick
>> Joel Goldstick
>>
>> http://joelgoldstick.com
>
> My specific question was that the Python documentation's tutorial isn't clear
> when it comes to lambda forms. I just wanted something to be done so it
> becomes clear for
@Joel Goldstick
> Joel Goldstick
>
> http://joelgoldstick.com
My specific question was that the Python documentation's tutorial isn't clear
when it comes to lambda forms. I just wanted something to be done so it becomes
clear for future readers who are not familiar with functional paradigm. I
On 20 Aug 2013 10:14, "Ian Kelly" wrote:
>
> On Tue, Aug 20, 2013 at 2:28 AM, Fábio Santos
wrote:
> > I do realize that syntax in python is practically written in stone, but
I
> > have seen changes come by if they have good reasons. For example,
> > keyword-only argument syntax was added.
> >
> >
Le mardi 20 août 2013 09:55:44 UTC+2, Antoon Pardon a écrit :
> Op 20-08-13 09:31, wxjmfa...@gmail.com schreef:
>
> > Le mardi 20 août 2013 08:55:18 UTC+2, Antoon Pardon a écrit :
>
> >>
>
> >>>
>
> >>
>
> >
>
> >>
>
> >>
>
> >>
>
> >>> If you consider the implementation of sin and cos fu
eschneide...@comcast.net wrote:
> I'm trying to replace the blank(_) with the letter typed in by the user,
> in the appropriate blank(_) spot where the letter should be (where is in
> the letters list).
>
> letters='abcdefg'
> blanks='_ '*len(letters)
> print('type letter from a to g')
> print(bl
On 20 Aug 2013 09:42, wrote:
>
> I'm trying to replace the blank(_) with the letter typed in by the user,
in the appropriate blank(_) spot where the letter should be (where is in
the letters list).
>
> letters='abcdefg'
> blanks='_ '*len(letters)
> print('type letter from a to g')
> print(blanks)
On Tue, Aug 20, 2013 at 2:28 AM, Fábio Santos wrote:
> I do realize that syntax in python is practically written in stone, but I
> have seen changes come by if they have good reasons. For example,
> keyword-only argument syntax was added.
>
> I suggested this because I thought it would be the most
On Tue, 20 Aug 2013 01:14:27 -0700, leafonsword wrote:
> I'v seen 《byte of python》《head first python》~ Could I read cherrypy's
> offical document and then I write a personal blog using cherrypy?
It is certainly possible to create a blog using CherryPy.
http://docs.cherrypy.org/stable/appendix/s
I'm trying to replace the blank(_) with the letter typed in by the user, in the
appropriate blank(_) spot where the letter should be (where is in the letters
list).
letters='abcdefg'
blanks='_ '*len(letters)
print('type letter from a to g')
print(blanks)
input1=input()
for i in range(len(letters
On 20 Aug 2013 07:22, "Steven D'Aprano" wrote:
>
> On Tue, 20 Aug 2013 00:49:16 +0100, Fábio Santos wrote:
>
> > I had an idea for a handy syntax which I thought of while designing a
> > language for fun. This would be a syntax for creating, from a function,
> > a function which is just like it bu
I'v seen 《byte of python》《head first python》~
Could I read cherrypy's offical document and then I write a personal blog using
cherrypy?
--
http://mail.python.org/mailman/listinfo/python-list
Op 20-08-13 09:31, wxjmfa...@gmail.com schreef:
> Le mardi 20 août 2013 08:55:18 UTC+2, Antoon Pardon a écrit :
>>
>>>
>>
>
>>
>>
>>
>>> If you consider the implementation of sin and cos functions, they usually
>>
>>> reduce the argument modulo π to something in the first quadrant, and then
>>
>
Le mardi 20 août 2013 08:55:18 UTC+2, Antoon Pardon a écrit :
>
> >
>
>
>
>
> > If you consider the implementation of sin and cos functions, they usually
>
> > reduce the argument modulo π to something in the first quadrant, and then
>
> > use symmetry to adjust the value. So changing th
Ah, I see. Thank you!
On 2013-08-20 05:39:56 +, Steven D'Aprano said:
On Mon, 19 Aug 2013 22:24:46 +0200, Uwe Rangs wrote:
My workflow at the moment is to set a link: mv python python_old
ln -s /usr/local/bin/python3.2 python
But is this a good idea?
You should never change the system
On 19/08/2013 10:55 AM, Sudheer Joseph wrote:
I have been using ipython and ipython with qtconsole and working on a
code with functions. Each time I make a modification in function
I have to quit IPTHON console (in both with and with out qt console )
and reload the function freshly. If I need to
32 matches
Mail list logo