1. Cyan

    Cyan GBATemp's lurking knight
    Former Staff

    Joined:
    Oct 27, 2002
    Messages:
    22,811
    Country:
    France
    I didn't try RCM mode yet on my console, but thank you for your reply.
    I'm sure someone else will be able to test.

    Hey, I see you found the newly added bbcode :P
     
  2. AileenLumina

    OP AileenLumina Python main, software engineer and API designer
    Member

    Joined:
    Sep 27, 2015
    Messages:
    631
    Country:
    Germany
    Yeah, though I feel they could need some visual adjustments, they look slightly out of place as they don't fit into the site's overall appearance too well (and their bottom margin is quite a bit larger than the top margin). It's not very polished yet, but I like the addition. :)
     
  3. pro-pumper

    pro-pumper Member
    Newcomer

    Joined:
    Apr 3, 2018
    Messages:
    31
    Country:
    Mexico
    excelent work...
     
  4. Nudu

    Nudu Advanced Member
    Newcomer

    Joined:
    Feb 18, 2018
    Messages:
    65
    Country:
    Germany
    Wow I just started to learn Python... print:"Awesome"
     
  5. LeifEricson

    LeifEricson Coming Soon™
    Member

    Joined:
    Jun 22, 2012
    Messages:
    228
    Country:
    United States
    Any plans for pygame support eventually?
     
  6. roedesh

    roedesh Member
    Newcomer

    Joined:
    May 25, 2018
    Messages:
    12
    Country:
    Netherlands
     
  7. AileenLumina

    OP AileenLumina Python main, software engineer and API designer
    Member

    Joined:
    Sep 27, 2015
    Messages:
    631
    Country:
    Germany
    Roadmap

    v0.5.0-alpha
    - New PyNX menu, lets you select which Python program to run on launch
    - Miscellaneous fixes to controller input

    v0.5.1-alpha
    - Fix `nx.filesystem.Savedata.backup`
    - Polish the PyNX menu (highlight Python programs using color codes etc.)

    v0.6.0-alpha
    - libnx gfx bindings
    - ImGui (and possibly SDL2) support
    - full joystick support
    - other HID stuff
     
    Last edited by AileenLumina, May 27, 2018
  8. dfsfds2

    dfsfds2 Member
    Newcomer

    Joined:
    Apr 7, 2018
    Messages:
    27
    Country:
    China
    I get an error:

    Args:
    sdmc:/switch/pyNX/pyNX.nro
    Fatal python error: py_Initialize:can't initialize time
    Oserror:[Errno 22]invalid argument

    current thread 0x0000000000000000 <most recent call first>:
     
    Last edited by dfsfds2, Jun 17, 2018
  9. takopov

    takopov Newbie
    Newcomer

    Joined:
    Nov 5, 2016
    Messages:
    2
    Country:
    United States
    I'm really excited for the gui implementation. I've spent the past couole months learning python and lately my project has been a webbrowser using pyqt. Will it be possible to import that on my own using this? Sorry if this has been answered already
     
  10. freshrust

    freshrust Newbie
    Newcomer

    Joined:
    Jul 23, 2018
    Messages:
    6
    Country:
    Thailand
    Also thought of this...I mean it is quite infuriating that Nintendo leaves this basic of feature out.

    Coming from a noob, would NX-python theoretically run something like a web browser written in python? Attached is something I pulled from user TrebuhD on GitHub. (Cannot post links yet)
     

    Attached Files:

  11. AileenLumina

    OP AileenLumina Python main, software engineer and API designer
    Member

    Joined:
    Sep 27, 2015
    Messages:
    631
    Country:
    Germany
    Sorry for the long wait. Thanks to elnardu's efforts, we were able to add threading support with v0.5.2-alpha and pyimgui with v0.6.0-alpha. This means that you can now use threading and create GUI-based applications for the Switch in Python. See the pyimgui documentation and this example by elnardu.

    Changelog:
    • Python threads support
    • zlib support
    • pyimgui support
    • urllib works properly now
    • new PyNX launcher:
    [​IMG]

    Edit: Oh here's the link to the release btw
     
    Last edited by AileenLumina, Aug 10, 2018
  12. H0ly

    H0ly Newbie
    Newcomer

    Joined:
    Sep 25, 2018
    Messages:
    1
    Country:
    United States
    Would it be possible to run a script in the background while I play a game? Or any homebrew app?
     
    Jacklack3 likes this.
  13. MarcusCarter

    MarcusCarter Founder of Woolooism
    Member

    Joined:
    Jan 7, 2012
    Messages:
    757
    Country:
    United States
    I want to know something: Is there a way to set the archive flag on a folder on the SD card via PyNX's os.stat function, or is there no Switch equivalent to the 'chflags' command available in PyNX? If it would work, can someone provide a sample script to check the archive flag on "sdmc:/tinfoil/nsp/LHPC_split.nsp/", tell me whether it is, and ask me whether I want to set it if it is not set (and actually set it if I type 'Y', and do nothing if I type 'n', obviously)? I don't know the proper syntax that Python uses (not on any version), but I do know that the 'os' module's 'stat' function can do the job.
     
  14. Alex4nder001

    Alex4nder001 Part-time thug
    Member

    Joined:
    Jul 28, 2017
    Messages:
    437
    Country:
    United Kingdom
    Sorry for bumping, but does PyNX support Pygame and OpenGL? I'm learning Python OpenGL and once I've created some 3D games I was hoping to port them over to the Switch and play them with PyNX. Also, can I install other packages, like PyAudio? I'd normally use pip on a computer but IDK how to do it in PyNX.
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Homebrew, python, Create