AminetAminet
Search:
84475 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/src/Python_One_Liner.zip

Mirror:Random
Showing:ppc-warpupgeneric
No screenshot available
Short:Python-1.4 One Liner Demo for AMIGA ADE
Author:wisecracker.bazza at gmail.com (Barry Walker, G0LCU)
Uploader:LAG (Lincolnshire Amiga Group)
Type:dev/src
Version:1.00.00
Architecture:generic
Distribution:Aminet
Date:2020-08-12
Download:http://aminet.net/dev/src/Python_One_Liner.zip - View contents
Readme:http://aminet.net/dev/src/Python_One_Liner.readme
Downloads:464

============================================================================

Architectures: (Classic AMIGAs), WinUAE, FS-UAE, OSX 10.14.3, Linux Mint 19.
----------------------------------------------------------------------------

  MINIMUM Requirements Are:-
  --------------------------

        (Stock A1200, 4MB Fastram and HDD; UNTESTED.)
        Tested on below.
        WinUAE 3.4.0, minimum.
        FS-UAE 2.8.1, minimum.
        Standard AMIGA OS 3.0.x install or better.

        Python Version 1.4.0 install, (full install on AMINET):
        http://aminet.net/package/dev/lang/Python_14

        Full ADE UNIX environment install, (full install on AMINET):
        https://aminet.net/package/dev/gcc/ADE

        Library file ixnet.library version 48.0
        Library file ixemul.library version 48.0
        Both files are here if you have NOT got them:
        https://aminet.net/package/util/libs/ixemul-48.0

        (It might even work under CygWin but it is untested so you use
        it at your own risk, see 'The Legal Stuff:-' below.)

----------------------------------------------------------------------------

  History:-
  ---------

  12-08-2020.
  -----------
  Version 1.00.00. Probably the one and only upload for this archive.

----------------------------------------------------------------------------

  General:-
  ---------

  (Apologies for any typos, etc...)
  People say that complex one liners for python are not easy to do, if at
  all. This is true but with a little jiggery pokery it is possible to write
  a one liner that works WITHOUT alteration from Python 1.4.0 to the current
  3.8.x version. (Version 3.9.0 is not officially released as of this
  archive upload date.) 

  Start up an AMIGA CLI and open to full screen and run up ADE and ksh
  inside the AMIGA CLI/NewShell.

  From the *NIX style prompt run the script as:
  [/full/path/to/][./]python [/full/path/to/]Sine.py<CR>
  I have set up python in ADE's "/bin" drawer and Sine.py inside my
  "/home/Python" drawer and run as the images show in the archive.

  The code generates a sine wave inside ADE and the 'ksh' shell something
  like this:

                      *
                 ***** *****
               **           **
             **               **
            *                   *
           *                     *
         **                       **
        *                           *
       *                             *
      *                               *
    **                                 ***                                 *
  AMIGA:amiga~>                           *                               *
                                           *                             *
                                            *                           *
                                             *                         *
                                              **                     **
                                                *                   *
                                                 **               **
                                                   **           **
                                                     ***** *****
                                                          *

  The peaks may be slightly different due to 32 bit limitations of Python
  1.4.0 using the AMIGA's maths libraries.
  Python 2.0.1 is exactly the same as the above for the AMIGA however as
  the CPU minimum is 68030 and an FPU are needed for it to run.

  In the archive are two versions; a direct command line version that only
  works from Python 2.6.x to 3.8.x for almost all *NIX systems but NOT the
  AMIGA A1200 and a python one liner script that does the same task for the
  A1200 and ADE plus almost all the other *NIX platforms, calling any Python
  from versions 1.4.0 to 3.8.x.

  This was just an exercise in futility and fun and uploaded so all can
  have the benefit of Python even though version 1.4.0 is well over 20
  years old at the date of this upload.

  Enjoy...

  Bazza...

----------------------------------------------------------------------------

  Lincolnshire Amiga Group:
  https://lincsamiga.org.uk/wordpress/

----------------------------------------------------------------------------

  This archive is issued under the CC0 Licence. Public Domain.

----------------------------------------------------------------------------

                                IMPORTANT:-
                                -----------

    The Legal Stuff:-
    -----------------

    This code is CC0 licenced. (Public Domain.)

    The author is not responsible for any damage to, or loss of, or failure
    of equipment or data caused in any way by the use of this code.

    There is NO warranty with the use of this software release and
    YOU USE IT AT YOUR OWN RISK.

----------------------------------------------------------------------------

    Testing Evaluation:-
    --------------------

    All WinUAE, FS-UAE conditions were/are running standard OS 3.0.x and
    using standard ~topaz 8~ fonts throughout. The minimum hardware and
    software requirements ARE needed however.
    The Classic AMIGA has NOT been tested so you try it at your own risk.
    I have no idea what strange configuration setups will create so refer
    to the ~The Legal Stuff~ above.

----------------------------------------------------------------------------

    Barry Walker, G0LCU.

----------------------------------------------------------------------------

    A very useful HardWare related site, (C) Anthony Hoffman, for
    modifications, schematics, repairs and the like is:-

                          http://amiga.serveftp.net/

============================================================================


Contents of dev/src/Python_One_Liner.zip
Archive:  /home/aminet/aminet_root/doc//dev/src/Python_One_Liner.zip
 Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
--------  ------  ------- ---- ---------- ----- --------  ----
       0  Stored        0   0% 2020-08-12 12:49 00000000  Python_One_Liner/
       0  Stored        0   0% 2020-08-11 14:25 00000000  Python_One_Liner/OCS/
   62866  Defl:N    50890  19% 2020-08-11 14:12 38c03f4a  Python_One_Liner/OCS/Workbench_16_Colours.iff
   15056  Defl:N     7829  48% 2020-08-11 14:14 4369ea0e  Python_One_Liner/OCS/Python14_Sine_py.iff
   16846  Defl:N     8387  50% 2020-08-11 14:16 a770cd53  Python_One_Liner/OCS/Python14_Sine_py_Display.iff
       0  Stored        0   0% 2020-08-11 14:25 00000000  Python_One_Liner/JPG/
  630959  Defl:N   594125   6% 2020-08-11 13:47 9363485d  Python_One_Liner/JPG/Workbench_16_Colours.jpg
       0  Stored        0   0% 2020-08-12 13:00 00000000  __MACOSX/
       0  Stored        0   0% 2020-08-12 13:00 00000000  __MACOSX/Python_One_Liner/
       0  Stored        0   0% 2020-08-12 13:00 00000000  __MACOSX/Python_One_Liner/JPG/
     480  Defl:N      338  30% 2020-08-11 13:47 94a21832  __MACOSX/Python_One_Liner/JPG/._Workbench_16_Colours.jpg
  140036  Defl:N    85728  39% 2020-08-11 13:47 9da1c54e  Python_One_Liner/JPG/Python14_Sine_py.jpg
     480  Defl:N      337  30% 2020-08-11 13:47 24242081  __MACOSX/Python_One_Liner/JPG/._Python14_Sine_py.jpg
  128506  Defl:N    73477  43% 2020-08-11 13:48 b2deed26  Python_One_Liner/JPG/Python14_Sine_py_Display.jpg
     480  Defl:N      339  29% 2020-08-11 13:48 cfe46f64  __MACOSX/Python_One_Liner/JPG/._Python14_Sine_py_Display.jpg
    6069  Defl:N     2105  65% 2020-08-12 12:48 2d00316a  Python_One_Liner/Python_One_Liner.readme
     474  Defl:N      331  30% 2020-08-12 12:48 9a1d3539  __MACOSX/Python_One_Liner/._Python_One_Liner.readme
       0  Stored        0   0% 2020-08-12 12:57 00000000  Python_One_Liner/TEXT/
       0  Stored        0   0% 2020-08-12 12:58 00000000  Python_One_Liner/TEXT/Python_14x-38x_A1200/
     693  Defl:N      453  35% 2020-08-11 20:36 ce4ce1e7  Python_One_Liner/TEXT/Python_14x-38x_A1200/Sine.py
       0  Stored        0   0% 2020-08-12 13:00 00000000  __MACOSX/Python_One_Liner/TEXT/
       0  Stored        0   0% 2020-08-12 13:00 00000000  __MACOSX/Python_One_Liner/TEXT/Python_14x-38x_A1200/
     384  Defl:N      283  26% 2020-08-11 20:36 3e9157a2  __MACOSX/Python_One_Liner/TEXT/Python_14x-38x_A1200/._Sine.py
    6069  Defl:N     2105  65% 2020-08-12 12:48 2d00316a  Python_One_Liner/TEXT/Python_14x-38x_A1200/Python_One_Liner.readme
     474  Defl:N      331  30% 2020-08-12 12:48 30ddae4e  __MACOSX/Python_One_Liner/TEXT/Python_14x-38x_A1200/._Python_One_Liner.readme
    6069  Defl:N     2105  65% 2020-08-12 12:48 2d00316a  Python_One_Liner/TEXT/Python_One_Liner.readme
     474  Defl:N      331  30% 2020-08-12 12:48 30ddae4e  __MACOSX/Python_One_Liner/TEXT/._Python_One_Liner.readme
       0  Stored        0   0% 2020-08-12 12:58 00000000  Python_One_Liner/TEXT/Python_26x-38x_ONLY/
    1129  Defl:N      631  44% 2020-08-11 21:17 faa27be6  Python_One_Liner/TEXT/Python_26x-38x_ONLY/Bonus.sh.txt
       0  Stored        0   0% 2020-08-12 13:00 00000000  __MACOSX/Python_One_Liner/TEXT/Python_26x-38x_ONLY/
     227  Defl:N      133  41% 2020-08-11 21:17 97664a4a  __MACOSX/Python_One_Liner/TEXT/Python_26x-38x_ONLY/._Bonus.sh.txt
     513  Defl:N      349  32% 2020-08-11 15:21 016a5d98  Python_One_Liner/TEXT/Python_26x-38x_ONLY/Python_One_Liner.sh
     317  Defl:N      190  40% 2020-08-11 15:21 22e8d117  __MACOSX/Python_One_Liner/TEXT/Python_26x-38x_ONLY/._Python_One_Liner.sh
    6069  Defl:N     2105  65% 2020-08-12 12:48 2d00316a  Python_One_Liner/TEXT/Python_26x-38x_ONLY/Python_One_Liner.readme
     474  Defl:N      331  30% 2020-08-12 12:48 30ddae4e  __MACOSX/Python_One_Liner/TEXT/Python_26x-38x_ONLY/._Python_One_Liner.readme
--------          -------  ---                            -------
 1025144           833233  19%                            35 files

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>