I downloaded Python but when I try to run Idle it says it is not found and
I should try to redownload it. When I try to do that all that comes up is a
page that says modify, repair or uninstall. I have repaired several times
but it still gives me the same message. Can anyone help me with this?
--
.
Thank you for any help,
Logan Vogelsong
--
https://mail.python.org/mailman/listinfo/python-list
am I entirely certain this should be modified functionality or just...
a new function. What do y'all think?
--
---Logan Collins
GPG Public Key 2AAE8775
0xfc1185c82aae8775
http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xFC1185C82AAE8775
--
https://mail.python.org/mailman/listinfo/python-list
On 11/20/2013 02:05 AM, Chris Angelico wrote:
On Wed, Nov 20, 2013 at 1:14 PM, Logan wrote:
Chris,
That is genius. Thank you!
Then it works? Awesome!! (Permit me an evil laugh. Muahahah!)
This is why I love working with open source languages. Even if you
don't end up actually cha
Chris,
That is genius. Thank you!
-- Logan
--
https://mail.python.org/mailman/listinfo/python-list
being able to pass a case sensitive header to the server?
Thanks!
Logan
--
https://mail.python.org/mailman/listinfo/python-list
.S)] for t in
> > re.findall('(.*?)',page,re.S)]
>
> >
>
> >
>
> > Pretty simple.
>
>
>
> Two nested list comprehensions, with regex pattern matching?
>
>
>
> Logan did say he was a "total beginner." :^)
Oh goodness, yes, I have no clue.
--
http://mail.python.org/mailman/listinfo/python-list
Sorry to be unclear -- it's a screenshot of the webpage, which is publicly
accessible, but it contains sensitive information. A bad combination,
admittedly, and something that'll be soon fixed.
--
http://mail.python.org/mailman/listinfo/python-list
Hey guys,
I'm learning Python and I'm experimenting with different projects -- I like
learning by doing. I'm wondering if you can help me here:
http://i.imgur.com/KgvSKWk.jpg
What this is is a publicly-accessible webpage that's a simple database of
people who have used the website. Ideally wha
Hello,
I am using a product that has a built-in Python interpreter (ESRI ArcGIS
Desktop 10.0 SP3) and have implemented multiprocessing in script that can
be run by a tool within the application using the built-in interpreter.
The way the built-in interpreter works is incompatible with multiproces
On Oct 24, 4:38 pm, josh logan wrote:
> On Oct 24, 4:36 pm, josh logan wrote:
>
>
>
>
>
> > Hello,
>
> > I wanted to use python to scrub an html file for score data, but I'm
> > having trouble.
> > I'm using HTMLParser, and the parsing see
On Oct 24, 4:36 pm, josh logan wrote:
> Hello,
>
> I wanted to use python to scrub an html file for score data, but I'm
> having trouble.
> I'm using HTMLParser, and the parsing seems to fizzle out around line
> 192 or so. None of the event functions are being calle
Hello,
I wanted to use python to scrub an html file for score data, but I'm
having trouble.
I'm using HTMLParser, and the parsing seems to fizzle out around line
192 or so. None of the event functions are being called anymore
(handle_starttag, handle_endtag, etc.) and I don't understand why,
becau
question about an assignment:
>>> places("home sweet home is here",' ')
[4, 10, 15, 18]
this is my code:
def places(x, y):
return [x.index(y) for v in x if (v == y)]
so far I'm only getting
[4, 4, 4, 4]
so the first value is correct, it is just not iterating on to the next
three items it n
Thanks for the answer, it's perfect for my purposes.
See you in other thread!!!
On Mon, Dec 21, 2009 at 6:47 PM, Stephen Hansen wrote:
> On Mon, Dec 21, 2009 at 8:23 AM, logan tag wrote:
>
>> It should be interesting to add new funcionality to "copytree" function
&
meter; this new one is used to copy the files wich
matched with the given pattern.
Basically, the opposite of the current "copytree".
Maybe were a stupid idea but I throw it anyway.
Thanks in advance.
Logan!!
PS:
def copytree(src, dst, symlinks=False, target=None)
def target_patterns(*
On Apr 1, 11:05 am, jay logan wrote:
> On Apr 1, 2:35 am, daku9...@gmail.com wrote:
>
>
>
> > On Mar 31, 6:47 pm, "Rhodri James"
> > wrote:
>
> > > What you're doing (pace error checking) seems fine for the data
> > > structure
On Apr 1, 2:35 am, daku9...@gmail.com wrote:
> On Mar 31, 6:47 pm, "Rhodri James"
> wrote:
>
> > What you're doing (pace error checking) seems fine for the data
> > structures that you're using. I'm not entirely clear what your usage
> > pattern for "dip" and "dir" is once you've got them, so I c
On Mar 7, 8:47 pm, Raymond Hettinger wrote:
> The existing groupby() itertool works great when every element in a
> group has the same key, but it is not so handy when groups are
> determined by boundary conditions.
>
> For edge-triggered events, we need to convert a boundary-event
> predicate to
On Feb 13, 7:44 pm, Basilisk96 wrote:
> On Feb 12, 1:15 am, Steven D'Aprano
>
> wrote:
> > > I usually strive
> > > for comprehensions if a for loop can be reduced to such.
>
> > Any particular reason?
>
> Only two.
> 1.) I was impressed by their clarity and conciseness when I first
> discovered
On Feb 12, 12:27 pm, TechieInsights wrote:
> Ok... for some closure I have written a class to automate the
> process. It takes getters and setters and deleters and then sets the
> property automatically. Sweet!
>
> class AutoProperty(type):
> def __new__(cls, name, bases, methoddict):
>
On Feb 12, 10:58 am, TechieInsights wrote:
> Oh... one other thing that would be really cool is to do this with AOP/
> descriptors! I just haven't been able to get that to work either.
> Basics...
>
> @readonly
> class MyClass(object):
> def __init__(self, x):
> self.set_x
On Feb 11, 8:22 pm, Basilisk96 wrote:
> Hello all,
>
> I have the following function that uses an intermediate iterator
> "rawPairs":
>
> def MakePairs(path):
> import os
> import operator
> join = os.path.join
> rawPairs = (
> (join(path, s), func(s))
> for s in os
NEW YORK - Financial markets grew more upbeat Thursday as political
leaders said they struck an agreement in principle on a massive
spending plan to revive the crippled financial system. The Dow Jones
industrial average jumped about 200 points on optimism about the
bailout, and demand for safe-have
On Sep 22, 9:29 am, Hrvoje Niksic <[EMAIL PROTECTED]> wrote:
> josh logan <[EMAIL PROTECTED]> writes:
> > sorted(P) # throws TypeError: unorderable types Player() < Player()
>
> > The sorted function works when I define __lt__.
> > I must be misreading th
On Sep 22, 7:32 am, Sion Arrowsmith <[EMAIL PROTECTED]>
wrote:
> josh logan <[EMAIL PROTECTED]> wrote:
>
> >sorted(P) # throws TypeError: unorderable types Player() < Player()
>
> >The sorted function works when I define __lt__.
> >I must be misreading
On Sep 22, 3:41 am, Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
> On 22 Sep, 04:05, josh logan <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello,
>
> > I have 2 questions. Say I have this class:
>
> > class Player(object):
> > def __init__(self
Hello,
I have 2 questions. Say I have this class:
class Player(object):
def __init__(self, fname, lname, score):
self.score = score
self.fname = fname
self.lname = lname
def __cmp__(self, other):
return (-cmp(self.score, other.score) or
cmp
On Sep 6, 5:04 pm, Andreas Hofmann <[EMAIL PROTECTED]>
wrote:
> Hello Folks!
>
> I've got a little problem here, which which really creeps me out at the
> moment.
> I've got some strings, which only contain numbers plus eventually one
> character as si-postfix (k for kilo, m for mega, g for giga).
On Sep 1, 9:41 am, Wojtek Walczak <[EMAIL PROTECTED]> wrote:
> On Mon, 01 Sep 2008 15:25:03 +0200, Hans Müller wrote:
> > I'm quite often using this construct:
>
> > for l in open("file", "r"):
> > do something
> > Has someone a better solution ?
>
> The most general would be to use rstrip() wit
On Aug 30, 8:59 pm, josh logan <[EMAIL PROTECTED]> wrote:
> > Vincent Yau <[EMAIL PROTECTED]> writes:
> > > I am trying to use Python SAX API to parse XML files. I do see expat.py
> > > somewhere underneath my Python 2.1.1 installation (on Solaris).
> >
On Sep 1, 9:25 am, Hans Müller <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm quite often using this construct:
>
> for l in open("file", "r"):
> do something
>
> here, l contains the \n or \r\n on windows at the end.
> I get rid of it this way:
>
> for l in open("file", "r"):
> while
On Sep 1, 8:19 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Mon, 01 Sep 2008 02:27:54 -0400, Terry Reedy wrote:
> > I doubt the OP 'chose' cp437. Why does Python using cp437 even when the
> > default encoding is utf-8?
>
> > On WinXP
> > >>> sys.getdefaultencoding()
> > 'utf-8'
>
Hello,
I am using Python 3.0b2.
I have an XML file that has the unicode character '\u012b' in it,
which, when parsed, causes a UnicodeEncodeError:
'charmap' codec can't encode character '\u012b' in position 26:
character maps to
This happens even when I assign this character to a reference in t
> Vincent Yau <[EMAIL PROTECTED]> writes:
> > I am trying to use Python SAX API to parse XML files. I do see expat.py
> > somewhere underneath my Python 2.1.1 installation (on Solaris).
> > But I got this error when invoking the xml.sax.make_parser() call. Any
> > tip/help much appreciated.
>
> Y
But this changes with Python 3, right?
On Aug 30, 7:15 am, Ken Starks <[EMAIL PROTECTED]> wrote:
> George Sakkis wrote:
> > On Aug 29, 12:16 pm, [EMAIL PROTECTED] wrote:
> >> Hi,
>
> >> How to check if something is a list or a dictionary or just a string?
> >> Eg:
>
> >> for item in self.__libVerD
On Aug 28, 3:47 am, Santiago Romero <[EMAIL PROTECTED]> wrote:
> > I want to read text line-by-line from a text file, but want to ignore
> > only the first line. I know how to do it in Java (Java has been my
> > primary language for the last couple of years) and following is what I
> > have in Pyth
On Aug 2, 9:29 am, Grant Edwards <[EMAIL PROTECTED]> wrote:
> On 2008-08-02, Zoltán Nagy <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > Kurien Mathew írta:
> >> Hello,
>
> >> What will be a concise & efficient way to convert a list/array.array of
> >> n elements into a hex string? For e.g. given the byte
On Jul 27, 8:45 pm, pigmartian <[EMAIL PROTECTED]> wrote:
> it could be that 3.0 is using "banker's rounding" --- rounding to the
> even digit. the idea behind it behind it being to reduce error
> accumulation when working with large sets of values.
>
> > Works for me on Python 2.5 on Linux runnin
On Jul 27, 7:58 pm, Gary Herron <[EMAIL PROTECTED]> wrote:
> josh logan wrote:
> > Hello,
>
> > I need a round function that _always_ rounds to the higher integer if
> > the argument is equidistant between two integers. In Python 3.0, this
> > is not the
Hello,
I need a round function that _always_ rounds to the higher integer if
the argument is equidistant between two integers. In Python 3.0, this
is not the advertised behavior of the built-in function round() as
seen below:
>>> round(0.5)
0
>>> round(1.5)
2
>>> round(2.5)
2
I would think this
41 matches
Mail list logo