Re: Trying to figure out the data type from the code snippet

2019-01-31 Thread Chupo via Python-list
In article , Rick Johnson says... > You know _all_ that What I mentioned is just a small excerpt of what I know :-) > yet... you didn't know about the built-in `type()` method? Exactly :-) > Well, that's just great. We can only hope you don't try your hand at any > mission-critical code. A

Re: Trying to figure out the data type from the code snippet

2019-01-31 Thread Chupo via Python-list
In article , Chris Angelico says... > Ah okay. You may want to killfile a few people then, since you're > using an actual real newsreader and have that capability. > Yes, Gravity has Bozo Bin for that purpose :-) But although I've been using newsgroups for 20 years I've never blocked a single

Re: Trying to figure out the data type from the code snippet

2019-01-31 Thread Chupo via Python-list
In article , Chris Angelico says... > There are stupid questions, but I enjoy answering those too. You don't > need to apologize for asking these questions. All you need to do is > ignore the trolls like Rick. In fact, if you abandon Google Groups and > instead read the mailing list python-list@p

Re: Trying to figure out the data type from the code snippet

2019-01-31 Thread Chupo via Python-list
> I was thought > I meant: 'I was taught'. -- Let There Be Light Custom LED driveri prema specifikacijama http://tinyurl.com/customleddriver Chupo -- https://mail.python.org/mailman/listinfo/python-list

Re: Trying to figure out the data type from the code snippet

2019-01-31 Thread Chupo via Python-list
In article <67d5c4bc-7212-43d0-b44f-7f22efffa...@googlegroups.com>, Rick Johnson says... > I'm impressed! But you're asking basic questions that someone with your > resume should either (1) already know, or (2) be competent enough to find on > their own. Now don't get me wrong. My intention

Re: Trying to figure out the data type from the code snippet

2019-01-30 Thread Chupo via Python-list
In article , DL Neil says... > It can't be - there must be some source for p (code and data)! Surely > you're only showing us a small portion of the code? > I am not author of the question on StackOverflow. I was looking for something about Python and that question was among the search result

Re: Trying to figure out the data type from the code snippet

2019-01-30 Thread Chupo via Python-list
In article <8bff3a64-e154-4e39-b558-952e8f28a...@googlegroups.com>, Rick Johnson says... > Listen... if you are not familiar with all of Python's built-in functions, > all special methods of Python objects, and all the methods of strings, > integers, floats, lists, tuples, dicts (and possibly oth

Re: Trying to figure out the data type from the code snippet

2019-01-30 Thread Chupo via Python-list
In article , DL Neil says... > Alternately/additionally, if you ask help(p), it will reveal-all about > the "class" (of which p is an "instance") - including some answers to > your second question (and perhaps others which logically follow-on). Yes, but unfortunately this was all I had: https

Re: Trying to figure out the data type from the code snippet

2019-01-30 Thread Chupo via Python-list
In article , Cameron Simpson says... > What you're probably wanting to know is that the print statement calls > str(x) for every "x" which it is asked to print, and that "p" has a > __str__ method returning the "R.Wilson" string (etc). All object's have > an __str__ method, and for "p" it h

Trying to figure out the data type from the code snippet

2019-01-29 Thread Chupo via Python-list
I am trying to figure out what data type is assigned to variable p in this code snippet: for p in game.players.passing(): print p, p.team, p.passing_att, p.passer_rating() Results: R.Wilson SEA 29 55.7 J.Ryan SEA 1 158.3 A.Rodgers GB 34 55.8 https://stackoverflow.com/q/28056171/1324175 If

Re: pip vs pip2 vs pip2.7?

2016-06-15 Thread Chupo via Python-list
In article , Random832 says... > The idea is, if you have multiple python installations on your path, > "pip" will find the first one, "pip2" will find the first python2 one > (so if the first one was python3, or vice versa), and pip2.7 will find > 2.7 even if e.g. 2.6 was before it on the path.

python-2.7.11.msi destroys PATH env var?

2016-06-15 Thread Chupo via Python-list
After installing Python 2.7.11 through python-2.7.11.msi Windows installer OS couldn't anymore detect antivirus software so after some investigation I found that PATH environment variable was completely removed from the system. I had to recreate the PATH var and add: %SystemRoot%\system32;%Syst

pip vs pip2 vs pip2.7?

2016-06-15 Thread Chupo via Python-list
Hi everyone, this is my first post here. I've been using Python occasionally to accomplish some specific tasks but now I decided to study it more seriously. I am successfully using both Python 2.6.2 and Python 3.2.2 instaled on Windows. I installed 2.6.2 back in 2009. and 3.2.2 came along with