#x27;.
This may well be a standard Python convention, and it is certainly not
objectionable. But it isn't well-justified on the basis of the
'first-class-ness' of classes as objects...
Best regards,
Bill
--
http://mail.python.org/mailman/listinfo/python-list
.
Looking forward to seeing you there!
cheers,
Bill--
http://mail.python.org/mailman/listinfo/python-list
y with 100 entries is no big deal
at all.
But for me, the big deciding factor comes down to whether or not there is
specific behavior associated with this "bundle" of attributes. If yes, class,
if no, nothing wrong with dictionary.
cheers,
Bill
On Feb 11, 2011, at 9:56 AM, Martin
Alan Gauld has written a very good online book called Learning to Program.
I would definitely recommend it.
http://www.alan-g.me.uk/l2p/index.htm
-Bill
On Mon, Jan 24, 2011 at 11:09, santosh hs wrote:
> Hi All,
> i am beginner to python please tell me which is the best ava
attached to. For example I want the output:
A =[1,3] and B=[2,4]
Thanks,
Bill
--
http://mail.python.org/mailman/listinfo/python-list
Loading Python 2.6.5 (built using VC6) in a VC6 application. This appears
in my debug log. Am I worried? Should I be?
And I am stuck with VC6 (customers, don't ya know).
--
http://mail.python.org/mailman/listinfo/python-list
(AT) ixokai (DOT) io
> ... Blog: http://meh.ixokai.io/
>
Not that I am a supporter of Windows nor an expert at MSI BUT later versions
of Visual Studio do have a mechanism for building a package. I know it's
not in VC6, but is in VS.2008.
HTH,
Bill
--
http://mail.python.org/mailman/listinfo/python-list
Can anyone offer me any suggestion where I am going wrong or how to tackle
this problem?
Could it be that the Python 2.6 I am running did not use the same compiler
(VC6) with which I buiult _SHIP.pyd and if so, is there a way round this
without moving on from VC6?
TIA,
Bill
--
http://mail.python.org/mailman/listinfo/python-list
"Thomas Jollans" wrote in message
news:mailman.265.1278342154.1673.python-l...@python.org...
> On 07/05/2010 04:35 PM, Bill Davy wrote:
>> I am struggling :-(
>
> smile!
>
>>
>> I have used SWIG to build a module called SHIP. So I have a directory
>>
Hello,
According to the documentation for the curses module, there are a number of
constants defined for various special keys (such as KEY_DOWN, KEY_UP,
KEY_BACKSPACE, etc.). However, these do not exist on my system (NetBSD 5).
Looking at _cursesmodule.c, the code that sets up the KEY_ variables
I perhaps should have mentioned I linked the Python curses module against
ncurses rather than BSD curses. Perhaps NetBSD's curses doesn't support this
feature, and that's why it's not included there.
In any case, I removed the relevant #defines in _cursesmodule.c and got a
Python that includes a
On 2010-08-24, Bill Green wrote:
> ... but these
> constants (for the arrow keys at least) seem not to match the actual
> keycodes.
After looking at the documentation again I've realized I needed to enable keypad
mode on the window for curses to catch the escape codes, and no
"MRAB" wrote in message
news:mailman.3158.1247667680.8015.python-l...@python.org...
> Steven D'Aprano wrote:
>> On Tue, 14 Jul 2009 11:25:08 -0700, Dr. Phillip M. Feldman wrote:
>>
>>> Current Boolean operators are 'and', 'or', and 'not'. It would be nice
>>> to have an 'xor' operator as well.
>
"Mark Lawrence" wrote in message
news:mailman.3588.1248355389.8015.python-l...@python.org...
> scriptlear...@gmail.com wrote:
>> For example, I have a string "#a=valuea;b=valueb;c=valuec;", and I
>> will like to take out the values (valuea, valueb, and valuec). How do
>> I do that in Python? Th
I've uploaded ssl-1.15.tgz, the backport of the 2.6/3.x SSL module to
Python 2.3-2.5. It provides an option for not using SSLv2, and also
fixes a bug with write retries.
Bill
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 8, 3:27 pm, Mark Lawrence wrote:
> Kee Nethery wrote:
> > As someone trying to learn the language I want to say that the tone on
> > this list towards people who are trying to learn Python feels like it
> > has become anti-newbies.
>
> [snip]
>
> > Kee Nethery
>
> My gut feeling (which cou
"Mark Tolonen" wrote in message
news:mailman.89.1250666942.2854.python-l...@python.org...
>
> "MRAB" wrote in message
> news:4a8b3e2d.7040...@mrabarnett.plus.com...
>> Ludo wrote:
>>> Hello,
>>>
>>> I work in a very large project where we have C++ packages and pieces of
>>> python code.
>>>
>>
Gregory Ewing wrote:
> Daniel Fetchinson wrote:
>
> > Any reason your project is not easy_installable?
>
> Mainly because I'm not a setuptools user and haven't been
> motivated to learn how to do this so far.
Applause!!
Bill
--
http://mail.python.org/mailman/listinfo/python-list
.com/watch?v=p33CVV29OG8
Thanks,
Bill
--
https://mail.python.org/mailman/listinfo/python-list
tlib
> >>> matplotlib.__version__
> '2.0.0'
> >>>
>
> What's my next step?
>
> --
> Michael F. Stemper
> Deuteronomy 24:17
There were a number of changes to line-drawing in the bump from 1 to 2 -- I
found that some of them were not listed in the change notes. It's worth
reviewing
https://matplotlib.org/users/dflt_style_changes.html#plotting-functions.
Bill
--
https://mail.python.org/mailman/listinfo/python-list
them were not listed in the change notes. It's worth
> > reviewing
> > https://matplotlib.org/users/dflt_style_changes.html#plotting-functions.
>
> That nailed it! This section:
> <https://matplotlib.org/users/dflt_style_changes.html#plot-layout>
> addressed m
ncoding without forcing
univeral_newlines.
This seems like a bug?
-Bill
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, Jun 26, 2017 at 12:44 PM, eryk sun wrote:
> On Mon, Jun 26, 2017 at 5:23 PM, Bill Deegan
> wrote:
> >
> > That universal_newlines value is discarded due to:
> >
> > text_mode = encoding or errors or universal_newlines
> >
> > ...
On Mon, Jun 26, 2017 at 2:22 PM, eryk sun wrote:
> On Mon, Jun 26, 2017 at 8:59 PM, Bill Deegan
> wrote:
> >
> > Ideally (for my use case) it would be something which propagated
> > universal_newlines to io.TextIOWrapper().. rather than discards it.
> > In m
py -3.5
py -3.6
works.
Don't know about
py -3.6.0
py -3.6.1
On Fri, Jul 7, 2017 at 11:25 PM, Terry Reedy wrote:
> On 7/7/2017 5:45 PM, Andrew Pennebaker wrote:
>
>> Could the Windows installer for Python 3 provide a "python3" command,
>> such as a python3.bat or python3.exe file, to help with
All,
You can install via: (PLEASE ONLY DO IN A VIRTUALENV AS THIS IS PRERELEASE)
pip install --index-url https://test.pypi.org/simple/
scons==3.0.0.alpha.20170821
This version supports: Python 2.7.x, 3.5.x, 3.6.x
NOTE:
1. You must rm your .sconsign file if you switch python versions between 2
a
,
SCons is an easier, more reliable and faster way to build software.
see http://scons.org for more info.
-Bill
SCons Project Co-Manager
On Wed, Aug 23, 2017 at 4:26 AM, Steve D'Aprano
wrote:
> On Tue, 22 Aug 2017 09:51 am, Bill Deegan wrote:
>
> > All,
> >
> > You
[EMAIL PROTECTED] wrote...
> 1) There is no other operating system worth selling. In this case, you
> are right, you have no choice but to sell the Microsoft OS, but the deal
> they're offering you harms you in no way. (Unless you intended to sell PCs
> with no OS at all.)
>
> 2) There
[EMAIL PROTECTED] wrote...
> Not Bill Gates <[EMAIL PROTECTED]> writes:
>
> > [EMAIL PROTECTED] wrote...
> >
> > > 1) There is no other operating system worth selling. In this
> > > case, you are right, you have no choice but to sell the Microsoft
&
[EMAIL PROTECTED] wrote...
> On Tue, 25 Oct 2005 15:35:47 +, Not Bill Gates wrote:
>
> > Heck, I dunno. Like you, I don't even really care all that much.
>
> You don't care that innovation in desktop software has been crippled by
> the actions of the monop
[EMAIL PROTECTED] wrote...
> Not Bill Gates <[EMAIL PROTECTED]> writes:
> > [EMAIL PROTECTED] wrote...
> >> On Tue, 25 Oct 2005 15:35:47 +, Not Bill Gates wrote:
> >> > Heck, I dunno. Like you, I don't even really care all that much.
> >>
to spawn a child process in which the useradd command will run.
Read the subprocess documentation here:
http://docs.python.org/library/subprocess.html?highlight=subprocess#subprocess
and see if this, plus the man page for useradd, doesn't get you going.
-Bill
--
http://mail.python.org/mailman/listinfo/python-list
he sources and build a 64-bit numpy, which will then give you
a default 64-bit full package of python, numpy, and matplotlib.
That's what I've done, and my system runs the demo you listed in your post with
no problems.
> TIA,
> eric
> --
> http://mail.python.org/mailman/listinfo/python-list
Good luck,
-Bill
--
http://mail.python.org/mailman/listinfo/python-list
on in /System/Library/Frameworks. If you
download and install the default 2.7 from python.org (which will go in
/Library/Frameworks…) it will work. I just tested your command and it works
fine on my ML system. If you want, I'll send you my python path off line.
-Bill
--
http://mail.python.org/mailman/listinfo/python-list
On Aug 16, 2012, at 11:40 AM, Ramchandra Apte wrote:
> Look you are the only person complaining about top-posting.
> GMail uses top-posting by default.
>
MANY of us find it irritating...
and it only takes a second to move your cursor down and play nice.
-Bill
--
http://mail.p
itelines, but I would like the file to be human-readable.
Python 2.7.3
OS-X 10.8
Thanks,
Bill
--
http://mail.python.org/mailman/listinfo/python-list
"i" in this instance is
2354, so the file should (I thought) have contained the value of "i" followed
by 2 x 2354 values of the data.
> On Wed, Aug 22, 2012 at 8:38 AM, William R. Wing (Bill Wing)
> wrote:
>> In the middle of a longer program that reads and plot
On Aug 22, 2012, at 1:28 PM, Jerry Hill wrote:
> On Wed, Aug 22, 2012 at 11:38 AM, William R. Wing (Bill Wing)
> wrote:
>> Much to my surprise, when I looked at the output file, it only contained 160
>> characters. Catting produces:
>>
>> StraylightPro:Logs wr
t;keep this under your pillow"). Try searching for
list, iter, read, or write or any one of a whole bunch of things a newbie would
logically be looking for. (Or even a not-quite-newbie who wanted to check some
detail.)
-Bill
--
http://mail.python.org/mailman/listinfo/python-list
is in /System/Library/Frameworks…
Do NOT touch the one from Apple. Apple uses it for some of its housekeeping
operations and you want it to stay just as Apple installed it.
When you finally find the Python 2.7 in the output from the "find" command, you
can edit your .login (if you don't have a .profile) or edit .profile if you do.
Good luck,
Bill
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 10, 2012, at 11:17 AM, Bob Aalsma wrote:
> Well, Bill, better late than never - thanks for stepping in.
> You are right, my problems are not yet solved ;)
As Hans pointed out, you are looking for python, not Python (the frameworks are
named Python, the executable is python).
On Sep 11, 2012, at 3:52 AM, Bob Aalsma wrote:
>
> Op 10 Sep 2012, om 22:53 heeft William R. Wing (Bill Wing) het volgende
> geschreven:
>
>> On Sep 10, 2012, at 11:17 AM, Bob Aalsma wrote:
>>
>>> Well, Bill, better late than never - thanks for stepping i
hand you a completely prebuilt 2.7.3 (latest) along with an installer that will
put it in /Library/Frameworks where it belongs and will even edit your .profile.
Good luck,
Bill
--
http://mail.python.org/mailman/listinfo/python-list
etail you didn't notice at the time of
the talk. A good example is one that was discussed on the matplotlib-users
list several weeks ago:
http://www.loria.fr/~rougier/teaching/matplotlib/
-Bill
--
http://mail.python.org/mailman/listinfo/python-list
out the limits of a
memory-based system. It could probably be completely written in python and
still have acceptable performance.
-Bill
--
http://mail.python.org/mailman/listinfo/python-list
ess.Popen would let you hook stdin and staout directly to pipes
that will pass data back to the calling program with no intermediate steps.
-Bill
--
http://mail.python.org/mailman/listinfo/python-list
fo/python-list
Have you tried explicitly calling file.flush() on the log file? (The docs note
that you may have to follow this with os.fsync() on some systems.)
-Bill
--
http://mail.python.org/mailman/listinfo/python-list
t;
> Thanks.
> --
> http://mail.python.org/mailman/listinfo/python-list
My preference is "Python Essential Reference" by Beazley. You can find it and
several reviews here:
http://www.amazon.com/Python-Essential-Reference-David-Beazley/dp/0672329786/ref=sr_1_1?s=books&i
>
>
> --
> Steven
> --
> http://mail.python.org/mailman/listinfo/python-list
Jumping in here in an effort to be helpful… OS-X no longer uses a .bashrc file
(although it will recognize it). The python path is set in ~/.profile
-Bill
--
http://mail.python.org/mailman/listinfo/python-list
something like the following:
creation_time = subprocess.check_output(["ls", "-U", string_filename_variable])
The -U option isn't universal, but it does exist in most of the UNIces I'm
familiar with.
-Bill
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 6, 2012, at 9:45 AM, William R. Wing (Bill Wing) wrote:
> On Jun 6, 2012, at 9:29 AM, Alain Ketterlin wrote:
>
>> loial writes:
>>
>>> I have a requirement to test the creation time of a file with the
>>> current time and raise a message if the f
Looks cool. Why does it want to install pypiwin32 on my 64bit Linux box?
I installed all the requirements separately, but it still wants to install
pypiwin32.
(pypiwin32 appears to not support Python3)
# pip3.5 install asciimatics
Collecting asciimatics
Using cached asciimatics-1.7.0-py2.py3
Your approach is wrong.
You don't build python from source using pip.
You don't install new versions of python into a venv either.
Have you read the following?
https://docs.micropython.org/en/latest/esp8266/tutorial/intro.html
That seems to have instructions for what you want to d
Did Mats suggestion of:
python3.13 -m venv new_venv
$ new_venv/bin/python --version
Python 3.13.0b4
$ source new_venv/bin/activate
Not work?
That should work on any system, with any system installl python.
It's not trying to modify the system installed python in anyway...
If not, please paste the
why reply to me instead of to the list?
It's generally considered bad form to do so.
Do you have any python 3 installed on your system?
Or python 2.7?
If not, can you install such via system package?
-Bill
On Mon, Aug 5, 2024 at 6:06 PM o1bigtenor wrote:
>
>
> On Mon, Au
I’m not looking through all the packages you have installed
What version of python is installed on your system?
On Tue, Aug 6, 2024 at 5:24 AM o1bigtenor wrote:
>
>
> On Mon, Aug 5, 2024 at 10:36 PM Bill Deegan
> wrote:
>
>> why reply to me instead of to the li
) if I run it as a standalone script. Clearly, I'm missing something.
TIA,
Bill Wing
import serial, string
port = '/dev/tty.KeySerial1'
ser = serial.Serial(port, 9600, timeout=1) # Set up handle to serial port
stat1 = ser.write('\x02')# Write "
See comments in-line.
On May 7, 2010, at 3:23 PM, MRAB wrote:
> William R. Wing (Bill Wing) wrote:
>> On May 7, 2010, at 2:08 PM, MRAB wrote:
>>> William R. Wing (Bill Wing) wrote:
>>>> Hello World -
>>>> I'm new to both Python and this list, but
ould make it lower case.
However, I've tried it both ways with the same results.
But thanks. Still frustrated,
Bill
--
http://mail.python.org/mailman/listinfo/python-list
On May 7, 2010, at 10:18 PM, MRAB wrote:
> William R. Wing (Bill Wing) wrote:
>> See comments in-line.
>> On May 7, 2010, at 3:23 PM, MRAB wrote:
>>> William R. Wing (Bill Wing) wrote:
>>>> On May 7, 2010, at 2:08 PM, MRAB wrote:
[byte -byte- byte]
&
601 - 660 of 660 matches
Mail list logo