LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-20-2011, 12:03 AM   #1
Piyush M
Member
 
Registered: Jan 2011
Location: Maharashtra,India
Distribution: mint 18.2
Posts: 125

Rep: Reputation: 6
Wink Help in python..?


Dear reader,
I have python 2.6.6 in ubuntu 10.10. Also I got Gvim editor. Pls tell me everything about the programming python.I can only able to run print'x' type right now.Please tell me from basic as I am very new and less in knowledge.
Thanks a lot...
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 01-20-2011, 12:12 AM   #2
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,732
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
All the documentations are here: http://www.python.org/
 
1 members found this post helpful.
Old 01-20-2011, 12:24 AM   #3
kindofabuzz
Member
 
Registered: Mar 2010
Location: There
Distribution: Linux Mint 17.1
Posts: 237

Rep: Reputation: 46
This should be in the Programming section, not here. Google around, thousands of free python tutorials online.
 
1 members found this post helpful.
Old 01-20-2011, 12:38 AM   #4
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Greetingz!

Quote:
Pls tell me everything about the programming python
Sure!! There's many, many great Python resources out there!

Have you checked out the LQ Book Reviews?
http://www.linuxquestions.org/reviews/index.php/cat/15

Here's a few must-haves!
http://www.python.org/dev/peps/pep-0008/
http://wiki.python.org/moin/BeginnersGuide
ttp://www.python.org/
http://wiki.python.org/moin/PythonEditors

If you'd like to know about the history of this exciting programming language, check this one out!
http://en.wikipedia.org/wiki/Python_...ng_language%29

A *fabulous* collection of Python code examples can be found at these sites!
http://www.java2s.com/Code/Python/CatalogPython.htm
http://www.example-code.com/python/default.asp

There's even a really good "Getting Started" guide, too!
http://www.webmonkey.com/2010/02/get...d_with_python/

The Internet sure is a magical place! Darn shame there isn't some sort of "engine" that we could all use to "Search" it with!

Have a Spectestical day!
 
2 members found this post helpful.
Old 01-20-2011, 01:39 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Moved: This thread is more suitable in <PROGRAMMING> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 01-20-2011, 01:47 AM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,372

Rep: Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389
http://diveintopython3.org/
 
Old 01-20-2011, 01:53 AM   #7
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Quote:
get the exposure it deserves.
And here I thought it was great where it was.
 
Old 01-20-2011, 02:12 AM   #8
Piyush M
Member
 
Registered: Jan 2011
Location: Maharashtra,India
Distribution: mint 18.2
Posts: 125

Original Poster
Rep: Reputation: 6
See I know all about the available data on net about python but dear my question is I cant understand things unless one come to me and tell or teach me things in personal way. A simple and step by step guidance for writing code in which editor?where to save it?how to run it in GNOME terminal?how to do everything in simple manner.
Thank you.
Dont be angry on my silliness but Its my weak point about study.
 
Old 01-20-2011, 02:31 AM   #9
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
Ah! Direct questions! Excellent!

Quote:
A simple and step by step guidance for writing code in which editor?
I use "vim". Handles syntax highlighting on-the-fly so I know when I've got a typo somewhere.

Quote:
where to save it?
Well, I keep a "scripts" directory within my home directory, and I have "~/scripts" in my path.
If I put something into a Production environment, I usually create a small filesystem called "contrib" and mount it up.
(Most of my self-created filesystems I put under /mnt, so that would be /mnt/contrib)

Quote:
how to run it in GNOME terminal?
"name_of_script.py" usually works for me. (As long as it's in my ~/scripts directory, and ~/scripts is in my path)

Quote:
how to do everything in simple manner?
Easy one. Whenever I'm in a crunch, or I just can't be bothered to hammer-out the code, I outsource it!
My latest pet-project is a PHP-based web GUI for a command-line tool I wrote. I'm really bad with PHP, so it made sense.
However, I think you may have missed this important link I provided earlier.

Quote:
my weak point about study.
Well, I discovered at a young age that everyone learns things differently;
Some people will remember things when they read them, others when they hear things spoken out loud.
Some even learn by writing down what they read (something about having to rewrite what they're reading-in just makes things stick...weird).

Personally? I just keep a website of interesting stuff I've learned over the years. That way I always have access to it!


Good luck out there!
 
1 members found this post helpful.
Old 01-20-2011, 02:32 AM   #10
kindofabuzz
Member
 
Registered: Mar 2010
Location: There
Distribution: Linux Mint 17.1
Posts: 237

Rep: Reputation: 46
Quote:
Originally Posted by Piyush M View Post
See I know all about the available data on net about python but dear my question is I cant understand things unless one come to me and tell or teach me things in personal way. A simple and step by step guidance for writing code in which editor?where to save it?how to run it in GNOME terminal?how to do everything in simple manner.
Thank you.
Dont be angry on my silliness but Its my weak point about study.
Basically you want someone to show you how to use a computer?? Those tutorial are step by step basically. You can use any editor you want and save the .py's wherever you want. We can't sit here in a forum and teach you how to program in Python.
 
Old 01-20-2011, 10:18 AM   #12
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,372

Rep: Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389Reputation: 5389
Quote:
Originally Posted by Piyush M View Post
See I know all about the available data on net about python but dear my question is I cant understand things unless one come to me and tell or teach me things in personal way.
The obvious response to this is "then take a class."

I understand that that's not always a realistic option, so here's the next best thing:

http://ocw.mit.edu/courses/electrica...ing-fall-2008/

Watch the full set of video lectures, read the online textbooks and the lecture notes.
 
Old 01-20-2011, 10:27 AM   #13
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Quote:
Originally Posted by xeleema View Post
And here I thought it was great where it was.
Well ... it's about python, not Linux. But otherwise I'd agree.


Cheers,
Tink
 
Old 01-20-2011, 10:35 AM   #14
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,732
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Quote:
Originally Posted by Piyush M View Post
A simple and step by step guidance for writing code in which editor?where to save it?how to run it in GNOME terminal?how to do everything in simple manner.
No offense intended, but Piyush that's not the way forums work. Since you are newbie so Xeleema did bother to write those huge posts, but you can't expect that kind of help every time, here.

To be honest, people here are expected to:
1. Search Google before creating threads and mention in their first post what all they have tried (so that people don't offer the same solutions again and waste their time).
2. Read the links posted by the helpers and report back in case of problems.
3. Thank the helpers for their efforts. (which you already have been doing)

Do read this interesting article: http://www.catb.org/~esr/faqs/smart-questions.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Python related: How to access a Perl script behind a firewall from Python? vxc69 Programming 8 12-14-2010 07:32 AM
LXer: Python Python Python (aka Python 3) LXer Syndicated Linux News 0 08-05-2009 08:30 PM
LXer: Review: Programming in Python 3: A Complete Introduction to the Python Language LXer Syndicated Linux News 0 01-26-2009 04:50 AM
python update - Unable to load GTK2 Python bindings: No module named gtk itpedersen Linux - Software 2 10-03-2008 03:44 AM
LXer: Move to python 2.4 / Changing the packaging style for python packages LXer Syndicated Linux News 0 06-13-2006 07:54 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration