ell too. I've used PyCharm and like it but I also work on C, .NET,
Angular, and other projects and Code gives me a uniform IDE.
--
https://mail.python.org/mailman/listinfo/python-list
On 2024-08-25 16:12, Gilmeh Serda via Python-list wrote:
Subject explains it, or ask.
This is a bloody mess:
s = "123456789" # arrives as str
f"{f'{int(s):,}': >20}"
' 123,456,789'
You don't need to format twice; you can combi
It appears there were some delays in the email/servers.
Thanks for this (and earlier) ideas and advice!
On 23/08/24 17:38, rbowman via Python-list wrote:
On Thu, 22 Aug 2024 19:56:54 -0700, Paul Rubin wrote:
With MicroPython on the Pico, you use some command line utility to
transfer files
On 2024-08-26 02:29, AVI GROSS via Python-list wrote:
If everyone will pardon my curiosity, who and what purposes are these
smaller environments for and do many people use them?
I mean the price of a typical minimal laptop is not a big deal today. So are
these for some sort of embedded uses?
I
On 26/08/24 03:12, Gilmeh Serda via Python-list wrote:
Subject explains it, or ask.
This is a bloody mess:
s = "123456789" # arrives as str
f"{f'{int(s):,}': >20}"
' 123,456,789'
With recent improvements to the expressions within F-st
On 26/08/24 23:00, Dan Sommers via Python-list wrote:
On 2024-08-26 at 20:42:32 +1200,
dn via Python-list wrote:
and if we really want to go over-board:
RIGHT_JUSTIFIED = ">"
THOUSANDS_SEPARATOR = ","
s_format = F"{RIGHT_JUSTIFIED}{S_FIELD_WIDTH}{THOUSANDS_SEPAR
arometric pressure to the values I read from a
local sensor, the API requests and parsing the JSON reply would be almost
identical to the desktop code. Conversely I could use the Pico W as a web
server to make its sensor reading available.
--
https://mail.python.org/mailman/listinfo/python-list
--
https://mail.python.org/mailman/listinfo/python-list
rsing the JSON reply would be almost
> identical to the desktop code. Conversely I could use the Pico W as a web
> server to make its sensor reading available.
That is so cool. I've had the same idea to use the API with AWS for my
bbs. I also want to do the same thing for other government sites like
ecfr for pulling aviation regulations.
Is your code somewhere I can look at it?
Daniel
--
https://mail.python.org/mailman/listinfo/python-list
'name'])
print(period['detailedForecast'])
print(f"temperature: {period['temperature']}")
print(f"wind {period['windSpeed']} {period['windDirection']}")
print()
--
https://mail.python.org/mailman/listinfo/python-list
er += 1
sub_counter = 'a'
cleaned_line = clean_definition(line)
definition.append(f"{main_counter}. {cleaned_line}")
elif line.startswith('##'):
cleaned_line = clean_definition(line)
definition.append(f" {sub_counter}. {cleaned_line}")
sub_counter = chr(ord(sub_counter) + 1)
if definition:
print(f"\n{word_type.capitalize()}\n")
print("\n".join(definition))
break
else:
print("try again beotch")
Thanks,
Daniel
--
https://mail.python.org/mailman/listinfo/python-list
On 29/08/24 10:32, Thomas Passin via Python-list wrote:
On 8/28/2024 5:09 PM, Daniel via Python-list wrote:
As you all have seen on my intro post, I am in a project using Python
(which I'm learning as I go) using the wikimedia API to pull data from
wiktionary.org. I want to parse the jso
rn: \{en-det\}(.*?)(?=\{|\Z)
word_type pronoun pattern: \{en-pron\}(.*?)(?=\{|\Z)
--
https://mail.python.org/mailman/listinfo/python-list
On 2024-08-31 06:31, Gilmeh Serda via Python-list wrote:
On Fri, 30 Aug 2024 05:22:17 GMT, Gilmeh Serda wrote:
f"{int(number):>20,}"
I can find "," (comma) and I can find "_" (underscore) but how about " "
(space)?
Or any other character, for tha
were they ever)?
Is it user-error that some contributions don't appear on the list, but
do appear in replies, or is there perhaps some other cause?
--
Regards,
=dn
--
https://mail.python.org/mailman/listinfo/python-list
On 1/09/24 06:55, MRAB via Python-list wrote:
On 2024-08-31 06:31, Gilmeh Serda via Python-list wrote:
On Fri, 30 Aug 2024 05:22:17 GMT, Gilmeh Serda wrote:
f"{int(number):>20,}"
I can find "," (comma) and I can find "_" (underscore) but how about " &
On 9/2/24 11:36, Barry Scott wrote:
On 2 Sep 2024, at 15:00, marc nicole via Python-list
wrote:
I am using Python 2.7 on Windows 10
Why? Install Python 3.12 and it will be easier to get help and support.
If you have legacy that still needs porting then you can install 3.12 along side
the
On 5/09/24 03:27, Guenther Sohler via Python-list wrote:
Hi,
My "Project" is to integrate python support into OpenSCAD. It runs quite
well, but
there are still issues on MacOS. On My MacOS it works, but it crashes when
I ship
the DMG files.
It looks very much like python is not ab
> On 5 Sep 2024, at 02:32, Greg Ewing via Python-list
> wrote:
>
> Normally it's in the .app/Contents/MacOS subdirectory. The name
> varies, but there's usually just one executable file in there. Run that
> from a shell and you should see anything written to stdo
Sphinx. I like Markdown better than restructuredText,
though.
--
https://mail.python.org/mailman/listinfo/python-list
actice and it wasn't
that hard. I've not written anything new in Python2 for about 9 months
now. I never did need asyncio in the end but the thought I might pushed
me to change.
YMMV
--
https://mail.python.org/mailman/listinfo/python-list
90)
a1.deposit(90)
a1.withdraw(40)
a1.withdraw(1000)
class MinimumBalanceAccount(BankAccount):
def __init__(self):
BankAccount.__init__(self)
Please help me.
--
https://mail.python.org/mailman/listinfo/python-list
ass(self): self.assertTrue(issubclass(MinimumBalanceAccount,
BankAccount), msg='No true subclass of BankAccount')
Thank you.
Pls need assistance. My email : ifeanyiop...@yahoo.com.
--
https://mail.python.org/mailman/listinfo/python-list
On 29/01/2016 19:46, Seymore4Head wrote:
https://www.youtube.com/watch?v=g-dKXOlsf98
Is it written in Python?
--
https://mail.python.org/mailman/listinfo/python-list
On 29/01/2016 22:13, Paul Rubin wrote:
mm0fmf writes:
Is it written in Python?
One would expect it to be written in Go, but it turns out to be C++ and
Lua :(.
Why did he post it in comp.lang.python then?
--
https://mail.python.org/mailman/listinfo/python-list
sable the button
or prevent it from being displayed in the first place?
Any help appreciated.
--
GNU/Linux user #557453
"Be at war with your vices, at peace with your neighbors,
and let every new year find you a better man."
-Benjamin Franklin
--
https://mail.python.org/mailman/listinfo/python-list
ld ever occur as long
as the program does not lock up. It is up to me to
make sure that doesn't happen. :-)
Thanks again.
--
GNU/Linux user #557453
"Philosophy is common sense with big words."
-James Madison
--
https://mail.python.org/mailman/listinfo/python-list
0, height=180)
app = Window(root)
root.mainloop()
--
GNU/Linux user #557453
May the Source be with you.
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, 26 Feb 2016 11:35:58 -0800, Anita Goyal wrote:
> This course (...)
What!? No peas? I like peas with spam.
--
GNU/Linux user #557453
The cow died so I don't need your bull!
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, 26 Feb 2016 22:49:58 +0100, Peter Otten wrote:
> Wildman via Python-list wrote:
> It's not you, the program as you wrote it should and would show the image,
> were it not for an odd quirk in how images are handled in tkinter:
>
> You have to keep an explicit refer
an image from a file does not work or at least
I have not been able to get it to work.
--
GNU/Linux user #557453
"Be at war with your vices, at peace with your neighbors,
and let every new year find you a better man."
-Benjamin Franklin
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 01 Mar 2016 09:56:56 +0100, Peter Otten wrote:
> Wildman via Python-list wrote:
>
>> I want to take an image file, convert it to XBM format and
>> display it. Thanks to Mr. Otten I can open and display the
>> XBM image without any problems. The script first call
rself."
-Benjamin Franklin
--
https://mail.python.org/mailman/listinfo/python-list
p the problem is resolved.
--
GNU/Linux user #557453
"Real patriotism is a willingness to challenge
the government when it's wrong."
-Ron Paul
--
https://mail.python.org/mailman/listinfo/python-list
nks again for all your help.
--
GNU/Linux user #557453
The cow died so I don't need your bull!
--
https://mail.python.org/mailman/listinfo/python-list
Is there a way to prevent the dialog from displaying hidden
directories? My research has not found anything relating
to hidden files or directories.
--
GNU/Linux user #557453
"Philosophy is common sense with big words."
-James Madison
--
https://mail.python.org/mailman/listinfo/python-list
rror much?
You/We should thank $DIETY he is gone. Take a look in
alt.os.linux or a.o.l.mint or a.o.l.ubuntu sometime.
His nym describes his personality to a tee.
--
GNU/Linux user #557453
May the Source be with you.
--
https://mail.python.org/mailman/listinfo/python-list
Anybody have the correct method of adding an icon to a
window? I have found several code examples on the web
but they all result in an error. Thanks.
--
GNU/Linux user #557453
The cow died so I don't need your bull!
--
https://mail.python.org/mailman/listinfo/python-list
le to figure it out. I would appreciate any help.
--
GNU/Linux user #557453
"Be at war with your vices, at peace with your neighbors,
and let every new year find you a better man."
-Benjamin Franklin
--
https://mail.python.org/mailman/listinfo/python-list
7;ll have to be a lot more specific about what you mean by "add an
> icon to a window". Do you just want to display an .ico file within a
> window?
Sorry. I am talking about the titlebar or system icon.
--
GNU/Linux user #557453
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, 05 Mar 2016 18:38:57 +, Mark Lawrence wrote:
> On 05/03/2016 16:47, Wildman via Python-list wrote:
>> Anybody have the correct method of adding an icon to a
>> window? I have found several code examples on the web
>> but they all result in an error. Thanks.
>
PIL and ImageTk.
>
> Christian
According to "root.eval('info patchlevel')" I have version 8.6.2.
PNG worked. That is good because PNG is a common file type for
Linux icons.
--
GNU/Linux user #557453
The cow died so I don't need your bull!
--
https://mail.python.org/mailman/listinfo/python-list
On Sat, 05 Mar 2016 21:55:40 +0200, Serhiy Storchaka wrote:
> On 05.03.16 18:47, Wildman via Python-list wrote:
>> Anybody have the correct method of adding an icon to a
>> window? I have found several code examples on the web
>> but they all result in an error. Th
On Sat, 05 Mar 2016 16:38:08 -0500, Terry Reedy wrote:
> On 3/5/2016 11:47 AM, Wildman via Python-list wrote:
>> Anybody have the correct method of adding an icon to a
>> window? I have found several code examples on the web
>> but they all result in an error. Thanks.
user #557453
The cow died so I don't need your bull!
--
https://mail.python.org/mailman/listinfo/python-list
8.6.2.
>> PNG worked. That is good because PNG is a common file type for
>> Linux icons.
>
> PS: 8.6.2 is from mid 2014, that's OK - though we've had a brand new
> release (8.6.5) in February 2016
I am using the latest release that is offered in the Debian
repository but I will look into upgrading from other sources.
Thanks for the info.
--
GNU/Linux user #557453
The cow died so I don't need your bull!
--
https://mail.python.org/mailman/listinfo/python-list
Although I've enabled setting the path when installing 3.5.1 (Win7 x64) I can't
run Python from the command line in a terminal window. It works OK on a
Raspberry Pi 3!
Leon
--
Leon Heller
G1HSM
--
https://mail.python.org/mailman/listinfo/python-list
I am having trouble installing the Python software.
Sent from Windows Mail
--
https://mail.python.org/mailman/listinfo/python-list
still can't get the programme to run
Can you please help with some step by step advice on how to repair this
problem.
Many thanks
Bob
--
https://mail.python.org/mailman/listinfo/python-list
lly give you any
constructive comments on your code.
--
GNU/Linux user #557453
May the Source be with you.
--
https://mail.python.org/mailman/listinfo/python-list
.python.org/psf/codeofconduct/
and ask themselves if that document has any meaning at all.
--
https://mail.python.org/mailman/listinfo/python-list
453
May the Source be with you.
--
https://mail.python.org/mailman/listinfo/python-list
te a book "Systmatic Trading" that has
Python code, and he has a blog "Investment Idiocy". Python is often discussed
in the "programming and software" forum of wilmott.com .
--
https://mail.python.org/mailman/listinfo/python-list
en easily if you read in text files and forget to convert)
Do you think some better error message should be used?
For example a hint that "0" does work for the given argument.
--
https://mail.python.org/mailman/listinfo/python-list
. My research
was not very fruitful.
--
GNU/Linux user #557453
May the Source be with you.
--
https://mail.python.org/mailman/listinfo/python-list
On Tue, 22 Mar 2016 02:01:53 +, MRAB wrote:
> On 2016-03-22 01:47, Chris Angelico wrote:
>> On Tue, Mar 22, 2016 at 12:24 PM, Wildman via Python-list
>> wrote:
>>> I have a gui that has text widget and I want to be able to
>>> copy to the clipboard th
On Tue, 22 Mar 2016 12:47:11 +1100, Chris Angelico wrote:
> On Tue, Mar 22, 2016 at 12:24 PM, Wildman via Python-list
> wrote:
>> I have a gui that has text widget and I want to be able to
>> copy to the clipboard the text that is highlighted or the
>> text widget's
;Be at war with your vices, at peace with your neighbors,
and let every new year find you a better man."
-Benjamin Franklin
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, 23 Mar 2016 03:02:51 +, MRAB wrote:
> On 2016-03-23 02:46, Wildman via Python-list wrote:
>> My question is how do I coax bind into executing the
>> button procedures? Or is there a way to generate the
>> button click event from the binding?
>>
> It wo
On Tue, 22 Mar 2016 23:52:57 -0400, Terry Reedy wrote:
> On 3/22/2016 10:46 PM, Wildman via Python-list wrote:
>> Platform: Linux
>> Python: v.2.7.9
>> Tkinter: v.8.6.2
>>
>> My program has some buttons for file operations, load_image,
>> save_image, and
On Wed, 23 Mar 2016 02:47:47 -0400, Terry Reedy wrote:
> On 3/23/2016 12:28 AM, Wildman via Python-list wrote:
>> On Wed, 23 Mar 2016 03:02:51 +, MRAB wrote:
>>
>>> On 2016-03-23 02:46, Wildman via Python-list wrote:
>>>> My question is how do I coax
lence just
like Obamacare reduced insurance rates.
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, 23 Mar 2016 20:34:08 -0400, Dennis Lee Bieber wrote:
> On Wed, 23 Mar 2016 10:58:09 -0500, Wildman via Python-list
> declaimed the following:
>
>>On Wed, 23 Mar 2016 02:47:47 -0400, Terry Reedy wrote:
>>
>>> def load_image(self, _):
>>>
On Thu, 24 Mar 2016 08:06:28 -0400, Dennis Lee Bieber wrote:
> On Wed, 23 Mar 2016 21:17:57 -0500, Wildman via Python-list
> declaimed the following:
>
>>
>>I was referring to procedures called by a button click as
>>opposed to a procedure calledd from elsewhere in t
how to download and
save every new song that the website uploads on the site. I would extremely
appreciate the help from anyone. Thanks!
--
https://mail.python.org/mailman/listinfo/python-list
self.e.pack(padx=5)
self.b = Button(self, text="OK", command=self.ok)
self.b.pack(pady=5)
def ok(self):
print "value is", self.e.get()
root = Tk()
d = MyDialog(root)
root.mainloop()
--
GNU/Linux user #557453
May the Source be with you.
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 24 Mar 2016 21:43:26 -0400, Dennis Lee Bieber wrote:
> On Thu, 24 Mar 2016 11:19:52 -0500, Wildman via Python-list
> declaimed the following:
>
>>
>>I believe I understand. Thanks. If you can't tell, I'm new to
>>Python so the learning process is
o only
the last line of the string?
I am at a loss here. Any help would be greatly appreciated.
--
GNU/Linux user #557453
Old enough to know better... too young to resist.
--
https://mail.python.org/mailman/listinfo/python-list
On Fri, 25 Mar 2016 01:30:17 -0400, Terry Reedy wrote:
> On 3/25/2016 1:10 AM, Wildman via Python-list wrote:
>> I have a program that I have been trying to rewrite so it will
>> run on Python 2.7 and 3.4. It has been a pain to say the least.
>> Thank $DIETY for aliases.
On Fri, 25 Mar 2016 00:34:13 -0500, Zachary Ware wrote:
> On Fri, Mar 25, 2016 at 12:10 AM, Wildman via Python-list
> wrote:
>> I have a program that I have been trying to rewrite so it will
>> run on Python 2.7 and 3.4. It has been a pain to say the least.
>> Thank $DI
On Sat, 26 Mar 2016 01:42:37 +, Mark Lawrence wrote:
> On 25/03/2016 05:10, Wildman via Python-list wrote:
>> I have a program that I have been trying to rewrite so it will
>> run on Python 2.7 and 3.4.
>
> This http://pythonhosted.org/six/ might come in handy in fut
I can use x[::n] to select every nth element of a list. Is there a one-liner to
get a list that excludes every nth element?
--
https://mail.python.org/mailman/listinfo/python-list
binds both Alt keys with upper and lower case 'q'.
Is there a way to combine the statements above into one
statement?
--
GNU/Linux user #557453
May the Source be with you.
--
https://mail.python.org/mailman/listinfo/python-list
On Saturday, March 26, 2016 at 1:02:06 PM UTC-4, Gary Herron wrote:
> On 03/26/2016 09:49 AM, beliavsky--- via Python-list wrote:
> > I can use x[::n] to select every nth element of a list. Is there a
> > one-liner to get a list that excludes every nth element?
>
> Yes:
>
;, 'b', 'b', 'b']
Is there a one-liner to create a list with repeated elements?
--
https://mail.python.org/mailman/listinfo/python-list
On Saturday, March 26, 2016 at 7:24:10 PM UTC-4, Erik wrote:
> Hi,
>
> On 26/03/16 22:12, beliavsky--- via Python-list wrote:
> > I can create a list that has repeated elements of another list as follows:
> >
> > xx = ["a","b"]
> > nrep = 3
&g
On Saturday, March 26, 2016 at 7:30:14 PM UTC-4, Mark Lawrence wrote:
> On 26/03/2016 22:12, beliavsky--- via Python-list wrote:
> > I can create a list that has repeated elements of another list as follows:
> >
> > xx = ["a","b"]
> > nre
On Sat, 26 Mar 2016 17:47:02 +, MRAB wrote:
> On 2016-03-26 17:10, Wildman via Python-list wrote:
>> I use some key bindings in my program. They are declared
>> like this:
>>
>> root.bind("" + "q", quit)
>> root.bind
just
a copy/paste problem on the part of the website. Do you
have the link to the original article?
--
GNU/Linux user #557453
The cow died so I don't need your bull!
--
https://mail.python.org/mailman/listinfo/python-list
science/article/pii/S1090780711002072
I am not finding a link to the script. The website says that I
have "Guest" access. Does this mean I have to pay to see the
script?
--
GNU/Linux user #557453
The cow died so I don't need your bull!
--
https://mail.python.org/mailman/listinfo/python-list
cedirect.com/science/article/pii/S1090780711002072
>>
>> I am not finding a link to the script. The website says that I
>> have "Guest" access. Does this mean I have to pay to see the
>> script?
>>
>> --
>> GNU/Linux user #557453
>> The cow died so I don't need your bull!
>
> can you please give me your email to send you the article ?
The email address in my header is valid.
--
GNU/Linux user #557453
The cow died so I don't need your bull!
--
https://mail.python.org/mailman/listinfo/python-list
On Mon, 28 Mar 2016 10:36:44 +0100, Mark Lawrence wrote:
> On 26/03/2016 02:37, Wildman via Python-list wrote:
>> On Sat, 26 Mar 2016 01:42:37 +, Mark Lawrence wrote:
>>
>>> On 25/03/2016 05:10, Wildman via Python-list wrote:
>>>> I have a program that I ha
n your program such
as the main window titlebar, labels or buttons? I'm thinking
maybe something to do with font or foreground color. I'm just
guessing here...
--
GNU/Linux user #557453
May the Source be with you.
--
https://mail.python.org/mailman/listinfo/python-list
I having some problems with Python editor Canopy:
--
https://mail.python.org/mailman/listinfo/python-list
I was having some problems with
Spyder pythonpath...
--
https://mail.python.org/mailman/listinfo/python-list
Ubuntu terminal gives me:
import xlrd
I get "ImportError: No module named xlrd"
Any ideas? I installed it by:
sudo apt-get install python-xlrd
--
https://mail.python.org/mailman/listinfo/python-list
+++-==---=
ii python-xlrd0.9.2-1 all extract data from Microsoft Excel
--
https://mail.python.org/mailman/listinfo/python-list
e.com/http-premiumnaturalgarciniacambogiahelp-com-new-slim-5-garcinia-cambogia-tp5094018.html
Sent from the Python - python-list mailing list archive at Nabble.com.
--
https://mail.python.org/mailman/listinfo/python-list
be taught at Yale. Computer science department
chair Joan Feigenbaum said that the next step for CS50 will be for Harvard to
approve the sharing of CS50 with Yale. If the course earns approval, she noted,
Yale will formally introduce the class in Fall 2015."
--
https://mail.python.org/mailman/listinfo/python-list
HTH,
Don
--
https://mail.python.org/mailman/listinfo/python-list
On 22/05/2015 18:47, Grant Edwards wrote:
And of course, the truly_great_ thing about Javascript is...
It's not PHP!
ROTFL ;-)
--
https://mail.python.org/mailman/listinfo/python-list
students?
--
https://mail.python.org/mailman/listinfo/python-list
not explain why you are seeing problems but could give you a
solution that works whilst you fix the underlying issue. Or not in my case!
Andy
--
https://mail.python.org/mailman/listinfo/python-list
in its selection of keynote speakers. I hope not. It
is better to choose the speakers who will give the most interesting talks and
let the demographic chips fall where they may.
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, July 10, 2015 at 2:58:18 PM UTC-4, Chris Angelico wrote:
> On Fri, Jul 10, 2015 at 10:01 PM, beliavsky--- via Python-list
> wrote:
> > On Friday, July 10, 2015 at 7:21:14 AM UTC-4, M.-A. Lemburg wrote:
> >> With Mandy Waite we have announced all keynotes for Eu
es. I
only had a TI-59 as it was half the price of an HP67. The TI had more
memories and program steps and was faster. But it didn't say HP on the
front!
--
https://mail.python.org/mailman/listinfo/python-list
On 18/07/2015 20:10, Joel Goldstick wrote:
On Sat, Jul 18, 2015 at 2:51 PM, mm0fmf via Python-list
wrote:
On 18/07/2015 18:34, Mark Lawrence wrote:
What is an {HP calculator} roll operation?
HP calculators were proper in that they used RPN entry.
i.e. 2 enter 2 + would show 4 instead of
MSDN subscription telling me VS2015
was now available to download. Sorry I didn't study it to see if all the
versions were available now or just some. I've only just started using
VS2013 at work so wasn't worried about VS2015!
--
https://mail.python.org/mailman/listinfo/python-list
you'll find a very extensive Flask tutorial at
http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world .
--
https://mail.python.org/mailman/listinfo/python-list
E.D.G.
Am I the only person thinking Troll?
--
https://mail.python.org/mailman/listinfo/python-list
1201 - 1300 of 5713 matches
Mail list logo