On Monday, November 27, 2017 at 8:07:47 PM UTC+5:30, Chris Angelico wrote:
> On Tue, Nov 28, 2017 at 1:25 AM, Rustom Mody wrote:
> > You could go one step more sophisticated and use TeX-input method
> > (C-x RET C-\)
> > After which \'e will collapse as ÄC
> > â £Yeah ok but how the ^)*^$# am I to
november nihal wrote:
> I should have added I switch off the machine when I stop. ( I dont have
options
> to keep it in a sleep mode or in hibernation )
The iterator returned by itertools.combinations is pickleable:
>>> from pickle import dumps, loads
>>> from itertools import combinations
>>
Input :
count = 0
if count < 5:
print "Hello, I am an if statement and count is", count
while count < 10:
print "Hello, I am a while and count is", count
count += 1
Output :
Hello, I am an if statement and count is 0 Hello, I am a while and count is 0
Hello, I am a while and count is 1
On Mon, Nov 27, 2017 at 3:04 PM, Rustom Mody wrote:
>> Aviators have pinned down the best solution to this, I think. A pilot
>> is not expected to be perfect; he is expected to follow checklists. A
>> preflight checklist. A departure checklist. A landing checklist.
>> Everything that needs to be d
On Friday, November 24, 2017 at 10:11:24 PM UTC+5:30, Skip Montanaro wrote:
> > Because if I already can't understand the words, it will be more useful
> > to me to be able to type them reliably at a keyboard, for replication,
> > search, discussion with others about the code, etc.
>
> I am probabl
You need to set the Python interpreter for the project to be the Anaconda one.
See https://www.jetbrains.com/help/pycharm/configuring-python-interpreter.html
On Monday, November 27, 2017 at 1:56:58 AM UTC+2, C W wrote:
> Hello all,
>
> I am a first time PyCharm user. I have Python 3 and Anaconda i
On 27/11/2017 17:41, Chris Angelico wrote:
> On Tue, Nov 28, 2017 at 2:14 AM, bartc wrote:
>> JPEG uses lossy compression. The resulting recovered data is an
>> approximation of the original.
>
> Ah but it is a perfect representation of the JPEG stream. Any given
> compressed stream must always de
On Monday, November 27, 2017 at 6:48:56 PM UTC+5:30, Rustom Mody wrote:
> Having said that I should be honest to mention that I saw your post first on
> my phone where the î, showed but the gØÜ« showed as a rectangle something
like âî$
>
> I suspect that îö OTOH would have workedâ | dunno
Yeah îö
On 11/27/17 1:57 PM, bartc wrote:
> On 27/11/2017 17:41, Chris Angelico wrote:
>> On Tue, Nov 28, 2017 at 2:14 AM, bartc wrote:
>>> JPEG uses lossy compression. The resulting recovered data is an
>>> approximation of the original.
>>
>> Ah but it is a perfect representation of the JPEG stream. Any
On 26Nov2017 10:00, nospam.Martin SchĶĶn wrote:
>Den 2017-11-26 skrev Cameron Simpson :
>> On 25Nov2017 08:34, rusi wrote:
>>>On Saturday, November 25, 2017 at 9:45:07 PM UTC+5:30, Michael Torrie wrote:
The problem with mixing repository-installed packages with pip-installed
packages
On 27 November 2017 at 18:13, Skip Montanaro wrote:
>> If you have a Windows key, you can assign it to be
>> the Compose key.
>
> Would this be true on a machine running Windows? My work environment
> has me developing on Linux, with a Windows desktop. It's not clear to
> me that any sort of xmodm
On 11/27/17 8:13 AM, jaya.bir...@gmail.com wrote:
> Please let me know anyone aware about the issue
>
>
> Traceback (most recent call last):
> File "testrunner.py", line 447, in
> testrunner_obj.main()
> File "testrunner.py", line 433, in main
> self.result()
> File "testrunner.py", line 310, in r
On Tue, Nov 28, 2017 at 5:13 AM, Skip Montanaro
wrote:
>> If you have a Windows key, you can assign it to be
>> the Compose key.
>
> Would this be true on a machine running Windows? My work environment
> has me developing on Linux, with a Windows desktop. It's not clear to
> me that any sort of xm
e whether this is an issue for -owner or not; apologies if not.
I'm seeing a whole lot of reasonably-recent posts getting re-sent, with
"nospam" attached to the posters' names. And they're getting re-sent multiple
times. Sometimes the posts have encoding problems (small amo
bartc wrote:
> Testing everything comprehensively just wouldn't be useful for me who
> works on whole applications, whole concepts, not just a handful of
> functions with well-defined inputs and outputs.
I had this experience with Pyrex (the precursor to Cython). The various parts
are so interdepe
> I strongly suspect that any recent emacs will have M-x insert-char
> (earlier it was called ucs-insert) default bound C-x 8 RET (yeah thats
clunky)
> which will accept at the minibuffer input
I tried C-x 8 e acute TAB
and was prompted with "E-acute". I don't know why it would have capitalized t
On Tue, Nov 28, 2017 at 1:55 AM, Rustom Mody wrote:
> On Monday, November 27, 2017 at 8:07:47 PM UTC+5:30, Chris Angelico wrote:
>> On Tue, Nov 28, 2017 at 1:25 AM, Rustom Mody wrote:
>> > You could go one step more sophisticated and use TeX-input method
>> > (C-x RET C-\)
>> > After which \'e wil
> If you have a Windows key, you can assign it to be
> the Compose key.
Would this be true on a machine running Windows? My work environment has me
developing on Linux, with a Windows desktop. It's not clear to me that any sort
of xmodmap shennanigans would work. Won't Windows itself always gobbl
On Nov 27, 2017 7:08 AM, "Chris Angelico" wrote:
In every compiler, interpreter, and CPU that I've ever used, the remainder has
been well-defined. In what situation was it ill-defined, such that different
compilers could do different things?
In C89 the result of integer division and modulo wit
On Tue, Nov 28, 2017 at 2:14 AM, bartc wrote:
> JPEG uses lossy compression. The resulting recovered data is an
> approximation of the original.
Ah but it is a perfect representation of the JPEG stream. Any given compressed
stream must always decode to the same output. The lossiness is on the ENc
There seems to be a gateway loop of some sort going on. I'm seeing multiple
versions of the same posts in comp.lang.python with different numbers of
"nospam"s prepended to the email address.
--
Greg
--
https://mail.python.org/mailman/listinfo/python-list
On Monday, November 27, 2017 at 3:43:20 PM UTC+5:30, Antoon Pardon wrote:
> Op 23-11-17 om 19:42 schreef Mikhail V:
> > Chris A wrote:
> >
> >>> On Fri, Nov 24, 2017 at 1:10 AM, Mikhail V wrote:
> >>>
> Chris A wrote:
>
> Fortunately for the world, you're not the one who decided whic
On Mon, Nov 27, 2017 at 10:38 PM, bartc wrote:
> On 27/11/2017 03:04, Michael Torrie wrote:
>>
>> On 11/26/2017 08:39 AM, bartc wrote:
>>>
>>> The problem was traced to two lines that were in the wrong order (in the
>>> original program). I can't see how unit tests can have helped in any way
>>> a
On Tue, Nov 28, 2017 at 1:25 AM, Rustom Mody wrote:
> You could go one step more sophisticated and use TeX-input method
> (C-x RET C-\)
> After which \'e will collapse as ÄC
> â £Yeah ok but how the ^)*^$# am I to remember the mantra \'e?!â Ø you may
ask
> Trueâ | So as you rightly do,
> - pick it
bartc wrote:
> (Maybe it's viable if working from an exacting
> specification that someone else has already worked out.)
In my experience, for anything non-trivial that hasn't been done before, these
"exacting specifications" never exist. Even if someone handles wnat they
*think* are exact and com
On 27/11/2017 13:57, Chris Angelico wrote:
> On Mon, Nov 27, 2017 at 10:38 PM, bartc wrote:
> Your decoder was straight-up buggy, and tests would have proven this.
I created my Python version after the abysmal results from other Python
decoders I tried which didn't work at all, gave the wrong r
Op 23-11-17 om 19:42 schreef Mikhail V:
> Chris A wrote:
>
>>> On Fri, Nov 24, 2017 at 1:10 AM, Mikhail V wrote:
>>>
Chris A wrote:
Fortunately for the world, you're not the one who decided which
characters were permitted in Python identifiers. The ability to use
non-Englis
On Monday, November 27, 2017 at 12:12:24 PM UTC+5:30, Chris Angelico wrote:
> On Mon, Nov 27, 2017 at 3:04 PM, Rustom Mody wrote:
> >> Aviators have pinned down the best solution to this, I think. A pilot
> >> is not expected to be perfect; he is expected to follow checklists. A
> >> preflight che
On 11/27/17 7:54 AM, Cai Gengyang wrote:
> Input :
>
> count = 0
>
> if count < 5:
>print "Hello, I am an if statement and count is", count
>
> while count < 10:
>print "Hello, I am a while and count is", count
>count += 1
>
> Output :
>
> Hello, I am an if statement and count is 0
> He
On 27/11/2017 12:54, Cai Gengyang wrote:
>
> Input :
>
> count = 0
>
> if count < 5:
>print "Hello, I am an if statement and count is", count
>
> while count < 10:
>print "Hello, I am a while and count is", count
>count += 1
>
> Output :
>
> Hello, I am an if statement and count is 0
>
On 27/11/2017 03:04, Michael Torrie wrote:
> On 11/26/2017 08:39 AM, bartc wrote:
>> The problem was traced to two lines that were in the wrong order (in the
>> original program). I can't see how unit tests can have helped in any way
>> at all, and it would probably have taken much longer.
>
> What
On Mon, Nov 27, 2017 at 9:01 PM, wrote:
> On Sunday, November 26, 2017 at 7:09:25 PM UTC-8, Michael Torrie wrote:
>
>> So you are using this Infinity class as a sentinel value of some kind?
>> Representing game state? There may be an easier way than a full on
>> custom type. Sometimes just a se
On Mon, Nov 27, 2017 at 10:08 AM, Gregory Ewing
wrote:
> Chris Angelico wrote:
>
>> On Mon, Nov 27, 2017 at 1:11 AM, bartc wrote:
>
>>
>>>
>>> If I had to bother with such systematic tests as you suggest, and finish
>>> and
>>> sign off everything before proceeding further, then nothing would eve
On Monday, November 27, 2017 at 9:08:42 AM UTC+5:30, Chris Angelico wrote:
> On Mon, Nov 27, 2017 at 1:55 PM, Michael Torrie wrote:
> > On 11/26/2017 07:11 AM, bartc wrote:
> >>> You may argue that testing doesn't matter for his small game, written
> >>> for his own education and amusement. The f
Chris Angelico wrote:
> On Mon, Nov 27, 2017 at 1:11 AM, bartc wrote:
>
>>If I had to bother with such systematic tests as you suggest, and finish and
>>sign off everything before proceeding further, then nothing would ever get
>>done. (Maybe it's viable if working from an exacting specification
roblem you're seeing.
>
> Skip
>
> On Nov 26, 2017 5:22 PM, "Chris Angelico" wrote:
>
> Not sure whether this is an issue for -owner or not; apologies if not.
>
> I'm seeing a whole lot of reasonably-recent posts getting re-sent,
> with "nospam"
On Mon, Nov 27, 2017 at 1:55 PM, Michael Torrie wrote:
> On 11/26/2017 07:11 AM, bartc wrote:
>>> You may argue that testing doesn't matter for his small game, written
>>> for his own education and amusement. The fact is that software in
>>> general is of abysmal quality across the boards, and pr
Hello all,
I am a first time PyCharm user. I have Python 3 and Anaconda installed. They
work together on Sublime Text, but not on Pycharm.
Pycharm tells me it cannot find modules numpy, matplotlib, etc.
What should I do? I tried to set the interpreter environment, and a few other
options, none s
On 11/26/2017 08:39 AM, bartc wrote:
> The problem was traced to two lines that were in the wrong order (in the
> original program). I can't see how unit tests can have helped in any way
> at all, and it would probably have taken much longer.
What makes you think that? Surely other decoders were
Not sure whether this is an issue for -owner or not; apologies if not.
I'm seeing a whole lot of reasonably-recent posts getting re-sent, with
"nospam" attached to the posters' names. And they're getting re-sent multiple
times. Sometimes the posts have encoding problems (
On 26/11/2017 09:09, Greg Tibbet wrote:
>
> I'm an old timer, have programmed in Fortran, C, C++, Perl, and a bit
> of Java and trying to learn this new-fangled Python language!
>
> I've got a small program that uses PIL to create an image, draw some
> primitives (rectanges, ellipses, etc...) and s
On 11/26/2017 07:11 AM, bartc wrote:
>> You may argue that testing doesn't matter for his small game, written
>> for his own education and amusement. The fact is that software in
>> general is of abysmal quality across the boards, and promoting a habit
>> of unit testing is good, even for trivial,
On Sunday, November 26, 2017 at 4:10:12 AM UTC-5, Greg Tibbet wrote:
> I'm an old timer, have programmed in Fortran, C, C++, Perl, and a bit
> of Java and trying to learn this new-fangled Python language!
>
> I've got a small program that uses PIL to create an image, draw some
> primitives (rectang
On 11/25/2017 12:58 PM, namenobodywa...@gmail.com wrote:
> the idea is that there should be exactly one object posinf (positive
infinity) that compares as strictly greater than any number ever considered,
and exactly one object neginf that compares as strictly less; as the code
stands now there is
On 25/11/2017 23:49, Terry Reedy wrote:
> On 11/25/2017 4:57 PM, namenobodywa...@gmail.com wrote:
>> On Saturday, November 25, 2017 at 12:48:38 AM UTC-8, Terry Reedy wrote:
>>
>>> I did, and it looks buggy to me.â The top and left frame lines are
>>> missing.â If I click a square, the bottom squa
On Mon, Nov 27, 2017 at 12:14 PM, Skip Montanaro
wrote:
>> There seems to be a gateway loop of some sort going on.
>> I'm seeing multiple versions of the same posts in
>> comp.lang.python with different numbers of "nospam"s
>> prepended to the email addre
> There seems to be a gateway loop of some sort going on.
> I'm seeing multiple versions of the same posts in
> comp.lang.python with different numbers of "nospam"s
> prepended to the email address.
This is the second thread about this. I was thinking it might be relat
Mody)
On Sunday, November 26, 2017 at 3:43:29 AM UTC+5:30, Chris Angelico wrote:
> On Sun, Nov 26, 2017 at 9:05 AM, wojtek.mula wrote:
> > Hi, my goal is to obtain an interpreter that internally
> > uses UCS-2. Such a simple code should print 65535:
> >
> > import sys
> > print sys.maxunicode
On Mon, Nov 27, 2017 at 11:04 AM, Skip Montanaro
wrote:
> Chris,
>
> Please forward one or two to me. Mark Sapiro and I have been banging on the
> SpamBayes instance which supports the Usenet gateway. I suppose it's
> possible some change caused the problem you're seeing.
>
> Skip
Sent a couple t
On 25/11/2017 16:07, Michael Torrie wrote:
> On 11/25/2017 06:00 AM, bartc wrote:
>> And there's a quite lot left of the rest of the program to worry about too!
>>
>> If you add 'window()' at the end of the program, then it seems to run on
>> Python 3. I'd play around with it first before thinking
On 26/11/2017 14:23, Chris Angelico wrote:
> On Mon, Nov 27, 2017 at 1:11 AM, bartc wrote:
>> The way I write code isn't incrementally top down or bottom up. It's
>> backwards and forwards. Feedback from different parts means the thing
>> develops as a whole. Sometimes parts are split into distinc
On 26/11/2017 09:09, Greg Tibbet wrote:
>
> I'm an old timer, have programmed in Fortran, C, C++, Perl, and a bit
> of Java and trying to learn this new-fangled Python language!
>
> I've got a small program that uses PIL to create an image, draw some
> primitives (rectanges, ellipses, etc...) and s
On Sunday, November 26, 2017 at 4:10:12 AM UTC-5, Greg Tibbet wrote:
> I'm an old timer, have programmed in Fortran, C, C++, Perl, and a bit
> of Java and trying to learn this new-fangled Python language!
>
> I've got a small program that uses PIL to create an image, draw some
> primitives (rectang
On 25/11/2017 23:49, Terry Reedy wrote:
> On 11/25/2017 4:57 PM, namenobodywa...@gmail.com wrote:
>> On Saturday, November 25, 2017 at 12:48:38 AM UTC-8, Terry Reedy wrote:
>>
>>> I did, and it looks buggy to me.â The top and left frame lines are
>>> missing.â If I click a square, the bottom squa
On 25/11/2017 16:07, Michael Torrie wrote:
> On 11/25/2017 06:00 AM, bartc wrote:
>> And there's a quite lot left of the rest of the program to worry about too!
>>
>> If you add 'window()' at the end of the program, then it seems to run on
>> Python 3. I'd play around with it first before thinking
On Sunday, November 26, 2017 at 3:43:29 AM UTC+5:30, Chris Angelico wrote:
> On Sun, Nov 26, 2017 at 9:05 AM, wojtek.mula wrote:
> > Hi, my goal is to obtain an interpreter that internally
> > uses UCS-2. Such a simple code should print 65535:
> >
> > import sys
> > print sys.maxunicode
> >
>
On 11/25/17 5:05 PM, wojtek.m...@gmail.com wrote:
> Hi, my goal is to obtain an interpreter that internally
> uses UCS-2. Such a simple code should print 65535:
>
>import sys
>print sys.maxunicode
>
> This is enabled in Windows, but I want the same in Linux.
> What options have I pass to th
On 11/25/2017 5:12 PM, Chris Angelico wrote:
> On Sun, Nov 26, 2017 at 9:05 AM, wrote:
>> Hi, my goal is to obtain an interpreter that internally
>> uses UCS-2. Such a simple code should print 65535:
>>
>>import sys
>>print sys.maxunicode
>>
>> This is enabled in Windows, but I want the s
On Sun, Nov 26, 2017 at 10:59 AM, Terry Reedy wrote:
> On 11/25/2017 5:12 PM, Chris Angelico wrote:
>>
>> On Sun, Nov 26, 2017 at 9:05 AM, wrote:
>>>
>>> Hi, my goal is to obtain an interpreter that internally
>>> uses UCS-2. Such a simple code should print 65535:
>>>
>>>import sys
>>>pr
On 26Nov2017 01:09, Greg Tibbet wrote:
>I've got a small program that uses PIL to create an image, draw some
>primitives (rectanges, ellipses, etc...) and save it. Works fine...
>no issues.
>
>I've found in the past, the best way to "really learn" the language
>was to "dig into the guts" and unde
Greg Tibbet wrote:
>
> I'm an old timer, have programmed in Fortran, C, C++, Perl, and a bit
> of Java and trying to learn this new-fangled Python language!
>
> I've got a small program that uses PIL to create an image, draw some
> primitives (rectanges, ellipses, etc...) and save it. Works fine.
Hello,
in PyInstaller we execute several Python scripts one after each other. The
primary use of this is to run some setup prior to the actual appication. Up to
now all scripts shared the same global variables, which worked well for 15
years, but now showed an error. The new code (scratched below)
(Martin =?UTF-8?Q?Sch=C3=B6=C3=B6n?=)
Den 2017-11-26 skrev Cameron Simpson :
> On 25Nov2017 08:34, rusi wrote:
>>On Saturday, November 25, 2017 at 9:45:07 PM UTC+5:30, Michael Torrie wrote:
>>> The problem with mixing repository-installed packages with pip-installed
>>> packages is that there's a
Greg Tibbet wrote:
> ellipse() uses the method self.draw.draw_ellipse() Okay, fine...
> but WHERE is draw_ellipse defined?? What magic is happening there?
> I've searched the entire PIL directory tree, and the ONLY two places
> draw_ellipse is mentioned are right there in the ellipse() functio
I'm an old timer, have programmed in Fortran, C, C++, Perl, and a bit of Java
and trying to learn this new-fangled Python language!
I've got a small program that uses PIL to create an image, draw some primitives
(rectanges, ellipses, etc...) and save it. Works fine... no issues.
I've found in
On 11/25/2017 4:57 PM, namenobodywa...@gmail.com wrote:
> On Saturday, November 25, 2017 at 12:48:38 AM UTC-8, Terry Reedy wrote:
>
>> I did, and it looks buggy to me. The top and left frame lines are
>> missing. If I click a square, the bottom square in the column lights
>> up. But then I have
On Sun, Nov 26, 2017 at 9:05 AM, wrote:
> Hi, my goal is to obtain an interpreter that internally
> uses UCS-2. Such a simple code should print 65535:
>
> import sys
> print sys.maxunicode
>
> This is enabled in Windows, but I want the same in Linux.
> What options have I pass to the configur
On 26/11/2017 09:09, Greg Tibbet wrote:
>
> I'm an old timer, have programmed in Fortran, C, C++, Perl, and a bit
> of Java and trying to learn this new-fangled Python language!
>
> I've got a small program that uses PIL to create an image, draw some
> primitives (rectanges, ellipses, etc...) and s
Greg Tibbet wrote:
>
> I'm an old timer, have programmed in Fortran, C, C++, Perl, and a bit
> of Java and trying to learn this new-fangled Python language!
>
> I've got a small program that uses PIL to create an image, draw some
> primitives (rectanges, ellipses, etc...) and save it. Works fine.
On 11/25/2017 06:00 AM, bartc wrote:
> And there's a quite lot left of the rest of the program to worry about too!
>
> If you add 'window()' at the end of the program, then it seems to run on
> Python 3. I'd play around with it first before thinking up strategies
> for testing it.
Actually, no. U
On 26Nov2017 01:09, Greg Tibbet wrote:
>I've got a small program that uses PIL to create an image, draw some
>primitives (rectanges, ellipses, etc...) and save it. Works fine...
>no issues.
>
>I've found in the past, the best way to "really learn" the language
>was to "dig into the guts" and unde
On Sunday, November 26, 2017 at 4:10:12 AM UTC-5, Greg Tibbet wrote:
> I'm an old timer, have programmed in Fortran, C, C++, Perl, and a bit
> of Java and trying to learn this new-fangled Python language!
>
> I've got a small program that uses PIL to create an image, draw some
> primitives (rectang
On Mon, Nov 27, 2017 at 1:11 AM, bartc wrote:
> The way I write code isn't incrementally top down or bottom up. It's
> backwards and forwards. Feedback from different parts means the thing
> develops as a whole. Sometimes parts are split into distinct sections,
> sometimes different parts are merg
On 25/11/2017 23:49, Terry Reedy wrote:
> On 11/25/2017 4:57 PM, namenobodywa...@gmail.com wrote:
>> On Saturday, November 25, 2017 at 12:48:38 AM UTC-8, Terry Reedy wrote:
>>
>>> I did, and it looks buggy to me.â The top and left frame lines are
>>> missing.â If I click a square, the bottom squa
Greg Tibbet wrote:
> ellipse() uses the method self.draw.draw_ellipse() Okay, fine...
> but WHERE is draw_ellipse defined?? What magic is happening there?
> I've searched the entire PIL directory tree, and the ONLY two places
> draw_ellipse is mentioned are right there in the ellipse() functio
On 26/11/2017 14:23, Chris Angelico wrote:
> On Mon, Nov 27, 2017 at 1:11 AM, bartc wrote:
>> The way I write code isn't incrementally top down or bottom up. It's
>> backwards and forwards. Feedback from different parts means the thing
>> develops as a whole. Sometimes parts are split into distinc
Den 2017-11-26 skrev Cameron Simpson :
> On 25Nov2017 08:34, rusi wrote:
>>On Saturday, November 25, 2017 at 9:45:07 PM UTC+5:30, Michael Torrie wrote:
>>> The problem with mixing repository-installed packages with pip-installed
>>> packages is that there's always a chance a Debian update will ove
26.11.17 01:59, Terry Reedy D¿D,ÑêDµ:
> On 11/25/2017 5:12 PM, Chris Angelico wrote:
>> On Sun, Nov 26, 2017 at 9:05 AM,â wrote:
>>> Hi, my goal is to obtain an interpreter that internally
>>> uses UCS-2. Such a simple code should print 65535:
>>>
>>> â â import sys
>>> â â print sys.maxunicode
Le 26/11/17 Ä 10:09, Greg Tibbet a ÄCcritâ :
> I'm an old timer, have programmed in Fortran, C, C++, Perl, and a bit
> of Java and trying to learn this new-fangled Python language!
>
> I've got a small program that uses PIL to create an image, draw some
> primitives (rectanges, ellipses, etc...) a
On 25/11/2017 16:07, Michael Torrie wrote:
> On 11/25/2017 06:00 AM, bartc wrote:
>> And there's a quite lot left of the rest of the program to worry about too!
>>
>> If you add 'window()' at the end of the program, then it seems to run on
>> Python 3. I'd play around with it first before thinking
On Sun, Nov 26, 2017 at 3:53 PM, Rustom Mody wrote:
> On Sunday, November 26, 2017 at 3:43:29 AM UTC+5:30, Chris Angelico wrote:
>> On Sun, Nov 26, 2017 at 9:05 AM, wojtek.mula wrote:
>> > Hi, my goal is to obtain an interpreter that internally
>> > uses UCS-2. Such a simple code should print 655
Hello,
in PyInstaller we execute several Python scripts one after each other. The
primary use of this is to run some setup prior to the actual appication. Up to
now all scripts shared the same global variables, which worked well for 15
years, but now showed an error. The new code (scratched below)
On Sunday, November 26, 2017 at 3:43:29 AM UTC+5:30, Chris Angelico wrote:
> On Sun, Nov 26, 2017 at 9:05 AM, wojtek.mula wrote:
> > Hi, my goal is to obtain an interpreter that internally
> > uses UCS-2. Such a simple code should print 65535:
> >
> > import sys
> > print sys.maxunicode
> >
>
On 11/25/17 5:05 PM, wojtek.m...@gmail.com wrote:
> Hi, my goal is to obtain an interpreter that internally
> uses UCS-2. Such a simple code should print 65535:
>
>import sys
>print sys.maxunicode
>
> This is enabled in Windows, but I want the same in Linux.
> What options have I pass to th
I'm an old timer, have programmed in Fortran, C, C++, Perl, and a bit of Java
and trying to learn this new-fangled Python language!
I've got a small program that uses PIL to create an image, draw some primitives
(rectanges, ellipses, etc...) and save it. Works fine... no issues.
I've found in
On 25Nov2017 08:34, rusi wrote:
>On Saturday, November 25, 2017 at 9:45:07 PM UTC+5:30, Michael Torrie wrote:
>> The problem with mixing repository-installed packages with pip-installed
>> packages is that there's always a chance a Debian update will overwrite
>> a pip package, possibly with an ol
On Sun, Nov 26, 2017 at 10:59 AM, Terry Reedy wrote:
> On 11/25/2017 5:12 PM, Chris Angelico wrote:
>>
>> On Sun, Nov 26, 2017 at 9:05 AM, wrote:
>>>
>>> Hi, my goal is to obtain an interpreter that internally
>>> uses UCS-2. Such a simple code should print 65535:
>>>
>>>import sys
>>>pr
On 11/25/2017 4:57 PM, namenobodywa...@gmail.com wrote:
> On Saturday, November 25, 2017 at 12:48:38 AM UTC-8, Terry Reedy wrote:
>
>> I did, and it looks buggy to me. The top and left frame lines are
>> missing. If I click a square, the bottom square in the column lights
>> up. But then I have
On 11/25/2017 5:12 PM, Chris Angelico wrote:
> On Sun, Nov 26, 2017 at 9:05 AM, wrote:
>> Hi, my goal is to obtain an interpreter that internally
>> uses UCS-2. Such a simple code should print 65535:
>>
>>import sys
>>print sys.maxunicode
>>
>> This is enabled in Windows, but I want the s
On Sun, Nov 26, 2017 at 9:05 AM, wrote:
> Hi, my goal is to obtain an interpreter that internally
> uses UCS-2. Such a simple code should print 65535:
>
> import sys
> print sys.maxunicode
>
> This is enabled in Windows, but I want the same in Linux.
> What options have I pass to the configur
On 11/25/2017 06:00 AM, bartc wrote:
> And there's a quite lot left of the rest of the program to worry about too!
>
> If you add 'window()' at the end of the program, then it seems to run on
> Python 3. I'd play around with it first before thinking up strategies
> for testing it.
Actually, no. U
I want to process a bunch of processes that all talk to each other. I've
figured out how to do this using queues with the main process as the mail
handler, but I'd rather have them talk directly. If I use connections, then I
can pass the pipes to the processes, but there doesn't seem to be anythin
On 06/09/2016 11:23, Peter Otten wrote:
> If so look at
>
>> > ...: def __str__(self):
>> > ...: return "Visitor: %i, Contacts: %i %
>> > (self.visits,self.contacts)"
> once more. Where are the quotes? Where should the be?
>
>
>
I solved the problem.
thank you Peter
--
https
"nf7" writes:
> MacVim is the best text editor...
fighting talk!
:)
--
https://mail.python.org/mailman/listinfo/python-list
patrick vrijlandt writes:
> Thanks. Do you all agree that Mercurial is the way to go, or is there
> another "distributed version control system" that I should shortlist?
git is popular too. In the long run it's probably worth getting
experience with both.
--
https://mail.python.org/mailman/li
Is there any way to extend the dictonary in such manner that I can
insert muliplay value to each keys and return one of the value as the
default value. I would like to have similar syste that I drawed out below.
tree[nucelotide_postionc][nucleotide]=default(value subtree) This should
be retur
How should I write a tree using diconary. I have used a dictonary to
make a tree.
tree={best:collections.defaultdict(lambda:default)} in a id3 tree.
Is there a way to multple values and when then only return on type of
values.
I tried this apporach but it did not work.
class Tree:
def _
Hi!
I noted, also, than, in some cases, Python26.dll is not copied in
%WINDIR%\system32
After that, external softs don't find the DLL.
But it's a detail, because it's easy to copy the DLL with install
scripts.
@-salutations
--
Michel Claveau
--
http://mail.python.org/mailman/listinfo/pytho
Hi!
Thank you very much for your answer. I appreciate many to receive an
answer of somebody as you.
But I, always, install Python 2.6.1 "for all users" (and, on Vista, UAC
is always deactivated).
After some tests, the problem seems a bit more complex: call the
Python-COM-servers run OK, fr
Hi, all!
I have several softwares using Python+PyWin32, often as COMèserver. Ok
with Python 2.5.x. I want migrate to Python 2.6.
But when I install python-2.6.1.msi + pywin32-212.win32-py2.6, my softs
don't run.
Tried on five machines (two XP & three Vista).
But... if I install python-2.6.
1 - 100 of 117 matches
Mail list logo