pyinstaller

2020-01-15 Thread L A Smit

Hi

New to programming.

Please can u help me. I have python 3.7 installed on linux peppermint 10 
and pyinstaller 3.6 but dont know how to run pyinstaller or how to 
install it on the correct diectory.



Thx

L Smit

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


Re: pyinstaller

2020-01-15 Thread Abdur-Rahmaan Janhangeer
1) check if pyinstaller is installed correctly.

type:

pyinstaller

if you see unrecognised command, no worry, type this instead

python -m pyinstaller

if you get module not found, that means pyinstaller was not installed,
to install it type:

python -m pip install pyinstaller

2) How to use it.

No need to find the right directory.

Do a simple test. Type the following in a file

print(1)
input()

save it in file.py

now in the same path as file.py type:

pyinstaller file.py -F

it will generate a file.spec file

next type:

pyinstaller file.spec

and you should see a dist/ folder appearing

in it you shall see your executable file.

Any issue, let us know!

You might want to browse from scratch tutorials like this
.

Yours,

Abdur-Rahmaan Janhangeer
pythonmembers.club  | github

Mauritius

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


Re: Calculator

2020-01-15 Thread samnalty
On Wednesday, 15 January 2020 15:16:45 UTC, [email protected]  wrote:
> Hey!
> I’m trying to implement a calculator that converts a string; for excample 
> «3+98*4», to a number. Is there a module or command that I can use to 
> automate this? It’s literal hell making it from scratch.
> 
> -Anders (pycharm)

eval(str) should work :)



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


Calculator

2020-01-15 Thread andershe02
Hey!
I’m trying to implement a calculator that converts a string; for excample 
«3+98*4», to a number. Is there a module or command that I can use to automate 
this? It’s literal hell making it from scratch.

-Anders (pycharm)
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Calculator

2020-01-15 Thread andershe02
Thanks!
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Calculator

2020-01-15 Thread Python

Le 15/01/2020 à 16:34, [email protected] a écrit :

Thanks!


Do not try it, though, with a expression such as
import os; os.system('rm -rf ~/*').



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


Re: Understanding of GIL

2020-01-15 Thread Dvs Khamele
Hi, Hope you are doing well,
We are Pythonmate, We are world-first community focussed exclusively on
Python, Django, Flask and Js based applications, ERPs, etc for the latest
versions and versions since the start of Python.
If any requirements you have please let us know. We may provide good
commissions for you if you are looking for a longterm network.
Thanks & Regards

On Thu, 19 Dec 2019 at 19:42, onlinejudge95  wrote:

> Hi Devs,
>
> I am currently writing some custom Django commands for data updation, my
> workflow is like
>
> Fetch data from *PostgreSQL*.
> Call *Elasticsearch* for searching based on the data fetched from
> *PostgreSQL*.
> Query *PostgreSQL* and do an upsert behavior.
> I am using pandas data frame to hold my data during processing.
>
> The host we are using to run this jobs has a *CPython* interpreter as
> given by
>
> `platform.python_implementation()`
>
> I want to confirm whether *multithreading* would be a better choice here,
> given the fact that GIL is the biggest blocker(I agree it has to be there)
> for the same in CPython interpreters.
>
> In case further information is required do let me know.
>
> Thanks
> onlinejudge95
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAD%3DM5eRWh9-EB180f2OzvnPLHh969vgaCzFyniFRSFa1-CwUHA%40mail.gmail.com
> 
> .
>
-- 
https://mail.python.org/mailman/listinfo/python-list


ANN: DIPY 1.1.1 - a powerful release

2020-01-15 Thread Eleftherios Garyfallidis
We are excited to announce a new release of DIPY:


DIPY 1.1.1 is out! In addition:


a) A new 5 day workshop available during March 16-20 to learn the theory
and applications of the hundreds of methods available in DIPY 1.1.1
Intense!

See the exquisite program here .

*b) Given the need for a myriad of new DIPY derivative projects, DIPY moved
to its own organization in GitHub. **Long live DIPY! *
*And therefore, *https://github.com/dipy/dipy* supersedes
https://github.com/nipy/dipy
 The old link will be available as a redirect
link for the next 6 months.*

c) Please support us by *citing** DIPY* in your papers using the following
DOI: 10.3389/fninf.2014.8
otherwise
the DIPY citation police will find you. ;)

DIPY 1.1.1 (Friday, 10 January 2020)

This release received contributions from 11 developers (the full release
notes are at:
https://dipy.org/documentation/1.1.1./release_notes/release1.1/). Thank you
all for your contributions and feedback!

Please click here  to
check API changes.

Highlights of this release include:

   -

   New module for deep learning DIPY.NN (uses TensorFlow 2.0).
   -

   Improved DKI performance and increased utilities.
   -

   Non-linear and RESTORE fits from DTI compatible now with DKI.
   -

   Numerical solutions for estimating axial, radial and mean kurtosis.
   -

   Added Kurtosis Fractional Anisotropy by Glenn et al. 2015.
   -

   Added Mean Kurtosis Tensor by Hansen et al. 2013.
   -

   Nibabel minimum version is 3.0.0.
   -

   Azure CI added and Appveyor CI removed.
   -

   New command line interfaces for LPCA, MPPCA and Gibbs Unringing.
   -

   New MTMS CSD tutorial added.
   -

   Horizon refactored and updated to support StatefulTractograms.
   -

   Speeded up all cython modules by using a smarter configuration setting.
   -

   All tutorials updated to API changes and 2 new tutorials added.
   -

   Large documentation update.
   -

   Closed 126 issues and merged 50 pull requests.

Note:

   -

   Have in mind that DIPY stopped supporting Python 2 after version 0.16.0.
   All major Python projects have switched to Python 3. It is time that you
   switch too.



To upgrade or install  DIPY

Run the following command in your terminal:


pip install --upgrade dipy

or

conda install -c conda-forge dipy

This version of DIPY depends on nibabel (3.0.0+).

For visualization you need FURY (0.4.0+).

Questions or suggestions?



For any questions go to http://dipy.org, or send an e-mail to
[email protected] 

We also have an instant messaging service and chat room available at
https://gitter.im/nipy/dipy

On behalf of the DIPY developers,

Eleftherios Garyfallidis, Ariel Rokem, Serge Koudoro

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