Re: Jupyter notebooks to A4 (again)

2021-01-25 Thread tommy yama
Hi Martin,

I noticed that i did use the same ,
formats are mentioned in git already.

https://github.com/jupyter/nbconvert

On Mon, Jan 25, 2021 at 6:47 AM Martin Schöön 
wrote:

> Hello all,
>
> Some years ago I asked about exporting notebooks to pdf in
> A4 rather than US Letter. I got help, rather detailed
> instructions from you in general and Piet von Oostrum in
> particular. Following the advice helped and I was happy.
>
> Now it does not work any longer:
>
>  nbconvert failed: A4article
>
> I am stumped. I have not changed anything and all
> looks OK.
>
> Today I tried up-dating all things Python and Jupyter
> but that did not help.
>
> I have also tried removing the A4 stuff and after
> restarting Jupyter I can export to PDF and get US Letter
> paper format.
>
> A quick and (obviously) not very clever internet search
> yielded nothing helpful.
>
> Any ideas?
>
> /Martin
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Jupyter notebooks to A4 (again)

2021-01-28 Thread tommy yama
Hi,

A4article is not indicated in git as you had a look. :(
Maybe that format (A4article) was depreciated already?

On Fri, Jan 29, 2021 at 6:52 AM Martin Schöön 
wrote:

> Den 2021-01-25 skrev tommy yama :
> > Hi Martin,
> >
> > I noticed that i did use the same ,
> > formats are mentioned in git already.
> >
> > https://github.com/jupyter/nbconvert
> >
> Are you telling me there are instruction for how to get A4paper
> format there? I have looked around but...
>
> /Martin
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Running Jupyter Notebook

2021-02-10 Thread tommy yama
Hi,

Have you tried this?

python -m notebook



On Wed, Feb 10, 2021 at 11:28 PM Rafael Llera  wrote:

> I installed Python and jupyter via pip, but when I run jupyter notebook I
> keep getting the following error.
>
>  Requirement already satisfied: pyparsing>=2.0.2 in
> c:\users\mitzi\appdata\roaming\python\python39\site-packages (from
> packaging->bleach->nbconvert->jupyter) (2.4.7)
> Requirement already satisfied: qtpy in
> c:\users\mitzi\appdata\roaming\python\python39\site-packages (from
> qtconsole->jupyter) (1.9.0)
>
> C:\WINDOWS\system32>jupyter notebook
> 'jupyter' is not recognized as an internal or external command,
> operable program or batch file.
>
> C:\WINDOWS\system32>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


google text-to-speech python

2021-03-07 Thread tommy yama
Hi,

Anyone familiar with how to change speech pace with python script?

Thanks!
-- 
https://mail.python.org/mailman/listinfo/python-list


gTTS in python

2021-03-08 Thread tommy yama
Hi,

Anyone might be familiar with gTTS ?
https://pypi.org/project/gTTS/



Thanks.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: The importance of mental health

2021-05-12 Thread tommy yama
I do not know you and your past but guess destigmatization of mental
illnesses is an important agenda to people,


On Tue, May 11, 2021 at 8:34 AM Mirko via Python-list <
python-list@python.org> wrote:

> Am 10.05.2021 um 15:16 schrieb Kyle Stanley:
> > Hey all,
> >
> > In these last few months, I have been in the process of healing from some
> > pretty heavy past trauma. And now that I am on the road to recovery, I
> want
> > to share my journey with the Python community in hopes that it may reach
> > those that are struggling with their own mental health battles, as many
> of
> > us are during these dark and difficult times.
> >
> > Trigger warning that it includes a decent amount of highly personal
> > content, so only check it out if you are okay with that:
> > https://discuss.python.org/t/break-from-open-source/6372/7?u=aeros.
> >
> > To anyone that would limit my employment opportunities as a result of
> > having had these struggles, *that's perfectly okay*. I kept the post in
> the
> > private section because I was originally in fear of discriminate.
> However,
> > I have reached an important conclusion: *I would not want to work for
> your
> > company if you discriminate against people who have overcome past
> struggles*
> > .
> >
>
>
> Thank you for your courage! This is what we need. True, genuine and
> honest stories from people with mental health issues. To demystify
> and destigmatize the entire topic. Everybody happily runs to the
> doctors to get antibiotics/antivirals for their simple cold and
> everybody literally "loves* to complain about how bad they feel when
> having a cold. But even today in the year 2021, very few people dare
> to go public with their "mental cold" or their "mental cancer". The
> danger of mockery or discrimination is still far to high.
>
>
> All the best, Kyle and good luck! :-)
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Unable to remove setup of 3.9.5 from Windows 10

2021-06-19 Thread tommy yama
Unrelated topic, but i thought Windows 10 will be retired anytime soon.

On Sun, Jun 20, 2021 at 5:58 AM Mats Wichmann  wrote:

> On 6/19/21 10:14 AM, Manish Jain wrote:
> > Hello Team,
> >
> > I have installed the Python 3.9.5 and trying to remove from the PC
> through
> > the Uninstall Program (All Possible ways - Through Control Panel or
> > Uninstall Python executable)
> >
> > It just outputs saying Uninstall Successfully but nothing happening
> (Still
> > listed in Programs List) and even not allowing me to install again.
> >
> > Please let me know if there is any alternate resolution
> >
> > Thanks,
> > Manish
> >
>
> You could try this:
>
>
> https://support.microsoft.com/en-us/topic/fix-problems-that-block-programs-from-being-installed-or-removed-cca7d1b6-65a9-3d98-426b-e9f927e1eb4d
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Request to advise error for python.

2021-10-23 Thread tommy yama
It seems you use windows to install.


Then, you need conda. Pip works for Linux.

Check this out.
https://numpy.org/install/


On Thu, Oct 21, 2021, 11:35 PM Grant Edwards 
wrote:

> On 2021-10-21, Mats Wichmann  wrote:
>
> > There are some nuances.  If you are on a Linux system, Python is a
> > system program and you don't want to try to install into system
> > locations (you'll run into permission problems anyway), so trying a user
> > install is useful.  So:
> >
> > pip install --user numpy
> >
> > In fact, if you're on a Linux system you *may* prefer to install the
> > packaged versions - use the appropriate package manager commands.
>
> Not all systems have a 'pip' executable. If a 'pip' exectuable does
> exist, it might not be the same version as your defualt python
> executable. It's usually a better idea to do it this way:
>
>  $ python -m pip install --user numpy
>
> That said, if you're on Linux system, you're almostg always better off
> using your distro's package manger to install numpy.
>
> --
> Grant
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Request to advise error for python.

2021-10-23 Thread tommy yama
Thank you MRAB.

As somebody mentioned before, the easiest solution is you can do pip
install before typing python.
That would work.

On Sun, Oct 24, 2021 at 12:00 AM MRAB  wrote:

> On 2021-10-23 14:53, tommy yama wrote:
> > It seems you use windows to install.
> >
> >
> > Then, you need conda. Pip works for Linux.
> >
> On Windows, 'conda' is for the Anaconda version of Python. If you're
> using the standard version of Python from python.org you use pip or,
> preferably, py -m pip.
>
> > Check this out.
> > https://numpy.org/install/
> >
> >
> > On Thu, Oct 21, 2021, 11:35 PM Grant Edwards 
> > wrote:
> >
> >> On 2021-10-21, Mats Wichmann  wrote:
> >>
> >> > There are some nuances.  If you are on a Linux system, Python is a
> >> > system program and you don't want to try to install into system
> >> > locations (you'll run into permission problems anyway), so trying a
> user
> >> > install is useful.  So:
> >> >
> >> > pip install --user numpy
> >> >
> >> > In fact, if you're on a Linux system you *may* prefer to install the
> >> > packaged versions - use the appropriate package manager commands.
> >>
> >> Not all systems have a 'pip' executable. If a 'pip' exectuable does
> >> exist, it might not be the same version as your defualt python
> >> executable. It's usually a better idea to do it this way:
> >>
> >>  $ python -m pip install --user numpy
> >>
> >> That said, if you're on Linux system, you're almostg always better off
> >> using your distro's package manger to install numpy.
> >>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: mentor training python Romania with certification

2016-08-16 Thread tommy yama
Check it out. It is pretty basic material,though!

https://www.python.org

Go for it.




On Tue, Aug 16, 2016 at 11:14 PM, blue  wrote:

> Hi.
>
> I'm from Romania.
> I need to update my skils under python.
> I need to find one mentor ( class, training ) to obtain one certified
> under python language.
>
> Cătălin George Feștilă
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Bottle framework references

2018-08-21 Thread tommy yama
What’s up?

I am building up the microsite based on Bottle framework now. 
Any references/books? I am unfamiliar with this framework yet. 

Thanks!  
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Bottle framework references

2018-08-23 Thread tommy yama
More specifically, which online docs? 

> On 22 Aug 2018, at 8:38 am, Jason Friedman  wrote:
> 
>> 
>> I am building up the microsite based on Bottle framework now.
>> Any references/books? I am unfamiliar with this framework yet.
>> 
>> I have used it with success.  The online documentation was sufficient for
> my needs, at least.
> -- 
> https://mail.python.org/mailman/listinfo/python-list

-- 
https://mail.python.org/mailman/listinfo/python-list


Re: SSHLibrary (PyNaCl and Cryptography) inst for Python 3.6.4 in Windows 10

2018-10-18 Thread tommy yama
It's mentioned that pypi includes what you need.

https://pypi.org/project/robotframework-sshlibrary/

On Fri, 19 Oct 2018, 01:28 MRAB,  wrote:

> On 2018-10-18 07:28, Saila wrote:
> > keskiviikko 17. lokakuuta 2018 20.18.55 UTC+3 Thomas Jollans kirjoitti:
> >> On 2018-10-17 16:41, Saila wrote:
> >> > Hi
> >> > Has somebody been able to install SSHLIbrary from sources (all libs
> with offline installations) on virtual Win 10 for Python 3.6.4?
> >> >
> >> > Python 3.6.4 ... [MSC v. 1900 64 bit (AMD 64)]
> >> >
> >> > Also Microsoft Visual Studio 2017 is installed (also
> vc_redist.x64.exe)
> >> >
> >> > SSHLinrary worked with Python 2.7 (there wasn't so many dependencies)
> >> >
> >> > SSHLIbrary 3.3.1 requires paramiko
> >> > paramiko-2.4.2.tar.gz requires bcrypt,cryptography, pynacl and pyasn1
> >> >   and cffi is needed
> >> > Problems are with PyNaCl-1.3.0.tar.gz and cryptography-2.1.4.tar.gz
> >> >
> >> > Installing PyNaCl
> >> > C:\Tools\PyNaCl-1.3.0>python setup.py install >> log.txt
> >> > warning: no previously-included files matching '__pycache__\*' found
> anywhere in distribution
> >> > warning: no previously-included files matching '.tarvis.yml'
> >> > etc..
> >> >File "setup.py", line 159, in run
> >> >  raise Exception("ERROR": The 'make' utility is missing from
> PATH")
> >> > Exception: ERROR: The 'make' utility is missing from PATH
> >> >
> >> > Installation of cryptography
> >> > ends to
> >> > C:\Program Files (x86)\Microsoft Visual
> Studio\2017\VC\Tools\MSVC14.11.25503\bin\HostX86\x64\cl.exe /c /nologo
> / build\temp.win-amd64-3.6\Release\_openssl.c(493): fatal error C1083:
> Cannot open include file: 'openssl/opensslv.h': No such file or directory
> >> >
> >> > Hoping that somebody can help and sorry that I didn't feel to write
> hole messages because development env has connections to web
> >> > BR
> >> > Saila
> >> >
> >>
> >> Can't you just install it with pip?
> >>
> >> py -3 -m pip install PyNaCl
> >
> > That is not possible because there isn't connection to www in
> development environment. It is isolated. Only possiblity is import sources.
> >
> Why not download the appropriate .whl file from PyPI and then install
> that on your machine?
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Error in installing "conda-build"

2018-11-10 Thread tommy yama
Hi there,

Anyone encountered the same problem?

ommand "python setup.py egg_info" failed with error code 1 in
/private/tmp/pip-install-ReWrqJ/conda-build/


Your advices would be appreciated.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Error in installing "conda-build"

2018-11-11 Thread tommy yama
sorry,  this is solved.

On Sun, Nov 11, 2018 at 12:49 PM tommy yama  wrote:

> Hi there,
>
> Anyone encountered the same problem?
>
> ommand "python setup.py egg_info" failed with error code 1 in
> /private/tmp/pip-install-ReWrqJ/conda-build/
>
>
> Your advices would be appreciated.
>
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Good editor for python

2018-11-11 Thread tommy yama
Komodo edit is enchanting personally,

On Mon, 12 Nov 2018, 06:06 Andrew Z  Brian, thank you for sharing. Looks very interesting.
>
> On Sun, Nov 11, 2018, 10:46 Brian J. Oney via Python-list <
> python-list@python.org wrote:
>
> > Hi Olivier
> >
> > I am glad you did not trigger an editor war. I don't know how familiar
> you
> > are
> > with emacs. The answer depends alot on your preference and future work.
> > Emacs
> > and vi have been around for a long time for good reasons.
> >
> > If you prefer an extensible and futureproof editor, I can wholeheartedly
> > recommend emacs or vi. I went from a happy emacs user to an even happier
> > spacemacs user. Spacemacs is a batteries-included emacs configuration
> which
> > lets you choose between emacs-like or vi keybindings, which are mnemonic,
> > efficient, consistent, and, above all, discoverable. Discoverability
> > allows a
> > person who has been using something for a while to find out even more
> > tricks
> > in the moment that those tricks would be useful. Spacemacs has tons of
> > bells
> > and whistles and still manages to be fast (through lazy configuration
> > loading).
> >
> > If you are looking at literate programming, Jupyter Notebooks are hard to
> > beat, especially if you want to share code with novices. In case you
> want a
> > medusa that eats everything else for lunch, look further. Such a beast
> can
> > be
> > harnessed with org-mode, an emacs mode which can be just about anything
> you
> > want it to be. You can do literate devops, literate programming, mix
> > programming languages, export to your grandma's toaster, and feed the dog
> > with
> > org-mode, if you want to play. Org-mode's syntax and power is unmatched,
> > to my
> > knowledge.
> >
> > That all depends on how far down the rabbit hole you want to dive. Emacs
> > with
> > pdb is pretty good though. To get the functionality you miss is pretty
> > simple
> > with spacemacs.  For more information and platform-specific instructions,
> > please see the following link.
> >
> > https://github.com/syl20bnr/spacemacs
> >
> > The basic template already activates python support.
> >
> > That's my two cents.
> >
> > Cheers
> > Brian
> >
> > On Sun, 2018-11-11 at 08:45 -0600, Spencer Graves wrote:
> > >People rave about Jupyter Notebooks, which reportedly allow you
> > > to mix narrative with code describing what you are doing and why.
> > >
> > >
> > >I primarily program in R, and RMarkdown Documents in RStudio
> > > allow me to mix narrative with R and Python code.  I explain what I'm
> > > doing and why, then write "```{python}" ... "```" to encapsulate a
> > > Python code snippet and "```{r}" ... "```" for an R code snippet. Or I
> > > just use the Idle editor that comes with Python.
> > >
> > >
> > >Someone suggested that Apache Zeppelin  and / or BeakerX might
> be
> > > able to do this also, but I've not tried or verified them.
> > >
> > >
> > >Spencer Graves
> > >
> > >
> > > On 2018-11-11 08:11, Andrew Z wrote:
> > > > If you do scripts - emacs/vi is the way to go.
> > > > If you need something more (like creating libraries,  classes) go
> with
> > > > pycharm. It is a professionally made IDE.
> > > >
> > > > Over past 2 years ive been trying to "downgrade" myself to something
> > with
> > > > less belts and whistles,  but come back to it all the time.
> > > >
> > > > On the other hand , if you already use emacs - u should not need
> > anything
> > > > else.
> > > >
> > > > On Sun, Nov 11, 2018, 04:15 Olive <
> diolu.remove_this_p...@bigfoot.com
> > wrote:
> > > >
> > > > > I am not a professional programmer but I use Python regularly for
> > custom
> > > > > scripts (and plot with matplotlib). I have just learned VBA for
> > Excel: what
> > > > > I found amazing was their editor: it is able to suggest on the spot
> > all the
> > > > > methods an object support and there is a well-integrated debugger.
> I
> > wonder
> > > > > if something similar exists for Python. For now I just use emacs
> > with the
> > > > > command line pdb. What do people use here? Ideally I would like to
> > have
> > > > > something that is cross platform Windows/Linux.
> > > > >
> > > > > Olivier
> > > > >
> > > > > --
> > > > > https://mail.python.org/mailman/listinfo/python-list
> > > > >
> > >
> > >
> > --
> > https://mail.python.org/mailman/listinfo/python-list
> >
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Developers using Python QT framework ??

2016-05-15 Thread tommy yama
Hi folks,

Are there people using QT cross-platform framework on the list?
I appreciate for your advices and references regarding this.

I am a novice python programmer who started using this framework.


Thanks a lot in advance!

Tomo
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Developers using Python QT framework ??

2016-05-15 Thread tommy yama
Hey there,

Many thanks, Vincent,




On Sun, May 15, 2016 at 11:15 PM, Vincent Vande Vyvre <
vincent.vande.vy...@telenet.be> wrote:

> Le 15/05/2016 13:19, tommy yama a écrit :
>
>> Hi folks,
>>
>> Are there people using QT cross-platform framework on the list?
>> I appreciate for your advices and references regarding this.
>>
>> I am a novice python programmer who started using this framework.
>>
>>
>> Thanks a lot in advance!
>>
>> Tomo
>>
> Yes.
>
> Note, it is also a mailing list PyQt:
> https://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> Vincent
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Errors in installation of matplotlib and pandas on Macbook

2016-06-30 Thread tommy yama
Hi there,

Why you would not use pip and anaconda for panda installation?
It seems much easier to do the same.




https://www.continuum.io/downloads#_macosx


*Tomomi Yamano *




On Thu, Jun 30, 2016 at 4:03 PM, Chris Angelico  wrote:

> On Thu, Jun 30, 2016 at 4:21 PM, Madhavan Bomidi 
> wrote:
> > How should I modify the profile/configuration of locale permanently? Is
> it possible to do this on terminal other than using 'export' command always
> and including the commands in .bash_profile?
> >
> > How does this locale configuration affect other processes or software on
> the Macbook?
> >
> > I also get another problem with selfupdate of Mac port. Below is the
> error message. Is this a problem of configuration in the locale?
>
> These are all Mac-specific questions (and not, incidentally,
> Python-specific). You'll probably find you can learn a lot from
> Googling your problems. (Or DuckDuckGoing them, but that doesn't roll
> off the tongue so easily.)
>
> ChrisA
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


sample chatting apps in pyqt

2016-06-30 Thread tommy yama
Hi all,

Let me post my question here
Has anyone installed and run any of sample chat apps in pyqt?

Although I've tried to install and run sample scripts in pyqt once, the
error said pyqt must be reinstalled.

Appreciate for your suggestions.

Thanks.

Tomo
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Cannot find reference 'bluetoothctl' in 'sh.py' less... (Ctrl+F1)

2018-11-15 Thread tommy yama
Hello there

Have you tried it with npm?

https://www.npmjs.com/package/bluetoothctl

On Thu, 15 Nov 2018, 15:10 dieter  srinivasan  writes:
> > As am newbie to python, I am planning to automate BT functionality test
> > using Bluez "bluetoothctl" utility  by writing python wrapper and robot
> > framework integrated with Jenkins
> > ...
> > *$ pip3 install bluetoothctl*
> > *Collecting bluetoothctl*
> > *  Could not find a version that satisfies the requirement bluetoothctl
> > (from versions: )*
> > *No matching distribution found for bluetoothctl*
>
> "pip[*]" is a tool to install Python packages -- typically from
> the Python package index (-->"https://pypi.org";).
> The error message above indicates that "bluetoothctl" is not
> managed by this package index.
>
> I assume that it is not a Python package at all (but rather some
> command line utility in some operating system package). At least
> on my Ubuntu 18.04, "bluetoothctl" is an operating system utility.
>
> *from sh import bluetoothctl*
>
> *mac = "your bluetooth mac"*
> *bluetoothctl("connect", mac)*
>
> > In the pycharm, I see the below error message :
> >
> > *Cannot find reference 'bluetoothctl' in 'sh.py' less... (Ctrl+F1) *
> > *Inspection info: This inspection detects names that should resolve but
> > don't. Due to dynamic dispatch and duck typing, this is possible in a
> > limited but useful number of cases. Top-level and class-level items are
> > supported better than instance items.*
> >
> > Could you please help me to resolve the above issue, like why am I seeing
> > the above issue it seems to be some importing "bluetoothhctl" module
> issue
> > (sorry if my understanding is wrong)
>
> I do not know the "sh" package. It might be a utility
> that turns a command line utility into a Python callable --
> implicitely on "import" of the corresponding name.
>
> If this is the case, it may confuse "PyCharm" (which does not
> expect such dynamism). You could then safely ignore this confusion.
>
> Try to execute your code. Should you get an exception
> (e.g. an `ImportError: cannot import "bluetoothctl" from module "sh"`),
> then come back.
>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: how to setup for localhost:8000

2019-03-01 Thread tommy yama
Here you go
A port can be configurable.

https://www.tutorialspoint.com/python/python_http_server.htm


On Mon, Feb 25, 2019 at 12:48 PM Cameron Simpson  wrote:

> On 24Feb2019 19:00, 0x906  wrote:
> >>> I am working on window 7 and Python 3.5 to setup a localhost:8000
> >>> but it did not get through as shown below:
>  python -m http.server
> >>> Serving HTTP on 0.0.0.0 port 8000 ...
> >>> But it did not show the results.
> >>> Can someone help me how to setup the localhost?
> >
> >There is a chance that I missed something with the 0.0.0.0. but I am
> pretty sure that the localhost IP is 127.0.0.1.
>
> Yeah. 0.0.0.0 is the wildcard address: the server will be listening on
> all the available addresses (127.0.0.1 and also any LAN address).
>
> Wen-Ruey may simply be missing that it is just running a web server. To
> actually see anything she/he needs to hit it with a web browser, for
> example with a URL like:
>
>   http://127.0.0.1:8000/
>
> Cheers,
> Cameron Simpson 
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: TechRepublicDEVELOPERCXO JPMorgan's Athena has 35 million lines of Python code, and won't be updated to Python 3 in time

2019-09-13 Thread tommy yama
 "35 million lines of python code" it is insane.

On Fri, Sep 13, 2019 at 9:39 PM Skip Montanaro 
wrote:

> >
> https://www.techrepublic.com/google-amp/article/jpmorgans-athena-has-35-million-lines-of-python-code-and-wont-be-updated-to-python-3-in-time/
>
> I doubt this is unusual, and presume JP Morgan is big enough to handle
> the change of status, either by managing security releases in-house or
> relying on third-party releases (say, Anaconda). When I retired from
> Citadel recently, most Python was still 2.7 (though the group I worked
> in was well on the way to converting to 3.x, and no new applications
> were written against 2.7). Bank of America has an enterprise-wide
> system called Quartz. I wouldn't be surprised if it was still running
> Python 2.7 (though I don't know for sure).
>
> Skip
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Help Wanted for the error

2019-09-27 Thread tommy yama
Hi ,

Has anyone seen similar errors previously?
I just encountered the error below and need to fix asap.

File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/google/protobuf/descriptor_pool.py",
line 175, in _CheckConflictRegister

raise TypeError(error_msg)

TypeError: Conflict register for file "shared/mempool_status.proto":
mempool.Valid is already defined in file "mempool_status.proto". Please fix
the conflict by adding package name on the proto file, or use different
name for the duplication.


Thanks a lot
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: installing libraries

2019-10-16 Thread tommy yama
You can use python 3 spider probably.

On Wed, Oct 16, 2019 at 7:22 PM Tesfalem Abraham 
wrote:

> hello users,
>
> Here, I tried to start python 2.7 (spider) but I could not install or add
> my lib to the working area.
>
> I do appreciate your suggestions for me.
>
> thanks.
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


pip3 install keyboard did not work in my environment

2019-10-26 Thread tommy yama
Hi,

keyboard module can be installed with pip3?

Regards,
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Looking for python pentest scripts

2019-11-10 Thread tommy yama
http://pentestmonkey.net/

On Mon, Nov 11, 2019 at 12:42 PM Terry Reedy  wrote:

> On 11/10/2019 7:32 PM, Bob Gailer wrote:
>
> > On Nov 10, 2019 6:40 AM, "nixuser"  wrote:
> >> can someone tell about good resource for python related pentesting
> >> scripts?
> >> any extensive list?
>
>  > Try Googling python pentesting. That will give you some relevant links.
>
> I had search 'pentest' to be reminded in this context that 'pentest' can
> mean 'penetration test', as in "an authorized simulated cyberattack on a
> computer system, performed to evaluate the security of the system."
> (Wikipedia
>
> (Google's Youtube has multiple sometimes interesting videos where people
> do penetration tests with bullets and arrows and such against various
> targets.  It turns out the the 'funny-looking' extensions near the top
> of some medieval plate armor chest pieces serve to block arrow heads
> deflected up off the chest toward the chin.)
>
> --
> Terry Jan Reedy
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Unable to install Flask-Mongoengine

2019-12-15 Thread tommy yama
how about pip3?

On Sun, Dec 15, 2019 at 5:16 PM Test Bot  wrote:

> Hi Guys,
>
> I am unable to install *Flask-Mongoengine* using pip. Here are my
> specifications
>
> 1. *OS* => OSX 10.14.6
> 2. *Python* => Python 3.8.0 (Working in a virtualenv)
> 3. *Dependency Manager* => pip(19.3.1), setuptools(42.0.2)
> 3. *Flask-Mongoengine* => flask-mongoengine==0.9.5
>
> I am inside my virtualenv and trying to install flask-mongoengine using
>
> > (env) $ pip install flask-mongoengine==0.9.5
>
>
> Here is my error
>
> >  distutils.errors.DistutilsError: Command
> > '['/Users/onlinejudge95/Workspace/GitHub/alma-serv/env/bin/python', '-m',
> > 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w',
> > '/var/folders/r7/pgqw605n55x5f9018rp72hsmgn/T/tmpgrvp80jd',
> '--quiet',
> > 'rednose']' returned non-zero exit status 1.
>
>
> Please Find attached my full error log.
>
> I am on a new system in which i installed python through the mac installer
> from python.org, i had run the *Install Certificates.command* for SSL
> related issues, if it might be of help.
>
> In case there is a more specific mailing list to redirect to, please let me
> know.
>
> Thanks,
> onlinejudge95
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


hexdump module installation error

2019-12-18 Thread tommy yama
Hi,

This sounds familiar to somebody?
After upgrading my mac OS to Catalina, this persists even after pip3
install hexdump.

[image: image.png]

thanks.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: hexdump module installation error

2019-12-19 Thread tommy yama
Thanks for your kind response.
The error was simply "module Hexdump was not found".

Regards,


On Wed, Dec 18, 2019 at 11:39 PM Rhodri James  wrote:

> On 18/12/2019 02:23, tommy yama wrote:
> > Hi,
> >
> > This sounds familiar to somebody?
> > After upgrading my mac OS to Catalina, this persists even after pip3
> > install hexdump.
> >
> > [image: image.png]
>
> I'm afraid this is a text-only mailing list.  Your screenshot has been
> stripped out before any of us saw it.  Could you copy and paste (DON'T
> retype!) the error instead, so we can all read it?
>
> --
> Rhodri James *-* Kynesim Ltd
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: hexdump module installation error

2019-12-19 Thread tommy yama
Hi Rhodri,

Thanks for your quick response i did not expect.
I hope you see the error below in my response as i just copy and paste it.

"no module named 'hexdump'."

In addition, i tried to execute python3 hexdump.py. However, no such file
directory.

   from hexdump import hexdump

ModuleNotFoundError: No module named 'hexdump'

user@USERnoMacBook-Air LibraBrowser % python3 hexdump.py

/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python:
can't open file 'hexdump.py': [Errno 2] No such file or directory

user@USERnoMacBook-Air LibraBrowser %

Cheers,



On Thu, Dec 19, 2019 at 12:21 PM Rhodri James  wrote:

> On 19/12/2019 11:23, tommy yama wrote:
> > Thanks for your kind response.
> > The error was simply "module Hexdump was not found".
>
> Several things:
>
> a) Did it really say "module Hexdump was not found"?  "hexdump" and
> "Hexdump" are not the same things; module names are case-sensitive.
>
> b) There will have been a whole load more stack trace that might be
> useful to us.  I should have been clearer when I asked you to copy and
> paste the error that I really meant the whole of the complaint that
> Python made to you, not just the final error message!  Apologies for that.
>
> c) I would much prefer it if you didn't top-post, but interleaved your
> replies like I've done here.  I find it hard to follow top-posted
> messages because they reverse the normal flow of conversation.
>
> >
> >
> > On Wed, Dec 18, 2019 at 11:39 PM Rhodri James 
> wrote:
> >
> >> On 18/12/2019 02:23, tommy yama wrote:
> >>> Hi,
> >>>
> >>> This sounds familiar to somebody?
> >>> After upgrading my mac OS to Catalina, this persists even after pip3
> >>> install hexdump.
> >>>
> >>> [image: image.png]
> >>
> >> I'm afraid this is a text-only mailing list.  Your screenshot has been
> >> stripped out before any of us saw it.  Could you copy and paste (DON'T
> >> retype!) the error instead, so we can all read it?
> >>
> >> --
> >> Rhodri James *-* Kynesim Ltd
> >> --
> >> https://mail.python.org/mailman/listinfo/python-list
> >>
> >
>
>
> --
> Rhodri James *-* Kynesim Ltd
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: hexdump module installation error

2019-12-19 Thread tommy yama
Yes. thanks for your enthusiasm. i may raise this in the git

On Thu, Dec 19, 2019 at 12:46 PM Rhodri James  wrote:

> On 19/12/2019 12:43, tommy yama wrote:
> > Thanks for your quick response i did not expect.
> > I hope you see the error below in my response as i just copy and paste
> it.
> >
> > "no module named 'hexdump'."
> >
> > In addition, i tried to execute python3 hexdump.py. However, no such file
> > directory.
> >
> > from hexdump import hexdump
> >
> > ModuleNotFoundError: No module named 'hexdump'
> >
> > user@USERnoMacBook-Air LibraBrowser % python3 hexdump.py
> >
> >
> /usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python:
> > can't open file 'hexdump.py': [Errno 2] No such file or directory
> >
> > user@USERnoMacBook-Air LibraBrowser %
>
> Huh.  You've done a "pip3 install hexdump" so I don't know what might be
> happening here.  Sorry.
>
> --
> Rhodri James *-* Kynesim Ltd
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: hexdump module installation error

2019-12-21 Thread tommy yama
Thanks to all giving me helpful comments.
Multiple hexdump files are found. Maybe that"s the reason.

I guess i can figure out




On Thu, Dec 19, 2019 at 5:29 PM Dennis Lee Bieber 
wrote:

> On Thu, 19 Dec 2019 12:43:11 +0000, tommy yama 
> declaimed the following:
>
> >
> >user@USERnoMacBook-Air LibraBrowser % python3 hexdump.py
> >
>
> >/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python:
> >can't open file 'hexdump.py': [Errno 2] No such file or directory
> >
> >user@USERnoMacBook-Air LibraBrowser %
> >
>
> Well... what does
>
> find / -iname hexdump.py
>
> return? If found, is it in the Python search path?
>
> {Debian system here, but... (after doing apt install python3-pip)}
>
> wulfraed@debian:~$ pip3 install hexdump
> Collecting hexdump
>   Downloading
>
> https://files.pythonhosted.org/packages/55/b3/279b1d57fa3681725d0db8820405cdcb4e62a9239c205e4ceac4391c78e4/hexdump-3.3.zip
> Building wheels for collected packages: hexdump
>   Running setup.py bdist_wheel for hexdump ... done
>   Stored in directory:
>
> /home/wulfraed/.cache/pip/wheels/d5/d1/f2/c8183b5863b3df595c2eeafd8e015a43dae13d403a959467c6
> Successfully built hexdump
> Installing collected packages: hexdump
> Successfully installed hexdump-3.3
> wulfraed@debian:~$ sudo find / -iname hexdump.py
> /home/wulfraed/.local/lib/python3.7/site-packages/hexdump.py
> find: ‘/run/user/1000/gvfs’: Permission denied
> /usr/lib/python3/dist-packages/pygments/lexers/hexdump.py
> /usr/lib/python2.7/dist-packages/pygments/lexers/hexdump.py
> wulfraed@debian:~$ python3
> Python 3.7.3 (default, Apr  3 2019, 05:39:12)
> [GCC 8.3.0] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import hexdump
> >>> dir(hexdump)
> ['PY3K', '__author__', '__builtins__', '__cached__', '__doc__', '__file__',
> '__history__', '__license__', '__loader__', '__name__', '__package__',
> '__spec__', '__version__', 'binascii', 'chunkread', 'chunks', 'dehex',
> 'dump', 'dumpgen', 'genchunks', 'hexdump', 'main', 'normalize_py',
> 'restore', 'runtest', 'sys']
> >>> hexdump.__file__
> '/home/wulfraed/.local/lib/python3.7/site-packages/hexdump.py'
> >>>
>
> Note that there are "hexdump.py" files involved with the pygments
> package, which likely are not what you are looking for (quick glance -- the
> pygments hexdump READS dump files).
>
>
> --
> Wulfraed Dennis Lee Bieber AF6VN
> wlfr...@ix.netcom.com
> http://wlfraed.microdiversity.freeddns.org/
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: hexdump module installation error

2019-12-21 Thread tommy yama
fixed now. I guess pip3 is linked to pip2 and installed python3 again.

On Sat, Dec 21, 2019 at 8:44 AM tommy yama  wrote:

> Thanks to all giving me helpful comments.
> Multiple hexdump files are found. Maybe that"s the reason.
>
> I guess i can figure out
>
>
>
>
> On Thu, Dec 19, 2019 at 5:29 PM Dennis Lee Bieber 
> wrote:
>
>> On Thu, 19 Dec 2019 12:43:11 +, tommy yama 
>> declaimed the following:
>>
>> >
>> >user@USERnoMacBook-Air LibraBrowser % python3 hexdump.py
>> >
>>
>> >/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python:
>> >can't open file 'hexdump.py': [Errno 2] No such file or directory
>> >
>> >user@USERnoMacBook-Air LibraBrowser %
>> >
>>
>> Well... what does
>>
>> find / -iname hexdump.py
>>
>> return? If found, is it in the Python search path?
>>
>> {Debian system here, but... (after doing apt install python3-pip)}
>>
>> wulfraed@debian:~$ pip3 install hexdump
>> Collecting hexdump
>>   Downloading
>>
>> https://files.pythonhosted.org/packages/55/b3/279b1d57fa3681725d0db8820405cdcb4e62a9239c205e4ceac4391c78e4/hexdump-3.3.zip
>> Building wheels for collected packages: hexdump
>>   Running setup.py bdist_wheel for hexdump ... done
>>   Stored in directory:
>>
>> /home/wulfraed/.cache/pip/wheels/d5/d1/f2/c8183b5863b3df595c2eeafd8e015a43dae13d403a959467c6
>> Successfully built hexdump
>> Installing collected packages: hexdump
>> Successfully installed hexdump-3.3
>> wulfraed@debian:~$ sudo find / -iname hexdump.py
>> /home/wulfraed/.local/lib/python3.7/site-packages/hexdump.py
>> find: ‘/run/user/1000/gvfs’: Permission denied
>> /usr/lib/python3/dist-packages/pygments/lexers/hexdump.py
>> /usr/lib/python2.7/dist-packages/pygments/lexers/hexdump.py
>> wulfraed@debian:~$ python3
>> Python 3.7.3 (default, Apr  3 2019, 05:39:12)
>> [GCC 8.3.0] on linux
>> Type "help", "copyright", "credits" or "license" for more information.
>> >>> import hexdump
>> >>> dir(hexdump)
>> ['PY3K', '__author__', '__builtins__', '__cached__', '__doc__',
>> '__file__',
>> '__history__', '__license__', '__loader__', '__name__', '__package__',
>> '__spec__', '__version__', 'binascii', 'chunkread', 'chunks', 'dehex',
>> 'dump', 'dumpgen', 'genchunks', 'hexdump', 'main', 'normalize_py',
>> 'restore', 'runtest', 'sys']
>> >>> hexdump.__file__
>> '/home/wulfraed/.local/lib/python3.7/site-packages/hexdump.py'
>> >>>
>>
>> Note that there are "hexdump.py" files involved with the pygments
>> package, which likely are not what you are looking for (quick glance --
>> the
>> pygments hexdump READS dump files).
>>
>>
>> --
>> Wulfraed Dennis Lee Bieber AF6VN
>> wlfr...@ix.netcom.com
>> http://wlfraed.microdiversity.freeddns.org/
>>
>> --
>> https://mail.python.org/mailman/listinfo/python-list
>>
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Saying bye bye to Python 2

2020-01-10 Thread tommy yama
As many know, python 2 was retired. 🐍
This means imminent migration to 3 will be a must ?

I thought that upgrading is not that simple.


thanks !
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Basics of pythons 🐍

2017-04-21 Thread tommy yama
Hi there,

For what, you want to learn?





On Sat, Apr 22, 2017 at 1:10 AM, Thomas Nyberg  wrote:

> On 04/21/2017 08:06 AM, harounelyaako...@gmail.com wrote:
> > Hey everyone, I'm willing to learn python , ant advices ?
> > Thanks in advance
> >
> Here is a tutorial:
>
> https://docs.python.org/3/tutorial/
> --
> https://mail.python.org/mailman/listinfo/python-list
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Gephi development references

2017-04-22 Thread tommy yama
Hey there Pythoners,

Hope you guys are all well.

I am actually very interested in learning the gephi, a platform which is
capable of easily developing a variety of awesome graphs.

Dose anyone give me some code samples and resources which relates the
gephi?


Appreciated for reading this!

T
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Hi everyone

2017-05-24 Thread tommy yama
Hi Ian,

yeah. feel free to ask for any relating python.

thanks!

On Thursday, May 25, 2017, Ian Kelly  wrote:

> On Wed, May 24, 2017 at 11:20 AM, Spaarwiel  > wrote:
> >
> > Hi there, i was always interested in coding but never took the time to
> learn it.
> >
> > So at age 34 i'm going to try and see if i can win this.
> >
> > Saw on a website this is good group page to come for help so i will def.
> be asking alot of questions here :)
> >
> > B.t.w i have no knowledge of coding whatsoever so i'm starting lower that
> the bottom.
>
> Please note this list is specifically for discussion of the Python
> language, not coding in general. If you have Python questions you're
> welcome to ask them here but you may find the Python tutor mailing list a
> better resource for learning: https://mail.python.org/
> mailman/listinfo/tutor
> --
> https://mail.python.org/mailman/listinfo/python-list
>


-- 
Sent from Gmail Mobile
-- 
https://mail.python.org/mailman/listinfo/python-list