Advertisement
ASMProgrammer

Fralen 2.0 The my python library (Functionaly)

Jul 25th, 2023
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.61 KB | Software | 0 0
  1. # Fralen.py
  2. # Please create file _fralen.py and copy this code. not copy """:
  3. """
  4. import sys, sysconfig
  5. sysconfig.get_config_h_filename()
  6. sysconfig.get_preferred_scheme(key='prefix')
  7. sys.api_version = 1.0
  8. __all__: list[str]
  9. __fral__: str
  10. __flat__: SystemExit
  11. ModuleType = type(sys)
  12. modules: dict[str, ModuleType]
  13. """
  14. # DONE: Create file fralen.conf and copy this code. not copy """:
  15. """
  16. settings = {
  17.     version = '2.0',
  18.    author = 'ASMProgramer',
  19.    license = 'Apache 2.0'
  20. }
  21. modules = {
  22.     enabled = {
  23.         '_fralen',
  24.        'sys'
  25.    }
  26. }
  27. """
  28. import sys, sysconfig
  29. sysconfig.get_config_h_filename()
  30. sysconfig.get_preferred_scheme(key='prefix')
  31. sys.api_version = 1.0
  32. __all__: list[str]
  33. __fral__: str
  34. __flat__: SystemExit
  35. ModuleType = type(sys)
  36. modules: dict[str, ModuleType]
  37. import time
  38. import os
  39. import _fralen
  40. from _fralen import *
  41. try:
  42.     import errno
  43. except ImportError:
  44.     errno = None
  45. print("//||||||| ||||||||\\   //||||\\  ||         |||||||||| ||\\        ||")
  46. print("||        ||      ||  //      \\ ||         ||         || \\       ||")
  47. print("||        ||      || ||       || ||         ||         ||  \\      ||")
  48. print("|||||     ||||||||// ||       || ||         ||         ||   \\     ||")
  49. print("||        ||\\       ||||||||||| ||         ||||||     ||    \\    ||")
  50. print("||        || \\      ||       || ||         ||         ||     \\   ||")
  51. print("||        ||  \\     ||       || ||         ||         ||      \\  ||")
  52. print("||        ||   \\    ||       || ||         ||         ||       \\ ||")
  53. print("||        ||    \\   ||       || |||||||||| |||||||||| ||        \\||")
  54. print("Fralen 2.0 By ASMProgrammer.  (INFO): My pastebin https://pastebin.com/u/ASMProgrammer")
  55. print("[Root/fralen.conf]: loaded library version: [Beta 2.0]")
  56.  
  57. __all__.extend(os._get_exports_list(_fralen))
  58. def xor(Number1, Number2):
  59.     return Number1 ^ Number2
  60.  
  61. def inv(Number, Num):
  62.     if Number != '':
  63.         return Number == 0
  64.     if Number == '':
  65.         return Number + Num
  66. modules['fralen.File'] == __file__
  67. def set_value(name, num):
  68.     name: str
  69.     num: str
  70.     return name + num
  71.  
  72. def File(filename, detector):
  73.     filename: __file__
  74.     if detector == True:
  75.         filename == '/{file}'
  76.         filename + '/{file}' + __file__.join('/venv/lib/fralen.conf')
  77.     if detector == False:
  78.         filename == '/{file}'
  79. while True:
  80.     try:
  81.         config = File(filename="/venv/lib/fralen.conf", detector=False)
  82.         config != False
  83.     except FileNotFoundError:
  84.         print("Send time: " + time.time())
  85.         print("File fralen.conf not found please reinstall libarary!")
  86.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement