Run this in a terminal:
haxelib remove hscript
haxelib install hscript
And put this in the Project.xml
, below the Haxedefines
category:
<!--Enable HScript fine error reporting at parsing time-->
# define the basic variable | |
stop = False | |
# make an function for gets all factors of an number | |
def getFactors(n): | |
# create an empty list for factors | |
factors=[]; | |
# loop over all factors | |
for i in range(1, n + 1): |
Rich Reader | |
=========== | |
"Pro type" RSS reader GUI writtent in Python 3 with Feedparser and GUIzero. | |
Install for first launch | |
------------------------ | |
For launch it, just type in a terminal `pip3 install --upgrade feedparser guizero || python3 RichReader.py`. |
import os | |
import random | |
def run(command): | |
return os.popen(command).read() | |
def clear(): | |
if os.name == "nt": |
Run this in a terminal:
haxelib remove hscript
haxelib install hscript
And put this in the Project.xml
, below the Haxedefines
category:
<!--Enable HScript fine error reporting at parsing time-->
git clone https://github.com/GrayAnimates/Soulles-DX.git |
code = "++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++." | |
position = 0 | |
memory = {} | |
pointer = 0 | |
def getPointerValue(): | |
try: | |
return memory[pointer] | |
except: |