ARCHIVE.PH MIGHT ACK SOON (GLOWNIGGERS ARE AFTER ITS ADMIN)
ALWAYS USE MULTIPLE ARCHIVES AND REARCHIVE EVERYTHING (on megalodon.jp and other archivers) NOW!!! (possibly a false alarm doey)
Python
| SAAR! This train collision was caused by Pakistanis Don't redeem any card you see. Shill your loli vtuber waifu to make Bharat a superpooper. |
You can read this for more info about the topic |
|---|
Python is a high-level, general-purpose programming language, though it is best used for scripting. Its simplicity and ease of use has made it a popular choice for writing scripts to assist in raids, even though Aryans use it to web scrape and niggers abuse it to generate AI slop.
Like JavaScript it is heavily used by pajeets who shit up the internet with low-quality, slow, unmaintainable code, such as for making shitty web applications.
Things you can do with Python[edit | edit source]
- Make scripts to spam wiki.soyja(USER WAS BANNED FOR THIS POST)
- Write APIs and websites using CGI
- Make scripts to automate your PC
- It's good for stuff with data, you can connect it to MySQL
- Anything AI related, such as training LLMs or doing machine learning. Most machine learning libraries such as TensorFlow are written in Python.
- Mathematics and scientific computing. Python has many external libraries such as NumPy and SciPy (back ends are usually written in C++ for fast computation). SageMath is also a good computer algebra system built on Python.
This being said, Python is primarily a scripting language and not appropriate for making applications. If you want to make applications use Java, and if you need very high performance such as for games or soyence purposes use C++ or Rust o algo.
Tutorial[edit | edit source]
print("whats up nigga")
Comments are also really good if you want to describe what is going on in your program. You use # before writing your comment if it's single-line, and """ """ for multiline. Do note that "multiline comments" using triple quotation marks are actually string literals embedded into the Python file, which are still interpreted, unlike comments.
print("nigger") # Absolute gem
print("nigger")
"""
TND NOWWWWW!!!!!!
"""
Example[edit | edit source]
#/usr/bin/env python3
import random
def should_ack(ack_probability: int) -> bool:
"""
@brief Determines whether the tranny should ack based on a given probability.
@param ack_probability An integer between 0 and 100 representing the chance of acking.
@return True if the random probability is less than the ack_probability; otherwise, False.
"""
prob: float = max(0.0, min(random.random() * 100.0, 100.0))
return prob < float(ack_probability)
def main() -> None:
"""
@brief Main function that decides whether to ack or scream TRANS RIGHTS ARE HUMAN RIGHTS!!!!!!!! based on probability.
"""
if should_ack(41):
raise RuntimeError("ACK!!!!")
else:
print("TRANS RIGHTS ARE HUMAN RIGHTS!!!!!!!!")
if __name__ == "__main__":
main()
Simpler version[edit | edit source]
#/usr/bin/env python3
import random
# simpler version of the above program that acks with
# equal probability instead of 41% of the time because
# lets be honest 41% is not enough
if __name__ == "__main__":
x: bool = random.choice([True, False])
if x:
print("TRANS RIGHTS ARE HUMAN RIGHTS!!!!!!!!")
else:
raise RuntimeError("ACK!!!!")
Notable uses by soyjak.party[edit | edit source]
- Discord Babybot
- Troonbuster
- Operation SoySphere-Cobvas
- Soyjak.pythonanywhere.com (splinter during the Soypocalypse)
- Glowquest raid
See also[edit | edit source]
Peer reviewed sources [+]
| |
Fields of science [+]
| |
Science in praxis [+]
| |
Theoretical branches [+]
|