On Mon, Jul 06, 2015 at 05:18:16PM -0700, Danny Yoo wrote:
> I'd also add that the 'del' statement has near-zero utility.
>
> 'del' is a language blemish. It should not be used by beginners,
> because it asks them to try to manually manage the lifetime of their
> variable names. That's an unreas
On Mon, Jul 06, 2015 at 07:25:10PM +0530, Suresh Nagulavancha wrote:
> Hello everyone
> I want to know about the variables dereference
First you need to know how variables reference.
When you assign a value to a variable, we say that we "bind the value to
the variable's name":
spam = 42
tells
On 07/07/15 01:18, Danny Yoo wrote:
I'd also add that the 'del' statement has near-zero utility.
'del' is a language blemish. It should not be used by beginners,
because it asks them to try to manually manage the lifetime of their
variable names. That's an unreasonable and ridiculous burden.
F
I'd also add that the 'del' statement has near-zero utility.
'del' is a language blemish. It should not be used by beginners,
because it asks them to try to manually manage the lifetime of their
variable names. That's an unreasonable and ridiculous burden.
Functions have local variables for a re
On 06/07/2015 22:09, Matt Williams wrote:
Personally I would start with Python 2.7, and start with simple scripts.
I think it makes much more sense to learn Python 3 and if you need code
to run on both 2 and 3 take the advice here
https://docs.python.org/3/howto/pyporting.html
By the way,
Personally I would start with Python 2.7, and start with simple scripts.
The standard library in Python is very "wide", and having a good
understanding of what is already there is very useful.
As to GUI/ Web/ etc. - I think it depends on what you want to do. However,
you will need the basics befo
On 06/07/2015 15:24, Cary Developer wrote:
Welcome.
I am looking for help on getting started with Python.
You've come to the right place, that's always a good start.
This link says it all:
http://raleigh.craigslist.org/cpg/5108772711.html
Any help (and response to the CL post) would be t
On 06/07/15 14:55, Suresh Nagulavancha wrote:
Hello everyone
I want to know about the variables dereference
Code is in python 27
Let my variable be
foo="hello python"
Print foo
del foo
What del command here actually doing
Python variables are stored internally in a dictionary.
del removes the n
On 06/07/15 15:24, Cary Developer wrote:
I am looking for help on getting started with Python. This link says it
all:
http://raleigh.craigslist.org/cpg/5108772711.html
It would be more helpful to post the content of the query, not
all mail subscribers can access web pages at the time of readi
Hello everyone
I want to know about the variables dereference
Code is in python 27
Let my variable be
foo="hello python"
Print foo
del foo
What del command here actually doing , is it dereferencing or deleting the
variable along with value it stored?
Thank you
Suresh Nagulavancha
_
I am looking for help on getting started with Python. This link says it
all:
http://raleigh.craigslist.org/cpg/5108772711.html
Any help (and response to the CL post) would be truly appreciated. Thanks.
-Roger
___
Tutor maillist - Tutor
On 06Jul2015 15:44, Crusier wrote:
Dear All,
I have used the urllib.request and download some of the information from a
site.
I am currently using Python 3.4. My program is as follows:
import urllib.request
response = urllib.request.urlopen('
http://www.hkex.com.hk/eng/ddp/Contract_Details.a
On 06/07/2015 08:44, Crusier wrote:
Dear All,
I have used the urllib.request and download some of the information from a
site.
I am currently using Python 3.4. My program is as follows:
import urllib.request
response = urllib.request.urlopen('
http://www.hkex.com.hk/eng/ddp/Contract_Details.a
Dear All,
I have used the urllib.request and download some of the information from a
site.
I am currently using Python 3.4. My program is as follows:
import urllib.request
response = urllib.request.urlopen('
http://www.hkex.com.hk/eng/ddp/Contract_Details.asp?PId=175')
saveFile = open('HKEX.tx
14 matches
Mail list logo