This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

Part I completed

Jay Krishnan (Jul 4, 2026, 11:34 AM +0200) f1999451 516ee0dd

+127 -1
__pycache__/elements.cpython-310.pyc

This is a binary file and will not be displayed.

+3 -1
alchemy/__init__.py
··· 7 7 # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 8 # +#+#+#+#+#+ +#+ # 9 9 # Created: 2026/07/04 10:06:29 by jkrishna #+# #+# # 10 - # Updated: 2026/07/04 10:06:36 by jkrishna ### ########.fr # 10 + # Updated: 2026/07/04 10:49:08 by jkrishna ### ########.fr # 11 11 # # 12 12 # ########################################################################### # 13 13 14 + from alchemy.elements import create_air 15 +
alchemy/__pycache__/__init__.cpython-310.pyc

This is a binary file and will not be displayed.

alchemy/__pycache__/elements.cpython-310.pyc

This is a binary file and will not be displayed.

+21
ft_alembic_0.py
··· 1 + #!/usr/bin/env python3 2 + # ########################################################################### # 3 + # shebang: 1 # 4 + # ::: :::::::: # 5 + # ft_alembic_0.py :+: :+: :+: # 6 + # +:+ +:+ +:+ # 7 + # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 + # +#+#+#+#+#+ +#+ # 9 + # Created: 2026/07/04 10:09:52 by jkrishna #+# #+# # 10 + # Updated: 2026/07/04 10:45:12 by jkrishna ### ########.fr # 11 + # # 12 + # ########################################################################### # 13 + 14 + 15 + import elements 16 + 17 + 18 + if __name__ == "__main__": 19 + print("=== Alembic 0 ===") 20 + print("Using: 'import ...' structure to access elements.py") 21 + print("Testing create_fire: " + elements.create_fire() + "\n")
+20
ft_alembic_1.py
··· 1 + #!/usr/bin/env python3 2 + # ########################################################################### # 3 + # shebang: 1 # 4 + # ::: :::::::: # 5 + # ft_alembic_1.py :+: :+: :+: # 6 + # +:+ +:+ +:+ # 7 + # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 + # +#+#+#+#+#+ +#+ # 9 + # Created: 2026/07/04 10:23:52 by jkrishna #+# #+# # 10 + # Updated: 2026/07/04 10:45:24 by jkrishna ### ########.fr # 11 + # # 12 + # ########################################################################### # 13 + 14 + 15 + from elements import create_water 16 + 17 + if __name__ == "__main__": 18 + print("=== Alembic 1 ===") 19 + print("Using: 'from ... import ...' structure to access elements.py") 20 + print("Testing create_water: " + create_water() + "\n")
+19
ft_alembic_2.py
··· 1 + #!/usr/bin/env python3 2 + # ########################################################################### # 3 + # shebang: 1 # 4 + # ::: :::::::: # 5 + # ft_alembic_2.py :+: :+: :+: # 6 + # +:+ +:+ +:+ # 7 + # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 + # +#+#+#+#+#+ +#+ # 9 + # Created: 2026/07/04 10:30:38 by jkrishna #+# #+# # 10 + # Updated: 2026/07/04 10:45:32 by jkrishna ### ########.fr # 11 + # # 12 + # ########################################################################### # 13 + 14 + import alchemy.elements 15 + 16 + if __name__ == "__main__": 17 + print("=== Alembic 2 ===") 18 + print("Accessing alchemy/elements.py using 'import ...' structure") 19 + print("Testing create_earth: " + alchemy.elements.create_earth() + "\n")
+20
ft_alembic_3.py
··· 1 + #!/usr/bin/env python3 2 + # ########################################################################### # 3 + # shebang: 1 # 4 + # ::: :::::::: # 5 + # ft_alembic_3.py :+: :+: :+: # 6 + # +:+ +:+ +:+ # 7 + # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 + # +#+#+#+#+#+ +#+ # 9 + # Created: 2026/07/04 10:33:54 by jkrishna #+# #+# # 10 + # Updated: 2026/07/04 10:45:37 by jkrishna ### ########.fr # 11 + # # 12 + # ########################################################################### # 13 + 14 + from alchemy.elements import create_air 15 + 16 + if __name__ == "__main__": 17 + print("=== Alembic 3 ===") 18 + print("Accessing alchemy/elements.py " 19 + "using 'from ... import ...' structure") 20 + print("Testing create_air: " + create_air() + "\n")
+25
ft_alembic_4.py
··· 1 + #!/usr/bin/env python3 2 + # ########################################################################### # 3 + # shebang: 1 # 4 + # ::: :::::::: # 5 + # ft_alembic_4.py :+: :+: :+: # 6 + # +:+ +:+ +:+ # 7 + # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 + # +#+#+#+#+#+ +#+ # 9 + # Created: 2026/07/04 10:45:56 by jkrishna #+# #+# # 10 + # Updated: 2026/07/04 11:21:56 by jkrishna ### ########.fr # 11 + # # 12 + # ########################################################################### # 13 + 14 + import alchemy 15 + 16 + if __name__ == "__main__": 17 + print("Accessing the alchemy module using 'import alchemy'") 18 + print("Testing create_air: " + alchemy.create_air()) 19 + print("Now show that not all functions can be reached") 20 + print("This will raise an exception!") 21 + print("Testing the hidden create_earth:") 22 + try: 23 + print(f"{alchemy.create_earth()}") 24 + except AttributeError as e: 25 + print(f"{e}")
+19
ft_alembic_5.py
··· 1 + #!/usr/bin/env python3 2 + # ########################################################################### # 3 + # shebang: 1 # 4 + # ::: :::::::: # 5 + # ft_alembic_5.py :+: :+: :+: # 6 + # +:+ +:+ +:+ # 7 + # By: jkrishna <jkrishna@student.42.fr> +#+ +:+ +#+ # 8 + # +#+#+#+#+#+ +#+ # 9 + # Created: 2026/07/04 11:22:26 by jkrishna #+# #+# # 10 + # Updated: 2026/07/04 11:33:51 by jkrishna ### ########.fr # 11 + # # 12 + # ########################################################################### # 13 + 14 + from alchemy import create_air 15 + 16 + if __name__ == "__main__": 17 + print("=== Alembic 5 ===") 18 + print("Accessing the alchemy module using 'from alchemy import ...'") 19 + print(f"Testing create_air: {create_air()}")