469,332 Members | 6,807 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,332 developers. It's quick & easy.

Compare 'None' value

440 256MB
Hi ,

I am getting a 'None" value when I am searching a key in the dictionary.How to element the return 'None" value data.

How to compare whether the return value is 'None" or not?

Thanks
PSB
Mar 19 '07 #1
2 1724
psbasha
440 256MB
Hi ,

Can anybody help me in getting out of this problem.

Expand|Select|Wrap|Line Numbers
  1. Sample
  2. if not orgWirePntDict.get(WireList[i):
  3.                                           pass
  4.  
I am getting the following error

if not orgElementNodeDict.get(elementList[i):
^
SyntaxError: invalid syntax
Mar 19 '07 #2
psbasha
440 256MB
Sorry I fixed it.
There was a brace problem.
Mar 19 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Fazer | last post: by
5 posts views Thread by Nasos Makriyiannis | last post: by
122 posts views Thread by Einar | last post: by
19 posts views Thread by David zhu | last post: by
3 posts views Thread by NathanV | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.