-Rahmaan Janhangeer
wrote:
>
> You have some demo code for it?
>
>
> Kind Regards,
>
> Abdur-Rahmaan Janhangeer
> about | blog
> github
> Mauritius
>
> On Mon, 10 Nov 2025, 07:18 Mingye Wang via Python-list,
> wrote:
>>
>> Zipapp is meant to
On 11/25/25 1:42 PM, bjotta via Python-list wrote:
> I want to be able to restrict / name mangle the usage.
> To avoid this being possible.
>
> '''
> from library.math import np.
> '''
Fascinating. I would never have thought to do an import like th
I agree that some of my reasoning was off and it does not directly with the
issue of sub-dependencies.
However, the Idea was more on how to hide it rather than the dependency issue
itself.
Anyways, I agree that an approach on name mangling might be more in line with
what we have in python.
Ho
On Thu, 4 Dec 2025 11:06:21 -0500 Em wrote:
>Two computers, both alike in dignity, in fair windows land...
>
>in Win10/Python 3.13 my program runs as well as can be expected. However, on
>my new computer Win11/Python 3.14.1 there is a peculiarity.
>
>On the new machine, when I click on the file na
On 12/4/25 10:47 PM, Em wrote:
>> Starter = open("HLYlog.txt", "w")
>>
>> Thoughts appreciated.
>
> -That's a relative path. Are you sure that the current working directory is
> what
> -you expect? It's generally better to work with absolute paths.
>
> Relative or not, I can't see how that could
On Sat, 6 Dec 2025 at 15:52, Michael Torrie via Python-list
wrote:
>
> On 12/5/25 6:36 PM, Chris Angelico via Python-list wrote:
> > On Sat, 6 Dec 2025 at 12:33, Michael Torrie via Python-list
> > wrote:
> >> Starter = open("HLYlog.txt","w");
>
On Sat, 6 Dec 2025 at 18:22, Michael Torrie wrote:
>
> On Sat, Dec 6, 2025, 00:04 Chris Angelico wrote:
>>
>> On Sat, 6 Dec 2025 at 15:52, Michael Torrie via Python-list
>> wrote:
>> >
>> > On 12/5/25 6:36 PM, Chris Angelico via Python-list wrote:
&
On Sat, Dec 6, 2025, 00:04 Chris Angelico wrote:
> On Sat, 6 Dec 2025 at 15:52, Michael Torrie via Python-list
> wrote:
> >
> > On 12/5/25 6:36 PM, Chris Angelico via Python-list wrote:
> > > On Sat, 6 Dec 2025 at 12:33, Michael Torrie via Python-list
> >
Richard Damon wrote:
> On 11/25/25 3:42 PM, bjotta via Python-list wrote:
> > It seem like you are talking about classes and sub-classes. I was talking
> > about dependencies in projects.
> > The technique is currently defined only for class and sub-classes, but
> coul
On Wed, 3 Dec 2025 at 07:41, Rich Shepard wrote:
>
> I'm learning PyQt5 and will have questions now and then when I can't find
> answers in Fitzpatrick's book or in a web search. There are several web fora
> for Qt and PyQt support but I much prefer maillists where threads are pushed
> to me and I
I wonder nobody mentioned the dedicated PyQt mailing list:
https://riverbankcomputing.com/support/lists
Mainly PyQt6, but I don't think questions about older versions are
forbidden.
--
https://mail.python.org/mailman3//lists/python-list.python.org
On 04/12/2025 18:25, Em wrote:
> in Win10/Python 3.13 my program runs as well as can be expected. However, on
> my new computer Win11/Python 3.14.1 there is a peculiarity.
>
> On the new machine, when I click on the file name, it immediately dumps out.
What exactly does "dumps out" mean? A blu
Qt's documentation is quite good. Here are the official python Qt docs
on the subject of slots in Qt 6 (PySide2):
https://doc.qt.io/qtforpython-6/tutorials/basictutorial/signals_and_slots.html
In short you decorate them with @Slot(params) where params are a list of
the Qt types your slot is expec
Thanks for the recommendations. I'm building a whole new version based on the
old one, with simpler code and functions to find win stats.
--
https://mail.python.org/mailman3//lists/python-list.python.org
On 12/5/25 6:36 PM, Chris Angelico via Python-list wrote:
> On Sat, 6 Dec 2025 at 12:33, Michael Torrie via Python-list
> wrote:
>> Starter = open("HLYlog.txt","w");
>> filepath = Starter.name
>
> Isn't that just...
>
> filepath = "H
On 12/5/25 5:12 PM, Em wrote:
> Ok, using "Open with Python" , the program fails on both computers.
> Still, double-click the filename on the WIN10 computer and the program
> works.
> While, double-click the filename on the WIN11 computer and the program
> fails.
Here's a test script for you that
On Sat, 6 Dec 2025 at 12:33, Michael Torrie via Python-list
wrote:
> Starter = open("HLYlog.txt","w");
> filepath = Starter.name
Isn't that just...
filepath = "HLYlog.txt"
?
ChrisA
--
https://mail.python.org/mailman3//lists/python-list.python.org
On 2025-12-07, Em wrote:
> I see >, >>, and >>>, attached at the beginning of lines in messages. I
> doubt that they are placed manually and wonder how they are placed
> automatically. How do I get said program?
I use slrn and emacs. [Just emerge both of them.]
Then I point slrn at the gmane
On 07/12/2025 16:25, Em wrote:
> I see >, >>, and >>>, attached at the beginning of lines in messages. I
> doubt that they are placed manually and wonder how they are placed
> automatically. How do I get said program?
I use Thunderbird and it provide the same feature.
You are not limited to > sy
Hello,
Am 07.12.2025 um 15:36 schrieb Em:
-Original Message-
From: Roel Schroeven
Sent: Sunday, December 7, 2025 7:23 AM
To: [email protected]
Subject: Re: A switch somewhere, or bug? CORRECTION
Op 7/12/2025 om 1:54 schreef Thomas Passin:
As I explained in my last post, that's
On 12/7/25 3:03 AM, Em wrote:
> So, is this a change from WIN10?
Maybe. It could be a change in the pylauncher. Or a change in how
Windows starts pylauncher. It could be a difference between the versino
of Python Microsoft puts in the store vs the python.org package. It
could be a change in how
On 12/7/25 5:22 AM, Roel Schroeven wrote:
> Op 7/12/2025 om 1:54 schreef Thomas Passin:
>> As I explained in my last post, that's because in Windows 11 when
>> double-clicking, the working directory is the system's Windows
>> directory, not the one your program is in.
> Irrespective of anything e
On Tue, 9 Dec 2025 at 05:29, via Python-list wrote:
>
> I coded Rock, Paper, Scissors. I added the randomness, made it loop at the
> user's request, added win code, no problems there. I changed some strings to
> F-strings to practice using them, and now the first "elif&quo
>
>
> I coded Rock, Paper, Scissors. I added the randomness, made it loop at the
> user's request, added win code, no problems there. I changed some strings
> to F-strings to practice using them, and now the first "elif" in my if loop
> (player chooses rock, bot chooses paper) doesn't work. Any hel
Thanks for the tip. I'll do that here and in future games.
--
https://mail.python.org/mailman3//lists/python-list.python.org
Dear Python scripters,
I am writing modules for my insectary (for food), the processes of which I plan
to mostly automate.
Currently, inventory and the traceability of material flows is my focus. My
best idea (yet) for making things as simple as possible consists of a debian
server hooked up t
I am not exactly sure what you mean, so I will guess.
Jinja may be what you're looking for. It's an important component of flask &
ansible, for example.
pyweave may also serve your purposes.
HTH
--
https://mail.python.org/mailman/listinfo/python-list
Hi guys.
I am discovering coroutines and asynchronous programming, and I have a little
problem with a little example I'm coding myself as an excercice.
Let say you take two guys in the street: Dave and Bryan.
You ask dave to count from 1 to 50, 1 by 1. He will do it fast.
And you ask Bryan to co
>> @asyncio.coroutine
>> def recorder():
>> dialog = []
>> while True:
>> sent = yield dialog
>> if sent is not None:
>> name, things = sent
>> dialog.append(f'{name} says : {things}')
>This is not an asyncio coroutine. This is just a normal generator that
> you're sending to. So you should probabl
I've been reading a limited range of Usenet groups since the late 1980s,
and until the recent problems in comp.lang.python had never bothered with
any sort of filtering; it's easier just to ignore people. However, the
sheer volume of spam in comp.lang.python finally defeated me, so I set up
a fil
Having run a check for straightforward spam, I now find that there's a site
editing and reposting non-spam posts. An example of the changed headers
follows:
Original post headers:
>
> From [email protected] Sun Feb 11 23:23:22 2018
> Path:
> eternal-september.org!reader02.eternal-september.org!
On Friday, April 15, 2022 at 2:17:28 AM UTC+5:30, Andrew Hernandez wrote:
> that is not an error, its simply the python console intrepeter
how do I open this file
--
https://mail.python.org/mailman/listinfo/python-list
future_value = 0
for i in range(years):
# for i in range(months):
future_value += monthly_investment
future_value = round(future_value, 2)
# monthly_interest_amount = future_value * monthly_interest_rate
# future_value += monthly_interest_amount
# display the result
print(f"Year =
ither not
running or you have a problem with the configuration.
On Tue, Aug 09, 2022 at 08:27:16AM -0700, Axy via Python-list wrote:
trying to connect to MYSQL it appears the error msg below:
InterfaceError: 2003: Can't connect to MySQL server on 'localhost:3306'
(111 Connec
I'm not sure about this but this mailing list does not allow attachments ...
On Tue, Aug 09, 2022 at 12:45:33PM -0300, Guilherme Campos wrote:
Hi Igor,
Accessing mysql-workbench it appeared new error messages when I clicked
Server Status.
I created my database on MySQL Workbench . Is that you
Those people keep me on my toes every time I look at such a message :-/.
On Wed, Aug 17, 2022 at 12:35:28PM -0500, Igor Korot wrote:
Hi,
On Wed, Aug 17, 2022 at 12:20 PM i am unable to use python
wrote:
AND I"M UNABLE TO SEE ANYTHING IN YOUR MESSAGE...
THANK YOU.
Sent from [1]Ma
Is anyone here familiar with SpamBayes? I am working with legacy 2.4.x
Python code (I'm not a programmer, more of a power user) and I'm attempting
to build the windows binary from the SpamBayes source.
I'm running into an error when attempting to run "setup_all.py", the py2exe
setup script,
C:\Users\kevin\PycharmProjects\Myfuturevalue\venv\Scripts\python.exe
C:\Users\kevin\PycharmProjects\Myfuturevalue\FutureValueCal.py File
"C:\Users\kevin\PycharmProjects\Myfuturevalue\FutureValueCal.py", line 31
elif (years > 50.0) or (years < 1.0) : ^IndentationError: expected an
indent
Greetings... Kevin here:I need help, as you have guessed!I have this line: The
Print Statement... Why complain about a 'comma', or a ')'???def play_game():
number = random.randint(1, LIMIT)
print (f'"I am thinking of a number between 1 to {LIMIT}\n")Or is this a
setting in the IDE, I need
print (f'"I am thinking of a number between 1 to {LIMIT}\n")I had the
impression that the format specifier 'f' was necessary for the print function,
but the double quotes are for the string printed to the user, as a prompt!The
Pycharm IDE is showing that it expects a single quotation mark or ')'
u: and when you pass
through the rivers, they will not sweep over you. When you walk through the
fire, you will not be burned: the flames will not set you ablaze."
Isaiah 43:2
On Tuesday, April 18, 2023 at 11:17:52 PM MDT, Kevin M. Wilson via
Python-list wrote:
print (f'
Greetings, I'm in a bit of a quandary, I want some strict syntax errors
to be flagged, but the use of single quotes vs double quotes! NOT what I need
from the 'checker', you dig? As I've recently returned to the IDE, and no
longer have the
"stones" for bull, how do I set up the kind of "
Folks, help please! What the @#$! are these doing popping up. Code styles are
personal, and not subject to debate.Where can I edit these out of my IDE?
Kevin
"When you pass through the waters, I will be with you: and when you pass
through the rivers, they will not sweep over you. When you walk th
Hi... How do I set Pycharm to find only syntax errors?!!
"When you pass through the waters, I will be with you: and when you pass
through the rivers, they will not sweep over you. When you walk through the
fire, you will not be burned: the flames will not set you ablaze."
Isaiah 43:2
| |
"When you pass through the waters, I will be with you: and when you pass
through the rivers, they will not sweep over you. When you walk through the
fire, you will not be burned: the flames will not set you ablaze."
Isaiah 43:2
| | Virus-free.www.avg.com |
--
https://mail.python.org/m
Ok, I'm not finding any info. on the int() for converting a str to an int (that
specifies a base parameter)?! The picture is of the code I've written... And
the base 10 paradigm involved?? years = int('y') # store for
calculationValueError: invalid literal for int() with base 10: 'y'What is mean
We can first convert the string representation of float into float using
float() function and then convert it into an integer using int().So, why can't
a string of an integer be converted to an integer, via
print(int(str('23.5')))???
Perplexed
| print(int(float('23.5'))) |
"When you pas
e."
Isaiah 43:2
On Thursday, May 25, 2023 at 05:55:06 PM MDT, Kevin M. Wilson via
Python-list wrote:
Ok, I'm not finding any info. on the int() for converting a str to an int
(that specifies a base parameter)?! The picture is of the code I've written...
And the
On Wed, 7 Jun 2023 10:36:22 -0600, Mats Wichmann
declaimed the following:
>I'm assuming you checked - say, with Explorer - that pip.exe really is
>where you think it is?
>Anyway, if you ask a Windows shell (cmd) to locate it, and it doesn't,
>then your PATH is not set up correctly after all.
On Thu, 8 Jun 2023 17:22:22 -0400, Thomas Passin
declaimed the following:
>On 6/8/2023 3:14 PM, Dennis Lee Bieber via Python-list wrote:
> C:\Users\Owner>
>> -=-=-
>> Windows PowerShell
>> Copyright (C) Microsoft Corporation. All rights reserved.
>>
>>
On Sat, 10 Jun 2023 11:32:53 -0500, Eryk Sun declaimed
the following:
>On 6/10/23, Thomas Passin via Python-list wrote:
>>
>> We can find pip.exe using good old-fashioned dir (we don't need any
>> new-fangled Powershell):
>>
>> C:\Users\tom>dir AppData
On 2023-06-20 02:15:00 +0900, Inada Naoki via Python-list wrote:
> stream.flush() doesn't mean final output.
> Try stream.close()
After close() the value isn't available any more:
Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] on linux
Type "help", "co
Mostly, error messages got a lot better in Python 3.10, but this one had
me scratching my head for a few minutes.
Consider this useless and faulty script:
r = {
"x": (1 + 2 + 3)
"y": (4 + 5 + 6)
"z": (7 + 8 + 9)
On 2023-08-30 11:32:02 +, c.buhtz--- via Python-list wrote:
> I do use "textwrap" package to wrap longer texts passages. Works well with
> English.
> But the source string used is translated via gettext before it is wrapped.
>
> Using languages like Japanese or Chi
On 2023-08-30 13:18:25 +, c.buhtz--- via Python-list wrote:
> Am 30.08.2023 14:07 schrieb Peter J. Holzer via Python-list:
> > another caveat: Japanese characters are usually double-width. So
> > (unless your line length is 130 characters for English) you would
> > want t
On 2023-08-31 21:32:04 +0100, Chris Green via Python-list wrote:
> What sort of exception should a class raise in __init__() when it
> can't find an appropriate set of data for the parameter passed in to
> the class instantiation?
>
> E.g. I have a database with some names and
I'm looking for some advice for how to write this in a clean way
I want to replace some text using a regex-pattern, but before creating
replacement text I need to some file checking/copying etc. My code right now
look something like this:
def fix_stuff(m):
# Do various things that invol
On 3 Sep 2023, at 19:13, MRAB via Python-list wrote:
> You could use pass an anonymous function (a lambda) to re.sub:
Of course !! Thanks.
= jem
--
https://mail.python.org/mailman/listinfo/python-list
On 2023-09-03 18:10:29 +0200, Jan Erik Moström via Python-list wrote:
> I want to replace some text using a regex-pattern, but before creating
> replacement text I need to some file checking/copying etc. My code
> right now look something like this:
>
> def fix_stuff(m):
>
On 3 Sep 2023, at 18:10, Jan Erik Moström via Python-list wrote:
> I'm looking for some advice for how to write this in a clean way
Thanks for all the suggestion, I realize that I haven't written Python code in
a while. I should have remembered this myself !!! Thanks for remindi
Hi,
This is more related to Postgresql than to Python, I hope this is ok.
I want to measure Postgres queries N times, much like Python timeit
(https://docs.python.org/3/library/timeit.html). I know about EXPLAIN
ANALYZE and psql \timing, but there's quite a bit of variation in the
On 2023-09-15 17:42:06 +0200, Albert-Jan Roskam via Python-list wrote:
>This is more related to Postgresql than to Python, I hope this is ok.
>I want to measure Postgres queries N times, much like Python timeit
>(https://docs.python.org/3/library/timeit.html). I know abou
On 2023-09-15 21:48:37 +, rmlibre--- via Python-list wrote:
> I'd like to capture the output of `time.perf_counter_ns()` as an 8-byte
> timestamp.
>
> I'm aware that the docs provide an undefined start value for that clock.
> I'm going to assume that means it can
On Sep 15, 2023 19:45, "Peter J. Holzer via Python-list"
wrote:
On 2023-09-15 17:42:06 +0200, Albert-Jan Roskam via Python-list wrote:
> This is more related to Postgresql than to Python, I hope this is
ok.
> I want to measure Postgres queries N
On 2023-09-17 11:01:43 +0200, Albert-Jan Roskam via Python-list wrote:
>On Sep 15, 2023 19:45, "Peter J. Holzer via Python-list"
> wrote:
>
> On 2023-09-15 17:42:06 +0200, Albert-Jan Roskam via Python-list wrote:
> > This is more related to Postg
On 2023-09-15 14:15:23 +, c.buhtz--- via Python-list wrote:
> I tried to install it via "pipx install -e .[develop]". It's pyproject.toml
> has a bug: A missing dependency "dateutil". But "dateutil" is not available
> from PyPi for Python 3.11 (th
On 2023-09-18 18:56:35 +, c.buhtz--- via Python-list wrote:
> On 2023-09-18 10:16 "Peter J. Holzer via Python-list"
> wrote:
> > On 2023-09-15 14:15:23 +, c.buhtz--- via Python-list wrote:
> > > I tried to install it via "pipx install -e .[develop]"
On 2023-09-20 13:31:14 +, c.buhtz--- via Python-list wrote:
> Dear Peter,
>
> maybe we have a missunderstanding.
>
> Am 20.09.2023 14:43 schrieb Peter J. Holzer via Python-list:
> > > > > "dateutil" is not available from PyPi for Python 3.11
> >
On 26/09/2023 07.27, Abdelkhelk ashref salay eabakh wrote:
Dear Python team,
This is my not first time using Python, I tried to launch Python and it showed
"Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "l
On 26/9/23 22:27, Abdelkhelk ashref salay eabakh via Python-list wrote:
Dear Python team,
This is my not first time using Python, I tried to launch Python and it showed
I'm no expert but
"Python 3.11.3 (tags/v3.11.3:f3909b8, Apr 4 2023, 23:49:59) [MSC v.1934 64 bit
(AMD6
hello everyone this the error that im getting while trying to install and
upgrade pip on what is the solution for it?
C:\repository\pst-utils-pc-davinci-simulator>pip install
You are using pip version 7.0.1, however version 23.2.1 is available.
You should consider upgrading via the 'pip install -
On Wednesday, 27 September 2023 at 21:32:53 UTC+2, Mats Wichmann wrote:
> On 9/27/23 05:17, Zuri Shaddai Kuchipudi via Python-list wrote:
> > hello everyone this the error that im getting while trying to install and
> > upgrade pip on what is the solution for it?
> >
On 2023-09-27 20:32:25 -, Jon Ribbens via Python-list wrote:
> On 2023-09-27, Larry Martell wrote:
> > On Wed, Sep 27, 2023 at 12:42 PM Jon Ribbens via
> > Python-list wrote:
> >> On 2023-09-27, Larry Martell wrote:
> >> > lrwxrwxrwx 1 larrymartell l
On Wednesday, 27 September 2023 at 23:33:02 UTC+2, Chris Angelico wrote:
> On Thu, 28 Sept 2023 at 07:27, Mats Wichmann via Python-list
> wrote:
> >
> > Upgrading to Python 3 is the best answer... except when it isn't. If
> > you want to convert a small project i
On 2023-10-02 19:44:12 +0300, אורי via Python-list wrote:
> I have an issue since about 5 months now. Python 3.12.0 venv not working
> with psycopg2 on Windows. I created 2 issues on GitHub but they were
> closed. I checked today with the new Python release but it's still not
> wo
I can help you
On Mon, 9 Oct 2023, 11:15 pm Thri sowmya.G via Python-list, <
[email protected]> wrote:
>
>
>The problem is how many times I have uninstalled the python version but
>always it is showing the same version after the installation of new
>ver
On 24/10/2023 17.50, Thomas Passin wrote:
The programming team for the Apollo moon mission developed a system which,>
if you would write your requirements in a certain way, could generate correct
C code for them.
Since the last Apollo mission was in 1972, when C was first being developed,
On 24/10/2023 18.15, o1bigtenor wrote:
What is interesting about this is the absolute certainty that it is impossible
to program so that that program is provably correct.
Not entirely true. If I was to write a program to calculate Fibonacci
numbers, or echo back user input, that program could
On 25/10/2023 05.45, o1bigtenor wrote:
On Tue, Oct 24, 2023 at 8:35 PM Chris Angelico via Python-list
wrote:
3. Catch the failure before you commit and push. Unit tests are great for this.
Where might I find such please.
You don't "find" unit tests; you write them. A un
On 2023-11-14 00:11:30 +0200, Dom Grigonis via Python-list wrote:
> Benchmarks:
> test1 = [False] * 100 + [True] * 2
> test2 = [True] * 100 + [False] * 2
>
> TIMER.repeat([
> lambda: xor(test1), # 0.0168
> lambda: xor(test2), # 0.0172
> lambda:
On 2023-11-15 12:26:32 +0200, Dom Grigonis wrote:
>
> Thank you,
>
>
> test2 = [True] * 100 + [False] * 2
> test2i = list(range(100))
>
> %timeit len(set(test2i)) == 1 # 1.6 µs ± 63.6 ns per loop (mean ± std. dev.
> of 7 runs, 1,000,000 loops each)
> %timeit all(test2) # 386 ns
On 2023-11-16 11:34:16 +1300, Rimu Atkinson via Python-list wrote:
> > > Why don't you use re.findall?
> > >
> > > re.findall(r'\b[0-9]{2,7}-[0-9]{2}-[0-9]{2}\b', txt)
> >
> > I think I can see what you did there but it won't make
On 2023-11-17 07:48:41 -0500, Thomas Passin via Python-list wrote:
> On 11/17/2023 6:17 AM, Peter J. Holzer via Python-list wrote:
> > Oh, and Python (just like Perl) allows you to embed whitespace and
> > comments into Regexps, which helps readability a lot if you have to
> &g
We are happy to announce that we will be running a Python devroom again
at FOSDEM 2024.
This year's edition will be exclusively in-person, and take place on the
3rd and 4th of February, with the Python devroom being available on
Sunday 4th.
If you have not heard about FOSDEM before or are loo
On 24/11/2023 21.45, [email protected] wrote:
Grizz[l]y,
I think the point is not about a sorted list or sorting in general It is
about reasons why maintaining a data structure such as a list in a program
can be useful beyond printing things once. There are many possible examples
such as hav
On 2023-11-25 08:32:24 -0600, Michael F. Stemper via Python-list wrote:
> On 24/11/2023 21.45, [email protected] wrote:
> > Of course, for serious work, some might suggest avoiding constructs like a
> > list of lists and switch to using modules and data structures [...]
>
On 14/01/2021 15.25, boB Stepp wrote:
> On Wed, Jan 13, 2021 at 7:28 PM Chris Angelico wrote:
>
>> I love how "I think" is allowed to trump decades of usability research.
I'm just pleased that @Chris has found love!
(not detracting from the point though)
> Can you recommend a good reference fo
> On Jan 26, 2021, at 2:00 PM, C W wrote:
>
> Hello everyone,
>
> I'm a long time Matlab and R user working on data science. How do you
> troubleshooting/debugging in Python?
>
Another approach is to run the code in an IDE. I happen to use Wing, but that
is a coincidence. But almost ANY
for path, dir, files in os.walk(myDestinationFolder):
# for path, dir, files in os.walk(destfolder):
print('The path is %s: ', path)
print(files)
os.chdir(mySourceFolder)
if not os.path.isfile(myDestinationFolder + file):
# if not os.path.isfile(destfolder + file):
prin
Set i = 0 at the begin of the code, that way each entry starts at Logical 0 of
the array/container/list...
"The only way to have experience is by having the experience"!
On Sunday, February 7, 2021, 12:56:40 PM MST, Karsten Hilbert
wrote:
Am Sun, Feb 07, 2021 at 07:47:03PM + schr
My employer has hundreds of scripts in 2.7, but I'm writing new scripts in 3.9!
I'm running into 'invalid syntax' errors.I have to maintain the 'Legacy' stuff,
and I need to mod the path et al., to execute 3.7 w/o doing damage to the
'Legacy' stuff...IDEA' are Welcome!
KMW
John 1:4 "In him was
It would be nice if you could provide a bit more details ... Exceptions/logs
etc.
From: Python-list on behalf
of Smit Patel
Sent: Friday, February 19, 2021 1:27 AM
To: [email protected]
Subject: Startup failure
I recently downloaded python from
Hey Community, Is there a site where I might/can download a version of
Tkinter for Python 2.7?
Seriously, KMW
John 1:4 "In him was life; and the life was the light of men."
--
https://mail.python.org/mailman/listinfo/python-list
If you could utilized pastebin or similar site to show your code, it would help
tremendously since it's an unindented mess now and can not be read easily.
On Wed, Mar 10, 2021 at 03:07:14AM +0600, S Monzur wrote:
Dear List,
Newbie here. I am trying to loop over a text file to remove html tags,
No problem, list just converts everything into plain/txt which is GREAT ! :-)
So without digging deeply into what you need to do: I am assuming that your
input contains html tags. Why don't you utilize lib like:
https://pypi.org/project/beautifulsoup4/ instead of doing harakiri with parsing
da
... funny thing is that OP never contributed to this discussion. Several people
provided very valuable inputs but OP did not even bother to say "thank you".
just saying ...
On Wed, Mar 24, 2021 at 11:22:02AM -0400, Avi Gross via Python-list wrote:
Cameron,
I agree with yo
On Mar 30, 2021, at 7:12 AM, Alan Gauld via Python-list
> wrote:
>
> I've just published, in Kindle and paperback formats,
> my book on "Programming curses with Python".
>
> https://www.amazon.co.uk/dp/B091B85B77/
>
> (It should be available i
Hi Team,
Thanks for your support. I am having trouble installing any packages using pip
in Python 3.x (earlier had Python 3.8.3, so changed to 3.8.8) in Windows 10.
Please help me with below issues:
---C:\Users\mohsohai>pip install
pytestTraceback (most
Officially April-Fools Day is over (here), but...
On 01/04/2021 19.25, Chris Angelico wrote:
> On Thu, Apr 1, 2021 at 3:36 PM dn via Python-list
> wrote:
>>
>> On 01/04/2021 13.54, Chris Angelico wrote:
>>> Real and imaginary are the same thing, just rotated a quar
https://en.wikipedia.org/wiki/Sergio_Llorente
wow .. you made it that far ?
Jokes aside .. why are you asking for a permission to get a domain ? I would
love to read a deeper explanation what made you send an email to this mailing
list.
On Wed, Apr 14, 2021 at 03:41:37PM +0200, Rainyis wro
5501 - 5600 of 5863 matches
Mail list logo