[Tutor] I love python / you guys :)

bibi midi bibsmendez at gmail.com
Mon Nov 16 12:36:35 CET 2009


On Mon, Nov 16, 2009 at 1:58 AM, Stefan Lesicnik <stefan at lsd.co.za> wrote:

> hi,
>
> Although not a question, i just want to tell you guys how awesome you are!
>
> I am not a programmer, i can do a bit of bash. I have never officially
> learnt programming, but numerous times looked at some perl, c, java
> and never really gotten past the beginning stages of it. That all
> changed when i picked up python. Although my style and use of python
> is probably barbaric at best, I really enjoy it when you can make
> things work. Python was just amazing from a readability / logical
> point of view. If i can think of something, there is a way to do it in
> python. After learning the simple data structures it seems i can
> really do anything i want to.
>


Hi Stefan,

Your message mirrored my current state. There's TONS to learn in linux like
bash, perl, vim, sed, awk, python, etc. Too much to put in your head and in
the end makes you half-baked e.g. good at start but fades away in the end.
Anyway i hope to follow your lead and be one among the guys here
knowledgeable of the language.

In the same lines of if-you-can-think-of-anything-python-can-do-it i got
inspired to ask a question for the gurus:

When i use our company's LAN i set my proxy variable by hand in .bashrc.
There are 4 files to insert proxy variable:

in ~/.bashrc, /root/.bashrc, /etc/wgetrc and /etc/apt/apt.conf.

The last one is actually rename e.g. mv to apt.conf to activate proxy and mv
to apt.conf.bak to deactivate. The proxy variable is something like this

export http_proxy=http://username:password@proxy:port
ftp_proxy=$http_proxy

To activate i uncomment them then source .bashrc. To deactivate i put back
the comment sign. I do it all in vim e.g. vim -o the-3-files-above. For
apt.conf see rename above. I deactivate because i have another internet
connection option via 3G usb modem. But thats another story.

I will do this myself in python so please show me the way. Surely this can
be done.



-- 
Best Regards,
bibimidi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20091116/288c84ea/attachment.htm>


More information about the Tutor mailing list