¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

Python : Built-in Functions

Briache Issam Inglés

Python : Built-in Functions

Contenido del mapa

Python : Built-in Functions

  1. abs() Function

    • Get the absolute value of a number
  2. all() Function

    • Return "True" if all the items in a iterable object ar true
      • using all() Function on an empty list,tuple,set or dictionary, it returns 'True'
  3. any() Function

    • Return "True" when any item of an itarable object is true
      • Using all() Function on an empty list,tuple,set,or dictionary,it returns'False'
  4. ascii() Function

    • Get the unicode value of a symbol that is not avialable in the keyboard
  5. bin() Function

    • Return the binary number of a given number
  6. callable() Function

    • Return "True" if function is callable and return "False" if not
  7. compile(),eval(),exec() Functions

    • Execute a code that in the string format,compile has 3 arguments at less: compile(Source,Filename="random Filname",mode="Eval or Exec")
      • Look at this Explaining Example
        • Eval mode
        • Exec mode
  8. delattr() Function

    • delete an attribut. delattr() function has 2 arguments are: object,and "the attribut"
  9. dir() Function

    • the function allows us to access to all the elements in a specific Module, it has one argument taht is te Module's name
  10. enumerate() Function

    • Give the items of a sequence with its index number, and we can specify the start index
      • How does it work ?
  11. filter() Function

    • this function allows us to filter some elements in a list, it takes 2 arguments: function's name and the object
      • How does it work ?
  12. format() Function

    • as its name indicate,this function lets us to format any DataType . It takes as arguments : the DataType and the format specification
  13. getattr() Function

    • This function allows us to get the value of a specified attribute,it takes as arguments: The object and 'the attribute's name'
  14. globals() Function

    • The globals() function return the global symbol table as a dictionary
      • The globale Symbol Table contains all the informations about the current program
  15. hasattr() Function

    • Return "True" if a specified attribut exists in a class and return "False" if it isn't in this class
  16. hash() Function

    • Return the hash value of an object. Hash values are just integers that are used to compare dictionary keys during a dictionary look quickly.
  17. help() Function

    • Execute the built-in help system
      • This function is take one argumen
  18. hex() Function

    • return the hexadecimal value of a number
      • If the number is a float. w should store it in a variable and use the hex() Function as attribute
  19. id() Function

    • It is used to return the id value of an object or DataType, because anything in Python has a unique id value
  20. isinstance() Function

    • it returns "True" if an object is an instance of a specified object.Otherwise "False".this function takes as arguments: the object,the class
  21. issubclass() Function

    • it returns "True" if an object is a sub-class of a specified object.Otherwise "False"
  22. iter(),next() Functions

    • iter() create a iterator object, and next(iterator_obj)return the next item in an iterable
  23. locals() Function

    • Return all the local values in a function
  24. map() Function

    • allows us to apply a function on each item of an iterable object,it takes 2 arguments:function's name and the iterable
      • How does it work?
  25. oct() Function

    • Return the octal value of an integer
      • this function takes only 1 argument and it should be an integer
  26. open() Function

    • this function is very usefull for the file handling it allows us to open files and return them as object.it takes 2 arguments at less:"file's name" and 'the mode'
  27. print() Function

    • Allows us to print some values in the terminal or the consol
      • it takes 4 arguments:the value, sep='the value that the elements printed should be separeted with',end='the value that the elements printed should be ended with',file="where we want to print the value"
  28. range() Function

    • specify a range between 2 numbers and define the steps
  29. reversed() Function

    • Reverse the items of an iterable object
  30. setattr() Function

    • change the value of an attribute or create a new one if the specified doesn't exist
  31. vars() Function

    • return all the variables and its values in dictionary format
  32. zip() Function

    • join the items of two iterables objects and pair them together
  33. repr() Function

    • returns a printable representation of the given object.

Imágenes y archivos del mapa

  • Python : Built-in Functions
  • Python : Built-in Functions
  • Python : Built-in Functions
  • Python : Built-in Functions
  • Python : Built-in Functions

Información

Descripción
Mapa Mental sobre Python : Built-in Functions, creado por Briache Issam el 22/08/2021.
Creado por
Briache Issam
Visitas
2
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?