all fig versions (plus example programs)


fig 4.6 is the latest version [lit]fig46.py[lit] [lit]fig41.py[lit] | [lit]fig42.py[lit] | [lit]fig43.py[lit] | [lit]fig44.py[lit] | [lit]fig45.py[lit] [lit]fig30.py[lit] | [lit]fig31.py[lit] [lit]fig21.py[lit] | [lit]fig22.py[lit] | [lit]fig23.py[lit] | [lit]fig24.py[lit] | [lit]fig25.py[lit] | [lit]fig26.py[lit] | [lit]fig27.py[lit] | [lit]fig28.py[lit] | [lit]fig29.py[lit] [lit]fig19.py[lit] | [lit]fig20.py[lit] [lit]fig11.py[lit] | [lit]fig12.py[lit] | [lit]fig13.py[lit] | [lit]fig14.py[lit] | [lit]fig15.py[lit] | [lit]fig16.py[lit] | [lit]fig17.py[lit] [lit]fig05.py[lit] | [lit]fig06.py[lit] | [lit]fig07.py[lit] | [lit]fig08.py[lit] | [lit]fig09.py[lit] | [lit]fig10.py[lit] [lit]fig04.py[lit] quick, seven-part introduction to coding for those new to coding (or new to fig) [url]../figconcepts[url] example fig programs: graphics [[best.fig]] | [[cb.fig]] | [[cd.fig]] | [[circl.fig]] | [[circle.fig]] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/best.fig_thumb.jpg[img] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/cb.fig_thumb.jpg[img] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/cd.fig_thumb.jpg[img] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/circl.fig_thumb.jpg[img] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/circle.fig_thumb.jpg[img] [[cirs.fig]] | [[doubl.fig]] | [[figsp.fig]] | [[figsph.fig]] | [[floral.fig]] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/cirs.fig_thumb.jpg[img] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/doubl.fig_thumb.jpg[img] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/figsp.fig_thumb.jpg[img] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/figsph.fig_thumb.jpg[img] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/floral.fig_thumb.jpg[img] [[fun.fig]] | [[gemseven.fig]] | [[gfx.fig]] | [[rgb.fig]] | [[sines.fig]] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/fun.fig_thumb.jpg[img] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/gemseven.fig_thumb.jpg[img] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/gfx.fig_thumb.jpg[img] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/rgb.fig_thumb.jpg[img] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/sines.fig_thumb.jpg[img] [[sp.fig]] | [[vsine.fig]] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/sp.fig_thumb.jpg[img] [img]https://ia801509.us.archive.org/29/items/fig_screencaps/vsine.fig_thumb.jpg[img] example fig programs: simple, introductory code [[1616.fig]] | [[abs.fig]] | [[area.fig]] | [[arr.fig]] | [[az.fig]] [[back.fig]] | [[center.fig]] | [[cheese.fig]] | [[cls.fig]] | [[cmd.fig]] [[colors.fig]] | [[dt.fig]] | [[efig2.fig]] | [[efp.fig]] | [[fco.fig]] [[ffile.fig]] | [[fig-call-python-tranlation-of-fig-function.fig]] | [[figcolor.fig]] | [[figd.fig]] | [[filewords.fig]] [[fishsyntax.fig]] | [[fl.fig]] | | [[for.fig]] | [[forloop.fig]] | [[funcn.fig]] [[funcname.fig]] | [[ge.fig]] | [[ghw.fig]] | [[h.fig]] | [[heh.fig]] [[hello.fig]] | [[hff.fig]] | [[hmm.fig]] | [[ifless.fig]] | [[inc.fig]] [[inline.fig]] | | [[int.fig]] | [[lists.fig]] | [[locate11.fig]] | [[lr.fig]] [[lua.fig]] | [[makeint.fig]] | [[math.fig]] | [[meh.fig]] | [[mn.fig]] [[nestloops.fig]] | [[now.fig]] | [[pav.fig]] | [[pink.fig]] | [[pset.fig]] [[rcol.fig]] | [[rev.fig]] | [[root.fig]] | [[st.fig]] | [[topwr.fig]] [[uf.fig]] | [[v.fig]] | [[valid.fig]] [[wc.fig]] example fig programs: command line tools [[arrdo.fig]] similar to xargs, prefix each line of stdin with input text and run in the shell [[arrlen.fig]] prefix each line of stdin with its length [[arrname.fig]] for find output, arrname 1 returns path, arrname 2 returns basename, arrname 3 returns extension [[colourfind.fig]] for find output, shows filesize and filepath in colour by type, -d adds date and time [[dircmp.fig]] similar to diff, display items not common in subfolder listings or text files [[egrepv.fig]] not very much like egrep, remove lines from stdin that match input lines exactly [[figcmp.fig]] prefix [[../alex]] --fsortplus output with "ingredients list" of fig code for each line [[findsim.fig]] takes ages to run, compares file contents for similarity (now an [[../alex]] feature) [[foldermap.fig]] | [[foldermap02.fig]] not displayed properly by wiki. produces html of filesystem [[groupsortlen.fig]] sorts groups of consecutive lines of text by the number of lines in each group [[installcolorama.fig]] install colorama for windows users with python in c:\python27 [[nodup.fig]] only display lines of stdin that do not contain previous lines-- "hi", "hip" filters out "hip" [[showtwo.fig]] display two files side-by-side, with first file limited to specified width [[wikidump.fig]] download xml for all pages on a small mediawiki wiki example fig programs: text-based silliness [[asciimint.fig]] | [[bestwithpygameinstalled.fig]] | [[cf.fig]] | [[cubes.fig]] | [[fltext.fig]] [img]https://ia601501.us.archive.org/17/items/fig_textmode_screencaps/asciimint.fig_thumb.jpg[img] [img]https://ia601501.us.archive.org/17/items/fig_textmode_screencaps/bestwithpygameinstalled.fig_thumb.jpg[img] [img]https://ia601501.us.archive.org/17/items/fig_textmode_screencaps/cf.fig_thumb.jpg[img] [img]https://ia601501.us.archive.org/17/items/fig_textmode_screencaps/cubes.fig_thumb.jpg[img] [img]https://ia601501.us.archive.org/17/items/fig_textmode_screencaps/fltext.fig_thumb.jpg[img] [[hl.fig]] | [[kite.fig]] | [[kite2.fig]] | [[lovely.fig]] | [[modtext.fig]] [[prs2.fig]] | [[sincos.fig]] | [[snowflake.fig]] | [[textcirc.fig]] | [[wheel.fig]] example fig programs: other [[f.fig]] creates a diagram from lines of text [[fac.fig]] creates a round clock face that is easier to learn to read than standard [[map.fig]] demonstrates bringing pythons map feature to fig [[mkar.fig]] creates a graphic file for the icewm taskbar [[modtextlarge.fig]] should be in graphics section [[p3.fig]] palindrome detector [[rc.fig]] output all possible combinations of 3 letters with and without recursion [[recur.fig]] simple recursive loop

"why does pygame print text each time fig starts?"

if pygame is installed, fig will try to import it. newer versions of pygame print text when it loads. this is fine if youre not running a program that could use the console, but suppressing it in a way that doesnt cause other problems in fig is difficult. as an alternative, it is recommended you run [url]quietpygame.fig[url] (youll need administrative privileges to modify your pygame installation.)

< [lit]main page[lit]