but I can;t find the answer ;-)
As searching for the '$' sign doesn't work well in the help files,
I can not find out, where is the '$' sign used for.
If I try to use it in names,
I get a compiler error,
so it probably has some special meaning.
thanks,
Stef Mientki 3 902
On 2007-07-28, Stef Mientki <S.**************@mailbox.kun.nlwrote:
but I can;t find the answer ;-)
As searching for the '$' sign doesn't work well in the help
files, I can not find out, where is the '$' sign used for.
If I try to use it in names, I get a compiler error, so it
probably has some special meaning.
It means something in regular expressions, namely, the end of the
string/line.
--
Neil Cerutti
On 28/07/07, Stef Mientki <S.**************@mailbox.kun.nlwrote:
but I can;t find the answer ;-)
As searching for the '$' sign doesn't work well in the help files,
I can not find out, where is the '$' sign used for.
If I try to use it in names,
I get a compiler error,
so it probably has some special meaning.
Hi Stef,
It has no special meaning in the Python language, beyond being invalid
for use in identifiers. I believe there is a new string formatting
module which interprets it when it is part of a format string, but
nothing in the core language.
If you look at the language grammar, you can see why this is an error http://docs.python.org/ref/identifiers.html
David.
>
thanks,
Stef Mientki
-- http://mail.python.org/mailman/listinfo/python-list
Stef Mientki wrote:
but I can;t find the answer ;-)
As searching for the '$' sign doesn't work well in the help files,
I can not find out, where is the '$' sign used for.
If I try to use it in names,
I get a compiler error,
so it probably has some special meaning.
thanks,
Stef Mientki
The $ is not used in any Python syntax. Neither in variable names nor
any syntactical construct.
Of course, like any character, it can be used in strings. (And some
packages, like re, will make special use of a $ in a string.)
Gary Herron This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Thomas G. Marshall |
last post by:
This message is sent to these newsgroups because they are no longer
valid:
comp.lang.java
comp.lang.java.api
comp.lang.java.bugs
comp.lang.java.misc
comp.lang.java.setup
comp.lang.java.tech
|
by: sebb |
last post by:
I'm kind of newbie to programming, but I thought of something and I
want some opinions on that.
It's about a new instruction block to do some cycles.
I thought about that because it's not very...
|
by: rhat |
last post by:
I heard that beta 2 now makes ASP.NET xhtml compliant.
Can anyone shed some light on what this will change and it will break stuff
as converting HTML to XHTML pages DO break things. see,...
|
by: JKop |
last post by:
Why the hell did they make "this" a pointer and not a reference?!! It's so
stupid!
-JKop
|
by: Steve Jorgensen |
last post by:
Now, I don't mean that it's stupid in general. I'm actually pretty impressed
with the whole MS Networking thing, but there's one stupid thing that keeps
getting in my way, and I can't believe no...
|
by: Madhur |
last post by:
Hello
what about this nice way to open a file in single line rather than using
if and else.
#include<stdio.h>
void main()
{
FILE *nd;
clrscr();...
|
by: rroman |
last post by:
I have a very simple form, takes information from the user, updates a SQL
database, now I just want to redirect to a "Thank You For Your Time" web page
within the same bowser. ASP. NET VB
|
by: Diodeus |
last post by:
I would like to set up an event observer outside of an object, so I
can't use this.bindAsEventListener. How can I pass the correct object
reference?
I tried something like this, and various...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |