Skip to content

nexssp/language_python

Repository files navigation

Python

To Install Nexss Programmer please go to Nexss Programmer CLI for more information.

Windows and Shop installation (?)

You may want to run this command if you see python Windows shop installation. It's removing unwanted python.exe and python3.exe.

Remove-Item $env:USERPROFILE\AppData\Local\Microsoft\WindowsApps\python*.exe

Issues with buffered print

If your program does not output anything you may want to use flush argument

print("test", i , item, flush=True)

or use PYTHONUNBUFFERED environment variable

$env:PYTHONUNBUFFERED = 'True'

Example

nexss myprogram.py
nexss myprogram.py # > to check --nxsCompiler="blender"
nexss py default compiler python27

Links

Tips and Tricks

Smtpd server for debugging

python -u -m smtpd -n -c DebuggingServer localhost:8025 > /tmp/smtpd.log

Package Manager pip / pip3

nexss py freeze # the same as below
pip3 freeze > requirements.txt (freezes packages used)

nexss py req the same as below
python3 -m pip install -r requirements.txt

Python Interesting Links

About

Python for Nexss PROGRAMMER 2.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published