On 12/06/20 12:13 AM, Terry Reedy wrote:
On 6/11/2020 6:03 AM, John Weller wrote:
I have been able to find answers to most problems by Googling but
couldn't work out a suitable query for this one.
That is why I and others have made the Symbols index as complete as
possible. If anything
On 6/11/2020 6:03 AM, John Weller wrote:
I have been able to find answers to most problems by Googling but couldn't work
out a suitable query for this one.
That is why I and others have made the Symbols index as complete as
possible. If anything thinks something is missing, say so here.
--
via Python-list
Sent: 10 June 2020 22:13
To: python-list@python.org
Subject: Re: Syntax Help
On 11/06/20 4:56 AM, John Weller wrote:
> I am trying to learn python. Looking at an example on the web I found
> this
> line:
> def plot(*args, **kwargs):
> What do the stars mean?
T
Le 10/06/2020 à 18:56, John Weller a écrit :
Hi
I am trying to learn python. Looking at an example on the web I found this
line:
def plot(*args, **kwargs):
What do the stars mean?
That, respectively, positional arguments will be packed into a
sequence of references called
On 6/10/2020 12:56 PM, John Weller wrote:
I am trying to learn python. Looking at an example on the web I found this
line:
def plot(*args, **kwargs):
This is function definition.
What do the stars mean?
The python docs have an index that has a Symbols page.
On 11/06/20 4:56 AM, John Weller wrote:
I am trying to learn python. Looking at an example on the web I found this
line:
def plot(*args, **kwargs):
What do the stars mean?
The Python "docs" are (surprisingly, for this day-and-age)
comprehensive. Try
Hi
I am trying to learn python. Looking at an example on the web I found this
line:
def plot(*args, **kwargs):
What do the stars mean?
TIA
John Weller
01380 723235
07976 393631
--
https://mail.python.org/mailman/listinfo/python-list
How to read syntax like this given in the documentation of python?
(Newbie)
defparameter ::= parameter [= expression]
http://docs.python.org/reference/compound_stmts.html#function-definitions
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, 26 Jan 2011 00:08:41 -0800, sl33k_ wrote:
How to read syntax like this given in the documentation of python?
(Newbie)
defparameter ::= parameter [= expression]
http://docs.python.org/reference/compound_stmts.html#function-
definitions
See here for an explanation:
On 26.01.2011 09:08, sl33k_ wrote:
How to read syntax like this given in the documentation of python?
(Newbie)
defparameter ::= parameter [= expression]
http://en.wikipedia.org/wiki/Backus-Naur_Form
--
http://mail.python.org/mailman/listinfo/python-list
sl33k_ wrote:
How to read syntax like this given in the documentation of python?
(Newbie)
defparameter ::= parameter [= expression]
http://docs.python.org/reference/compound_stmts.html#function-definitions
Just in case you're about to learn python using these defintions:
Nobody's
On 01/26/2011 04:05 AM, Jean-Michel Pichavant wrote:
How to read syntax like this given in the documentation of python?
(Newbie)
defparameter ::= parameter [= expression]
Just in case you're about to learn python using these defintions:
Nobody's learning a syntax that way.
They are not
Hi Folks,
I am learning SWIG, with a doggy C file test.c. I have made test.i,
the interface file, then I ran:
C:swig -python test.i --- smooth
C:cl -c test.c test_wrap.c -IC:\Python25\include nice,
test.obj, test_wrap.obj, test.py files were created
But the final step I got error
Oh! yes you can use re for that.
You just need to change the pattern a bit
I did not understand where the title will be so I have ignored it,
but I got something below which will be helpful for you
value = name:asasasasas\nrequest: play\ntitle
reg = re.compile('Name:.*\\nrequest:.',
I'm trying to get the right syntax for my regular expression. The
string I'm trying to parse is:
# myString
[USELESS DATA]
Name: David Dude
[USELESS DATA]
Right now, I'm using the following code:
pattern_Name= '''(?x)
Title:\s+(\w+)\s+
'''
names = re.findall(pattern_Name, myString)
print
The word Title there should be Name.
What I really need is the pattern for getting the entire string after
Name: until a '\n' is found.
--
http://mail.python.org/mailman/listinfo/python-list
try this. maybe this is what you want?
reg = re.compile('Name:.*\\n', re.IGNORECASE)
--
http://mail.python.org/mailman/listinfo/python-list
So now I need to add the requirement that only Name: 's which are
followed by
Request: Play or Request: Next ANYWHERE between the previous titles
and the new titles. Can I use RE's for that ?
Ernesto wrote:
I'm trying to get the right syntax for my regular expression. The
string I'm trying
Hello,
I am trying to convert an Excel SpreadSheet to Python. The formula in
Excel for one of the cells is =DDE(ser1,ser2,ser3). The name of the
server is ser1, ser2 is the topic, and ser3 is an item.
I already tried using:
import dde
ddes = dde.CreateServer()
ddes.Create(ser1)
ddec =
19 matches
Mail list logo