This was sent to the sf list by mistake.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---
--- Begin Message ---
Hi, all,
This is more pythonic, but: is it possible to create a string that is
a well-formed argument to 'print', so that 'print' will print what
that argument dictates?
My naive attempts have not worked, and I am wondering whether it can
be done.
This is the sort of thing I'm shooting for:
s1 = '\"%s\"%6'
print s1
I'd like something other than '"%s"%6' to show up :=}
Justin
--
They said it couldn't be done but sometimes it
doesn't work out that way.
- Casey Stengel
--
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
sage-forum mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/sage-forum
--- End Message ---