Search:

Type: Posts; User: The Cog; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    11
    Views
    12

    Re: python variable type

    https://snarky.ca/why-python-3-exists/
    https://whypy3.com/ - interesting collection of differences
  2. Replies
    11
    Views
    12

    Re: python variable type

    They really are not that different. You can find lots of info on the difference by web searches.
    The two biggest differences are:
    1:
    print is not a function, not a language built-in. So instead...
  3. Replies
    11
    Views
    12

    Re: python variable type

    Python3 added a new type for byte arrays that is distinct from strings which are now always unicode. Apart from that, nothing big. https://docs.python.org/2/library/datatypes.html

    I would prefer...
  4. Replies
    11
    Views
    12

    Re: python variable type

    You did, in our first post. Twice. You knew what type you were assigning.
    You cannot have a variable that only stores one datatype - variables will store whatever is assigned to them. Come to think...
Results 1 to 4 of 4