
Product
Socket Now Protects the Chrome Extension Ecosystem
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
A programming language that transpiles to python. It has extremely similar syntax, but instead of colons (:), you use arrows (=>). Along with this, you are also able to call functions with only one argument with special syntax.
A programming language that transpiles to python. It has extremely similar syntax, but instead of colons (:
),
you use arrows (=>
). Along with this, you are also able to call functions with only one argument with the following syntax:
function:argument
This allows for statements such as this in ArrowPython:
print:"hello"
or:
str:1234
It allows you to call single-argument functions whilst shortening the time it takes to write them.
To use arrow python, first install it using:
pip3 install arrowpython
Then, to use it in your program, create a new python file and before putting in any code write:
import arrowpython
If you are using IDLE, IDLE can often be finicky over syntax errors, as it tries to find then before the code is run. This way you will often have a hard time executing ArrowPython in IDLE. I'd reccomend using something like Sublime Text or VSCode.
With that out of the way, this is an example of the popular FizzBuzz program in ArrowPython:
import arrowpython
def fizbuzz:num =>
for fizzbuzz in range:num =>
if fizzbuzz % 3 == 0 and fizzbuzz % 5 == 0 =>
print:"fizzbuzz"
continue
elif fizzbuzz % 3 == 0 =>
print:"fizz"
continue
elif fizzbuzz % 5 == 0 =>
print:"buzz"
continue
print:fizzbuzz
fizbuzz:51
Have fun coding!
FAQs
A programming language that transpiles to python. It has extremely similar syntax, but instead of colons (:), you use arrows (=>). Along with this, you are also able to call functions with only one argument with special syntax.
We found that arrowpython demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.