s the final sum() of
everything.
df['Name'].isnull().sum()
--
Thanks!
*Sarah Wallace*
sarah.wallac...@gmail.com
--
Thanks!
*Sarah Wallace*
sarah.wallac...@gmail.com
214.300.1064
--
https://mail.python.org/mailman/listinfo/python-list
programmer and I can’t understand the highly technical, expert
level documentation that might rectify the problem and there is only a small
amount of information anyway.
I just want to download Python to C drive on windows, it should be really
easy...
Hope you can help
Sarah Padden
--
https
eather Miller (Ecole Polytechnique Federale de Lausanne, Switzerland)
* Sarah Mount (University of Wolverhampton, UK)
* Alan Mycroft (University of Cambridge, UK)
* Dominic Orchard (co-chair) (Imperial College London, UK)
* Jeff Overbey (Auburn University, AL, US)
* Max Schaefer (Semmle Ltd.,
Hello,
NYC Python is hosting a conference, PyGotham http://pygotham.org/ The call for
proposals is open until the 20th
(http://pygotham.org/talks/call-for-proposals), and we're also looking for
sponsors (http://pygotham.org/sponsors/prospectus). It's going to be awesome!
Che
is still actively using our old syllabus (or
a variant). You can reach him here: http://dis-dot-dat.net/
Sarah
--
Sarah Mount, Senior Lecturer, University of Wolverhampton
website: http://www.snim2.org/
twitter: @snim2
--
http://mail.python.org/mailman/listinfo/python-list
i want to know that what this function returns???
and what does this function do??
--
http://mail.python.org/mailman/listinfo/python-list
hi
i face with this problem when i want to run this command on cygwin:
python httpd.py 8000 example-300-1k-rigid.py
Dfghfji12d52s35s2sswee9E
with this error :0
Exception happened during processing of request from ('127.0.0.1',
35868)
Traceback (most recent call last):
File "/usr/local/lib/p
On 5 May 2010 10:17, Carl Banks wrote:
> On May 2, 11:06 am, Sarah Mount wrote:
>> This is a bit of an odd question, but is there any way for a Python
>> debugger to suppress I/O generated by the program which is being
>> debugged? I guess an "obvious" thing
s dicts to fake ones which don't generate I/O, but
this seems brittle as the standard library will change over time. Is
it possible to modify the byte-compiled code in each stack frame? Or
is there a simpler way to do this?
Many thanks,
Sarah
--
Sarah Mount, Senior Lecturer, University o
I am writing an IF statement which basically says if the value is a
str.isdigit() it should run the command or ELSE print please enter a numeric
value next time.
Even when I enter a number though ie. An integer it is going straight to the
else command - what code do I need to add that will reco
> IIRC, wxPython license has nothing to do with GPL. Its license is far
more
> "free" than GPL is. If you want to create commercial apps with
wxPython, you
> can do it without messing with licenses.
This isn't a commercial app though, it's for a research project and
apparently it's a requirement t
we have some Python code we're planning to GPL. However, bits of it were
cut&pasted from some wxPython-licenced code to use as a starting point
for implementation. It is possible that some fragments of this code
remains unchanged at the end.
How should we refer to this in terms of copyright statem
I have to split some identifiers that are casedLikeThis into their
component words. In this instance I can safely use [A-Z] to represent
uppercase, but what pattern should I use if I wanted it to work more
generally? I can envisage walking the string testing the
unicodedata.category of each char, b
> 1) Something that fixes the broken name mangling in the current
> system, but still doesn't try to defeat intentional unmangling.
> Currently, if you have a class with the same name as one of its
> superclasses, the name mangling can fail even its existing purpose of
> preventing accidental colli
> The only cases I see the first school of thought is when the resource
> in question is "scarce" in some way.
By "resource" I meant anything with some sort of acquire/release
semantics. There may be plenty of threading.Locks available, but it's
still important that a given Lock is released when n
When handling resources in Python, where the scope of the resource is
known, there seem to be two schools of thought:
(1) Explicit:
f = open(fname)
try:
# ...
finally:
f.close()
(2) Implicit: let the GC handle it.
I've come up with a third method that uses decorators to achieve a
useful
I have a peculiar problem that, naturally, I cannot reproduce outside
the fairly long-winded code that spawned it. Thus the code snippets here
should be taken as shorthand for what I think are the relevant bits,
without actually leading to the erroneous (or at least undesired)
behaviour described.
(My Python uses UTF16 natively; can someone with UTF32 Python let me
know if that behaves differently?)
>>> import codecs
>>> u'\ud800' # part of surrogate pair
u'\ud800'
codecs.utf_16_be_encode(_)[0]
'\xd8\x00'
codecs.utf_16_be_decode(_)[0]
Traceback (most recent call last):
File "", line 1, in
"Michele Simionato" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> BTW, what it your use case? I have yet to see a single compelling use
> case for multiple inheritance, so I am
> curious of what your design is.
Before I start, I should mention that my workaround I listed previousl
Trying to create the "lopsided diamond" inheritance below:
>>> class B(object):pass
>>> class D1(B):pass
>>> class D2(D1):pass
>>> class D(D1, D2):pass
Traceback (most recent call last):
File "", line 1, in ?
TypeError: Error when calling the metaclass bases
Cannot create a consistent method
"fo" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This is a network app, written in wxPython and the socket module. This
> is what I want to happen:
I'm not sure if this will help you, but it solved what was, for me, a
more general problem: not (normally) being able to issue w
(Having problems receiving wxPython mailing list entries, so I'll ask here.)
I'm using wxPython 2.5.4, windows ansi version, on Python 2.4, the OS in
Win98SE. My application manipulates a graph, with CircleShapes for nodes and
LineShapes for arcs. The user needs to be able to get and set text on a
Long story short: what I'm looking for is information on how have a Python
app that:
* embeds an editor (or wxNoteBook full of editors)
* loads code from the editors' text pane into the app
* executes bits of it
* then later unloads to make way for an edited version of the code.
The new version nee
I'm talk from the point of view of descriptors. Consider
a.x = lambda self:None # simple function
When a.x is later got, what criterion is used to see if a class (and so the
func would have __get__(None, a) called on it)? Pre-metaclasses, one might
assume it was
isinstance(a, (types.TypeType, ty
24 matches
Mail list logo