Re: [Tutor] New to Python

2017-09-08 Thread Alan Gauld via Tutor
On 08/09/17 08:35, George Fischhof wrote:

> As this is a really frequent question, maybe it would be good to put a
> short list (the answers cumulated no more than about 10 websites) into the
> welcome message of the Tutor mailing list.

The welcome message should be a very short (ideally one "screen" )
message about the mailing list itself. It could have a URL to an
FAQ if we had such a thing... Somebody tried to put a tutor FAQ
together a long time ago but I think it died. And the main FAQ
is probably too heavyweight for the typical tutor newbie.
(Although it might be better than nothing!)

Currently we have a link to the beginners page on the wiki.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos


___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] New to Python

2017-09-08 Thread George Fischhof
2017-09-07 20:39 GMT+02:00 boB Stepp :

> Welcome to Tutor!
>
> On Thu, Sep 7, 2017 at 8:14 AM, Vikram Singh
>  wrote:
> > I've been learning Python from Google For Education
> > . A little help will be
> > appreciated regarding the right way and right tutorials to learn Python
> > from. Thanks in advance.
>
> This is a very common question on this list as you might imagine.  If
> you go to the searchable Tutor list archives at
>
> https://www.mail-archive.com/tutor@python.org/
>
> and search for "learn python", you will get 8048 hits!  You might want
> to do that, look over the results and perhaps perform other searches
> for topics that more closely match your interest.
>
> One thing I notice about the Google course you link to is that it is
> Python 2-based.  The latest version of Python is now in version 3.6,
> and generally speaking, if you are just starting out with Python, you
> probably should be focusing your efforts on Python 3.
>
> As a fellow learner, I can recommend some things *not* to do:
>
> 1)  Keep buying bunches of interesting books on Python and not
> studying any of them thoroughly!  Instead, find a resource -- printed
> on paper or online -- that speaks to you and work through it
> thoroughly.
>
> 2)  Starting new project after new project and finishing very few of
> them!  Instead, pick something interesting and start working on it,
> planning on augmenting it as your knowledge grows in parallel with
> your more formal studying.
>
> 3)  Working earnestly for a while, then taking long breaks off!  If
> you are like me, you will tend to forget many things you have studied
> previously, even forgetting you have asked about these things
> previously on Tutor!!  Instead, try to work on at least a little bit
> of Python studying each and every day, longer when life allows.
>
> 4)  I have more I could share, but I think you take my points!
>
> If you have never done any programming, you may need to find a very
> gentle resource to start out with that explains not only Python, but
> general programming/computer science concepts in a lot of detail.
> OTOH, if you already have experience with programming, then you
> probably can greatly accelerate your learning progress, perhaps even
> getting by with studying the official Python tutorial at
>
> https://docs.python.org/3/tutorial/index.html
>
> Bear in mind that Python has its own culture and ways of doing things
> that can be a bit different from other languages you may have
> studied/worked in.  You might enjoy the "Zen of Python" by Tim Peters.
> You can access it in the Python interpreter by typing
>
> >>> import this
>
> I have been rambling a bit.  I just noticed that the searchable Tutor
> archive is back up and searched for all of my previous posts.  Five
> years and I have not come very far.  Do as I say and not as I do!!!
> ~(:>))
>
> And always ask questions here when you get stuck.  Try not to top
> post.  Give your OS and Python version and all other relevant
> information to allow the experts to diagnose your problem(s).  Always
> COPY AND PASTE both your relevant code and FULL ERROR TRACEBACK into a
> plain text email to Tutor.  Try to limit your code to just the part
> that is causing you to pull your hair out (If you still have any!
> ~(:>)) ).
>
> And come back with more specific goals for your self-study along with
> any relevant background.  Perhaps someone might be able to offer
> advice that is more tailored to your needs and goals.
>
> And again, welcome!  This is a very friendly and helpful place to learn!!
>
> Cheers!
>
>
> --
> boB
> ___
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>



Hi Tutors,

As this is a really frequent question, maybe it would be good to put a
short list (the answers cumulated no more than about 10 websites) into the
welcome message of the Tutor mailing list.

BR,
George
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Remote module loading

2017-09-08 Thread devN
In fact, that's very close to what I needed. The repo or source would have
version, target audience, and few other parameters. Thanks a zillion. I
will take it up from here. I'll post you guys the complete version sometime
in the future when it's ready.
Cheers!
Farhan

On Fri, 8 Sep 2017, 06:26 Mats Wichmann  wrote:

> On 09/07/2017 12:49 AM, devN wrote:
> > Hi,
> > I am newbie in python. I wrote a module which is meant to be run across
> > couple of unix OS variants (redhat, debian, bsd and solaris). The module
> is
> > updated frequently and new features added.
> >
> ...
> > The above code was an alpha and there could be further optimizations
> which
> > I request you to overlook.
> > My requirement is, I have an agent copied in all the UNIX variants and I
> > have done that only once and dont want to do it again (too many machines
> > and no possibility of ansible or chef implementation). The agent
> currently
> > loads the module locally but I need to let all clients know that the
> module
> > is updated with new features, but really can't.
> > So I thought to expose the module as plain text over http from a remote
> > apache container. Is there any way to load the module from remote just as
> > simple as import statement (without using urllib or wget piped to
> python)?
> > This could also mean does PYTHONPATH support http/ftp?
> >
> > Thanks
>
> We had a bit of a discussion not too long ago about the general topic.
> You can search in the list archive for "How to deploy seamless script
> updates to your clients"
>
> You've left a situation that isn't really very flexible since you say
> you don't want to copy the agent again.  Nonetheless, I'll point you to
> a little bit of fiddling I did on this topic that you could just chew on
> and see if it makes any sense.  It's not really "newbie" code.  The
> basic idea is that you have a known location which contains a file with
> information about available releases; the module has a function a
> participating script can call to find out if it has a new version
> available.
>
> Link to my pointer to this:
> https://www.mail-archive.com/tutor@python.org/msg76681.html
>
>
> The rest of the discussion has some other good ideas in it too (a
> version control server may be able to provide a kind of solution).
>
> ___
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor