Re: best text editor for programming Python on a Mac

2016-07-06 Thread jennifer . greeen
субота, 18 червня 2016 р. 02:52:35 UTC+3 користувач Chris написав:
> I have been trying to write a simple Hello World script on my Mac at work 
> with TextEdit.  However, I keep getting this error message:
> 
> SyntaxError: Non-ASCII character '\xe2' in hello_world.py on line 1, but no 
> encoding declared; see http://python.org/dev/peps/pep-0263/ for details
> 
> I am using TextEdit in plain text mode.  The document was saved in UTF-8, and 
> I still get the error message.  I tried switching to Western ASCII encoding, 
> but once I start typing, I get a message stating that the document can no 
> longer be saved using its original Western (ASCII) encoding.
> 
> Any suggestions for a good open source text editor for the Mac out there?  
> For now, I am going to stick with vim.

I don't know anything about editors for coding, but as a writer that often use 
text editors (and I have seen them a lot!) I'd suggest you browsing this review 
site where you can find some cool apps http://besttexteditor.com";>besttexteditor.com

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


Re: best text editor for programming Python on a Mac

2016-07-06 Thread jennifer . greeen
I don't know anything about editors for coding, but as a writer that often use 
text editors (and I have seen them a lot!) I'd suggest you browsing this review 
site where you can find some cool apps http://besttexteditor.com";>besttexteditor.com

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


Packaging multiple wheels in the same package

2016-07-06 Thread Nir Cohen
Hey all,

As part of working on Cloudify (http://github.com/cloudify-cosmo) we've had to 
provide a way for customers to install our plugins in an environment where PyPI 
isn't accessible. These plugins are sets of Python packages which necessarily 
depend on one another (i.e. a regular python package with dependencies).

We decided that we want to package sets of wheels together created or 
downloaded by `pip wheel`, add relevant metadata, package them together into a 
single archive (tar.gz or zip) and use the same tool which packs them up to 
install them later on, on the destination hosts.

We came up with a tool (http://github.com/cloudify-cosmo/wagon) to do just that 
and that's what we currently use to create and install our plugins.

While wheel solves the problem of generating wheels, there is no single, 
standard method for taking an entire set of dependencies packaged in a single 
location and installing them in a different location.

We thought it would be a good idea to propose a PEP for that and wanted to get 
your feedback before we start writing the proposal.

The logic behind the PEP is that there's a standard for creating a single 
python package and we would like to propose a layer above it to package 
multiple python packages either for offline environments or any other 
requirement a user may have.

We're currently working on a new rearchitected version of that tool to make it 
more pythonic and clean but the base stays the same.


We would greatly appreciate your feedback on this.

Thanks!


P.S. We encourage you to take a look at the repo (see the `rearchitecture` 
branch) and read the README.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Packaging multiple wheels in the same package

2016-07-06 Thread Ethan Furman

On 07/06/2016 11:43 AM, Nir Cohen wrote:


We decided that we want to package sets of wheels together created or downloaded
> by `pip wheel`, add relevant metadata, package them together into a 
single archive
> (tar.gz or zip) and use the same tool which packs them up to install 
them later on,

> on the destination hosts.


We came up with a tool (http://github.com/cloudify-cosmo/wagon) to do just that

> and that's what we currently use to create and install our plugins.

Sounds like a great idea!

Once you have your feed-back from here you'll want to take your PEP over 
to the dist-utils sig:


   https://mail.python.org/mailman/listinfo/distutils-sig

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


the best online course

2016-07-06 Thread nickpetros32
Hello,
i am totaly beginner and i want to learn python.
I have see that there is many course in codeacademy, udemy, treehouse etc but i 
not know who is the best.
Can you please give me some advice?
I want to be easy and not bored so i can learn python.
Thank you and sorry for my bad english

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


Re: the best online course

2016-07-06 Thread Chris Angelico
On Thu, Jul 7, 2016 at 5:28 AM,   wrote:
> i am totaly beginner and i want to learn python.
> I have see that there is many course in codeacademy, udemy, treehouse etc but 
> i not know who is the best.
> Can you please give me some advice?
> I want to be easy and not bored so i can learn python.
> Thank you and sorry for my bad english

Unfortunately, 'best' is hard to define. What are you looking for?
There are courses you pay money for, and there are courses you can do
for free; there are intensive courses for those who want to seriously
knuckle down and learn, and there are casual courses for those who
want to fit it around other things; and so on.

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


Re: the best online course

2016-07-06 Thread Jay Thompson
There are a ton of great resources on
https://wiki.python.org/moin/BeginnersGuide . The resource I generally
recommend to people first is "Learn Python The Hard Way" @
http://learnpythonthehardway.org/ . The course is $29.95 and worth every
penny but if you can't afford it the author has made the course available
for free. Just scroll to the bottom of the page to find the link.

On Wed, Jul 6, 2016 at 12:28 PM,  wrote:

> Hello,
> i am totaly beginner and i want to learn python.
> I have see that there is many course in codeacademy, udemy, treehouse etc
> but i not know who is the best.
> Can you please give me some advice?
> I want to be easy and not bored so i can learn python.
> Thank you and sorry for my bad english
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>



-- 
"It's quite difficult to remind people that all this stuff was here for a
million years before people. So the idea that we are required to manage it
is ridiculous. What we are having to manage is us."   ...Bill Ballantine.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: the best online course

2016-07-06 Thread Lawrence D’Oliveiro
On Thursday, July 7, 2016 at 7:28:38 AM UTC+12, nickpe...@gmail.com wrote:

> i am totaly beginner and i want to learn python.

Write code.

> I want to be easy and not bored so i can learn python.

There is no Royal Road, nothing is going to be handed to you on a plate.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: the best online course

2016-07-06 Thread Michael Torrie
On 07/06/2016 06:50 PM, Lawrence D’Oliveiro wrote:
>> I want to be easy and not bored so i can learn python.
> 
> There is no Royal Road, nothing is going to be handed to you on a plate.

Seconded.  If he gets bored easily, he will not be very successful at
learning Python or any other programming language.  The challenge of
programming by itself should be enough to give fulfillment if he's to be
successful at it.


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


Re: Packaging multiple wheels in the same package

2016-07-06 Thread Nir Cohen
On Wednesday, July 6, 2016 at 10:09:01 PM UTC+3, Ethan Furman wrote:
> On 07/06/2016 11:43 AM, Nir Cohen wrote:
> 
> > We decided that we want to package sets of wheels together created or 
> > downloaded
>  > by `pip wheel`, add relevant metadata, package them together into a 
> single archive
>  > (tar.gz or zip) and use the same tool which packs them up to install 
> them later on,
>  > on the destination hosts.
> >
> > We came up with a tool (http://github.com/cloudify-cosmo/wagon) to do just 
> > that
>  > and that's what we currently use to create and install our plugins.
> 
> Sounds like a great idea!
> 
> Once you have your feed-back from here you'll want to take your PEP over 
> to the dist-utils sig:
> 
> https://mail.python.org/mailman/listinfo/distutils-sig
> 
> --
> ~Ethan~

Happy to hear :)

btw, pull requests are certainly welcome to make whichever changes required to 
make Wagon PEP-worthy.
-- 
https://mail.python.org/mailman/listinfo/python-list