0

How download module

3rd May 2022, 9:02 AM
Ram Bilash
5 odpowiedzi
+ 4
#You can also create module 😃 with open("__My_Module__.py", "w") as module: module.write('''def SayHello(name): hello = 'Hello, '+ name.capitalize() return hello #[This module created by MD. Ferdous Ibne Abu Bakar]''') import __My_Module__ x = input() print(__My_Module__.SayHello(x))
3rd May 2022, 5:44 PM
Fꫀⲅძ᥆͟ᥙ᥉᯽
Fꫀⲅძ᥆͟ᥙ᥉᯽ - avatar
+ 2
open your CMD on Windows or Bash on Linux and use the command: pip install <module name>
3rd May 2022, 1:38 PM
Mohammad Matin Kateb
Mohammad Matin Kateb - avatar
+ 2
#Try this code: import os module = input() os.system(f'pip install- qq {module}')
3rd May 2022, 5:36 PM
Fꫀⲅძ᥆͟ᥙ᥉᯽
Fꫀⲅძ᥆͟ᥙ᥉᯽ - avatar
0
Pip install module.name
5th May 2022, 5:34 AM
Eyman Faisal
Eyman Faisal - avatar