On 08Aug2024 21:55, Gilmeh Serda wrote:
I guess in a sense Py2 was smarter figuring out what whent where and
where
it came from. Or it was a bad hack that has been removed.
No, Python 2 offered less control.
--
https://mail.python.org/mailman/listinfo/python-list
from dbi import *
ModuleNotFoundError: No module named 'dbi'
Python 3 imports are absolute (they start from the top of the package
tree and you have no `dbi` at the top). You want a relative import i.e.:
from .dbi import *
Cheers,
Cameron Simpson
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 8 Aug 2024 at 03:40, Tobiah via Python-list
wrote:
> The one under rcs.dbi contains:
>
> from dbi import *
> from regos import *
>
You probably want these to be package-relative now:
from .dbi import *
from .regos import *
Or, since you're using names
utorial/modules.html
<https://docs.python.org/3/tutorial/modules.html#intra-package-references>
in this link above we have some examples of relative imports:
from . import echo
from .. import formats
from ..filters import equalizer
In your code you're using "import *&quo
I have an old library from 20 some years ago
for use with python2, that is structured like this:
rcs
├── dbi
│ ├── __init__.py
│ ├── dbi.py
│ └── regos.py
└── __init__.py -- *empty*
the __init__.py file under 'rcs' is empty.
The one under rcs.dbi contains:
There are several independent problems here:
1. Very short release cycle. This is independent of the Python venv
module but is indirectly influenced by Python's own release cycle.
Package maintainers don't have time for proper testing, they are
encouraged to release a bunch of new (
On 19/05/2024 08.49, Peter J. Holzer wrote:
[...]
That's what package management on Linux is for. Sure, it means that you
won't have the newest version of anything and some packages not at all,
but you don't have to care about dependencies. Or updates.
Well, that doesn
.g. if all our developers used Linux and preferrably the same version)
I could see myself using venvs much less or maybe not at all.
> The dependency nightmare created by python, pip and all the rest
> cannot be resolved otherwise.
That's what package management on Linux is for. Sure, it means
After thread: "pip/pip3 confusion and keeping up to date"
Over the years?centuries, have added various packages, using all of:
- distribution-installer (dnf/yum - per apt-get)
- su pip install, and
- (user) pip install
Because Fedora-Linux can be upgraded in-place. an amount of 'crud'
hangs-a
, but seems to me to be a little clunky, mainly
because the files don't then belong to root. The most correct way, in
my case, would probably be to create an RPM out of the Python package,
but that seems like it would be too much overhead.
What other approaches to people use?
Cheers,
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 to add that line break e
Dear Peter,
thanks for your reply. That is a very interesting topic.
I was a bit wrong. I realized that textwrap.wrap() do insert linebreaks
when "words" are to long. So even a string without any blank space well
get wrapped.
Am 30.08.2023 14:07 schrieb Peter J. Holzer via Python-list:
anot
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
Hi,
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 Chinese would IMHO result in unwrapped
text. Japanese rules do allow to break a l
x27;t')
File
"C:\Users\RAJESH.K\AppData\Roaming\Python\Python38\site-packages\pip\_vendor\distlib\scripts.py",
line 404, in _get_launcher
raise ValueError(msg)
ValueError: Unable to find resource t32.exe in package pip._vendor.distlib
[notice] A new release of pip i
On 5/5/23 04:39, c.bu...@posteo.jp wrote:
That being said, the git repo linked earlier has accepted commits to
that file earlier this year. So read in to that what you will *shrugs*
--
https://mail.python.org/mailman/listinfo/python-list
On 5/5/23 04:39, c.bu...@posteo.jp wrote:
Thanks for the answer.
Am 05.05.2023 03:24 schrieb aapost:
pygettext is deprecated since xgettext supports python now, so using
xgettext is recommended.
If this is the official case then it should be mentioned in the python
docs. The 3.11 docs still
Thanks for the answer.
Am 05.05.2023 03:24 schrieb aapost:
pygettext is deprecated since xgettext supports python now, so using
xgettext is recommended.
If this is the official case then it should be mentioned in the python
docs. The 3.11 docs still tell about pygettext and xgettext and don't
On 5/4/23 17:38, c.bu...@posteo.jp wrote:
am I right to assume that "pygettext" is part of the official Python3
"package"? So it is OK to aks here?
How can I set the "Project-Id-Version"? With "xgettext" I would use the
arguments "--package-name&q
On 04/05/2023 22:38, c.bu...@posteo.jp wrote:
> Hello,
>
> am I right to assume that "pygettext" is part of the official Python3
> "package"? So it is OK to aks here?
>
No it doesn't appear to be. It is not listed in the standard library.
It is mentione
Hello,
am I right to assume that "pygettext" is part of the official Python3
"package"? So it is OK to aks here?
I do use pygettext to handle po and pot files. In the manpage I'm not
able to find help about this.
I would like to modify the header that pygettext doe
dle the occasional MP4 that a python program which
basically manages JPEGs can't handle. It throws an exception so I can
just get that to run a simple bash script to get the creation date.
Yes, ffprobe is great, particularly the JSON output mode, very parsable.
If you want to get into th
jak wrote:
> Chris Green ha scritto:
> > jak wrote:
> >> rbowman ha scritto:
> >>> On Sun, 9 Apr 2023 09:40:51 +0100, Chris Green wrote:
> >>>
> I'm looking for a Python (3) library to access (read only at present)
> the metadata in MP4 video files, in particular I want to get at dates
On Sun, 9 Apr 2023 20:19:37 +0100, Chris Green wrote:
> That's why I hadn't thought it would help me as I'm after getting
> metadata from an MP4 video file but I guess the metadata format may be
> the same regardless of whether it's video or audio.
If yuo chase back through the various ISOs you t
rbowman ha scritto:
On Sun, 9 Apr 2023 09:40:51 +0100, Chris Green wrote:
I'm looking for a Python (3) library to access (read only at present)
the metadata in MP4 video files, in particular I want to get at dates
and times.
What's available to do this? Ideally something available in the Ubun
Chris Green ha scritto:
jak wrote:
rbowman ha scritto:
On Sun, 9 Apr 2023 09:40:51 +0100, Chris Green wrote:
I'm looking for a Python (3) library to access (read only at present)
the metadata in MP4 video files, in particular I want to get at dates
and times.
What's available to do this? I
rbowman wrote:
> On Sun, 9 Apr 2023 09:40:51 +0100, Chris Green wrote:
>
> > I'm looking for a Python (3) library to access (read only at present)
> > the metadata in MP4 video files, in particular I want to get at dates
> > and times.
> >
> > What's available to do this? Ideally something avai
jak wrote:
> rbowman ha scritto:
> > On Sun, 9 Apr 2023 09:40:51 +0100, Chris Green wrote:
> >
> >> I'm looking for a Python (3) library to access (read only at present)
> >> the metadata in MP4 video files, in particular I want to get at dates
> >> and times.
> >>
> >> What's available to do thi
I'm looking for a Python (3) library to access (read only at present)
the metadata in MP4 video files, in particular I want to get at dates
and times.
What's available to do this? Ideally something available in the
Ubuntu repositories but I can install with PIP if necessary.
--
Chris Green
·
--
On Sun, 9 Apr 2023 09:40:51 +0100, Chris Green wrote:
> I'm looking for a Python (3) library to access (read only at present)
> the metadata in MP4 video files, in particular I want to get at dates
> and times.
>
> What's available to do this? Ideally something available in the Ubuntu
> reposito
Op 25/07/2022 om 16:43 schreef Dennis Lee Bieber:
On Mon, 25 Jul 2022 10:39:46 +0200, Antoon Pardon
declaimed the following:
Yes it is, but it doesn't answer my question: How do I create a package
in which a file is built at install time.
I just want to build a configuration file that
On Mon, 25 Jul 2022 10:39:46 +0200, Antoon Pardon
declaimed the following:
>Yes it is, but it doesn't answer my question: How do I create a package
>in which a file is built at install time.
>I just want to build a configuration file that will among some other
>info con
Op 19/07/2022 om 16:57 schreef David Lowry-Duda:
On Tue, Jul 19, 2022 at 03:58:41PM +0200, Antoon Pardon wrote:
I am writing a python package which has the following structure
PACKAGE
* module1.py
* module2.py
* data.cfg
However the data.cfg should be build at installation time
On Tue, Jul 19, 2022 at 03:58:41PM +0200, Antoon Pardon wrote:
I am writing a python package which has the following structure
PACKAGE
* module1.py
* module2.py
* data.cfg
However the data.cfg should be build at installation time.
Can someone give advise on which packaging tool and
I am writing a python package which has the following structure
PACKAGE
* module1.py
* module2.py
* data.cfg
However the data.cfg should be build at installation time.
Can someone give advise on which packaging tool and how
to use it, to accomplisch this.
e.g. de data config.cfg
On Friday, March 1, 2019 at 12:08:00 AM UTC+3, Terry Reedy wrote:
> On 2/28/2019 11:09 AM, ast wrote:
> > Hello
> >
> > I just uploaded a package on pypi, whose name is "arith_lib"
> >
> > The strange thing is that on pypi the package is renamed &q
Turritopsis Dohrnii Teo En Ming ezt írta (időpont:
2022. máj. 25., Sze, 15:49):
> Subject: Popular Python Package 'ctx' Hijacked to Steal AWS Keys
>
> Good day from Singapore,
>
> Sharing this article for more awareness.
>
> Article: Popular PyPI Package 'ct
Subject: Popular Python Package 'ctx' Hijacked to Steal AWS Keys
Good day from Singapore,
Sharing this article for more awareness.
Article: Popular PyPI Package 'ctx' and PHP Library 'phpass' Hijacked
to Steal AWS Keys
Link:
https://thehackernews.com/2022/05/py
functions in Python. Is there a
>>> tutorial on how to package such an extension?
>>
>> Look at "https://package.python.org";,
>> especially
>> "https://packaging.python.org/en/latest/guides/packaging-binary-extensions/";.
>
>Thank you, but that
Am 08.02.22 um 18:57 schrieb Dieter Maurer:
Christian Gollwitzer wrote at 2022-2-7 20:33 +0100:
we've developed a Python pacakge which consists of both a compiled
extension module and some helper functions in Python. Is there a
tutorial on how to package such an extension?
Look at &
Christian Gollwitzer wrote at 2022-2-7 20:33 +0100:
>we've developed a Python pacakge which consists of both a compiled
>extension module and some helper functions in Python. Is there a
>tutorial on how to package such an extension?
Look at "https://package.python.org&qu
Hi all,
we've developed a Python pacakge which consists of both a compiled
extension module and some helper functions in Python. Is there a
tutorial on how to package such an extension?
Most resources I found for distutils describe either building an
extension or pure python mo
Às 02:01 de 05/02/22, Cameron Simpson escreveu:
On 05Feb2022 00:37, Paulo da Silva wrote:
Let's say I have a dir src containing another dir named foo and a
script test.py.
So, I have
src/foo (dir)
src/test.py (script)
test.py has the folloing code:
import foo as f
c=f.C()
I am inside src an
On 05Feb2022 00:37, Paulo da Silva wrote:
>Let's say I have a dir src containing another dir named foo and a
>script test.py.
>
>So, I have
>src/foo (dir)
>src/test.py (script)
>
>test.py has the folloing code:
>
>import foo as f
>c=f.C()
>
>I am inside src and want to run python test.py.
>
>How
Hello!
Let's say I have a dir src containing another dir named foo and a script
test.py.
So, I have
src/foo (dir)
src/test.py (script)
test.py has the folloing code:
import foo as f
c=f.C()
I am inside src and want to run python test.py.
How can I create the class C inside src/foo dir if i
Last I heard, Pypy itself will remain written in a statically typed dialect
of Python that is closest to Python 2.7. However, what's written in that
language includes JIT-compiled interpreters for both Python 2.x and Python
3.x.
On Tue, Dec 21, 2021 at 9:15 AM Albert-Jan Roskam
wrote:
>Hi a
Hi all,
Thank you very much for your valuable replies! I will definitely do some
tracing to see where the bottlenecks really are. It's good to know that
pypy is still alive and kicking, I thought it was stuck in py2.7. I will
also write a mini program during the holiday to see how th
careful and double check
that what you are calling is really doing what you think.
About the performance, Julia is not magic. It depends on how well it was
coded each package.
In my case I had a good experience except with Parquet.jl which it
didn't understand how to handle categories in
On Fri, 17 Dec 2021 at 23:11, Chris Angelico wrote:
>
> On Sat, Dec 18, 2021 at 10:01 AM Oscar Benjamin
> wrote:
> >
> > On Fri, 17 Dec 2021 at 22:40, Chris Angelico wrote:
> > >
> > > On Sat, Dec 18, 2021 at 9:24 AM Oscar Benjamin
> > > wrote:
> > > > When I timed the result in Julia and in Py
On Sat, Dec 18, 2021 at 10:01 AM Oscar Benjamin
wrote:
>
> On Fri, 17 Dec 2021 at 22:40, Chris Angelico wrote:
> >
> > On Sat, Dec 18, 2021 at 9:24 AM Oscar Benjamin
> > wrote:
> > > When I timed the result in Julia and in Python I found that the Julia
> > > code was slower than the Python code.
On Fri, 17 Dec 2021 at 22:40, Chris Angelico wrote:
>
> On Sat, Dec 18, 2021 at 9:24 AM Oscar Benjamin
> wrote:
> > When I timed the result in Julia and in Python I found that the Julia
> > code was slower than the Python code. Of course I don't know how to
> > optimise Julia code so I asked one
On Sat, Dec 18, 2021 at 9:24 AM Oscar Benjamin
wrote:
> When I timed the result in Julia and in Python I found that the Julia
> code was slower than the Python code. Of course I don't know how to
> optimise Julia code so I asked one of my colleagues who does (and who
> likes to proselytise about J
On Fri, 17 Dec 2021 at 15:04, Albert-Jan Roskam wrote:
>
> Hi,
>
> I have a Python program that uses Tkinter for its GUI. It's rather slow so I
> hope to replace many or all of the non-GUI parts by Julia code. Has anybody
> experience with this? Any packages you can recommend? I found three
> a
Additionally I'd like to ask, if you e.g. used pandas and numpy before
you make the effort of rewriting everything.
Yes python is slower than compiled languages, but especially with numpy
you can make use of compiled code underneath.
Of course this could mean rewriting some existing code but stay
On Fri, Dec 17, 2021 at 7:02 AM Albert-Jan Roskam
wrote:
> Hi,
>
> I have a Python program that uses Tkinter for its GUI. It's rather slow so
> I hope to replace many or all of the non-GUI parts by Julia code. Has
> anybody experience with this? Any packages you can recommend? I found three
> alt
Hi,
I have a Python program that uses Tkinter for its GUI. It's rather slow so I
hope to replace many or all of the non-GUI parts by Julia code. Has anybody
experience with this? Any packages you can recommend? I found three
alternatives:
* https://pyjulia.readthedocs.io/en/latest/usage.html#
Manfred Lotz writes:
> pyinstaller worked fine taking care of message.py and typer module. But
> as said in my other reply it is glibc version dependent.
Perhaps the included freeze.py script (included in the CPython source
that is, in Tools/freeze) is worth considering as well. Although it also
On Thu, 9 Dec 2021 13:51:00 -0700
Mats Wichmann wrote:
> On 12/9/21 11:35, Manfred Lotz wrote:
>
> > I played with pyinstaller which worked fine. However, it builds a
> > dynamic executable and thus it is glibc version dependent. Means, I
> > have to build different executables for differen glib
On Thu, 9 Dec 2021 21:23:58 +0100
"Peter J. Holzer" wrote:
> On 2021-12-09 19:35:37 +0100, Manfred Lotz wrote:
> > I played with pyinstaller which worked fine. However, it builds a
> > dynamic executable and thus it is glibc version dependent. Means, I
> > have to build different executables for
archives are
supposed to work.
For me at least, I'm still not sure what you are trying to accomplish.
"A Python command line app which requires some packages which are not in
the standard library."
If your code and its dependencies are "pure python" then you only need
to
On 2021-12-09 19:35:37 +0100, Manfred Lotz wrote:
> I played with pyinstaller which worked fine. However, it builds a
> dynamic executable and thus it is glibc version dependent. Means, I
> have to build different executables for differen glibc versions.
Just build it for the oldest version. Even
On Thu, 9 Dec 2021 18:18:26 +0100
"Dieter Maurer" wrote:
> Manfred Lotz wrote at 2021-12-8 12:31 +0100:
> >The are many possibilities to package a Python app, and I have to
> >admit I am pretty confused.
> >
> >Here is what I have:
> >
> >A Pyt
On Thu, 9 Dec 2021 17:34:03 +
Barry wrote:
> > On 8 Dec 2021, at 18:27, Manfred Lotz wrote:
> >
> > The are many possibilities to package a Python app, and I have to
> > admit I am pretty confused.
> >
> > Here is what I have:
> >
> &g
> On 8 Dec 2021, at 18:27, Manfred Lotz wrote:
>
> The are many possibilities to package a Python app, and I have to admit
> I am pretty confused.
>
> Here is what I have:
>
> A Python command line app which requires some packages which are not in
> the standard
Manfred Lotz wrote at 2021-12-8 12:31 +0100:
>The are many possibilities to package a Python app, and I have to admit
>I am pretty confused.
>
>Here is what I have:
>
>A Python command line app which requires some packages which are not in
>the standard library.
Are they o
Hi Manfred,
Manfred Lotz writes:
> Hi Loris,
>
> On Wed, 08 Dec 2021 15:38:48 +0100
> "Loris Bennett" wrote:
>
>> Hi Manfred,
>>
>> Manfred Lotz writes:
>>
>> > The are many possibilities to package a Python app, and I have to
>
Hi Loris,
On Wed, 08 Dec 2021 15:38:48 +0100
"Loris Bennett" wrote:
> Hi Manfred,
>
> Manfred Lotz writes:
>
> > The are many possibilities to package a Python app, and I have to
> > admit I am pretty confused.
> >
> > Here is what I have:
&g
Hi Manfred,
Manfred Lotz writes:
> The are many possibilities to package a Python app, and I have to admit
> I am pretty confused.
>
> Here is what I have:
>
> A Python command line app which requires some packages which are not in
> the standard library.
>
> I am o
The are many possibilities to package a Python app, and I have to admit
I am pretty confused.
Here is what I have:
A Python command line app which requires some packages which are not in
the standard library.
I am on Linux and like to have an executable (perhaps a zip file with a
shebang
to track
> > that down to the libturbojpeg0-dev package, install that, and after a
> > bit more fussing around now have jpegdupes installed.
> >
> > Thanks for the help,
> >
>
> Sweet! I like stories that have happy endings.
>
> (No compilers were harmed in th
On Tue, Sep 28, 2021 at 10:40 AM Skip Montanaro
wrote:
>
> Woo hoo! It's installed. The ultimate error was a missing turbojpeg.h
> file. Thank goodness for the apt-file command. I was able to track
> that down to the libturbojpeg0-dev package, install that, and after a
> bit
Woo hoo! It's installed. The ultimate error was a missing turbojpeg.h
file. Thank goodness for the apt-file command. I was able to track
that down to the libturbojpeg0-dev package, install that, and after a
bit more fussing around now have jpegdupes installed.
Thanks for the help,
Skip
--
On Tue, Sep 28, 2021 at 8:09 AM Skip Montanaro wrote:
>>
>> For the most part, a proper colorizing compiler can make the
>> errors stand out among the spam of warnings, but it's hard when people
>> copy and paste just the text.
>
>
> In my defense, the entire traceback was red. :-) It's quite poss
>
> For the most part, a proper colorizing compiler can make the
> errors stand out among the spam of warnings, but it's hard when people
> copy and paste just the text.
>
In my defense, the entire traceback was red. :-) It's quite possible that
GCC colorized its error/warning messages, but colori
On Tue, Sep 28, 2021 at 4:46 AM <2qdxy4rzwzuui...@potatochowder.com> wrote:
> I agree that the standard shouldn't regulate warnings. I'm also saying
> that sometimes, it's a pain that it doesn't, and that not every warning
> is the package maintainer's f
s of conditional compilation,
often controlled by the preprocessor; achieving ideal results can be,
well, "tricky." It's not a matter of not caring.
At some point, it comes down to a question of ignoring a warning vs.
cluttering up your code (preprocessor or otherwise) with extra
c
On Tue, Sep 28, 2021 at 4:04 AM <2qdxy4rzwzuui...@potatochowder.com> wrote:
>
> On 2021-09-28 at 03:23:53 +1000,
> Chris Angelico wrote:
>
> > On Tue, Sep 28, 2021 at 3:11 AM Skip Montanaro
> > wrote:
> > >>
> > >> Those are all warnings. Are there any errors that follow them?
> > >
> > >
> > >
On 2021-09-28 at 03:23:53 +1000,
Chris Angelico wrote:
> On Tue, Sep 28, 2021 at 3:11 AM Skip Montanaro
> wrote:
> >>
> >> Those are all warnings. Are there any errors that follow them?
> >
> >
> > Maybe I just missed the actual errors, but the compiler exit status was 1,
> > so there must hav
Skip Montanaro wrote at 2021-9-27 07:48 -0500:
>I'd like to use the jpegdupes package <https://pypi.org/project/jpegdupes/> but
>can't seem to get past compilation issued related to jpegtrans-cffi.
>Attempts to install any available versions on my XUbuntu system crap
one of the annoying things of building large C packages is when
the maintainers don't care about warnings, and then legit errors get
lost in the spam.
>> The package doesn't seem to have had a release since 2018, but the
>> GitHub repository has had changes as recently as a m
>
> Those are all warnings. Are there any errors that follow them?
>
Maybe I just missed the actual errors, but the compiler exit status was 1,
so there must have been. I'll give it another try.
The package doesn't seem to have had a release since 2018, but the
> Git
On Mon, Sep 27, 2021 at 10:49 PM Skip Montanaro
wrote:
>
> I'd like to use the jpegdupes package <https://pypi.org/project/jpegdupes/>
> but
> can't seem to get past compilation issued related to jpegtrans-cffi.
> Attempts to install any available versions on my
I'd like to use the jpegdupes package <https://pypi.org/project/jpegdupes/> but
can't seem to get past compilation issued related to jpegtrans-cffi.
Attempts to install any available versions on my XUbuntu system crap out
with this C compiler error message:
In file includ
Mohsen Owzar schrieb am Donnerstag, 23. September 2021 um 08:53:15 UTC+2:
> DFS schrieb am Mittwoch, 22. September 2021 um 09:41:42 UTC+2:
> > On 9/22/2021 1:54 AM, Mohsen Owzar wrote:
> > > DFS schrieb am Mittwoch, 22. September 2021 um 05:10:30 UTC+2:
> > >> On 9/21/2021 10:38 PM, Mohsen Owzar
DFS schrieb am Mittwoch, 22. September 2021 um 09:41:42 UTC+2:
> On 9/22/2021 1:54 AM, Mohsen Owzar wrote:
> > DFS schrieb am Mittwoch, 22. September 2021 um 05:10:30 UTC+2:
> >> On 9/21/2021 10:38 PM, Mohsen Owzar wrote:
> >>> DFS schrieb am Dienstag, 21. September 2021 um 15:45:38 UTC+2:
> >>
On 9/22/2021 1:54 AM, Mohsen Owzar wrote:
DFS schrieb am Mittwoch, 22. September 2021 um 05:10:30 UTC+2:
On 9/21/2021 10:38 PM, Mohsen Owzar wrote:
DFS schrieb am Dienstag, 21. September 2021 um 15:45:38 UTC+2:
On 9/21/2021 4:36 AM, Mohsen Owzar wrote:
Hi Guys
Long time ago I've written a pro
DFS schrieb am Mittwoch, 22. September 2021 um 05:10:30 UTC+2:
> On 9/21/2021 10:38 PM, Mohsen Owzar wrote:
> > DFS schrieb am Dienstag, 21. September 2021 um 15:45:38 UTC+2:
> >> On 9/21/2021 4:36 AM, Mohsen Owzar wrote:
> >>> Hi Guys
> >>> Long time ago I've written a program in Malab a GUI f
On 9/21/2021 10:38 PM, Mohsen Owzar wrote:
DFS schrieb am Dienstag, 21. September 2021 um 15:45:38 UTC+2:
On 9/21/2021 4:36 AM, Mohsen Owzar wrote:
Hi Guys
Long time ago I've written a program in Malab a GUI for solving Sudoku puzzles,
which worked not so bad.
Now I try to write this GUI with
st question is:
> Is there any free OCR software, packages or code in Python, which I can
> use to recognize the given digits and their positions in the puzzle square.
>
to my knowledge there is no Python package for OCR. Using a free OCR
package that has a command line interface one could
imgur.com
Then you upload your image and post a perma-link here in reply.
On Tue, Sep 21, 2021, 22:03 Mohsen Owzar wrote:
> DFS schrieb am Dienstag, 21. September 2021 um 15:45:38 UTC+2:
> > On 9/21/2021 4:36 AM, Mohsen Owzar wrote:
> > > Hi Guys
> > > Long time ago I've written a program in Ma
DFS schrieb am Dienstag, 21. September 2021 um 15:45:38 UTC+2:
> On 9/21/2021 4:36 AM, Mohsen Owzar wrote:
> > Hi Guys
> > Long time ago I've written a program in Malab a GUI for solving Sudoku
> > puzzles, which worked not so bad.
> > Now I try to write this GUI with Python with PyQt5 or TKint
On 9/21/2021 4:36 AM, Mohsen Owzar wrote:
Hi Guys
Long time ago I've written a program in Malab a GUI for solving Sudoku puzzles,
which worked not so bad.
Now I try to write this GUI with Python with PyQt5 or TKinter.
First question is:
Is there any free OCR software, packages or code in Python,
Hi Guys
Long time ago I've written a program in Malab a GUI for solving Sudoku puzzles,
which worked not so bad.
Now I try to write this GUI with Python with PyQt5 or TKinter.
First question is:
Is there any free OCR software, packages or code in Python, which I can use to
recognize the given dig
Hi Python Team,
I think the statement "The __init__.py files are required to make Python
treat directories containing the file as packages" is wrong in the
documentation[1] because it is valid only for Python 2.x version not Python
3.x version.
Even though it is good practice to have this file, it
Hi,
Here is Pyto, the first animated character that help you Learn Python like you
play video games Why not implement me on Python PyPI ???
Episode 1: Intro / Who is Pyto ? / The Idle World | Pytorial
|
|
|
| | |
|
|
|
| |
Episode 1: Intro / Who is Pyto ? / The Idle World
On Sat, 19 Jun 2021, MRAB wrote:
It looks like you're mixing some Python usage ("faker.names()") in with
command line usage.
MRAB,
You are correct. That was my problem.
Judging from the docs, I'd say you need something more like:
$ faker -o temp.out name
for 1 fake name or:
$ faker -r
File "/usr/lib64/python3.7/site-packages/faker/factory.py", line 90, in
_find_provider_class
provider_module = import_module(provider_path)
File "/usr/lib64/python3.7/importlib/__init__.py", line 127, in
import_module
return _bootstrap._gcd_import(name[level:], packa
90, in
_find_provider_class
provider_module = import_module(provider_path)
File "/usr/lib64/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1006, in _gcd_import
File "",
On 2021-06-18 23:24, Rich Shepard wrote:
I'm trying to use the faker package to generate data to load in a sample
postgres database so I can learn how to use tksheet and psycopg2.
The 8.8.1 documentation shows output on a root shell prompt (#), not a
python prompt (>>>).
On Fri, 18 Jun 2021, Terry Reedy wrote:
I would try using the 'given' function/decorator of hypothesis (on pypi)
to generate random data that conforms to whatever specification.
Thank you, Terry. I'll do that.
Regards,
Rich
--
https://mail.python.org/mailman/listinfo/python-list
1 - 100 of 2232 matches
Mail list logo