• Python

    From Nighthawk@21:1/146 to All on Wednesday, December 27, 2017 09:44:20
    Hello,

    I am trying to play a little with Python here. Installed Python 2.7, added
    the path environment variables, etc, but when I try to run testpython.mpy or any other Python script under Mystic I get the message "Python not
    detected"...

    --- Mystic BBS v1.12 A37 2017/12/23 (Windows/64)
    * Origin: Saturn's Orbit BBS - Rio de Janeiro, Brasil (21:1/146)
  • From g00r00@21:1/108 to Nighthawk on Wednesday, December 27, 2017 13:47:07
    I am trying to play a little with Python here. Installed Python 2.7,
    added the path environment variables, etc, but when I try to run testpython.mpy or any other Python script under Mystic I get the message "Python not detected"...

    Do you have the 64-bit version of Python installed?

    --- Mystic BBS v1.12 A37 2017/12/26 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From Gryphon@21:1/120 to Nighthawk on Wednesday, December 27, 2017 15:27:12
    On 12/27/17, Nighthawk said the following...

    Hello,

    I am trying to play a little with Python here. Installed Python 2.7,
    added the path environment variables, etc, but when I try to run testpython.mpy or any other Python script under Mystic I get the message "Python not detected"...

    Like g00r00 pointed out to me, you have to make sure you have the right
    python version. I see that you are using windows/64. I also found that the default download for python on windows is for windows/32. You'll have to search around for the proper python 32-bit version and install that.

    --- Mystic BBS v1.12 A37 2017/12/13 (Linux/64)
    * Origin: Cyberia BBS | cyberia.darktech.org | San Jose, CA (21:1/120)
  • From Nighthawk@21:1/146.1 to g00r00 on Wednesday, December 27, 2017 23:35:58
    On 12/27/17, g00r00 said the following...

    testpython.mpy or any other Python script under Mystic I get the mess "Python not detected"...

    Do you have the 64-bit version of Python installed?

    Damn, you are right:

    C:\mystic>python
    Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] on win32
    Type "help", "copyright", "credits" or "license" for more information.

    import struct;print struct.calcsize("P") * 8
    32


    I will fix this. Thanks!

    ----
    Regards from Nighthawk - AKA Flavio Bessa
    Sysop of Saturn's Orbit BBS - Rio de Janeiro, Brazil
    fcbessa@gmail.com - saturnsorbit.hopto.org

    --- Mystic BBS v1.12 A37 2017/12/06 (macOS/64)
    * Origin: Chiron, orbiting Saturn - Brazil (21:1/146.1)
  • From Nighthawk@21:1/146.1 to Gryphon on Wednesday, December 27, 2017 23:37:27
    On 12/27/17, Gryphon said the following...

    Like g00r00 pointed out to me, you have to make sure you have the right python version. I see that you are using windows/64. I also found that the default download for python on windows is for windows/32. You'll
    have to search around for the proper python 32-bit version and install that.

    That's right, just double-checked and my python is 32-bits, although the
    OS is 64. I will have to fix this first...

    ----
    Regards from Nighthawk - AKA Flavio Bessa
    Sysop of Saturn's Orbit BBS - Rio de Janeiro, Brazil
    fcbessa@gmail.com - saturnsorbit.hopto.org

    --- Mystic BBS v1.12 A37 2017/12/06 (macOS/64)
    * Origin: Chiron, orbiting Saturn - Brazil (21:1/146.1)
  • From Mickey@21:1/156 to All on Tuesday, January 16, 2018 21:23:10
    Quick question, anyone who's system runs on Win-64, with Mystic-32 and Python-32, what version of Python works with MRC and IBOL ??

    Thanks :-)

    Mick

    --- Mystic BBS v1.12 A38 2018/01/01 (Windows/32)
    * Origin: Central Ontario Remote (21:1/156)
  • From g00r00@21:1/108 to Mickey on Tuesday, January 16, 2018 21:43:23
    Quick question, anyone who's system runs on Win-64, with Mystic-32 and Python-32, what version of Python works with MRC and IBOL ??

    Any version of Python works, so long as you match it with your version of Mystic (in Windows). Windows supports 32-bit apps in its 64-bit versions very well but its a little trickier from my experience doing the same in Linux.

    I've just tested:

    32-bit Mystic, 32-bit Python and 64-bit Windows 10
    64-bit Mystic, 64-bit Python and 64-bit Linux

    msgread.mpy from A38 working fine for me.

    If you are using 64-bit Linux, why are you trying to run 32-bit Mystic?

    --- Mystic BBS v1.12 A39 2018/01/16 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From Ktulu@21:2/122 to Mickey on Wednesday, January 17, 2018 01:05:20
    I'm running 64 bit windows, 32 bit mystic... with 32 bit python.

    --- Mystic BBS v1.12 A35 (Windows/32)
    * Origin: Insane Asylum (21:2/122)
  • From Argos@21:1/203 to All on Friday, November 08, 2019 10:45:35
    I have noticed a few mods for Mystic that are actually Python3 scripts. I
    just learned how to install MPL modes and get them to work, however I am clueless how to get Python3 script mods to work.

    Can anyone help or point me into a direction on how to install what it takes
    to run a Python3 MOD on Mystic.

    ---

    Rocket Town BBS - Telnet: rtbbs.ddns.net
    fsxNET: 21:1/203 FidoNET:1:135/383 - Titusville, FL. NASA SPACE Coast

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Rocket Town BBS (21:1/203)
  • From Adept@21:2/108 to Argos on Friday, November 08, 2019 13:35:51
    I have noticed a few mods for Mystic that are actually Python3 scripts. I just learned how to install MPL modes and get them to work, however I am clueless how to get Python3 script mods to work.

    ...that's possible? Count me as interested, too, what with all the doom-and-gloom coming from the people attempting to kill off Python2.

    I assumed we'd have to wait until g00r00 decided it was time, which might be "never", given Python2's track record.

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/64)
    * Origin: Storm BBS (21:2/108)
  • From Static@21:2/140 to Adept on Saturday, November 09, 2019 03:39:16
    On 08 Nov 2019, Adept said the following...
    just learned how to install MPL modes and get them to work, however I clueless how to get Python3 script mods to work.

    ...that's possible? Count me as interested, too, what with all the doom-and-gloom coming from the people attempting to kill off Python2.

    AFAIK Python3-based scripts for Mystic just run externally rather than through the internal Python2 module.

    --- Mystic BBS v1.12 A43 2019/03/02 (Linux/64)
    * Origin: Subcarrier BBS (21:2/140)
  • From xqtr@21:1/111 to Argos on Saturday, November 09, 2019 09:18:43
    I have noticed a few mods for Mystic that are actually Python3 scripts. I just learned how to install MPL modes and get them to work, however I am clueless how to get Python3 script mods to work.

    These are not exactly MODs. There are just programs/scripts that you can use everywhere, even if you don't have a BBS. Linux BBS can use any linux terminal app and display it via the BBS, to the user. THis way you can write a
    python2/3 script and use it as a MOD ;)

    But this doesn't apply to Windows. If you use such a script, without a DOOR support to a windows BBS, it wont be displayed to the connected user, but only locally.

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From Argos@21:1/203 to xqtr on Saturday, November 09, 2019 08:31:07

    These are not exactly MODs. There are just programs/scripts that you can use everywhere, even if you don't have a BBS. Linux BBS can use any
    linux terminal app and display it via the BBS, to the user. THis way you can write a python2/3 script and use it as a MOD ;)

    But this doesn't apply to Windows. If you use such a script, without a DOOR support to a windows BBS, it wont be displayed to the connected
    user, but only locally.

    does the Python script run just like the mpl scripts for do I need to install something on my windows box in order to run the python script?

    ---

    Rocket Town BBS - Telnet: rtbbs.ddns.net
    fsxNET: 21:1/203 FidoNET:1:135/383 - Titusville, FL. NASA SPACE Coast

    --- Mystic BBS v1.12 A43 2019/03/03 (Windows/32)
    * Origin: Rocket Town BBS (21:1/203)
  • From xqtr@21:1/111 to Argos on Sunday, November 10, 2019 08:45:24
    does the Python script run just like the mpl scripts for do I need to install something on my windows box in order to run the python script?

    Nope... it's a Python3 script, so it needs Python3 to run it and if you have a windows machine, as you say, only the sysop could see it locally and not other users/visitors of the BBS.

    :: XQTR :: Another Droid BBS :: andr01d.zapto.org:9999 :: xqtr@gmx.com

    --- Mystic BBS v1.12 A43 2019/03/03 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From Richard Orr@21:1/999 to All on Wednesday, September 23, 2020 10:56:50
    I wonder if v3 will come to Mystic now that v4 appears to be on the horizon.
    It would be pretty awesome to get v3 support.

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Baud BBS (21:1/999)
  • From Hayes Zyxel@21:1/999 to All on Wednesday, September 23, 2020 11:00:30
    Speaking of Python, I wonder if v3 support is coming to Mystic now that v4 is on the horizon. I suppose we will know when we know.

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32)
    * Origin: Baud BBS (21:1/999)