click on either of the yes/no
buttons, i get a True/False on the std out and the dialog box closes but the
parent window remains and seems to hang. This is on WinXP by the way. Is
this normal behaviour? How do I get the dialog box appearing without the
parent window or is this not possible
Hi folks!
Throughout my python development career, I've occasionally made
various developer tools to show more information about assertions or
exceptions with less hassle to the programmer. Until now, these tools
didn't pass a utility vs pain-to-use threshold.
Now I've created a tool I believe t
On 2/20/07, Nathan <[EMAIL PROTECTED]> wrote:
> On 2/19/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
> > En Mon, 19 Feb 2007 21:50:11 -0300, GiBo <[EMAIL PROTECTED]> escribió:
> >
> > > Grant Edwards wrote:
> > >> On 2007-02-19, GiBo <[E
On 2/19/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote:
> En Mon, 19 Feb 2007 21:50:11 -0300, GiBo <[EMAIL PROTECTED]> escribió:
>
> > Grant Edwards wrote:
> >> On 2007-02-19, GiBo <[EMAIL PROTECTED]> wrote:
> >>>
> >>> Classic situation - I have to process an input stream of unknown length
> >>>
I am having issues correctly implementing the multi-file read
functionality in the Python module netCDF4 (whitaker -
http://code.google.com/p/netcdf4-python/). I am a relative beginner
to Python, so I may be missing something simple. I've done my best to
follow the example in the documentation at
Is there an easy way to merge two numpy arrays with different rank
sizes (terminology?). I want to make a single array by concatenating
two arrays along a given direction and filling the excess cells with a
dummy variable. numpy concatenate works well as long as the two
arrays have the same dimen
-- Forwarded message --
From: Nathan Spicer
Date: Tue, Sep 18, 2012 at 8:32 PM
Subject: Programming Issues
To: webmas...@python.org
Hello,
My name is Nathan Spicer. I'm taking a computer programming class using
python. I have a project that's due in a week and I
PyPi name: constraintslib (you'll be dissapointed if you get
constraints by accident)
Docs: http://packages.python.org/constraintslib/
Github: https://github.com/nathan-rice/Constraints
>From the docs:
Constraints - Sleek contract-style validati
ent error, such as ValueError (in
> particular for preconditions)?
Currently, no. I would like to add an event mechanism, or some kind
of function hooks (ala Enthought Traits but much lighter). I'm sure
I'll come up with something soon :)
Nathan
--
http://mail.python.org/mailman/listinfo/python-list
As you can probably tell from my other projects, I'm bad at coming up
>> with snappy names.
>
> I'm bad at doing research on previous projects ;)
I guess I'm not plugging my other projects enough... You should check
out elementwise.
Thanks,
Nathan
--
http://mail.python.org/mailman/listinfo/python-list
re
their macro produces concise code.
>> And proving that your translator is always correct
>
> That's what unit tests are for.
I have a love hate affair with unit tests. You need them, but I'd
really rather analytically prove that my software is correct under
some set of assumptions.
Cheers,
Nathan
--
http://mail.python.org/mailman/listinfo/python-list
furatiates me. I usually end up finding modules via
Stack Overflow, which seems silly to me.
Nathan
--
http://mail.python.org/mailman/listinfo/python-list
it. I am too lazy to write a frozendict or import one, but I would
use it if it was a builtin.
Nathan
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Feb 9, 2012 at 5:33 AM, Duncan Booth
wrote:
> Nathan Rice wrote:
>
>> I put dicts in sets all the time. I just tuple the items, but that
>> means you have to re-dict it on the way out to do anything useful with
>> it. I am too lazy to write a frozendict or
#x27;t add/delete keys between calls.
As I said, two dictionaries created from the same input will be the
same... 'ai' != 'ia'. If I need to hash a dict that I don't know was
created in a deterministic order, I'd frozenset(thedict.items()).
Nathan
--
http://mail.python.org/mailman/listinfo/python-list
On Thu, Feb 9, 2012 at 11:35 AM, Ian Kelly wrote:
> On Thu, Feb 9, 2012 at 8:19 AM, Nathan Rice
> wrote:
>> As I said, two dictionaries created from the same input will be the
>> same...
>
> That's an implementation detail, not a guarantee. It will hold for
> cur
On Thu, Feb 9, 2012 at 8:24 PM, Steven D'Aprano
wrote:
> On Thu, 09 Feb 2012 09:35:52 -0700, Ian Kelly wrote:
>
>> On Thu, Feb 9, 2012 at 8:19 AM, Nathan Rice
>> wrote:
>>> As I said, two dictionaries created from the same input will be the
>>> same...
&
On Fri, Feb 10, 2012 at 5:08 AM, Chris Angelico wrote:
> On Fri, Feb 10, 2012 at 1:30 PM, Nathan Rice
> wrote:
>> The only thing needed to avoid the hash collision is that your hash
>> function is not not 100% predictable just by looking at the python
>> source code. I
ge communist in
that regard (historically a dangerous philosophy :)
As an aside, I find it kind of schizophrenic how on one hand Python is
billed as a language for consenting adults (see duck typing, no data
hiding, etc) and on the other hand users need to be protected from
themselves. Bett
eat when you want a method or
property that does something concrete when passed an instance, or
something abstract relating to all instances when passed a class.
Nathan
--
http://mail.python.org/mailman/listinfo/python-list
g things that are generally
> good for the packaging ecosystem is something I hope to do.
I think providing commit hooks for version control ala read the docs
is the #1 thing you could do in the short term to add a lot of value.
That would be enough for me to adopt the service :)
Nathan
--
ht
Just to troll the discussion a little bit more...
On Sun, Mar 18, 2012 at 6:02 PM, Chris Angelico wrote:
> On Mon, Mar 19, 2012 at 8:30 AM, John Ladasky wrote:
>> What I would say is that, when PROGRAMMERS look at Python code for the
>> first time, they will understand what it does more readily
>> This is one of my gripes with the dogmatic application of the "break it
>> into multiple statements" mantra of Python.
>
> I must admit I don't recognise that one, unless you're talking about "not
> everything needs to be a one liner".
> ...
> Perhaps you could give some examples (actual or cont
>>> The fact that scientific journal articles start with a documentation
>>> string
>>> called an abstract does not indicate that scientific English fails as a
>>> human communication medium. Function docstrings say what the function
>>> does
>>> and how to use it without reading the code. They can
>> One example is performing a series of transformations on a collection of
>> data, with the intent of finding an element of that collection that
>> satisfies a particular criterion. If you separate out the individual
>> transformations, you need to understand generators or you will waste
>> spac
MOAR TROLLING...
>> In my opinion, people who make statements such as "#1/2 are imperative,
>> #3 is OO" are missing pretty much the entire point of what OO is.
>>
>> OO is much more about semantics and the way code is structured. The
>> difference between #1/2 (especially #1, of course) and #3 is
>> If I'm reading you correctly, you're expressing frustration with the
>> state of language syntax unification in 2012. You mention language in a
>> broad sense (not just programming languages, but also English, math,
>> logic, etc.), but even in the narrow context of programming languages,
>> th
On Thu, Mar 22, 2012 at 9:17 AM, Chris Angelico wrote:
> On Thu, Mar 22, 2012 at 11:47 PM, Nathan Rice
> wrote:
>> Having one core language with
>> many DSLs that can interoperate is infinitely better than having many
>> languages that cannot. A language designed
and "the
> interconnectedness of all things" into it :)
Math/Logic are encompassing. I could draw analogies to quantum theory
if you really wanted (category theory is great for this sort of
thing). As for the interconnectedness of all things, that is quack
language, I do science.
&g
>> For example, your ability to reason about the behavior of the system
>> you posited as a whole is limited. Are there parts of the different
>> modules that can execute concurrently? Is the output of module1
>> guaranteed to be acceptable as the input for module2? Is part of
>> module3 redunda
>> Do you think we'll always have a huge number of incompatible
>> programming languages? I agree with you that it's a fact of life in
>> 2012, but will it be a fact of life in 2062?
>
> It will be a fact of life wherever Godels theorem is; which put
> simplistically is: consistency and completene
Logo. It's turtles all the way down.
--
http://mail.python.org/mailman/listinfo/python-list
stops when a function is applied to an empty
> sequence.
> Flows can be saved (push) and restored (pop) :
> [1,2,3,4] - push - by(2) - 'double' - pop | val('double')
> <=> [1,2,3,4] | [2,4,6,8]
> There are easier ways to achieve the same result, of course:
> [1,2,3,4] - [id, by(2)]
You are grasping at an algebra here, a sort of calculus of temporal
observations. You need to step back and make it rigorous before you
worry about issues such as a readable syntax.
Nathan
--
http://mail.python.org/mailman/listinfo/python-list
>>> I will use "<=>" to mean "is equivalent to". That's not part of the DSL.
>>> A flow has one or more streams:
>>> 1 stream:
>>> [1,2,3]
>>> 2 streams:
>>> [1,3,5] | [2,4,6]
>>> Two flows can be concatenated:
>>> [1,2,3] + [4,5,6]<=> [1,2,3,4,5,6]
>>> [0] + ([1,2] | [3,4]) + [
>> I understand what
>> you're trying to communicate, so I think you need to be a little more
>> strict and explicit in your definitions.
>
>
> No, I don't think you understand what I meant.
I don't agree. Sorry.
> Yes. I thought that streams as an alternative to functional programming were
> wi
On Wed, Mar 28, 2012 at 9:33 PM, Chris Angelico wrote:
> On Thu, Mar 29, 2012 at 11:59 AM, Rodrick Brown
> wrote:
>> The best skill any developer can have is the ability to pickup languages
>> very quickly and know what tools work well for which task.
>
> Definitely. Not just languages but all
On Thu, Mar 29, 2012 at 10:03 AM, Chris Angelico wrote:
> On Fri, Mar 30, 2012 at 12:44 AM, Nathan Rice
> wrote:
>> We would be better off if all the time that was spent on learning
>> syntax, memorizing library organization and becoming proficient with
>> new tool
On Thu, Mar 29, 2012 at 2:53 PM, Devin Jeanpierre
wrote:
> Agreed with your entire first chunk 100%. Woohoo! High five. :)
Damn, then I'm not trolling hard enough ಠ_ಠ
> On Thu, Mar 29, 2012 at 1:48 PM, Nathan Rice
> wrote:
>> transformations on lists of data are natura
On Thu, Mar 29, 2012 at 9:44 AM, Albert van der Horst
wrote:
> In article ,
> Nathan Rice wrote:
>>>
>>> http://www.joelonsoftware.com/articles/fog18.html
>>
>>I read that article a long time ago, it was bullshit then, it is
>>bullshit now.
On Thu, Mar 29, 2012 at 7:37 PM, Devin Jeanpierre
wrote:
> On Thu, Mar 29, 2012 at 3:50 PM, Nathan Rice
> wrote:
>> Well, a lisp-like language. I would also argue that if you are using
>> macros to do anything, the thing you are trying to do should classify
>>
> He did no such thing. I challenge you to find me one place where Joel has
> *ever* claimed that "the very notion of abstraction" is meaningless or
> without use.
"When great thinkers think about problems, they start to see patterns.
They look at the problem of people sending each other word-proc
>>> He did no such thing. I challenge you to find me one place where Joel
>>> has *ever* claimed that "the very notion of abstraction" is meaningless
>>> or without use.
> [snip quote]
>> To me, this directly indicates he views higher order abstractions
>> skeptically,
>
> Yes he does, and so we al
ou can follow me here, and further I
>> hope you can see that this is a completely valid description of what is
>> actually going on (from a different perspective).
> [...]
>> What does pushing the abstraction point that far up provide?
>
> I see why you are so hostile towar
>> Mathematics is all about abstraction. There are theories and structures
>> in mathematics that have probably gone over a hundred years before being
>> applied. As an analogy, just because a spear isn't useful while farming
>> doesn't mean it won't save your life when you venture into the woods
On Fri, Mar 30, 2012 at 12:20 PM, Chris Angelico wrote:
> On Sat, Mar 31, 2012 at 12:46 AM, Nathan Rice
> wrote:
>> I believe in the idea of "things should be as simple as possible, but
>> not simpler". Programming as it currently exists is absolutely
>> c
> This is more a matter of being unable to express themselves
> appropriately. If I allowed them to write an exact process of steps to
> do what's required, those steps would either be grossly insufficient
> for the task, or would BE pseudo-code. There are plenty of people who
> cannot write those
On Fri, Mar 30, 2012 at 4:20 PM, Chris Angelico wrote:
> On Sat, Mar 31, 2012 at 6:55 AM, Nathan Rice
> wrote:
>> I think you'd find that these "non coders" would do very well if given
>> the ability to provide instructions in a natural, interactive way.
&
On Fri, Mar 30, 2012 at 5:45 PM, Chris Angelico wrote:
> On Sat, Mar 31, 2012 at 7:58 AM, Nathan Rice
> wrote:
>> Programming
>> language designers purposefully try to make their language C-like,
>> because not being C-like disqualifies a language from consideration
On Sat, Mar 31, 2012 at 2:15 AM, Lie Ryan wrote:
> On 03/21/2012 03:55 AM, Nathan Rice wrote:
>>
>>
>
> I think you've just described that greedy algorithm can't always find the
> globally optimal solution.
Right. Using gradient descent on an algebraic su
On Sun, Apr 1, 2012 at 11:18 PM, alex23 wrote:
> On Mar 30, 3:37 pm, Nathan Rice
> wrote:
>> We live in a world where the tools that are used are based on
>> tradition (read that as backwards compatibility if it makes you feel
>> better) and as a mechanism for deriving
On Tue, Apr 3, 2012 at 1:40 AM, alex23 wrote:
> On Apr 3, 2:55 pm, Nathan Rice
> wrote:
>> I don't care what people do related to legacy systems.
>
> And that's what earns you the label 'architecture astronaut'. Legacy
> systems are _part_ of the pro
On Tue, Apr 3, 2012 at 9:51 AM, rusi wrote:
> On Apr 3, 5:39 pm, Nathan Rice
> wrote:
>>
>> Don't think "underlying", instead think "canonical".
>>
>> Ultimately, the answers to your questions exist in the world for you
>> to see.
On Tue, Apr 3, 2012 at 11:01 AM, Ian Kelly wrote:
> On Tue, Apr 3, 2012 at 6:39 AM, Nathan Rice
> wrote:
>> Did you miss the part where I said that most people who learn to
>> program are fascinated by computers and highly motivated to do so?
>> I've never met a BRO
pes are a tool that astronomers use to view the stars.
On Tue, Apr 3, 2012 at 1:25 PM, rusi wrote:
> All this futuristic grandiloquence:
>
> On Apr 3, 10:17 pm, Nathan Rice
> wrote:
>> The crux of my view is that programming languages exist in part
>> because computers in
On Tue, Apr 3, 2012 at 4:20 PM, Terry Reedy wrote:
> On 4/3/2012 8:39 AM, Nathan Rice wrote:
>
>> Ultimately, the answers to your questions exist in the world for you
>> to see. How does a surgeon describe a surgical procedure? How does a
>> chef describe a recip
On Wed, Apr 4, 2012 at 1:49 AM, Steven D'Aprano
wrote:
> On Tue, 03 Apr 2012 13:17:18 -0400, Nathan Rice wrote:
>
>> I have never met a programmer that was not completely into computers.
>> That leaves a lot unspecified though.
>
> You haven't looked hard enough.
> Long personal note ahead.
> tl;dr version: Computers are such a large shift for human civilization
> that generally we dont get what that shift is about or towards.
Another option: since *computers* are such a general device, there
isn't just one notion.
> In the long run I expect computing sci
> The "building cabinets" problem is interesting:
>
> 1. To actually build a cabinet, there's a lot of domain knowledge
> that's probably implicit in most circumstances. A carpenter might
> tell another carpenter which hinge to use, but they won't have to talk
> about why doors need hinges or how
Re-trolling.
On Wed, Apr 4, 2012 at 1:49 AM, Steven D'Aprano
wrote:
>> As part of my troll-outreach effort, I will indulge here. I was
>> specifically thinking about some earlier claims that programming
>> languages as they currently exist are somehow inherently superior to a
>> formalized natur
public FooClass(String requiredArgument1, Long requiredArgument2, map
yourOptionalArgumentMap) {
...
}
--
http://mail.python.org/mailman/listinfo/python-list
hi John
it's simple,
let's make a little modification for the scipt:
def fib(x):
if x==0 or x==1: return 1
else: return fib(x-1) + fib(x-2)
for i in range(10):
print 'fib(%s): ' % i, fib(i)
result:
fib(0): 1
fib(1): 1
fib(2): 2
fib(3): 3
fib(4): 5
fib(5): 8
fib(6): 13
fib(7):
clude/python3.2/pyerrors.h:361:0: note:
this is the location of the previous definition
it is defined in SDL_config.h as
#define HAVE_SNPRINTF 1
although no clue if it's related... probably a red herring
--
Nathan Coulson (conathan)
--
Location: British Columbia, Canada
Timezone: PS
Recompiling SDL, using --disable-stdio-redirect fixed this problem.
On Tue, Mar 15, 2011 at 1:48 AM, Nathan Coulson wrote:
> I began porting one of my projects from linux (no problems under
> linux) to windows, but I am getting the following problem when
> attempting to run it (This w
hash of the local file
matches a hash provided by the server.
I was also wondering, if you could construct a module, without a .py
file, and define functions and variables.
--
Nathan Coulson (conathan)
--
Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http
.amd64.msi /qb
TARGETDIR=out. Either case, libs/libpython31.a is not there.
as a last resort, tried cross compiling it with my tools, but a few
google searches tell me that way will lead to headaches, and currently
not supported out of the box.
--
Nathan Coulson (conathan)
--
Location: British
On Wed, Apr 13, 2011 at 7:03 PM, David Cournapeau wrote:
> On Wed, Apr 13, 2011 at 5:17 PM, Nathan Coulson wrote:
>> Well, as the subject says, I am looking to find libpython31.a
>> [win64bit version] for use in a linux to windows 64bit cross compiler
>> [x86_64-w64-mingw3
On Wed, Apr 13, 2011 at 7:53 PM, David Cournapeau wrote:
> On Thu, Apr 14, 2011 at 11:28 AM, Nathan Coulson wrote:
>
>> actually figured out a neat trick, mingw-w64 can link directly to the .dll.
>> gcc file.c python31.dll -o file.exe
>>
>> no .a needed.
&
dict= {10: ['a',1,'c'], 20: ['d',2,'f']}
p = sum([dict[i][1] for i in dict])
Something like that?
On Sat, Oct 7, 2017 at 11:07 PM, Andrew Z wrote:
> Hello,
> i wonder how can i accomplish the following as a one liner:
>
> dict= {10: ['a',1,'c'], 20: ['d',2,'f']}
> p = 0
> for i in dict:
>
Hit wrong button before.
-- Forwarded message --
From: Nathan Hilterbrand
Date: Tue, Oct 17, 2017 at 2:22 PM
Subject: Re: Is there a function of ipaddress to get the subnet only from
input like 192.168.1.129/25
To: Rob Gaddi
I may have misunderstood what you were looking for
Absolutely, Stefan! I like yours a lot better. I am an old perl hack that
is still learning the ins and outs of Python, and this is just the sort of
thing that I like to see.
Thanks!
On Tue, Oct 17, 2017 at 4:19 PM, Stefan Ram wrote:
> Nathan Hilterbrand writes:
> >I may have misu
e:
Python 3.5.2 (default, Sep 14 2017, 22:51:06)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> a = 1
>>> b = 2
>>> id(a)
10911168
>>> id(b)
10911200
>>> c = 1
Note that this issue is mentioned in the pymssql FAQ:
http://pymssql.org/en/stable/faq.html#pymssql-does-not-unserialize-date-and-time-columns-to-datetime-date-and-datetime-time-instances
Regards,
Nathan
On Mon, Sep 12, 2016 at 8:29 PM, Dennis Lee Bieber
wrote:
> On Tue, 13 Sep 2016 00:52
The grammar and what it represents is defined at
https://docs.python.org/3/reference/expressions.html#expression-lists
Regards
On Sep 16, 2016 9:59 PM, "Peng Yu" wrote:
> OK. But it is documented somewhere in python doc?
>
> On Fri, Sep 16, 2016 at 9:48 PM, Lawrence D’Oliveiro
> wrote:
> > On
On Mon, Sep 26, 2016 at 6:00 PM, MRAB wrote:
> On 2016-09-26 23:03, M2 wrote:
>
>> Hello
>> The program is designed to collect different statistics from servers
>> across the network and populate in excel sheet.
>> Library : xlsxwriter.0.9.3
>>
>> Below is the Snip of code being used
>> #! /usr/b
Mohan Mohta wrote:
> > > On Monday, September 26, 2016 at 6:56:20 PM UTC-5, Nathan Ernst wrote:
> > >> On Mon, Sep 26, 2016 at 6:00 PM, MRAB
> wrote:
> > >>
> > >> > On 2016-09-26 23:03, M2 wrote:
> > >> >
> > >> >&g
No, because you've not provided anything resembling a question or a
problem. Please provide a minimal example set of code that exposes the
problem you are encountering, and describe the problem you are having. And
note that we will not write code for you if it ends up looking like a
homework proble
In regards to performance of Lua vs Python, I don't have enough (near zero
experience) with Lua to comment there.
But in regards to embedding in a game, the only experience I have w/ Python
being embedded is while working on modding Civilization IV. What I saw
there just made me nauseous.
The rea
I would also toss in there: never name a script test.py. Causes nothing but
trouble, at least in python2.
On Nov 17, 2016 8:01 PM, wrote:
> Steven D'Aprano at 2016/11/17 4:04:04PM wrote:
> > The most important thing you should learn from this thread is:
> >
> > - avoid using "from module import
I'm using Python 3.5.2, and the following code (when invoked) causes a
PendingDeprecationWarning when used in a unit test:
def identity(x):
return x
def adjacent_difference(seq, selector=identity):
i = iter(seq)
l = selector(next(i))
while True:
r = selector(next(i))
yield r - l
(i))
yield r - l
l = r
except StopIteration:
return
On Tue, Nov 22, 2016 at 9:02 PM, MRAB wrote:
> On 2016-11-23 02:50, Nathan Ernst wrote:
>
>> I'm using Python 3.5.2, and the following code (when invoked) causes a
>> PendingDeprecationWarning w
Thanks, ChrisA
On Tue, Nov 22, 2016 at 9:24 PM, Chris Angelico wrote:
> On Wed, Nov 23, 2016 at 2:14 PM, Nathan Ernst
> wrote:
> > I was not aware of that PEP.
> >
> > The logic in my function is exactly as desired, so to squelch the
> warning,
> > I mere
I don't see anything in that output resembling an error, just a few
warnings that some features may no be available.
Have you tried importing pygame after you did that? That's what'll prove
one way or another that it worked.
Regards,
Nate
On Wed, Nov 23, 2016 at 10:48 PM, Cai Gengyang
wrote:
>
You're attempting to print out control characters most of which have no
visible representation. For "\7", at least if you're running from bash, and
not in an IDE, you should get an audible bell. All decimal ordinals below
32 are control
You can find a list of the symbols here:
http://en.cppreferen
Sure, what if the input used a double quote instead of single, cursory
glance looks like it might vulnerable.
(Not trying to be argumentative here)
On Nov 26, 2016 7:21 PM, "Steve D'Aprano"
wrote:
> On Sun, 27 Nov 2016 11:25 am, Chris Angelico wrote:
>
> > On Sun, Nov 27, 2016 at 11:13 AM, Stev
You're right. Didn't look closely enough at it in my phone. Still don't
think i'd recommend this in a general solution, though. You effectively
have to white-list code snippets. Not very useful.
On Nov 26, 2016 7:51 PM, "Michael Torrie" wrote:
> On 11/26/
To be fair, in other languages, such as C# or C++ with similar mechanisms,
if you don't ask for the result from an async or future task, there's no
guarantee the async task will be executed at all unless (or until) you ask
for the result. C++'s futures even give an explicit flag indicating you
want
,
you'd have to take that up with Microsoft (and I'll doubt you'll make a
convincing enough argument for them to change it).
What is allowed on linux may be defined by linux itself, and it may be
restricted by the filesystem type itself (I don't know).
Regards,
Nathan
On Mon, De
Ifyou're running on Windows 10, at least, you can soon purge that memory.
command.com doesn't exist (may never have existed on Win2k, XP, Vista, 7,
8, 8.1 or 10). If I try and run either "command" or "command.com" from
Win10, both say command cannot be found.
IIRC, command.com was a relic of Win9x
OT, but I'm curious, do they explain *why* it's wrong and give an
alternative, or just outright deride it as "the wrong way". I ask because
I've read similar complaints about the community around systemd, but as it
rarely affects me personally, I've never bothered to care.
On Mon, Dec 5, 2016 at 8
One other consideration in regards to globbing in the argument list:
there's a static limit to the byte length of argv. On windows, it's 8191
bytes (I'm assuming a null-terminator brings that to 8192, which is a weird
2**13). For Linux, as of kernal 2.6.25, apparently, the limit is 131072
bytes, an
With a case-sensitive file system, how do you search only for 'harry', not
knowing what combinations of upper and lower case have been used? (It's a
good thing Google search isn't case sensitive!)
On Linux, I'd do "find . -iname harry". A lot, but not all, of the tools
usually have options to igno
Have you looked into Visual Studio Code (https://code.visualstudio.com/)?
I've not used it extensively, and only on Windows, but it's an open source
IDE originated by MS that purportedly works on Windows, Linux & OS X.
It does have pretty decent Python support (haven't tried debugging, but
syntax
I used to manually reformat unfamiliar C++ by hand, if for no other reason
in that it forced me to read the code and somewhat comprehend what was
going on. Now, I've lost my patience and use clang-format, a great & highly
configurable tool. I also use vim for Python & C++ coding, so I also rely
upo
I mostly agree with this
On Mon, Jan 30, 2017 at 7:18 PM, Joseph L. Casale wrote:
> > C# hardly seems any better than Java to me as far as a language goes.
>
> Which sounds pretty good to me, they are both high performance, mature
> and rich languages.
>
> > Being forced into working with classe
t;xst
thread-name"})
how can I get the text in tag em and tag a under tag span?
thank you for your support!
Nathan
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, Jun 13, 2018 at 4:08 AM, Ganesh Pal wrote:
> Hi Team,
>
> I wanted to parse a file and extract few feilds that are present after "="
> in a text file .
>
>
> Example , form the below line I need to extract the values present after
> --struct =, --loc=, --size= and --log_file=
>
> Sample
good, clean,
and definitely did fall a bit short with pylint.
I have worked for asshat managers before. It is something to be avoided.
Nathan
--
https://mail.python.org/mailman/listinfo/python-list
Hi,
Can anyone tell me if pygame and Tkinter can work together in the same
application? I thought I'd better ask before trying it, since both use
widgets.
Thanks,
Nathan Pinno
--
For great sites go to: http://www.the-web-surfers-store.com
MSN Messenger: [EMAIL PROTECTED],com
Yahoo! Mess
Thanks. I was going to use TKInter to pop up a message box, then use pygame
to run the game and display the score on the playing surface. Is this still
possible (I'm using Python 2.4.1 and Pygame 1.7.0 on WinXP with Service Pack
2)?
Nathan Pinno
Nathan Pinno,
Owner/operator of The Web Sur
Sounds good, I'll give it a try and see what happens, and report back about
my results.
Nathan Pinno,
Owner/operator of The Web Surfer's Store.
http://www.the-web-surfers-store.com/
MSN Messenger: [EMAIL PROTECTED]
Yahoo! Messenger: spam_swatter31
AIM: f3mighty
ICQ: 199020705
---
1 - 100 of 287 matches
Mail list logo