On Sunday, January 8, 2017 at 1:17:56 AM UTC-5, Steven D'Aprano wrote:
> On Sunday 08 January 2017 15:33, CM wrote:
>
> > On Saturday, January 7, 2017 at 7:59:01 PM UTC-5, Steve D'Aprano wrote:
> [...]
> >> Start by printing repr(candidate_text) and see what y
Trying to manipulate z-order for MSOffice with win32com and wasn't sure what
argument was needed. Using help on that ZOrder method gives:
>>>
Help on method ZOrder in module win32com.client.dynamic:
ZOrder(self, ZOrderCmd=) method of
win32com.client.CDispatch instance
So, what does " mean in
On Saturday, January 7, 2017 at 7:59:01 PM UTC-5, Steve D'Aprano wrote:
> On Sun, 8 Jan 2017 08:40 am, CM wrote:
>
> > So what's going on here? Why isn't a string with the content 'match' equal
> > to another string with the content 'match'?
On Saturday, January 7, 2017 at 6:42:25 PM UTC-5, Chris Angelico wrote:
> What happens if you print the repr of each string? Or, if one of them
> truly is a literal, just print the repr of the one you got from
> win32com.
>
> ChrisA
Yes, that did it. The repr of that one was, in fact:
u'match /
This is probably very simple but I get confused when it comes to encoding and
am generally rusty. (What follows is in Python 2.7; I know.).
I'm scraping a Word docx using win32com and am just trying to do some matching
rules to find certain paragraphs that, for testing purposes, equal the word
I would like to write a Pythons script to automate a tedious process and could
use some advice.
The source content will be an email that has 5-10 PO (purchase order) numbers
and information for freelance work done. The target content will be an invoice.
(There will be an email like this every w
On Sunday, December 21, 2014 2:44:50 AM UTC-5, CM wrote:
> On Sunday, December 21, 2014 1:45:02 AM UTC-5, Chris Angelico wrote:
> > On Sun, Dec 21, 2014 at 5:31 PM, Terry Reedy wrote:
> > > Just to be clear, writing to sys.stdout works fine in Idle.
> > >>>>
On Sunday, December 21, 2014 1:45:02 AM UTC-5, Chris Angelico wrote:
> On Sun, Dec 21, 2014 at 5:31 PM, Terry Reedy wrote:
> > Just to be clear, writing to sys.stdout works fine in Idle.
> import sys; sys.stdout.write('hello ')
> > hello #2.7
> >
> > In 3.4, the number of chars? bytes? is ret
On Saturday, December 20, 2014 7:57:19 AM UTC-5, Steven D'Aprano wrote:
> Taken from Ben Kurtovic's blog:
>
> http://benkurtovic.com/2014/06/01/obfuscating-hello-world.html
>
>
>
> (lambda _, __, ___, , _, __, ___, :
> getattr(
> __import__(True.__class__.__n
Thank you, Chris, Terry, and jmf, for these pointers. Very helpful.
-CM
--
https://mail.python.org/mailman/listinfo/python-list
I have a big text file of bugs that I want to use Python to parse such that the
bugs can be neatly filed into a database. I can bumble toward a solution with
looping but feel this is a classic example of reinventing the wheel, and yet
I'm finding it hard to Google for.
Basically the file is str
On Thursday, July 24, 2014 11:57:22 AM UTC-4, Noble Bell wrote:
> I am exploring the idea of creating my next desktop GUI project in Python and
> would like a little advice from you folks about a couple of requirements.
>
>
>
> My requirements will be:
>
> 1. Needs to be portable across platfo
On Friday, July 25, 2014 10:55:44 AM UTC-4, Orochi wrote:
> Hi,
>
> This Question may sound lame ,but I am searching for .Net Like Gui Builder
> for Python.
>
> I tried PyQt Designer' and 'Glade', No doubt its great but it created only
> interface.
>
> I have to code all the things in separate
> Just add Scripts to path (not Scripts/nuitka),
> and it should run nuitka.bat. I would guess that
> the one without an extension is a Unix shell script
> of some sort; have a look at it, see if it's a text
> file that begins "#!/bin/sh" or similar. Most likely
> the file sizes of nuitka an
On Saturday, June 28, 2014 12:23:03 AM UTC-4,
Stefan Behnel wrote:
> There should be a folder Python27/Scripts that
> contains the executable programs that Python packages
> install.
Thank you, yes, it's there. But there are two
files: nuitka (I don't see an extension and
don't know the file
> I'm not a Windows user, so I can't give detailed
> step-by-step "mouse over this menu, click this
> button" instructions, but you need to open a
> command line terminal. (command.com or cmd.exe,
I'm not *quite* that at sea! :D Close, but I am
used to using the command line in Windows.
On Friday, June 27, 2014 11:09:11 PM UTC-4,
Steven D'Aprano wrote:
> Having said that, I think that the OP's question
> is probably misguided.
Thanks, Steven, for the input. It very well might be.
I'll give a little more information.
> He or she gives the impression of expecting PyPy
> o
On Friday, June 27, 2014 7:44:39 PM UTC-4, Paul Sokolovsky wrote:
> Yes, you can. So, please try that, and report
> how that went. We're eager to know how that would
> go very much. But unlike you, we don't have need
> to transform wxPython GUI application in Python into
> an executable. So, you
Can I use PyPy to transform a wxPython
GUI application in Python that uses several
3rd party modules into a faster Python
application that can be distributed as
an exe?
--
https://mail.python.org/mailman/listinfo/python-list
(Trying again, simpler and cleaner post)
Can I use Nuitka to transform a wxPython
GUI application in Python that uses several
3rd party modules into a small and faster
compiled-to-C executable?
--
https://mail.python.org/mailman/listinfo/python-list
On Thursday, June 26, 2014 3:27:48 PM UTC-4,
Mark Lawrence wrote:
> 3. use the logging module :)
I've just never got around to it, but I guess
I should. Thanks for the nudge.
--
https://mail.python.org/mailman/listinfo/python-list
> Seems like over the years good old fashioned
> debugging skills have been lost. In the earliest
> days of IDEs (Turbo BASIC and QuickBASIC) I
> regularly would employ debuggers with break
> points, watches, and step through my code.
I do also use a debugger, but lazily use print
stateme
Huh. I learned two new Python facts this week:
1. print statements were slowing down my code enough to
really notice a particular transition. It went from about
2-3 seconds to a bit under 1 second. What at first seemed
unresponsive now seems almost snappy. The only difference
was removing a lot of
I'm reposting my question with, I hope, better
formatting:
I occasionally hear about performance improvements
for Python by various projects like psyco (now old),
ShedSkin, Cython, PyPy, Nuitka, Numba, and probably
many others. The benchmarks are out there, and they
do make a difference,
I occasionally hear about performance improvements for Python by various
projects like psyco (now old), ShedSkin, Cython, PyPy, Nuitka, Numba, and
probably many others. The benchmarks are out there, and they do make a
difference, and sometimes a difference on par with C, from what I've heard.
If I want to switch my work from one computer to a new one, and I have lots of
various libraries installed on the original computer, what's the best way to
switch that all to the new computer? I'm hoping there is some simple way like
just copying the Python/Lib/site-packages folder, but I'm als
On Saturday, April 12, 2014 8:07:57 AM UTC-4, Sturla Molden wrote:
> CM wrote:
>
>
>
> > You're saying that fear of patent trolls is yet another bad reason to
>
> > obfuscate your code? But then it almost sounds like you think it is a
>
> &g
On Friday, April 11, 2014 12:13:47 PM UTC-4, Sturla Molden wrote:
> Mark H Harris wrote:
>
> > Obfuscation (hiding) of your source is *bad*, usually done for one
> > of the following reasons:
>
> > 1) Boss is paranoid and fears loss of revenues due to intellectual
> > property theft.
On Sunday, March 30, 2014 7:16:07 PM UTC-4, D. Xenakis wrote:
> Id like to ask.. do you know any modern looking GUI examples of windows
> software written in python? Something like this maybe:
> http://techreport.com/r.x/asus-x79deluxe/software-oc.jpg (or hopefully
> something like this android
On Monday, February 24, 2014 3:31:11 AM UTC-5, Karthik Reddy wrote:
> I worked as a weblogic administrator and now i am changing to development and
> i am very much interested in python . please suggest me what are the
> things i need to learn more rather than python to get an I.T job. I
On Saturday, February 8, 2014 10:43:47 PM UTC-5, Steven D'Aprano wrote:
> PyPy can generate code which is comparable to compiled C in speed.
> Perhaps you mean, "if execution speed is the most important thing, using
> a naive Python interpreter may not be fast enough".
Given that the OP seems
On Thursday, January 30, 2014 5:25:31 PM UTC-5, Chris Angelico wrote:
> On Fri, Jan 31, 2014 at 9:04 AM, CM wrote:
>
> > fake_data = ['n/a', 'n/a', 'n/a', 'n/a', '[omitted]', '12']
>
> > fake_result = n
> Try using square brackets notation instead. Apparently your
> __builtins__ is a dictionary, not a module, though I don't know why
> (probably something to do with numpy, which I've never actually used).
>
> But try this:
> builtin_all = __builtins__["all"]
>
> It might work.
Yes, it does. Tha
On Thursday, January 30, 2014 5:14:57 PM UTC-5, Peter Otten wrote:
> Hint:
>
> >>> def demo():
> ... fake_data = ['n/a', 'n/a', 'n/a', 'n/a', '[omitted]', '12']
> ... fake_result = not all(i == '[omitted]' for i in fake_data)
> ... print 'This is fake result: ', fake_result
>
> >>> d
This is puzzling. (Using Python 2.5, WinXP, Boa Constructor 0.6.1 definitely
running the code through Python 2.5)
If I run these lines in my program, through my IDE (Boa Constructor),
fake_data = ['n/a', 'n/a', 'n/a', 'n/a', '[omitted]', '12']
fake_result = not all(i == '[omitted]' for
I've been learning and using Python for a number of years now but never really
go particularly disciplined about all good coding practices. I've definitely
learned *some*, but I'm hoping this year to take a good step up in terms of
refactoring, maintainability, and mostly just "de-spaghettizing
On Monday, January 6, 2014 8:57:22 PM UTC-5, Roy Smith wrote:
> Yes, exactly. There's nothing magic about a django view. It's just a
> function which is passed an instance of HttpRequest (and possibly a few
> other things, depending on your url mapping), and which is expected to
> return an i
On Sunday, January 5, 2014 4:50:55 PM UTC-5, Roy Smith wrote:
> One of the things we try to do is put as little in the views as
> possible. Views should be all about accepting and validating request
> parameters, and generating output (be that HTML via templates, or JSON,
> or whatever). All
On Monday, January 6, 2014 12:02:31 PM UTC-5, blis...@gmail.com wrote:
> I love programming in python but I'm having trouble deciding over a framework
> for a single player MUD like game I'm making for fun. Ideally it's a
> cross-platform free framework in case I want make it open source later wi
On Friday, August 9, 2013 9:10:18 PM UTC-4, Steven D'Aprano wrote:
> I am seeking comments on PEP 450, Adding a statistics module to Python's
> standard library:
I just saw today that this will be included in Python 3.4. Congratulations,
Steven, this is a nice addition.
--
https://mail.python
On Friday, September 20, 2013 5:58:00 AM UTC-4, Aseem Bansal wrote:
> I started Python 4 months ago. Largely self-study with use of Python
> documentation, stackoverflow and google. I was thinking what is the minimum
> that I must know before I can say that I know Python?
Seems to me a fuzzy bou
> Tkinter -- Simple to use, but limited
>
> PyQT -- You have a GUI designer, so I'm not going to count that
As others have pointed out, that's nonsensical. If you don't like the GUI
designer, just don't use it.
> wxPython -- Very nice, very professional, approved by Python creator, but
> a
On Friday, August 9, 2013 9:10:18 PM UTC-4, Steven D'Aprano wrote:
> I am seeking comments on PEP 450, Adding a statistics module to Python's
> standard library:
I think it's a very good idea. Good PEP points, too. I hope it happens.
--
http://mail.python.org/mailman/listinfo/python-list
ave tried sql.learncodethehardway but it isn't complete yet. I tired looking on
stackoverflow's sql tag also but nothing much there. Can someone suggest me
better resources for learning sql/sqlite3?
There are a lot of nice small tutorials out there found by Googling. One
resource that you mig
Wayne, thanks for your thoughts.
I am all for the scientific method--in understanding the natural world, which
doesn't come with a manual. But Python is an artificial system designed by
mere people (as well as Guido), and, as such, does have a manual. Ideally,
there should be very little ne
On Saturday, August 3, 2013 6:16:09 AM UTC-4, Borja Morales wrote:
> Everytime I watched the minions from Despicable Me something was hitting my
> unconscious mind. Finally I figured it out... Minions are Python Powered!
>
>
>
> I couldn't resist to make an image :)
I haven't even seen either
(My subject line is meant to be tongue and cheek inflammatory)
I've been thinking about why programming for me often feels like ice skating
uphill. I think part of the problem, maybe the biggest part, is what now
strikes me as a Very Bad Habit, which is "poke and hope" (trial and error)
progra
On Wednesday, July 31, 2013 11:47:19 AM UTC-4, David M. Cotter wrote:
> okay, well that might turn out to be useful, except i don't quite know how to
> use it, and there are no "from scratch" instructions.
>
>
>
> i managed to download "py2exe-0.6.9.zip" and unzip it, but how does one
> "insta
On Tuesday, July 30, 2013 4:23:06 PM UTC-4, David M. Cotter wrote:
> yes, i've looked there, and all over google. i'm quite expert at embedding
> at this point.
>
>
>
> however nowhere i have looked has had instructions for "this this is how you
> package up your .exe with all the necessary p
(Posted to SQLite users list first; 3 views so far, and no answers,
so trying here, thinking that perhaps a Python user would have some
clues; I hope that is OK)
I am using SQLite through either Python 2.5 or 2.7, which is the sqlite3
module. In a desktop application, every now and then, and in
On Monday, July 15, 2013 6:02:30 AM UTC-4, Azureaus wrote:
> To be fair to who programmed it, most functions are commented and I can't
> complain about the messiness of the code, It's actually very tidy. (I suppose
> Python forcing it's formatting is another reason it's an easily readable
> lan
> Basically the problem is I am new to the language and this was clearly
> written by someone who at the moment is far better at it than I am!
Sure, as a beginner, yes, but also it sounds like the programmer didn't
document it much at all, and that doesn't help you. I bet s/he didn't always
us
On Wednesday, July 10, 2013 7:57:11 PM UTC-4, Joshua Landau wrote:
> Yeah, but why keep shipping the Python interpreter? If you choose the
> installer route, you don't have to keep shipping it -- it's only
> downloaded if you need it. If not, then you don't download it again.
I admit that not ne
On Wednesday, July 10, 2013 11:01:26 AM UTC-4, Steven D'Aprano wrote:
> Mats, I fear you have misunderstood. If the Python Secret Underground
> existed, which it most certainly does not, it would absolutely not have
> the power to censor people's emails or cut them off in the middle of
>
*That'
> I was mainly talking in the context of the original post, where it
> seems something slightly different was meant. If you're deploying to
> customers, you'd want to offer them an installer. At least, I think
> you would. That's different from packing Python into a .exe file and
> pretending it'
On Tuesday, July 9, 2013 4:33:17 AM UTC-4, Aseem Bansal wrote:
> Thanks @Dave Cook.
>
>
>
> I'll try wxPython.
If so, the hoary but working Boa Constructor 0.7 is a drag and drop GUI builder
for wxPython applications. Well, more like click and then click again, then
drag around. It's also a
On Wednesday, July 10, 2013 12:12:16 AM UTC-4, Joshua Landau wrote:
> On , CM wrote:
>
> > What I was thinking of was that if you are going to sell software, you want
> > to make it as easy as possible, and that includes not making the potential
> > customer have to i
On Tuesday, July 9, 2013 8:14:44 PM UTC-4, Joshua Landau wrote:
> > I still think you are overstating it somewhat. Have a website on which you
> > distribute your software to end users (and maybe even--gasp--charge them
> > for it)? *That's* a good reason.
> Not really. It'd be a good reason
On Tuesday, July 9, 2013 5:21:22 PM UTC-4, Joshua Landau wrote:
> On 9 July 2013 05:46, CM wrote:
> > Maybe 5-20 MB. That's a lot bigger than a few hundred K, but it's not that
> > important to keep size down, really.
> Fair enough. It's not something I
On Tuesday, July 9, 2013 5:13:17 PM UTC-4, Joshua Landau wrote:
> On 9 July 2013 03:08, Adam Evanovich wrote:
> > Can you wrap source code/libs/apps into an EXE and just
> > send that to the end user? Or is it more complicated for them?
>
> Urm.. yes. But don't. That's the "nuclear" option and
On Tuesday, July 9, 2013 1:03:14 AM UTC-4, Chris Angelico wrote:
> On Tue, Jul 9, 2013 at 2:46 PM, CM wrote:
>
> >> Target the three most popular desktop platforms all at once, no
>
> >> Linux/Windows/Mac OS versioning.
>
> > Ehhh... There are differences,
On Monday, July 8, 2013 9:45:16 PM UTC-4, ajetr...@gmail.com wrote:
> all,
>
>
>
> I am unhappy with the general Python documentation and tutorials.
OK. Do you mean the official Python.org docs? Which tutorials? There's a ton
out there.
> I have worked with Python very little and I'm wel
I'm looking for a Pythonic way to do the following:
I have data in the form of a long list of tuples. I would like to break that
list into four sub-lists. The break points would be based on the nth occasion
of a particular tuple. (The list represents behavioral data trials; the
particular tu
On Sunday, June 23, 2013 4:40:07 PM UTC-4, cutems93 wrote:
> Hello,
>
>
>
> I am new to python development and I want to know what kinds of tools people
> use for python development. I went to Python website and found [12 different
> types of] tools.
> What else do I need? Also, which softw
> >> > 1. Automated Refactoring Tools
>
> >> I wish.
>
> > Why? I've never seen the appeal of these. I do plenty of refactoring.
> > It's unclear to me what assistance an automated tool would provide.
> I've often wanted something that would help globally change
> things like function
Thank you, everyone, for the answers. Very helpful and knowledge-
expanding.
--
http://mail.python.org/mailman/listinfo/python-list
I have to count the number of various two-digit sequences in a list
such as this:
mylist = [(2,4), (2,4), (3,4), (4,5), (2,1)] # (Here the (2,4)
sequence appears 2 times.)
and tally up the results, assigning each to a variable. The inelegant
first pass at this was something like...
# Create na
On Apr 4, 11:41 am, Renato Barbosa Pim Pereira
wrote:
> Guys, is this, I wonder if there is an IDE with native support for the
> development of GUI's such as Netbeans with Swing, Visual Basic, etc.,
The term you want to use is "GUI Builder". Because there can be IDEs
without a GUI builder. You
> >> I am not the maintainer of the datetime module, but based purely on what
> >> you have said, I would consider that a bug.
>
> I don't. Do you really want every time function slowed by
> re-initializing the timezone?
It depends; do you know what re-initializing entails and how costly
that wo
On Apr 3, 7:37 am, Steven D'Aprano wrote:
> On Tue, 02 Apr 2013 17:04:12 -0700, CM wrote:
> > To summarize the issue: In an application, I have been using Python's
> > datetime module to get the current time. But it seems that, at least
> > with Windows (XP), what
> 2013-04-03 14:41:13.124000 < WRONG
> ^
(That carrot is supposed to be pointing to the 4 in 14, which should
be 18.)
--
http://mail.python.org/mailman/listinfo/python-list
Although there is an answer to my concern posted on Stack Overflow[1],
I thought I'd run this by the Python group to just get a read on it,
since it strikes me as a concern.
To summarize the issue: In an application, I have been using Python's
datetime module to get the current time. But it seem
On Mar 9, 9:08 pm, pitsa...@gmail.com wrote:
> hello,
>
> i want to develop a GUI application that will be sold.
> i want to use pyqt4.
> can i download and use the GPL version during the development and then buy
> the commercial verion beofore i distribute the application ?
Arguably, yes. From
> The main issue is that python has dynamic typing. The type of object
> that is referenced by a particular name can vary, and there's no way
> (in general) to know at compile time what the type of object "foo" is.
>
> That makes generating object code to manipulate "foo" very difficult.
Could y
I was using self correctly, I think; but I should have said that the
code in the importing module would be within a class, so self there
refers to that class. But that's a side point.
I agree that utilities.shared_cursor is visible within the importing
module. But the problem below remains for m
On Feb 6, 12:04 am, Terry Reedy wrote:
> On 2/5/2013 11:40 PM, CM wrote:
>
>
>
>
>
>
>
>
>
> > I have recently moved all my SQLite3 database-related functions into a
> > class, DatabaseAccess, that lives in a "utilities" module. When the
>
I have recently moved all my SQLite3 database-related functions into a
class, DatabaseAccess, that lives in a "utilities" module. When the
application loads, the namespace of the instance of the class is
populated with two different cursors for two different databases the
whole application needs t
> It would not be difficult to convince me to commit homicide for
> a Delphi-like Python gui machine that runs on a Linux box. I
> have played with many - Boa, WxDes, Glade, Tk, Dabo, QtDesigner,
> Card, etc.
Not sure whether you tried it enough on Linux, but Boa (which was
intended to be kind of
On Jun 24, 12:16 pm, Alec Taylor wrote:
> This is the most active one, forked from the official facebook one
> (when they used to maintain it
> themselves):https://github.com/pythonforfacebook/facebook-sdk
>
>
>
>
>
>
>
> On Mon, Jun 25, 2012 at 1:35 AM, Chris Angelico wrote:
> > On Mon, Jun 25,
Dietmar quotes:
> With Python not having an easy-to-use GUI builder,
> The point is, that if you want to promote Python as replacement
> for e.g. VB, Labview etc., then an easy-to-use GUI builder is required.
> The typical GUI programs will just have an input mask, a button and one
> or two outpu
On Jun 14, 2:25Â pm, Wolfgang Keller wrote:
>
> What is needed for domain specialists are frameworks and related tools
> such as GUI builders that allow them to write exclusively the
> domain-specific code (this is where a domain specialist will always be
> better than any software developer), lay
On Jun 11, 6:55 pm, Dietmar Schwertberger
wrote:
> But then we're back to the initial point: As long as there's no GUI
> builder for Python, most people will stick to Excel / VBA / VB.
Then good thing there *are* GUI builder/IDEs for Python, one of which
was good enough for me to take me from es
> I think that something in the style of Visual BASIC (version 6) is required
> for either wxPython or PyQt/PySide (or both).
> In the Visual BASIC editor you can e.g. add a GUI element
> and directly go to the code editor to fill methods (e.g. an OnClick
> method).
You can do this for wxPython wi
On Jun 8, 8:27 am, Wolfgang Keller wrote:
> > I want a gui designer that writes the gui code for me. I don't want to
> > write gui code. what is the gui designer that is most popular?
> > I tried boa-constructor, and it works, but I am concerned about how
> > dated it seems to be with no updates i
On Jun 5, 10:10 am, Mark R Rivet wrote:
> I want a gui designer that writes the gui code for me. I don't want to
> write gui code. what is the gui designer that is most popular?
> I tried boa-constructor, and it works, but I am concerned about how
> dated it seems to be with no updates in over six
On May 17, 5:00 pm, Peter wrote:
> Or wxPython is another good alternative. Download the demo and have a look at
> the widgets people have already used/created. I think there are some good
> choices for instrumentation (from memory).
Yes, wxPython has some that are applicable:
LEDNumberCtrl
Pe
On May 11, 11:25 am, Coyote wrote:
> Folks,
>
> I am migrating to Python after a 20+ year career writing IDL programs
> exclusively. I have a really simple question that I can't find the answer to
> in any of the books and tutorials I have been reading to get up to speed.
>
> I have two programs
> I've tried using fbconsole[1] and facepy[2], both of which apparently
Forgot the refs:
[1]https://github.com/facebook/fbconsole;
http://blog.carduner.net/2011/09/06/easy-facebook-scripting-in-python/
[2]https://github.com/jgorset/facepy
--
http://mail.python.org/mailman/listinfo/python-list
Shot in the dark here: has any who reads this group been successful
with getting Python to programmatically post an image to Facebook?
I've tried using fbconsole[1] and facepy[2], both of which apparently
work fine for their authors and others and although I have an
authorization code, publish pe
On Feb 22, 12:29 am, Steven D'Aprano wrote:
> On Tue, 21 Feb 2012 19:51:07 -0800, CM wrote:
> > I have an application that I was hoping to reduce a bit the size of its
> > .exe when "packaged" with py2exe. I'm removing some Python modules such
> > as
I have an application that I was hoping to reduce a bit the size of
its .exe when "packaged" with py2exe. I'm removing some Python
modules such as Tkinter, etc., but now wonder how much I could size I
could reduce by refactoring--and therefore shortening--my code.
Is there a rule of thumb that pr
> You could create the webpage and then render
> it in your desktop app. I have seen plenty of apps like that.
That's a good idea. I was able to get the basics of the pymaps
approach going, so I may do just this. Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 29, 12:52 pm, Miki Tebeka wrote:
> Probably the google maps routes will be faster (maybe using embedded webkit
> window). However it requires internet connection.
>
> See alsohttp://www.scipy.org/Cookbook/Matplotlib/Maps
Thanks. But I just needed a small radius, not the whole globe, and
Recommendations sought for using Python to plot points/custom markers
(and maybe other things?) on a map of an area of the U.S. of maybe 100
miles radius. (This would be a "political" map showing towns, such as
from Google Maps or Mapquest, and not a "physical" map). I'll need to
place markers or
> Now, for my work, I would need to learn the basics fast, for a one-time
> quick-n-dirty job.
>
> This involves a graphic comparison of RFC1918 IP subnets allocation across
> several networks.
>
> The idea is to draw parallel lines, with segments (subnets) coloured green,
> yellow or red depending
On Sep 6, 2:27 pm, Fred Pacquier wrote:
> Hi,
>
> I'm a Python long-timer, but I've never had to use tools like Matplotlib &
> others before.
>
> Now, for my work, I would need to learn the basics fast, for a one-time
> quick-n-dirty job.
>
> This involves a graphic comparison of RFC1918 IP subnet
Thanks, everyone. Very helpful!
Che
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 19, 11:17 pm, CM wrote:
> I have three items in a dict, like this:
>
> the_dict = {'a':1, 'b':2, 'c':3}
>
> but the vals could be anything. I want to configure something else
> based on the "winner" of such a dict, with these
I have three items in a dict, like this:
the_dict = {'a':1, 'b':2, 'c':3}
but the vals could be anything. I want to configure something else
based on the "winner" of such a dict, with these rules:
1. In this dict, if there is a UNIQUE max value, that's the winner.
2. If there are any TIES for m
On Jul 12, 5:18 pm, rantingrick wrote:
> On Jul 12, 1:43 pm, CM wrote:
>
> > > > One reason there hasn't been much demand for a GUI builder is that, in
> > > > many cases, it's just as simpler or simpler to code a GUI by hand.
>
> > I use a GUI bu
1 - 100 of 199 matches
Mail list logo