Editing Russ Python Tips and Techniques

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 16: Line 16:
  
 
=== Move these to a good place in the outline ===
 
=== Move these to a good place in the outline ===
 
==== Python Installation ====
 
 
I have a separate page [[Category:Python Installation]] about installation an maintenance, the first part is of general interest, the second on particular issues I have encountered.  It may be useful to get some of my projects running [[Category:Python Projects]].
 
 
 
==== FStrings ====
 
 
 
FStrings are incredibly nice. New in 3.6, use it ( or 3.7.... ) They also are reputed to be really fast.  Use them.  At a later time I may have a bunch of examples, but for now just the basic statement:
 
 
<pre>
 
    joe  = "Joe Smith Jones Norton"
 
    msg  = f"Joe's name is actually {joe}"
 
    print( msg 0
 
</pre>
 
  
 
==== Comments for Navigation ====
 
==== Comments for Navigation ====
Line 206: Line 190:
  
 
= Copy and Paste =
 
= Copy and Paste =
some content may move to [[Copy and Paste Is Good]] or not
 
 
  
 
There are lots of arguments against copy and paste, but used carefully I think that it is extremely useful.  But used carefully.
 
There are lots of arguments against copy and paste, but used carefully I think that it is extremely useful.  But used carefully.

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)