Take the 2-minute tour ×  Hi I ve a script in iron python where
a variable mite contain special characters. Ex name- megha_lohit
url - http://url.com  if name == megha_lohit: print 'success'
else raise testcaseexception(failed)  Here the code doesnt pass
the if loop and enters teh else part failing the test case ,
even though name = megha_lohit(right hand side expression), same
case is with url too. Could somebody help me out  share|improve
this question We'll be happy to help once you translate the
gibberish to English :P –  Aurum Aquila Apr 26 '11 at 4:25
@Aurum aquila:its english in simple words...i ve clearly
mentioned tat it is not able to accept special characters like:
" :" "`" "_" (colon, escape , underscore)i hope u got it now!!!!
–  meghana Lohit Apr 26 '11 at 7:12  1 Answer 1  up vote 0 down
vote accepted  By design variable names cannot contain ":" and
"`". Underscores are ok. Maybe your problem is something else in
your code.  IronPython 2.7 ( on .NET 4.0.30319.1 >>> a_foo=
"hello" >>> a:foo= "he