On Fri, 20 Jul 2018 08:25:04 +0200, Brian Oney via Python-list wrote:
> PS: Can I twiddle bits in Python?
Yes.
These operators work on ints:
bitwise AND: &
bitwise OR: |
bitwise XOR: ^
--
Steven D'Aprano
"Ever since I learned about confirmation bias, I've been seeing
it everywhere
On Fri, Jul 20, 2018 at 4:25 PM, Brian Oney via Python-list
wrote:
> PS: Can I twiddle bits in Python?
You sure can! With most of the same operators that you would in C. The
main difference is that Python's integers don't have word size limits;
instead of working with, say, 32-bit integer, you j
Dear Python-List,
an old dog wants to learn some new tricks.
Due to my contact with microcontrollers, I am learning C/C++. I am aware that
this is the
endearing, helpful, yet chatty python-list. Many of you are competent
C-programmers.
The allure of C is that I can play directly with memory.
I can get the installed version of a package with:
pip2 show cryptography | awk '/^Version: / { print $2 }'
But I was wondering if there is a better way.
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof
--
https://mail.python.org/mailman/listin
On behalf of the Python development community, I'm pleased to announce
the availability of Python 3.4.9rc1 and Python 3.5.6rc1.
Both Python 3.4 and 3.5 are in "security fixes only" mode. Both
versions only accept security fixes, not conventional bug fixes, and
both releases are source-only.
On Thu, Jul 19, 2018 at 5:42 PM, Terry Reedy wrote:
>
> What happens when you right click depends on the program you are interacting
> with. When you select and right-click in the current Windows 10 console,
> used for Command Prompt, PowerShell, Python, and other programs, the
> selection disapp
On Thu, 19 Jul 2018 23:35:05 +, eryk sun
wrote:
>On Thu, Jul 19, 2018 at 6:49 PM, wrote:
>> On Thu, 19 Jul 2018 17:35:24 +0100, MRAB
>> wrote:
>>
>>>I'm assuming you're using Windows.
>>>
>>>It might be that the console window's properties need changing:
>>>
>>>1. Right-click on the title
On Thu, Jul 19, 2018 at 6:49 PM, wrote:
> On Thu, 19 Jul 2018 17:35:24 +0100, MRAB
> wrote:
>
>>I'm assuming you're using Windows.
>>
>>It might be that the console window's properties need changing:
>>
>>1. Right-click on the title bar.
>>
>>2. Click on Properties.
>>
>>3. In the Options tab, t
On Thu, 19 Jul 2018 20:34:26 +0200, Christian Gollwitzer wrote:
> Am 19.07.2018 um 14:50 schrieb Gregory Ewing:
>> Chris Angelico wrote:
>>> On Thu, Jul 19, 2018 at 4:41 PM, Gregory Ewing
>>> wrote:
>>>
(Google doesn't seem to think so -- it asks me whether I meant
"assist shop". Althou
On Mon, Jul 16, 2018 at 06:40:45AM -0700, Christos Georgiou - ΤΖΩΤΖΙΟΥ wrote:
> You need first to serialize the object to bytes that can go over the
> wire. There is no predefined way to do that, so you can:
>
> >>> import io
> >>> file_like_object = io.BytesIO()
> >>> PILImage.save(file_like_obj
On 19/07/18 22:47, no@none.invalid wrote:
Gee. If those spams keep up, you would think that someone might try
to turn the tables on the spammer.
They come from google groups. Google has no intention of doing anything
about it. I avoid seeing any of them by subscribing to this forum via
g
On Thu, 19 Jul 2018 18:25:41 -0400, Dennis Lee Bieber
wrote:
>On Thu, 19 Jul 2018 17:40:16 -0400, no@none.invalid declaimed the
>following:
>
>>
>>So to run a .py program, you have to right click and select the pull
>>down menu Edit with IDLE and then inside that menu you pick Edit with
>>IDLE.
Gee. If those spams keep up, you would think that someone might try
to turn the tables on the spammer.
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 19 Jul 2018 14:00:39 -0700 (PDT), Rick Johnson
wrote:
>n...@none.invalid wrote:
>> Rick Johnson wrote:
>> >n...@none.invalid wrote:
>> > >
>> > > Edit with IDLE pull down menu has one item. Why would you
>> > > have nested menu with only one choice?
>> >
>> > Oh, i dunno, i'm just riffing
On Thu, 19 Jul 2018 13:15:23 -0700 (PDT), Rick Johnson
wrote:
>n...@none.invalid wrote:
>> Edit with IDLE pull down menu has one item.
>> Why would you have nested menu with only one choice?
>
>Oh, i dunno, i'm just riffing here, but... perhaps because the menu's
>_contents_ depend on _context_?
Edit with IDLE pull down menu has one item.
Why would you have nested menu with only one choice?
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 19 Jul 2018 17:35:24 +0100, MRAB
wrote:
>On 2018-07-19 16:47, no@none.invalid wrote:
>> I just installed Python 3.7
>> The instructions say to highlight some text and press enter to copy
>> text.
>> You are supposed to just right click with the mouse to paste text.
>>
>> I use a very use
Am 19.07.2018 um 14:50 schrieb Gregory Ewing:
Chris Angelico wrote:
On Thu, Jul 19, 2018 at 4:41 PM, Gregory Ewing
wrote:
(Google doesn't seem to think so -- it asks me whether
I meant "assist shop". Although it does offer to translateč
it into Czech...)
Into or from?? I'm thoroughly confus
On 7/19/2018 11:47 AM, no@none.invalid wrote:
I just installed Python 3.7
What machine (OS)?
How did you install Python?
How are you running it?
The instructions say to highlight some text and press enter to copy
text.
What instructions? This is not standard, at least not on Windows.
You
On 2018-07-19 16:47, no@none.invalid wrote:
I just installed Python 3.7
The instructions say to highlight some text and press enter to copy
text.
You are supposed to just right click with the mouse to paste text.
I use a very useful program called Clipmate that captures from the
clipboard and ke
On 19/07/18 16:06, Guido van Rossum wrote:
Thank you for taking the lead and good luck with the project!
Pleased to see that haven't completely disappeared :)
On Wed, Jul 18, 2018 at 11:57 PM Abdur-Rahmaan Janhangeer <
arj.pyt...@gmail.com> wrote:
Greetings everybody,
i take this opportun
I just installed Python 3.7
The instructions say to highlight some text and press enter to copy
text.
You are supposed to just right click with the mouse to paste text.
I use a very useful program called Clipmate that captures from the
clipboard and keeps a list of clipboard captures and I can men
Thank you for taking the lead and good luck with the project!
On Wed, Jul 18, 2018 at 11:57 PM Abdur-Rahmaan Janhangeer <
arj.pyt...@gmail.com> wrote:
> Greetings everybody,
>
> i take this opportunity to announce to the python community that Arabic
> translations for the docs have started at
>
>
Due to popular demand, we are making it possible to attend the Sprints
Weekend (July 28-29), even if you only have a day pass or are
considering to buy one and not a regular conference tickets which
includes the sprints as well.
* EuroPython 2018 Sprints (Hackathons) *
h
Chris Angelico wrote:
On Thu, Jul 19, 2018 at 4:41 PM, Gregory Ewing
wrote:
(Google doesn't seem to think so -- it asks me whether
I meant "assist shop". Although it does offer to translate
it into Czech...)
Into or from?? I'm thoroughly confused now!
Hard to tell. This is what the link sa
it's also thoroughly time to give this thread a well deserved rest
RIP
Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
Into or from?? I'm thoroughly confused now!
>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
>
--
https://mail.python.org/mailman/listinfo/pyth
Greetings everybody,
i take this opportunity to announce to the python community that Arabic
translations for the docs have started at
https://github.com/Abdur-rahmaanJ/py-docs-ar
as per the PEP written by @JulienPalard and @Mariatta, we are working on
the tutorials (for 3.7). you can view detai
27 matches
Mail list logo