On 2/27/23 09:17, Grant Edwards wrote:
> On 2023-02-27, Michael Torrie wrote:
>
>> I've been putting off sending this message for days, but the list noise
>> level is now to the point that it has to be said.
>
> Ah, I've finially realized why some of those thre
On 4/1/23 15:33, Thomas Passin wrote:
> OTOH, Qt isn't free for commercial use and the OP seems to be
> speculating on coming up with a product to sell at some point.
Careful. That's not actually true, even though the marketing team at Qt
lets people believe it is. Qt is licensed under the LGPL,
On 4/2/23 05:09, Dietmar Schwertberger wrote:
> I also did evaluate all the GUI builder from time to time between
> 2000 and 2016 to find one that I could recommend to colleagues,
> but could not find one. Then I started contributing to wxGlade
> and I can say that since a few years it's as easy ag
On 4/1/23 09:37, Eryk Sun wrote:
> Here are a few of the GUI toolkit libraries in common use:
>
> * tkinter (Tk)
> * PyQt (Qt)
> * PySide (Qt)
> * wxPython (wxWidgets)
> * PyGObject (GTK)
>
> tkinter is included in Python's standard library.
Another good one is Kivy. Especia
On 2023-04-02 9:09 a.m., Dietmar Schwertberger wrote:
> That's what I hated with Qt Designer: it does not output Python code
> but a .ui file.
> This was the point where I could not recommend it to anyone.
Well the thing is you don't need to generate Python code at all. Qt
provides a UI loader
On 2023-04-02 9:09 a.m., Dietmar Schwertberger wrote:
>> I've tried wxGlade but never could get into it, or wxWidgets in general.
>
> Which version? Up to 0.7.2 I agree.
Been a long time. I was initially turned off by the event handling
system of wx compared to the signals and slots of Gtk and Qt
On 4/11/23 11:48, Oscar Benjamin wrote:
> You can hardly blame a lot of people for doing this. A seb search for
> "download python" gives this as the first hit:
> https://www.python.org/downloads/
Very true, but it points to the difference between how people install
Python on Windows compared to L
On 4/21/23 15:57, Barry wrote:
> Maybe this, recently lwn.net article, https://textual.textualize.io/
> I was planning to check it out.
Textual definitely looks slick and modern. And with a modern terminal
emulator it works quite well and is responsive. I'd definitely consider
it for a TUI.
But
On 4/24/23 08:04, Grant Edwards wrote:
> Is putty running on Windows a "modern terminal emulator" in this
> context? After observing some of the local IT types work, I suspect
> that will be a common use-case for the app I'm working on.
Yes, Putty qualifies as a "modern terminal emulator." It su
On 1/19/21 10:40 PM, Mladen Gogala via Python-list wrote:
> I generally advise
> using Cygwin and installing the Cygwin version of Python. Your OS will
> look like a POSIX compatible system, and you will be able to use Unix/
> Linux tools like bash, less. vi, awk, grep and alike. You will also be
On 1/26/21 8:37 PM, C W wrote:
> I have a naive question. How do I use traceback or trace the stack? In
> particular, I'm using VS Code with Python interactive console.
Show us the traceback here and we can help you interpret it. Copy and
paste it from the VS Code console.
> Say, I want to print
On 1/26/21 8:30 PM, Grant Edwards wrote:
> Me too (MS in CSci), but I can't remember the last time I used a
> debugger.
I use a debugger frequency in C++, and sometimes C. Even running a
debugger on an attached device like an Arduino is sometimes very useful.
Good debuggers let you do things lik
On 1/26/21 10:19 PM, C W wrote:
> Traceback (most recent call last):
>File "/Users/Mike/Documents/Mike/main.py", line 95, in
> main()
>File "/Users/Mike/Documents/Mike/main.py", line 86, in main
> args = get_feed()
>File "/Users/Mike/DocumentsMike/main.py", line 32, in get_
On 1/27/21 11:42 AM, C W wrote:
> For learning purposes, here's the files:
> https://www.dropbox.com/sh/a3iy40rcvib4uvj/AAADmlM2i6NquWC1SV0nZfnDa?dl=0
>
> Yes, you are correct about "employee" and "person" discrepancies. For now,
> the list comprehension is where I get stuck.
>
> I'd like to know
On 1/30/21 2:58 PM, Philipp Daher via Python-list wrote:
> Dear Python-Team,
>
> I have just repaired python after running my program which imports pyautogui,
> closing and reopening it and then getting this: ModuleNotFoundError: No
> module named „pyautogui“. Repairing didn’t work and I still g
On 2/16/21 10:58 AM, Ben Bacarisse wrote:
> Attempts at a universal compiler stalled in the 1980s (though there may
> have been some new developments since I stopped looking) because
> expressing the semantics of different languages is so very hard. In
> fact, much of the interest in pursuing the
On 3/23/21 5:19 AM, Paul Edwards wrote:
> Thanks for the tip. I don't actually need it to be
> light. I just need it to be C90-compliant.
I guess the point with MicroPython is that since it can build on all
sorts of microcontrollers, a) it has a simpler build system and b) it is
definitely statica
On 3/25/21 1:14 AM, Loris Bennett wrote:
> Does any one have a better approach?
Not as such. Running a command and parsing its output is a relatively
common task. Years ago I wrote my own simple python wrapper function
that would make it easier to run a program with arguments, and capture
its out
On 3/27/21 1:02 PM, pyt...@blackward.eu wrote:
> You say: "The point is that there are those who use Python 2 and
> don't want to move to Python 3, claiming that it's easier to switch
> from Python 2 to some other language than from Python 2 to Python 3.
> That's what seems questionable." And I say
On 3/28/21 12:28 PM, Michael Torrie wrote:
> You want to use an obsolete version of Python and an obsolete version of
> Qt. That's totally fine! But why are you angry when people, who are
> strictly volunteers, are unable to help much here other than to strongly
> recommend you
On 3/28/21 12:33 PM, Quentin Bock wrote:
> Is it possible to create a firewall inside python and then run that instead
> of the windows defender firewall? If so how would that work or how would
> that be made?
Probably not. The firewall is part of the kernel since it works
directly with the netwo
On 4/10/21 8:52 AM, cseb...@gmail.com wrote:
>
>> Is it even possible to be secure in that way? This is, by definition,
>> a MITM, and in order to be useful, it *will* have to decrypt
>> everything. So if someone compromises the monitor, they get
>> everything.
>
> Chris
>
> I hear all your
On 4/26/21 12:38 AM, Stephen Tucker wrote:
> Hi,
>
> I have old software written in GWBASIC that I use to plot diagrams on the
> screen.
>
> In Windows 10, I have to resort to using the DOSBox emulator to run it.
>
> I would dearly like to re-write it in Python - ideally Python 2.7.
>
> What, i
On 4/28/21 4:00 AM, Rasig Kosonmontri wrote:
> so i heard that the microsoft store's version of python tends to hide
> itself. and so i uninstalled it
> but when i typed in to a powershell it just directs me to the
> mircrosoft store's page
> i then disabled it from doing that and install python fr
On 5/2/21 1:23 PM, Quentin Bock wrote:
> the error apparently comes from the first instructions variable saying
> library not initialized not sure why, its worked before but not now :/
I don't get that error on my Fedora 32 machine. The script ultimately
doesn't run because it can't find the icon
On 5/5/21 8:58 PM, Joe Pfeiffer wrote:
> Mr Flibble writes:
>
>> Python is slow and significant whitespace is patently absurd.
>
> Why am I not surprised to learn your "fast" implementation turns out to
> be something other than python?
And it's bizarre that the OP, since he despises Python so
On 5/8/21 3:28 PM, Mirko via Python-list wrote:
>
> I apologize for this OT post, especially because it's in reply to an
> at least partly troll post, but I just can't resist. Sorry.
>
> P.S.: *NOT* among the core symptoms of (the high-functioning levels)
> of ASS is the inability to learn. Mind
On 5/8/21 6:23 PM, Jason C. McDonald wrote:
> Usually, I find when people dump on CoCs, they're just angry at
> accountability. I haven't known anyone yet who was a productive
> member of Python and opposed to the CoC, at least in principle
> and aim.
I disagree. Many people are opposed to CoCs f
On 5/9/21 11:26 AM, Abdur-Rahmaan Janhangeer wrote:
> Out of curiosity, how do people without a Code of Conduct
> manage and prevent abuse in between people? I was about
> to organise something last year but did not find a better solution
> than a code of conduct to ensure smoothness. Well the idea
On 5/21/21 8:25 AM, Mats Wichmann wrote:
> An install for all users will drop it into someplace different - by
> default at the top of the drive, so e.g. C:\Python39.
I just did an install of 3.9 on Windows 10. There was an option to
install the launcher for all users but no option for installing
On 5/24/21 7:34 AM, hw wrote:
> Perhaps you can't see how both examples are different because you're
> looking at things from a python perspective.
Sorry but they aren't all that different. In both cases you're
shadowing printf. The difference is that C is a statically-typed,
compiled language,
On 5/24/21 8:24 AM, Chris Angelico wrote:
> On Tue, May 25, 2021 at 12:18 AM hw wrote:
>> There are more alternatives: Python might create a new variable with
>> the same name and forget about the old one. Or it doesn't forget about
>> the old one and the old one becomes inaccessible (unless you
On 5/24/21 8:17 AM, hw wrote:
> What does python actually do in the first example? Does it overshadow a
> variable or does it change one? If it overshadows a variable, it would
> be dubious, if it doesn't, it won't be dubious.
Are you referring to this?
num = input("Enter a number: ")
On 5/24/21 8:21 AM, Michael Torrie wrote:
> Given your posts thus far, hw, I don't think Python is a good fit for
> you. You're better off learning a language that more closely aligns with
> the statically-typed languages you already know.
That was unnecessarily harsh; my ap
On 5/24/21 8:37 AM, Chris Angelico wrote:
> We're talking about many different things.
Indeed.
The context of that original question about whether this was shadowing
or not seemed to be specifically about the num=input(); num=int(num)
example that Cameron Simpson posted. Although hw was not cle
On 5/24/21 8:42 AM, Schachner, Joseph wrote:
> OMG that is awful abuse of Python! You have overloaded two Python
> keywords by making variables of that name.
Nitpick. hw did not overload keywords. Python does not allow keywords to
be overloaded. Instead hw overwrote type names. Upon learning th
On 5/24/21 9:53 PM, hw wrote:
> That seems like an important distinction. I've always been thinking of
> variables that get something assigned to them, not as something that is
> being assigned to something.
Your thinking is not incorrect. Assignment is how you set a variable to
something. Fo
On 5/27/21 10:42 AM, hw wrote:
> What do you do with it when importing it? Do you somehow design your
> programs as modules in some way that makes them usable as some kind of
> library funktion?
Yes, precisely. Typically I break up my python projects into logical
modules, which are each kind o
On 5/27/21 12:29 PM, hw wrote:
> When the idea is to learn something, it's not exactly helpful to abandon
> that idea when encountering the first obstacle or when someone tells you
> you don't like it as much as they do ...
We've had many new users approach the mailing list over the years.
Alway
On 6/13/21 11:44 AM, Grant Edwards wrote:
> There's been a surprising amount of discussion lately about using
> curses libraries on Windows OS. I'm surprised by this, because I don't
> think I've ever even seen a Windows curses application.
>
> Are there examples of popular curses applications for
On 8/2/21 1:43 PM, Sven R. Kunze wrote:
> Hi everyone,
>
> maybe, I am missing something here but is it possible to specify a
> delimiter for list arguments in argparse:
>
> https://docs.python.org/3/library/argparse.html
>
> Usually, '--' is used to separate two lists (cf. git).
I've not seen
On 10/8/21 4:32 PM, Paulo da Silva wrote:
> Às 22:56 de 08/10/21, Paulo da Silva escreveu:
>> Hi!
>>
>> I need to debug a python3 script under root. I tried spyder but it does
>> not work.
>>
>> Running as root without --no-sandbox is not supported. See
>> https://crbug.com/638180.
>>
>> Thanks for
On 10/13/21 12:09 PM, Paulo da Silva wrote:
> spyder and eric are both python editors/debuggers! Why are they related
> with web browsers?!
Good point. I was going off of the chromium bug report. My bad. I
mistook Spyder for Selenium, which is a web scraping scripting engine
that does use a real
On 10/15/21 5:37 PM, 정성학(대학원생-자동차IT융합전공) via Python-list
wrote:
> Dear Sir,
>
> resend request
Unfortunately your message is still blank. Attachments such as
screenshots are not visible to this list. Whenever you ask questions on
the list it is helpful to:
- state the operating system you are us
On 11/18/21 10:54 AM, Mahmood Naderan via Python-list wrote:
> As you can see I put the result of plot() to ax1 and then use some functions,
> e.g. set_ylabel().
And what is the result of plot()? Is it a valid object, or is it None?
--
https://mail.python.org/mailman/listinfo/python-list
On 11/19/21 10:38 AM, Mahmood Naderan wrote:
>> And what is the result of plot()? Is it a valid object, or is it None?
>
> Well the error happens on the plot() line. I tried to print some information
> like this:
>
> Any thoughts on that?
It's not really possible for us to know what is happeni
On 11/22/21 2:03 AM, Mahmood Naderan via Python-list wrote:
> Hi
>
> I asked a question some days ago, but due to the lack of minimal
> producing code, the topic got a bit messy. So, I have decided to ask
> it in a new topic with a clear minimum code.
> import pandas as pd
> import csv,sys
> impor
On 11/25/21 2:20 AM, Ulli Horlacher wrote:
> When I compile my programs with pyinstaller, Windows classifies them as
> virus and even deletes them!
>
> pyinstaller.exe --onefile --noconsole -i fex.ico fextasy.py
> 187 INFO: PyInstaller: 4.7
> 187 INFO: Python: 3.10.0
> 218 INFO: Platform: Windows-
On 11/25/21 9:08 AM, Ulli Horlacher wrote:
> I cannot submit my executables, because the Windows Virus scannners
> deletes them as soon as I compile my program!
Add an exclusion rule to your machine. While this is not an option for
your end users, this will certainly allow you to work on the probl
On 11/25/21 9:08 AM, Ulli Horlacher wrote:
> I cannot submit my executables, because the Windows Virus scannners
> deletes them as soon as I compile my program!
I forgot to post this link:
https://support.microsoft.com/en-us/windows/add-an-exclusion-to-windows-security-811816c0-4dfd-af4a-47e4-c30
On 1/10/22 8:27 AM, Mandy and Michael Wilson via Python-list wrote:
> I wonder if you can help me out please. I have recently added an
> extension into Inkscape called Axidraw which should enable me to
> hatchfill text, unforunately I am unable to use this facility as when I
> open a canvas in
On 2/7/22 12:51, Chris Angelico wrote:
> Some day, we'll have people on Mars. They won't have TCP connections -
> at least, not unless servers start supporting connection timeouts
> measured in minutes or hours - but it wouldn't surprise me if some
> sort of caching proxy system is deployed.
>
> O
On 3/9/22 13:05, Marco Sulla wrote:
> So my laziness pays. I use only LTS distros, and I update only when
> there are security updates.
> PS: any suggestions for a new LTS distro? My Lubuntu is reaching its
> end-of-life. I prefer lightweight debian-like distros.
Maybe Debian itself?
--
https://
On 3/10/22 06:03, Marco Sulla wrote:
> I tried Debian on a VM, but I found it too much basical. A little
> example: it does not have the shortcut ctrl+alt+t to open a terminal
> that Ubuntu has. I'm quite sure it's simple to add, but I'm starting
> to be old and lazy...
Debian has the same desktop
On 3/10/22 12:42, Marco Sulla wrote:
> PS: Is it just my impression or is there a plebiscite for Debian?
A vote? No I don't think so. Not sure what you mean. The reason we're
all suggesting Debian is because you specifically said you want a LTS
Debian-like distro. Can't get any more Debian-like
On 3/11/22 11:03, Marco Sulla wrote:
> Anyway I think I'll not install Debian, because it's LTS releases are
> not long enough for me. I don't know if there's a distro based on
> Debian that has a long LTS support, Ubuntu apart.
Both Debian stable and Ubuntu LTS state they have a five year support
On 08/09/2016 02:51 PM, Juan Pablo Romero Méndez wrote:
> 2016-08-09 13:18 GMT-07:00 Rob Gaddi :
>> It's not a style, it's the absence of one.
>>
>> def add2list(lst, elem):
>> lst.extend([elem, elem])
>> return lst
>>
>> I did all the type checking I needed to there; none whatsoever. If
>
On 08/10/2016 10:19 AM, Random832 wrote:
> On Wed, Aug 10, 2016, at 07:59, Dennis Lee Bieber wrote:
>> The use of = also has a long history... FORTRAN (where the comparison
>> was .EQ.), BASIC (granted, K&K required assignment to start with the
>> keyword LET, so the use of = was mainly a deli
On 08/10/2016 11:29 AM, Michael Selik wrote:
> On Tue, Aug 9, 2016 at 9:31 PM Steven D'Aprano
> wrote:
>
>>
>> http://steve-yegge.blogspot.com.au/2008/05/dynamic-languages-strike-back.html
>
>
> Great link. I enjoyed the video, too.
> https://www.youtube.com/watch?v=tz-Bb-D6teE
>
> Buried deep
On 08/10/2016 05:57 PM, Michael Torrie wrote:
> On 08/10/2016 10:19 AM, Random832 wrote:
>> On Wed, Aug 10, 2016, at 07:59, Dennis Lee Bieber wrote:
>>> The use of = also has a long history... FORTRAN (where the comparison
>>> was .EQ.), BASIC (granted, K&K re
On 08/12/2016 05:07 AM, Steven D'Aprano wrote:
> The first time I ever compiled a full-sized application (not a particular
> large one either, it was a text editor a little more featureful than
> Notepad) it took something like nine hours to compile on a Mac SE (this was
> circa 1990). How mad woul
On 08/13/2016 06:22 PM, Lawrence D’Oliveiro wrote:
> On Saturday, August 13, 2016 at 10:49:11 PM UTC+12, eryk sun wrote:
>> You can call GetFileSizeEx [1]. Or call GetFileInformationByHandleEx
>> [2] to get the FileStandardInfo. These APIs use the LARGE_INTEGER
>> union type, which has a long long
On 08/13/2016 06:22 PM, Lawrence D’Oliveiro wrote:
> On Saturday, August 13, 2016 at 10:49:11 PM UTC+12, eryk sun wrote:
>> You can call GetFileSizeEx [1]. Or call GetFileInformationByHandleEx
>> [2] to get the FileStandardInfo. These APIs use the LARGE_INTEGER
>> union type, which has a long long
On 08/13/2016 08:35 PM, Paul Rubin wrote:
> Steven D'Aprano writes:
>> Is there anyone here running Python on a PowerPC willing to help me
>> diagnose and fix this issue? http://bugs.python.org/issue27761
>
> https://duckduckgo.com/?q=powerpc+emulator
>
> gets a few hits, one on sourceforge and
On 08/13/2016 08:35 PM, Paul Rubin wrote:
> Steven D'Aprano writes:
>> Is there anyone here running Python on a PowerPC willing to help me
>> diagnose and fix this issue? http://bugs.python.org/issue27761
>
> https://duckduckgo.com/?q=powerpc+emulator
>
> gets a few hits, one on sourceforge and
On 08/14/2016 04:45 PM, Lawrence D’Oliveiro wrote:
> On Monday, August 15, 2016 at 4:31:44 AM UTC+12, BartC wrote:
>
>> But it can't create a new record or struct type at runtime which can
>> then be accessed using normal syntax, in compiled code that already
>> existed before the record was cre
On 08/19/2016 05:42 PM, Lawrence D’Oliveiro wrote:
> Python 3.5.2+ (default, Aug 5 2016, 08:07:14)
> [GCC 6.1.1 20160724] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from pathlib import PureWindowsPath
> >>> PureWindowsPath("prn").is
On 08/27/2016 05:28 PM, ROGER GRAYDON CHRISTMAN wrote:
> They took a woman who originally, I think we might agree, was not a witch,
Umm no, she was actually a witch. Which makes the scene even funnier.
"Fair caught," she says at the end.
--
https://mail.python.org/mailman/listinfo/python-list
On 09/04/2016 04:22 PM, Gregory Ewing wrote:
> Larry Hudson wrote:
>> If you continue to read this forum, you will quickly learn to ignore
>> "Pointy-Ears". He rarely has anything worth while to post, and his
>> unique fetish about Real Names shows him to be a hypocrite as well.
>
> To be fair,
On 09/04/2016 04:09 PM, Gregory Ewing wrote:
> Quivis wrote:
>> 2. You want to sort them according to red houses, blue houses, green
>> trees, yellow trees (that's autumn leaves), cats, dogs, children, elderly
>> people,
>
> But... but... what if you have a picture of a child
> playing with a do
On 09/18/2016 04:03 AM, Lawrence D’Oliveiro wrote:
> Like I said, trying to automate a GUI is a waste of time. GUIs are
> designed for humans, not computers, to use.
Well then we have a huge problem. Especially for users who are
visually-impaired. Fortunately almost all GUIs (Windows, Linux, and
On 09/18/2016 02:22 PM, Lawrence D’Oliveiro wrote:
> I know one blind computer user who is quite capable with the command
> line, and who has little fondness for GUI apps. You should see how
> quickly he works...
Good for him. This is very good that there are tools like that that he
and many othe
On 09/29/2016 01:18 PM, Lawrence D’Oliveiro wrote:
> On Thursday, September 29, 2016 at 11:46:59 PM UTC+13, Ned Batchelder wrote:
>> This is just getting rude. Let's please drop it.
>
> Do you have anything substantive to contribute?
He's already contributed far more to this list, and to Python,
On 10/01/2016 05:21 AM, Steve D'Aprano wrote:
> Long story short: I have no working systems capable of compiling the
> latest Python 3.6, and no time to upgrade my usual machines to
> something which will work.
>
> However I do have access to another machine (actually a VM) which
> can compile Pyt
On 10/01/2016 09:06 PM, Chris Angelico wrote:
> On Sun, Oct 2, 2016 at 1:58 PM, wrote:
>> Fython speed is the same as Fortran speed.
>>
>> There is no restriction on the Python code.
>> Once a Fython program is avalaible, Python can throw any scalar or Numpy
>> array at it.
>>
>> For the program
On 10/03/2016 03:10 AM, Gregory Ewing wrote:
> Rustom Mody wrote:
>> My new car goes in reverse when I put it in first gear but only on full-moon
>> nights with the tank on reserve when the left light is blinking
>
> OT aside: When I went to take my current car (a manual)
> for a test drive, I ha
On 10/03/2016 11:57 AM, sohcahto...@gmail.com wrote:
> Surprisingly, despite driving that previous car for 13 years, the switch was
> incredibly easy. I've never accidentally gone to sixth gear instead of
> reverse, or forgotten to shift into sixth on the highway. Also, accidentally
> going in
On 10/03/2016 08:21 PM, Steve D'Aprano wrote:
> On Tue, 4 Oct 2016 05:48 am, Michael Torrie wrote:
>
>> There is that old, but false, saying that the only intuitive interface
>> is the nipple. Turns out everything, even that, is learned
>
> Citation required.
S
On 10/04/2016 03:36 AM, meInvent bbird wrote:
> i expect to use pycparser to read linux kernel source
> and get a AST tree,
>
> but there are so many directory,
>
> how to read linux kernel source with pycparser?
>
> how to customize pycparser to search what we want such as bug or fix
> to ma
On 10/05/2016 11:46 AM, Noah wrote:
> Hello folk,
>
> I would like to use a python script to ssh into a server using a username
> and password and perhaps ass port.
>
> Any ideas on how to script that.
If paramiko doesn't fit your needs, traditionally this sort of work was
done with the pexpect
On 10/06/2016 11:34 AM, Navneet Siddhant wrote:
> I guess I will have to extract data from multiple divs as only
> extracting data from the parent div which has other divs in it with
> the different data is coming up all messed up. Will play around and
> see if I could get through it. Let me clarif
On 10/06/2016 04:47 PM, Loren Wilton wrote:
> The Python code is running as (I hope) a native Windows DLL, so should be
> able to access any existing Python libraries that exist on the WIndows
> machine. Obviously this Python code will be using Windows-shaped data
> objects like integers, floats
On 10/06/2016 06:03 PM, Loren Wilton wrote:
>> So I take it that currently users access the software running in the
>> virtual mainframe over telnet or some form of serial link and that they
>> interact with it in a text terminal? This point is fairly important,
>> because if it's true, then you r
On 10/06/2016 07:48 PM, Chris Angelico wrote:
> If that had been your original plan, it's dead simple to enhance it to
> use per-user module names. Just do this same work, but substitute a
> different module name right at the beginning! Other
> extremely-high-level interface functions are similar.
On 10/06/2016 10:46 AM, Tim wrote:
> I need to zip up a directory that's about 400mb.
> I'm using shutil.make_archive and I'm getting this response:
>
> Segmentation fault: 11 (core dumped)
>
> The code is straightforward (and works on other, smaller dirs):
>
> shutil.make_archive(os.pat
On 10/10/2016 07:32 AM, Veek M wrote:
> Whaaa...t?? Could someone explain what exactly is his grand design
> besides being awfully circuitous? So he has some other Form thingy.. and
> in that he sets up another mapping from ZeroSpinBox.atzero -->
> ZeroSpinBox.announce where's announce and
On 10/11/2016 08:29 AM, Michael Felt wrote:
> From reading the python source, and other projects I am looking to
> patch I see that there is often a file __init__.py, sometimes empty
> (only comments), sometimes not.
>
> I have tried looking in what I hope are the "regular" places such as:
> h
On 10/11/2016 05:33 AM, Андрей Логунов wrote:
> I need the Python Shell for use in education (turtle graphics, etc.),
> but the UI must be localized in the Russian language. The question is
> if it's at all possible to feed the strings in or rebuild it or...
For educational purposes, you might fin
On 10/11/2016 11:58 AM, dhawanpawa...@gmail.com wrote:
>
> n=6
> x=1
> while x<=n:
> print "*"*x
> x+=1
> while n>=x:
> n=n-1
> print "*"* n
>
>
> Only first loop is executing not the second one?
Did you try printing out the loop variable to see what it does and what
it is aft
On 10/11/2016 11:57 AM, dhawanpawa...@gmail.com wrote:
> def abc(a,b):
> l=[]
> for i in range(a,b+1):
> if i%2!=0:
>
> l.append(i)
> print l
> return 1
>
> def bg():
> y=abc(11,31)
> print y
> I am not getting the output, but if i call
On 10/11/2016 09:19 PM, Steven D'Aprano wrote:
> Completely off-topic, but too awesome not to share:
>
> The x86 assembly language "mov" instruction is Turing complete:
>
> https://www.cl.cam.ac.uk/~sd601/papers/mov.pdf
And apparently someone has taken this and made a small C compiler that
compi
On 10/13/2016 02:19 AM, meInvent bbird wrote:
> is it possible to git pull a part of directory such as sched
> and compile this subdirectory and pycparser it?
I'm sure you could but it wouldn't help you. The parts of the kernel
are modular but you can't compile them without configuring the whole
On 10/14/2016 05:40 AM, kerbingamer376 wrote:
> Python's "standard" (and bundled on most platforms) UI tookkit is TCL/TK.
> However, this has A LOT of drawbacks:
>
> * It's eyesore on a lot of platforms
I thought this was largely solved in recent versions of Tcl/Tk that use
the new Tile widget s
On 10/16/2016 11:38 AM, ayuchitsalu...@gmail.com wrote:
> Hello I want to build a desktop application which retrieves data from
> server and stores data on server. I have basic experience of python
> and I dont know how to build that thing.
Crystal balls are always risky things to turn to when try
On 10/16/2016 05:25 AM, k.adema...@gmail.com wrote:
> Help me!, I would like to find split where the split sums are close
> to each other?
>
> I have a list is
>
> test = [10,20,30,40,50,60,70,80,90,100]
>
> and I would like to find split where the split sums are close to
> each other by number
On 10/18/2016 02:33 AM, Mark Summerfield wrote:
> When I started out I used Qt Designer to produce .ui files (XML) and
> then used the Qt uic tool to convert this to C++ (although you can
> convert to Python using pyuic). I then studied the code and learnt
> from that. And it turns out that it isn'
On 10/18/2016 01:16 AM, pozz wrote:
>> I am also learning Python so my experience is limited. I have
>> tried pyGTK and Tkinter. GTK's concept of the hbox and vbox
>> gave me of difficulty. I couldn't get the GUI to look the way
>> I wanted.
>
> Yes, it's exactly my situation. I understand box
On 10/18/2016 10:01 AM, pozz wrote:
> What are the differences between PySides and PyQt... apart the licence?
> Is PySides usable as PyQt?
PySide aims to be pretty close to PyQt. Both of them wrap the C++ api,
so class names and method calls should be identical. There are some
differences though.
On 10/18/2016 03:23 PM, pozz wrote:
> Il 18/10/2016 18:41, Demosthenes Koptsis ha scritto:
> > My favorite GUIs are PyQt and wxPython.
> >
> > I prefer PyQt than PySide because PySide seem to me like an abandoned
> > project.
> >
> > Also i prefer PyQt than wxPython because i can design the f
On 10/19/2016 12:18 PM, Demosthenes Koptsis wrote:
> I thought PyQt was supported by Qt company...
I don't think so. PyQt is a commercial product of Riverbank Computing.
It's dual-licensed under the GPL and a proprietary license you can buy.
Riverbank may have had a relationship with Trolltech ba
301 - 400 of 1810 matches
Mail list logo