On Tue, Jan 14, 2020 at 2:18 AM proplayer raj
wrote:
>
> dear team
> I have encountered a problem while using pip , that it did not allowed to
> install webbrowsing and OS module it show the error that it does not found
> any matching distributor and does not fount the version which can fulfill
>
On Tue, Jul 31, 2018 at 12:31 PM juraj.papic--- via Python-list
wrote:
> I will check the links thanks for that tips, is there any page where I can
> see more examples?
I like Doug Hellmann's Python Module of the Week site for in-depth
looks at particular modules (including subprocess). If you'
On Mon, Mar 19, 2018 at 5:07 PM, MRAB wrote:
> You didn't say which installer you used.
>
It might also be helpful to know:
Did you install python for "Just Me" or "All Users" in the installer?
Does the user you're logged in as have enough authority to install for All
Users if that's what you
On Tue, Feb 13, 2018 at 10:30 AM, Pedro Crescencio
wrote:
3. How did you try to uninstall it?
> Using Windows standard uninstall procedure
> https://www.windowscentral.com/how-to-uninstall-apps-windows-10
>
That page describes two different ways of uninstalling programs (from the
start screen,
On Wed, Nov 1, 2017 at 5:12 PM, Alexey Muranov
wrote:
> what do you think about the idea of replacing "`else`" with "`then`" in
> the contexts of `for` and `try`?
>
I wish the core python developers had done it 20 years ago. Given that
python is a relatively mature language at this point, I d
On Tue, Sep 26, 2017 at 12:32 PM, Peter Otten <__pete...@web.de> wrote:
> Newer Python versions will show
>
> Help on built-in function sin in module math:
>
> sin(x, /)
> Return the sine of x (measured in radians).
>
>
> where the arguments before the slash are positional-only:
What version o
On Tue, Sep 19, 2017 at 8:26 PM, Rick Johnson
wrote:
> In the spirit of my last comment, i was going to say: "Or if
> `x` does not support rich comparisons", but alas, it seems that
> _all_ objects in Python support rich comparisons, even when
> it doesn't make sense to! o_O For example:
>
> >
On Wed, Aug 30, 2017 at 1:48 PM, MRAB wrote:
>
> On 2017-08-30 18:35, Terry Reedy wrote:
>>
>> https://stackoverflow.com/questions/45965545/math-sqrt-domain-error-when-square-rooting-a-positive-number
>>
>> reports the following:
>> -
>> Microsoft Windows [Version 10.0.16251.1002]
>> (c) 2017
On Fri, Jun 23, 2017 at 4:07 PM, Mark Byrne wrote:
> Possible fix is to replace this:
>
> count = frequency.get(word,0)
> count1 = frequency.get(word1,0)
> if word1 == word:
> frequency[word] = count + count1
> else:
> frequency[word] = count
>
> with this:
>
> if word1 == word:
> if
On Mon, Apr 3, 2017 at 5:50 PM, Deborah Swanson
wrote:
> Ah, but did you actually try to use the proposed solutions on the two
> stackoverflow pages? It's been several weeks now, but I did, and neither
> of those two examples fit my situation, which is why I ended up writing
> my own, and unsatisf
On Mon, Apr 3, 2017 at 10:30 AM, Deborah Swanson
wrote:
> Regular updates as the docs are updated would be a good idea too. It's
> obvious that today's Google isn't up to it, although it occurs to me
> that I haven't tried Google's site search on python.org.
So, when you search google for the phr
On Wed, Oct 12, 2016 at 5:55 AM, meInvent bbird wrote:
> i just expect to
> rewrite + become multiply
> by edit the example in the link provided
This seems to work. You need to define visit_BinOp instead of
visit_Num (since you want to mess with the binary operations, not the
numbers). Then,in
On Tue, Sep 13, 2016 at 4:57 PM, wrote:
> It would help newbies and prevent confusion.
Are you asking why Guido didn't call it foreach back in 1989, or why
the core developers don't change it now, 27 years later? I can't
speak for the historical perspective, but I'm sure there's basically
no ch
On Thu, Mar 10, 2016 at 5:51 AM, Marko Rauhamaa wrote:
> I don't have an answer. I have requirements, though:
>
> * I should be able to get the character by knowing its glyph (shape).
>
> * It should be very low-level and work system-wide, preferably over the
>network (I'm typing this over t
On Fri, Jul 17, 2015 at 2:22 PM, Steve Burrus wrote:
> I Need immediate Help w. Getting the Eclipse Python Add-On. I looked all
> around the Eclipse website to try to get this but didn't see the add-on for
> this. Can someone please help me to find it? Thanx.
I think you're looking for PyDev: h
On Tue, Apr 28, 2015 at 1:18 PM, wrote:
> in the Python Language Specification, I've found the delimiter -> (cf.
> https://docs.python.org/3/reference/lexical_analysis.html#delimiters, last
> entry in the table´s second line). Could you please describe the effects of
> this delimiter? I read noth
On Sun, Apr 12, 2015 at 10:29 PM, Pippo wrote:
> Any guide on this?
>
> http://snap.stanford.edu/snappy/#download
Sure. http://snap.stanford.edu/snappy/#docs
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, Mar 20, 2015 at 2:10 PM, Grant Edwards wrote:
> I need to automate operation of a Windows application.
I've used Sikuli (http://www.sikuli.org/) for similar things in the
past. It's an automation framework built on Jython, and it worked
great for what I needed at the time.
I think AutoH
On Tue, Nov 11, 2014 at 8:04 PM, Ethan Furman wrote:
> My wife (using a Win7 machine) will be on a web page that has a link to mail
> somebody. She clicks on it, and it opens the currently installed but unused
> Thunderbird.
As others have mentioned, this is more a question of configuring your
b
On Tue, Sep 23, 2014 at 1:54 PM, SK wrote:
> Hi EK,
> Did you figure out questions 1, 2 and 3? SciPy (0.14.0) on installation asks
> me for Python 2.7. First day on Python here, I am really struggling :/
> Thanks,
> SK
Did you download the SciPy installer for python 3.3? I see it listed
for dow
On Fri, Jul 25, 2014 at 10:55 AM, Orochi wrote:
> So,Is there any Gui App builder like Visual Studio or having features like
> Visual Studio for Python.
I'm not aware of anything with the same level of functionality as
Visual Studio's GUI building tools. Glade is the closest I've seen,
and as y
On Tue, Jul 22, 2014 at 6:17 PM, fl wrote:
> Thanks for your example. I do not find the explanation of [:] on line. Could
> you
> explain it to me, or where can I find it on line?
It's pretty hard to find if you don't already know what's going on.
First, you need to know that mylst[i:j] refers
On Sat, May 10, 2014 at 7:39 AM, Preethi wrote:
> future==0.9.0
It looks like that library is out of date. The current version looks
to be 0.12.0, and it also looks like this bug was fixed in the 0.12.0
release. I'd upgrade your version if at all possible.
--
Jerry
--
https://mail.python.org
On Wed, May 7, 2014 at 2:18 AM, Marko Rauhamaa wrote:
> Ned Batchelder :
>
>> Why is "variable" sacrosanct and can only be used to describe C
>> semantics, but we're OK reusing class, int, and function?
>
> The Python language specification calls them variables; the terminology
> discussion should
On Mon, May 5, 2014 at 11:18 AM, Joshua Knights
wrote:
>
> Here is my Issue and I think it may be a python path bug?
It's not a bug in Python. It looks to me like a configuration problem.
I'm going to assume you have a good reason for bypassing your OS's
package management system. In general,
On Mon, Mar 3, 2014 at 11:52 PM, Steven D'Aprano wrote:
> If your intention is to treat None as a singleton sentinel, not as a
> value, then you ought to use "is" to signal that intention, rather than
> using == even if you know that there won't be any false positives.
In all of the years I've be
On Mon, Mar 3, 2014 at 4:51 PM, Tim Chase wrote:
> There are a couple use-cases I've encountered where "is" matters:
>
> 1) the most popular:
>
> if foo is None:
> do_stuff()
I know this is the one that always comes up, but honestly, I feel like
"is" doesn't matter here. That code would be
On Thu, Feb 27, 2014 at 7:13 AM, Mark H. Harris wrote:
> hi folks,
>Its been too long... can't remember... are there rules here about posting
> code snippets, or length considerations, and so forth?
Chris' advice about just posting your code inline with your message is
good. If the problem
On Wed, Feb 19, 2014 at 7:42 AM, khanta wrote:
> Hello,
> I am trying to write to the raw physical disk on Windows 8.1 but I
> get an error:
> PermissionError: [Errno 13] Permission denied: '.\\PHYSICALDRIVE2'
Is there a volume mounted from the drive at the time you're attempting
to writ
On Wed, Feb 12, 2014 at 4:42 PM, Nir wrote:
> If this makes sense to you, great. I am trying to break it down so that I can
> make sense of it. As you mentioned self["name"] = filename doesn't work
> unless I built a class to handle it. I guess my question then, is how is the
> class handling i
On Tue, Feb 4, 2014 at 1:51 AM, wrote:
> I got it. If I'm visiting a page like this:
>
> http://docs.python.org/3/tutorial/index.html#the-python-tutorial
>
> 1) To read the page, I'm scrolling down.
> 2) When I have finished to read the page, I scroll up
> (or scroll back/up) to the top of the pa
On Fri, Jan 3, 2014 at 9:44 PM, Beinan Li wrote:
> But some console programs have their own shell or ncurse-like CUI, such as
> cscope.
> So I figured that I need to first subprocess.popen a bidirectional pipe and
> send command through stdin and get results from stdout and stderr.
>
> But in such
On Wed, Dec 18, 2013 at 3:17 PM, Jean Dubois wrote:
> I have a python-program which I want to perform its task first, then
> switch to
> the python console to experiment with further commands, using what was
> already
> defined in the python-program.
> I want this as an alternative for what I do n
On Wed, Dec 18, 2013 at 1:37 PM, Paulo da Silva
wrote:
> Hi!
>
> Is there a way to copy a file the same as Unix command:
>
> cp -a --reflink src dest
>
> without invoking a shell command?
I started to dig through the cp man page to see what that did, then
gave up when each option expanded out to
On Wed, Dec 4, 2013 at 3:35 PM, Piotr Dobrogost
wrote:
> Right. If there's already a way to have attributes with these "non-standard"
> names (which is a good thing) then for uniformity with dot access to
> attributes with "standard" names there should be a variant of dot access
> allowing to a
On Wed, Sep 11, 2013 at 4:55 PM, wrote:
> Have you got anything to say on what one I should be using(excluding PyQT
> because it has a D&D designer >:( )? Is Tkinter really dead? Should I stick
> with wxPython?
If that's a reason for excluding a GUI toolkit, you're in trouble.
Drag and drop la
On Fri, Aug 30, 2013 at 11:32 AM, Tim Johnson wrote:
> The objective is to display all output, but to also separate error
> messages from normal output.
I still think you want to use communicate(). Like this:
p = subprocess.Popen(args,stderr=subprocess.PIPE,stdout=subprocess.PIPE)
output, e
On Wed, Aug 21, 2013 at 1:55 PM, wrote:
> I think, though, that if there's any useful information that can be
> obtained by reading accepted PEPs but not the documentation, or if
> things are explained less clearly than in the PEPs, that's a bug in the
> documentation, and should be remedied by a
On Thu, Jul 25, 2013 at 7:49 PM, John Ladasky
wrote:
> ===
>
> john@john:~/Desktop/pyglet-1.2alpha1$ sudo python3 setup.py install
>
> [sudo] password for john:
>
> running install
> running build
> running build_py
> running install_lib
> running install_egg_in
On Fri, Jul 5, 2013 at 3:08 PM, Νίκος Gr33k wrote:
> Is there a way to extract out of some environmental variable the Geo
> location of the user being the city the user visits out website from?
>
> Perhaps by utilizing his originated ip address?
No, you'd need to take the originating IP address a
On Wed, May 29, 2013 at 1:10 PM, Chris Rebert wrote:
> On Wed, May 29, 2013 at 4:16 AM, Jabba Laci wrote:
> > I have a growing JSON file that I edit manually and it might happen
> > that I repeat a key. If this happens, I would like to get notified.
> > Currently the value of the second key sile
On Thu, May 23, 2013 at 6:20 PM, Carlos Nepomuceno <
carlosnepomuc...@outlook.com> wrote:
> Can str.format() do the following?
>
> f = '%d %d %d'
> v = '1,2,3'
> print f % eval(v)
>
Sure:
Python 3.2.2 (default, Sep 4 2011, 09:51:08) [MSC v.1500 32 bit (Intel)]
on win32
>>> f = "{} {} {}"
>>> v
On Mon, May 6, 2013 at 3:01 PM, MMZ wrote:
> I am trying to backup database on CentOS linux server,I'm getting error
> when running the following script. anyone can help?
>
> Traceback (most recent call last):
> File "./backup.py", line 8, in ?
> username = config.get('client', 'mmz')
> F
On Mon, Mar 25, 2013 at 11:49 PM, rocky wrote:
>> On Sun, 24 Mar 2013 18:12:49 -0500, Fabian von Romberg wrote:
>> > I have a package name collections and inside of my package I want to
> I find this kind of thing sad: it feels to me that programmers are working
> around somewhat arbitrary and c
On Fri, Feb 1, 2013 at 1:59 PM, Michael Torrie wrote:
> Most people on this list consider 8 dihedral to be a badly
> programmed bot.
For what it's worth, I think it's a very cleverly programmed bot. It
usually makes just enough sense for me to wonder if there really is a
human being behind t
On Wed, Jan 23, 2013 at 8:35 AM, Jussi Piitulainen
wrote:
>> The feature isn't bad, it's just very, very badly named.
>
> I believe it would read better - much better - if it was "for/then"
> and "while/then" instead of "for/else" and "while/else".
That's always been my opinion too. I'd remember
On Wed, Dec 12, 2012 at 2:10 PM, RCU wrote:
> With this occasion I would like to ask also what are the limits of the
> Python 2.x and 3.x parser. Where can I find what are the limits on the
> size/lines of the parsed script?
The Python Language Reference is probably what you're looking for:
h
On Tue, Dec 11, 2012 at 1:58 AM, Jean Dubois wrote:
>
> I found examples in the usbtmc kernel driver documentation (the
> examples there are given in C):
> http://www.home.agilent.com/upload/cmc_upload/All/usbtmc.htm?&cc=BE&lc=dut
Thanks for that link. I think it explains how the driver works pr
On Tue, Oct 9, 2012 at 10:02 AM, loial wrote:
> I am trying to match a string that containing the "<" and ">" characters,
> using the string contains function, but it never seems to find the lines
> containing the string
>
> e.g if mystring.contains("") :
>
> Do I need to escape the characters..
On Mon, Oct 1, 2012 at 1:28 PM, রুদ্র ব্যাণার্জী wrote:
> So, If I manage to use the User-Agent as shown by you, will I still
> violating the google EULA?
Very likely, yes. The overall Google Terms of Services
(http://www.google.com/intl/en/policies/terms/) say "Don’t misuse our
Services. For ex
On Fri, Sep 28, 2012 at 10:18 AM, wrote:
> Python bytecode is not easier to hack than Java or .NET bytecodes.
This is true, but both java and .net are also relatively easy to decompile.
In general though, why does it matter? What are you trying to protect
yourself against? If you're including
On Thu, Sep 27, 2012 at 12:58 PM, Prasad, Ramit
wrote:
> On *nix you should just set the appropriate nice-ness and then
> let the OS handle CPU scheduling. Not sure what you would do
> for Windows--I assume OS X is the same as *nix for this context.
On windows, you can also set the priority of a
On Fri, Sep 21, 2012 at 9:31 AM, BobAalsma wrote:
> Thanks, Joel, yes, but as far as I'm aware these would all require the Python
> programme to have the user's username and password (or "credentials"), which
> I wanted to avoid.
No matter what you do, your web service is going to have to
authe
On Thu, Sep 20, 2012 at 11:12 AM, Rolando Cañer Roblejo
wrote:
> Hi all,
>
> Is it possible for me to put a limit in the amount of processor usage (%
> CPU) that my current python script is using? Is there any module useful for
> this task? I saw Resource module but I think it is not the module I
On Thu, Sep 6, 2012 at 12:46 PM, Helpful person wrote:
> The reference might help if I could get Python to recognize the dll as
> a module.
That's never going to happen. It's a DLL, not a python module. I
think the documentation lays that out pretty explicitly. Have you
experimented with the v
On Thu, Sep 6, 2012 at 11:07 AM, Helpful person wrote:
> I am a complete novice to Python. I wish to access a dll that has
> been written to be compatible with C and VB6. I have been told that
> after running Python I should enter "from ctypes import *" which
> allows Python to recognize the dl
On Thu, Aug 23, 2012 at 4:59 AM, Jussi Piitulainen
wrote:
> I don't get it either. To me the python-has-no-variables campaigners
> seem confused. As far as I can see, Python can be seen in terms of
> variables bound to (locations containing) values perfectly well, in a
> way that should be quite f
On Wed, Aug 22, 2012 at 11:38 AM, William R. Wing (Bill Wing)
wrote:
> Much to my surprise, when I looked at the output file, it only contained 160
> characters. Catting produces:
>
> StraylightPro:Logs wrw$ cat RTT_monitor.dat
> 2354[ 734716.72185185 734716.72233796 734716.72445602 ..., 7347
On Tue, Aug 21, 2012 at 12:34 AM, John Nagle wrote:
> After a thread of clueless replies, it's clear that nobody
> responding actually read the build log. Here's the problem:
The very first reply, Emile's, pointed out that these were optional
modules, and that python did, in fact build succe
On Sun, Aug 19, 2012 at 9:57 PM, kj wrote:
> By now I have learned to expect that 99.99% of Python programmers
> will find that there's nothing wrong with behavior like the one
> described above, that it is in fact exactly As It Should Be, because,
> you see, since Python is the epitome of perfect
On Sun, Aug 19, 2012 at 6:27 PM, coldfire wrote:
> Also I have no idea how to deploy a python script online.
> I have done that on my local PC using Apache server and cgi but it Works fine.
> Whats this all called? as far as I have searched its Web Framework but I dont
> wont to develop a websit
On Fri, Aug 17, 2012 at 1:49 PM, wrote:
> The character '…', Unicode name 'HORIZONTAL ELLIPSIS',
> is one of these characters existing in the cp1252, mac-roman
> coding schemes and not in iso-8859-1 (latin-1) and obviously
> not in ascii. It causes Py3.3 to work a few 100% slower
> than Py<3.3 ve
On Mon, Aug 13, 2012 at 11:16 AM, Helmut Jarausch wrote:
> Now, when executing this, I always get
>
> +++ before calling foo
> --- after calling foo
entering foo ...
Can you give us a piece of code we can run that produces this output
for you? You gave us an outline in your original post,
On Fri, Jul 13, 2012 at 9:00 PM, Gelonida N wrote:
> I tried the simplest approach (just printing the BEL character '\a' chr(7)
> to the console.
That's what I do when I want to send an audible alert to the user of a
console based program. It's then up to the user's terminal to do
whatever the u
On Tue, Jun 12, 2012 at 2:33 PM, Julio Sergio wrote:
> Suppose I have to define two functions, aa, and, bb that are designed to call
> each other:
>
> def aa():
> ...
> ... a call of bb() somewhere in the body of aa
> ...
>
> def bb():
> ...
> ... a call of aa() somewhere in
On Wed, Jun 6, 2012 at 4:10 PM, Alec Ross wrote:
> FWIW, English idiomatic usage includes "see overleaf", and "see over", for
> the obverse side of a page/sheet, i.e, the following page; and "see facing
> page", w/ the obvious meaning.
For what it's worth, I've never seen either of those construc
On Wed, May 2, 2012 at 10:49 AM, Nikhil Verma wrote:
> What i am able to achieve with this class object to return is :-
>
> Gen GI Monday May 7
>
> I want that the this class should return object like this :-
>
> Gen GI Monday AM, May 7
> Pancreas Tuesday PM, May 8
Check the documentation for th
On Tue, May 1, 2012 at 1:07 PM, Kiuhnm
wrote:
> If you had read the module's docstring you would know that the public
> version uses
Are you aware that you've never posted a link to your module, nor it's
docstrings? Are you also aware that your module is essentially
unfindable on google? Certai
On Wed, Apr 18, 2012 at 9:31 PM, contro opinion wrote:
> i have download file (gpg4win-2.1.0.exe from
> http://www.gpg4win.org/download.html)
> when i run :
>
> Type "help", "copyright", "credits" or "license" for
import md5
f=open('c:\gpg4win-2.1.0.exe','r')
print md5.new(f.read(
On Sat, Apr 7, 2012 at 5:41 PM, Dennis Lee Bieber wrote:
> The WinXP machine would need to have X-client translator (something
> that redirects all the Windows native graphics into X protocol and ships
> it to the specified server machine).
>
> As I recall -- such are not cheap appli
On Tue, Mar 27, 2012 at 8:51 PM, goldtech wrote:
> I have a WinXP PC running an SSH server and I have a Linux PC with an
> SSH client and logged into the XP seemingly OK. It's all on my
> personal LAN, the connection seems OK.
>
> I have a py file on the XP that I run via SSH from the Linux, it's
On Thu, Mar 15, 2012 at 10:54 PM, Chris Rebert wrote:
> On Thu, Mar 15, 2012 at 7:23 PM, choi2k wrote:
>> The application aims to simulate user activity including visit a
>> website and perform some interactive actions (click on the menu,
>> submit a form, redirect to another pages...etc)
>
> Did
On Tue, Feb 28, 2012 at 12:51 PM, Smiley 4321 wrote:
> Can I have some thoughts about - building a GUI to display the results of
> the pickle read?
>
> A prototype code should be fine on Linux.
It doesn't seem like it would be all that useful, though I may just be
lacking in imagination. What wo
On Thu, Feb 23, 2012 at 2:34 PM, HoneyMonster wrote:
> On Thu, 23 Feb 2012 14:24:23 -0500, Jerry Hill wrote:
>> It's not two files, it's a hardlink. You can confirm by running ls -li
>> python* and comparing the inode numbers.
>
> You are spot on. Thank you, and s
On Thu, Feb 23, 2012 at 2:11 PM, HoneyMonster wrote:
> $ cd /usr/bin
> $ ls -l python*
> -rwxr-xr-x 2 root root 9496 Oct 27 02:42 python
> lrwxrwxrwx 1 root root 6 Oct 29 19:34 python2 -> python
> -rwxr-xr-x 2 root root 9496 Oct 27 02:42 python2.7
> $ diff -s python python2.7
> Files python an
On Sun, Feb 12, 2012 at 1:46 PM, Fabrizio Pollastri wrote:
> Hello,
>
> I wish to extend the functionality of an existing python package by
> creating
> a new package that redefines the relevant classes of the old package. Each
> new class inherits the equivalent old class and adds new methods.
>
On Sun, Jan 29, 2012 at 1:47 AM, Lee wrote:
> I was afraid that a list/set/dictionary and alike is the answer, but,
> anyway, thanks everybody.
>
>
It doesn't seem too bad to keep track of the instances in the class object
using weak references (http://docs.python.org/py3k/library/weakref.html).
On Wed, Jan 25, 2012 at 5:36 AM, Tracubik wrote:
> thanks a lot but it say it's deprecated, is there a replacement? Anyway
> it'll useful for me to study json, thanks :)
I don't believe Google is particularly supportive of allowing
third-parties (like us) to use their search infrastructure. All
On Tue, Jan 24, 2012 at 11:10 AM, Andrea Crotti
wrote:
> Ah yes thanks for the explanation, on Python 2.7 on Linux I don't see
> the same doc, it might have been updated later..
> Anyway I just want to make sure that I get always the same path,
> not depending on the program.
>
> From a first look
On Tue, Jan 24, 2012 at 11:05 AM, Jerry Hill wrote:
> So, my guess is that emacs is mangling your HOME environment variable.
> That appears to be confirmed by the emacs documentation here:
> http://www.gnu.org/software/emacs/manual/html_node/emacs/General-Variables.html#General-Variable
On Tue, Jan 24, 2012 at 9:56 AM, Andrea Crotti
wrote:
> Window never stops to surprise me, I've been banging my head since yesterday
> and only
> now I now what is the problem.
>
> So suppose I have something like
>
> from os import path
> print path.expanduser('~')
>
> If I run it from cmd.exe I
On Mon, Jan 23, 2012 at 4:48 PM, M.Pekala wrote:
> Hello, I am having some trouble with a serial stream on a project I am
> When one sensor is running my python script grabs the data just fine,
> removes the formatting, and throws it into a text control box. However
> when 3 or more sensors are r
On Wed, Jan 18, 2012 at 1:24 PM, John Nagle wrote:
> Please don't use "setuptools", the so-called "easy"
> installation system in your packages. It just makes things
> more complicated, adds dependencies, and needs too many weird
> options if things aren't exactly where it wants them. Since
>
On Tue, Dec 27, 2011 at 4:56 PM, candide wrote:
import re
reo = re.compile('')
reo.__class__
> Traceback (most recent call last):
> File "", line 1, in
> AttributeError: __class__
I'm not going to comment on what type is returned from the various
functions in the re module,
On Tue, Dec 20, 2011 at 5:43 PM, John Ladasky wrote:
> I was running Ubuntu Linux 10.10, on which Python 2.6.6 was the
> standard distribution. I succeeded in doing an "alternate install" of
> Python 2.7.2, over Ubuntu 10.10. But I use so many packages in my
> code. Dealing with the package dep
On Thu, Dec 8, 2011 at 3:17 PM, Catherine Moroney <
catherine.m.moro...@jpl.nasa.gov> wrote:
> Is there some way to rewrite the code above so the change of "a" from
> 1.0 to 100.0 is reflected in the dictionary. I would like to use
> simple datatypes such as floats, rather than numpy arrays or cl
On Thu, Dec 8, 2011 at 3:16 PM, Eric wrote:
> I'm running Python 2.7 on WinXP (ActiveState community version) and
> when I try to do this:
>
> if __name__ == '__main__':
>root = Tkinter.Tk()
>root.withdraw()
>fileNames = tkFileDialog.askopenfilenames()
>root.destroy()
>print f
On Wed, Nov 30, 2011 at 3:30 PM, Verde Denim wrote:
> dbCursor1.execute('select lpad(' ', 2*level) || c "Privilege, Roles and
> Users" from ( select null p, name c from system_privilege_map where name
> like upper(\'%&enter_privliege%\') union select granted_role p, grantee c
> from dba_role_priv
2011/11/29 Toshiyuki Ogura
> I found a problem with Python 2.5.6.
>
...
> Can I submit the issue at bugs.python.org?
> I think many people are still using Python 2.5 because of Google App
> Engine and fixing bugs with 2.5 is still helpful.
>
I don't think they'll be accepted. Python 2.5 is no
On Wed, Nov 23, 2011 at 12:10 PM, Massi wrote:
> Hi everyone,
>
> I have to parse a string and splitting it by spaces. The problem is
> that the string can include substrings comprises by quotations which
> must mantain the spaces. What I need is to pass from a string like:
>
> This is an 'exampl
On Fri, Oct 28, 2011 at 1:34 PM, dhyams wrote:
> If I call __getattr__ directly, as in bessie.__getattr__('foo'), it
> works as it should obviously; so the method is bound and ready to be
> called. But Python does not seem to want to call __getattr__
> appropriately if I mix it in after the objec
On Sat, Sep 3, 2011 at 12:21 PM, mukesh tiwari wrote:
> I am getting
> Traceback (most recent call last):
> File "Mount.py", line 7, in
>observer = QUDevMonitorObserver(monitor)
> NameError: name 'QUDevMonitorObserver' is not defined
>
> Could any one please tell me how to avoid this error
On Thu, Aug 18, 2011 at 11:19 AM, noydb wrote:
> I am being passed the list of strings. I have variables set up
> already pointing to files. I need to loop through each variable in
> the list and do things to the files. The list of strings will change
> each time, include up to 22 of the same s
On Tue, Aug 16, 2011 at 5:59 PM, John Doe wrote:
> No. I am running this from within Windows, all sorts of Windows.
What does that mean? You seem very resistant to answering anyone's
questions about your code. Is your code run from the command line, or
does it have a GUI? If it has a GUI, what
On Tue, Aug 16, 2011 at 5:43 PM, John Doe wrote:
> Whatever msvcrt.getch() is returning here in Windows, it's not within
> the 1-255 number range. How can I determine what it is returning?
>
> I would like to see whatever it is getting.
Just print it. Like this:
import msvcrt
ch = msvcrt.getch(
On Fri, Jul 29, 2011 at 3:36 PM, Billy Mays wrote:
> Is xrange not a generator? I know it doesn't return a tuple or list, so
> what exactly is it? Y doesn't ever complete, but x does.
>
> x = (i for i in range(10))
> y = xrange(10)
xrange() does not return a generator. It returns an iterable x
On Fri, Jul 29, 2011 at 8:51 AM, John Roth wrote:
> Sorry. I thought what you posted was from the OP. I guess I don't
> really expect someone to post a completely irrelevant trace in a
> thread started by someone who has a problem.
I'm not sure why you would think that that post was by the origin
On Wed, Jul 27, 2011 at 5:26 PM, W. eWatson wrote:
> .py=Python.File
> .pyw=Python.NoConFile
> Python.File="C:\Python25\python.exe" "%1" %*
> Python.File="C:\Python25\python.exe" "%1" %*
> Python.NoConFile="C:\Python25\pythonw.exe" "%1" %*
That all looks good.
> I cannot copy from the cmd window
On Wed, Jul 27, 2011 at 3:34 PM, W. eWatson wrote:
> On 7/27/2011 9:48 AM, Jerry Hill wrote:
>> So, you don't have an idle.py or idle.pyw in C:\Python26\Lib\idlelib\
>> (or where ever you installed python)? If not, it sounds to me like
>> your python installation
On Wed, Jul 27, 2011 at 12:28 PM, W. eWatson wrote:
> If I run cmd.exe and work my way down to .../idlelib, I find nothing but
> idle.bat. strange. Hidden? I can get into line mode by using python.exe.
> That is, I can type in print "abc", and get a result.
So, you don't have an idle.py or idle
1 - 100 of 318 matches
Mail list logo