Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

Newbie needs help

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


wpvnetx at hotmail

Sep 9, 1999, 5:33 PM

Post #1 of 20 (741 views)
Permalink
Newbie needs help

I am very new at this program stuff and i don't have a clue so if there
is someone that can help me email me, (wpvnetx [at] hotmail)


davidopp at megsinet

Sep 9, 1999, 5:37 PM

Post #2 of 20 (709 views)
Permalink
Newbie needs help [In reply to]

http://www.python.org/doc/current/

Matt Lauer wrote:

> I am very new at this program stuff and i don't have a clue so if there
> is someone that can help me email me, (wpvnetx [at] hotmail)


kernr at mail

Sep 9, 1999, 5:49 PM

Post #3 of 20 (710 views)
Permalink
Newbie needs help [In reply to]

[posted and e-mailed]

On Thu, 09 Sep 1999 20:33:06 -0400, Matt Lauer <wpvnetx [at] hotmail>
wrote:

>I am very new at this program stuff and i don't have a clue so if there
>is someone that can help me email me, (wpvnetx [at] hotmail)

Try the following:

"Instant Hacking" by Magnus Lie Hetland
http://www.idi.ntnu.no/~mlh/python/programming.html

"A Non-Programmer's Tutorial for Python" by Josh Cogliati
http://www.honors.montana.edu/~jjc/easytut/easytut/

"Learning to Program" by Alan Gauld
http://members.xoom.com/alan_gauld/tutor/tutindex.htm

You might also want to join the Python Tutor mailing list.
http://www.python.org/psa/MailingLists.html#tutor

Robert Kern |
----------------------|"In the fields of Hell where the grass grows high
This space | Are the graves of dreams allowed to die."
intentionally | - Richard Harter
left blank. |


sjmachin at lexicon

Aug 16, 2006, 8:58 PM

Post #4 of 20 (700 views)
Permalink
Re: Newbie needs Help [In reply to]

len wrote:
> Hi all
>
> I am writing a python program that inserts records into a database on
> XP using mxODBC.
>
> I need to write a section of code which will create the following SQL
> command as an example;
>
> INSERT INTO statecode (state, name) VALUES ('IL', 'Illinois')
>
> This statement will be built up using the following code;
>
> import mx.ODBC
> import mx.ODBC.Windows
> def insertFromDict(table, dict):
> """Take dictionary object dict and produce sql for
> inserting it into the named table"""
> sql = 'INSERT INTO ' + table
> sql += ' ('
> sql += ', '.join(dict)
> sql += ') VALUES ('
> sql += ', '.join(map(dictValuePad, dict)) # ??? this code does
> NOT format correctly
> sql += ')'
> return sql
>
> def dictValuePad(key): # ??? this code
> does Not format correctly
> return "'" + str(key) + "'"
>
> db = mx.ODBC.Windows.DriverConnect('dsn=UICPS Test')
> c = db.cursor()
> insert_dict = {'state':'IL', 'name':'Illinois'}
> sql = insertFromDict("statecode", insert_dict)
> print sql
> c.execute(sql)
>

The code below will do what you say that you want to do -- so long as
all your columns are strings (varchar or whatever in SQL terms).
Otherwise IMHO you would be much better off doing it this way:
sql = "insert into policy (type, premium) values(?, ?)"
data = ('building', 123.45)
cursor.execute(sql, data)
for two reasons:
(1) let the ODBC kit worry about formatting dates, strings with
embedded single quotes, etc
(2) it can be more efficient; the sql is constant and needs to be
parsed only once
(3) [bonus extra reason] the way you are doing it is vulnerable to
what's called an "SQL injection attack"; although you have no doubt
eyeballed all the data, doing it that way is a bad habit to get into.

You should be able to modify the supplied code very easily to produce
the sql variety with "?" in it.

HTH,
John

C:\junk>type sqlinsdict.py
def sqlquote(astring):
return "'" + astring.replace("'", "''") + "'"

def insertFromDict(table, adict):
"""Take dictionary object dict and produce sql for
inserting it into the named table.
Sample input:
insert_dict = {'state':'IL', 'name':'Illinois'}
sql = insertFromDict("statecode", insert_dict)
Required output:
INSERT INTO statecode (state, name) VALUES ('IL', 'Illinois')
"""

t = [.
'INSERT INTO ',
table,
' (',
', '.join(adict.keys()),
') VALUES (',
', '.join(sqlquote(x) for x in adict.values()),
')',
]
return ''.join(t)

if __name__ == "__main__":
tests = [
('IL', 'Illinois'),
('OH', "O'Hara"),
]
cols = ['state', 'name']
for test in tests:
the_dict = dict(zip(cols, test))
print the_dict
print insertFromDict('statecode', the_dict)

C:\junk>sqlinsdict.py
{'state': 'IL', 'name': 'Illinois'}
INSERT INTO statecode (state, name) VALUES ('IL', 'Illinois')
{'state': 'OH', 'name': "O'Hara"}
INSERT INTO statecode (state, name) VALUES ('OH', 'O''Hara')

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


johnzenger at gmail

Aug 16, 2006, 9:09 PM

Post #5 of 20 (700 views)
Permalink
Re: Newbie needs Help [In reply to]

Also, it may be easier to use string interpolation, as in:

return "INSERT INTO statecode (state, name) VALUES ('%(state)s',
'%(name)s')" % insert_dict

...after all necessary escaping, of course.

John Machin wrote:
> len wrote:
> > Hi all
> >
> > I am writing a python program that inserts records into a database on
> > XP using mxODBC.
> >
> > I need to write a section of code which will create the following SQL
> > command as an example;
> >
> > INSERT INTO statecode (state, name) VALUES ('IL', 'Illinois')
> >
> > This statement will be built up using the following code;
> >
> > import mx.ODBC
> > import mx.ODBC.Windows
> > def insertFromDict(table, dict):
> > """Take dictionary object dict and produce sql for
> > inserting it into the named table"""
> > sql = 'INSERT INTO ' + table
> > sql += ' ('
> > sql += ', '.join(dict)
> > sql += ') VALUES ('
> > sql += ', '.join(map(dictValuePad, dict)) # ??? this code does
> > NOT format correctly
> > sql += ')'
> > return sql
> >
> > def dictValuePad(key): # ??? this code
> > does Not format correctly
> > return "'" + str(key) + "'"
> >
> > db = mx.ODBC.Windows.DriverConnect('dsn=UICPS Test')
> > c = db.cursor()
> > insert_dict = {'state':'IL', 'name':'Illinois'}
> > sql = insertFromDict("statecode", insert_dict)
> > print sql
> > c.execute(sql)
> >
>
> The code below will do what you say that you want to do -- so long as
> all your columns are strings (varchar or whatever in SQL terms).
> Otherwise IMHO you would be much better off doing it this way:
> sql = "insert into policy (type, premium) values(?, ?)"
> data = ('building', 123.45)
> cursor.execute(sql, data)
> for two reasons:
> (1) let the ODBC kit worry about formatting dates, strings with
> embedded single quotes, etc
> (2) it can be more efficient; the sql is constant and needs to be
> parsed only once
> (3) [bonus extra reason] the way you are doing it is vulnerable to
> what's called an "SQL injection attack"; although you have no doubt
> eyeballed all the data, doing it that way is a bad habit to get into.
>
> You should be able to modify the supplied code very easily to produce
> the sql variety with "?" in it.
>
> HTH,
> John
>
> C:\junk>type sqlinsdict.py
> def sqlquote(astring):
> return "'" + astring.replace("'", "''") + "'"
>
> def insertFromDict(table, adict):
> """Take dictionary object dict and produce sql for
> inserting it into the named table.
> Sample input:
> insert_dict = {'state':'IL', 'name':'Illinois'}
> sql = insertFromDict("statecode", insert_dict)
> Required output:
> INSERT INTO statecode (state, name) VALUES ('IL', 'Illinois')
> """
>
> t = [.
> 'INSERT INTO ',
> table,
> ' (',
> ', '.join(adict.keys()),
> ') VALUES (',
> ', '.join(sqlquote(x) for x in adict.values()),
> ')',
> ]
> return ''.join(t)
>
> if __name__ == "__main__":
> tests = [
> ('IL', 'Illinois'),
> ('OH', "O'Hara"),
> ]
> cols = ['state', 'name']
> for test in tests:
> the_dict = dict(zip(cols, test))
> print the_dict
> print insertFromDict('statecode', the_dict)
>
> C:\junk>sqlinsdict.py
> {'state': 'IL', 'name': 'Illinois'}
> INSERT INTO statecode (state, name) VALUES ('IL', 'Illinois')
> {'state': 'OH', 'name': "O'Hara"}
> INSERT INTO statecode (state, name) VALUES ('OH', 'O''Hara')

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


sjmachin at lexicon

Aug 16, 2006, 9:18 PM

Post #6 of 20 (707 views)
Permalink
Re: Newbie needs Help [In reply to]

johnzen...@gmail.com wrote:
> Also, it may be easier to use string interpolation, as in:
>
> return "INSERT INTO statecode (state, name) VALUES ('%(state)s',
> '%(name)s')" % insert_dict
>
> ...after all necessary escaping, of course.
>

Excuse me!? "statecode" needs to come from the first argument. Likewise
the words "state" and "name" are *variables*. The OP has a gazillion
other tables to process -- are you suggesting he should type in a
gazillion different hard-coded return statements when he's already on
the right track and just needs a bit of help with dict.keys() and
dict.values()?

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


steve at holdenweb

Aug 16, 2006, 9:35 PM

Post #7 of 20 (705 views)
Permalink
Re: Newbie needs Help [In reply to]

len wrote:
> Hi all
>
> I am writing a python program that inserts records into a database on
> XP using mxODBC.
>
> I need to write a section of code which will create the following SQL
> command as an example;
>
> INSERT INTO statecode (state, name) VALUES ('IL', 'Illinois')
>
> This statement will be built up using the following code;
>
> import mx.ODBC
> import mx.ODBC.Windows
> def insertFromDict(table, dict):
> """Take dictionary object dict and produce sql for
> inserting it into the named table"""
> sql = 'INSERT INTO ' + table
> sql += ' ('
> sql += ', '.join(dict)
> sql += ') VALUES ('
> sql += ', '.join(map(dictValuePad, dict)) # ??? this code does
> NOT format correctly
> sql += ')'
> return sql
>
> def dictValuePad(key): # ??? this code
> does Not format correctly
> return "'" + str(key) + "'"
>
> db = mx.ODBC.Windows.DriverConnect('dsn=UICPS Test')
> c = db.cursor()
> insert_dict = {'state':'IL', 'name':'Illinois'}
> sql = insertFromDict("statecode", insert_dict)
> print sql
> c.execute(sql)
>
> I copied this code off of ASP and I sure it worked for his particular
> circumstance but I need to format up the VALUE clause just a bit
> different.
>
ASP code frequently makes the mistake of bulding SQL statements that
way. I suspect this is because the ASP ADO model makes it difficult to
produce paramtereized queries. In Python, however, the position is very
different, and you should always try to separate the data from the
fieldnames.

> I will be working from a dictionary which will be continualy update in
> another part of the program and this code is working.
>
Well, assuming you would rather be free of SQL inhection errors you
would be much better advised to do something like this:

>>> def insertFromDict(table, d): vector
... """Return SQL statement and data vector for insertion into table."""
... fields = d.keys()
... sql = 'INSERT INTO %s (%s) VALUES(%s)' % (
... table, ",
... ".join(fields),
... ", ".join("?" for f in fields))
... return sql, d.values()
...
>>> sql, data = insertFromDict("statecode",
... {"state": "IL", "name": "Illinois"})
>>> sql
'INSERT INTO statecode (state, name) VALUES(?, ?)'
>>> data
['IL', 'Illinois']
>>>

Then you make the insertion into the database using

c.execute(sql, data)

The other principal advantage of this technique is that you don't need
to discriminate between numeric and string fields, since they are both
handled the same way. You also get better efficiency if you run with the
same fields many times, as the DBMS will (if it's sufficiently
advanced) use the already-prepared version of the statement rather than
recompiling it repeatedly.

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden

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


steve at holdenweb

Aug 16, 2006, 9:51 PM

Post #8 of 20 (708 views)
Permalink
Re: Newbie needs Help [In reply to]

Steve Holden wrote:
[...]
>
> >>> def insertFromDict(table, d): vector
^^^^^^^^^^^^
Please ignore the Cygwin mousedroppings ...

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Skype: holdenweb http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden

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


sjmachin at lexicon

Aug 16, 2006, 10:13 PM

Post #9 of 20 (699 views)
Permalink
Re: Newbie needs Help [In reply to]

Dennis Lee Bieber wrote:
> c.execute("insert into %s (%s) values (%s)"
> % ("statecode",
> ", ".join(data.keys() ),
> ", ".join(["%s"] * len(data.keys() ) ) ),
> data.values() )
> # NOTE: only works if data.keys() and data.values() are
> # in the same order.
>

It is guaranteed, provided you don't mutate the dictionary between
times. In any case, it's a bit hard to imagine under what circumstances
there would be different traversal orders to obtain keys and values :-)

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


ewertman at gmail

Aug 26, 2008, 9:56 AM

Post #10 of 20 (708 views)
Permalink
Re: Newbie needs help [In reply to]

Is the loginout file named loginout.py ? It needs to be for the
import to work. If the import works, you have to refer to those
variables within the right namespace, ie : loginout.url,
loginout.adminlogin, etc.



On Tue, Aug 26, 2008 at 12:46 PM, frankrentef <frankrentef [at] yahoo> wrote:
> Greetings all,
>
> I'm wanting to maintain what values in one file and call them in
> another. The purpose being to keep a single location where url's,
> login's and passwords can be maintained, then called as needed from
> another file.
>
> In file #1 I have...
>
> import time
> import os
> import sys
>
> url = 'http://zoo/'
>
> adminlogin = 'Zebra'
> adminpassword = 'Zebra12$'
>
>
> ---------------------------------------------
>
> In file #2 I have the following...
>
> from cPAMIE import PAMIE
>
> #Imports - used to setup / control finding files
> import time
> import os
> import sys
> import loginout #name of the file retaining all url/login info
> from log import log
>
> #Create New Pamie Object
> ie=PAMIE()
> ie=Visible =1
> t=time
>
> adminlogin (ie,url)
> if ie.findText ('Site Status: Active'):
> log ('PASSED -- ADMIN Module - ADMIN Login & Admin Tab Navigation
> Successful')
> else:
> log ('WARNING -- ADMIN Module Login & Admin Tab Navigation
> FAILED')
> time.sleep(2)
>
>
>
> What am I doing incorrectly to not have file two log in when
> executed. All files are in the same directory. Keep it simple...
> I'm new at this.
>
> THNX
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
http://mail.python.org/mailman/listinfo/python-list


frankrentef at yahoo

Aug 26, 2008, 11:33 AM

Post #11 of 20 (703 views)
Permalink
Re: Newbie needs help [In reply to]

On Aug 26, 11:46 am, frankrentef <frankren...@yahoo.com> wrote:
> Greetings all,
>
> I'm wanting to maintain what values in one file and call them in
> another.  The purpose being to keep a single location where url's,
> login's and passwords can be maintained, then called as needed from
> another file.
>
> In file #1 I have...
>
> import time
> import os
> import sys
>
> url = 'http://zoo/'
>
> adminlogin = 'Zebra'
> adminpassword = 'Zebra12$'
>
> ---------------------------------------------
>
> In file #2 I have the following...
>
> from cPAMIE import PAMIE
>
> #Imports - used to setup / control finding files
> import time
> import os
> import sys
> import loginout    #name of the file retaining all url/login info
> from log import log
>
> #Create New Pamie Object
> ie=PAMIE()
> ie=Visible =1
> t=time
>
> adminlogin (ie,url)
> if ie.findText ('Site Status: Active'):
>     log ('PASSED -- ADMIN Module - ADMIN Login & Admin Tab Navigation
> Successful')
> else:
>     log ('WARNING -- ADMIN Module Login & Admin Tab Navigation
> FAILED')
> time.sleep(2)
>
> What am I doing incorrectly to not have file two log in when
> executed.  All files are in the same directory.   Keep it simple...
> I'm new at this.
>
> THNX

Yes, the first file is named loginout.py

Would the second file need something akin to...

loginout.admin (ie,url,adminlogin)

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


marco.bizzarri at gmail

Aug 27, 2008, 1:17 AM

Post #12 of 20 (686 views)
Permalink
Re: Newbie needs help [In reply to]

On Tue, Aug 26, 2008 at 8:33 PM, frankrentef <frankrentef [at] yahoo> wrote:

>
> Would the second file need something akin to...
>
> loginout.admin (ie,url,adminlogin)

Yes. Since you're importing the whole module.



--
Marco Bizzarri
http://iliveinpisa.blogspot.com/
--
http://mail.python.org/mailman/listinfo/python-list


frankrentef at yahoo

Aug 27, 2008, 9:02 AM

Post #13 of 20 (682 views)
Permalink
Re: Newbie needs help [In reply to]

Help, I'm missing / still not grasping something....

My "loginout" file contains the following...

from cPAMIE import PAMIE

#Imports - used to setup / control finding files
import time
import os
import sys

url = 'http://test2/'


adminlogin = 'Gorillia'
adminpassword = 'Gorillia1$'


#Admin Login Def Function

def adminlogin(ie,url):
ie.navigate (url + 'isweb/admin/default.aspx')
time.sleep(2)
ie.textBoxSet ('AdminLogin1:txtUsername','adminlogin')
time.sleep(2)
ie.textBoxSet ('AdminLogin1:inputPassword','adminpassword')
time.sleep(2)
ie.buttonClick ('AdminLogin1:btnLogin')
time.sleep(2)


My "main" Python file contains...

from cPAMIE import PAMIE

import time
import os
import sys
import loginout
from log import log

ie=PAMIE()
ie=Visible =1
t=time

ie=PAMIE ()

#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++

adminlogin (ie, url, adminlogin)
if ie.findText ('Site Status: Active'):
log ('PASSED -- ADMIN Module - ADMIN Login & Admin Tab Navigation
Successful')
else:
log ('WARNING -- ADMIN Module Login & Admin Tab Navigation
FAILED')
time.sleep(2)


All that happens is an I.E. session comes up with the url
"about:blank" in the address.

What am I doing incorrectly.


THNX
--
http://mail.python.org/mailman/listinfo/python-list


rhodri at wildebst

Jul 6, 2009, 4:20 PM

Post #14 of 20 (554 views)
Permalink
Re: Newbie needs help [In reply to]

On Tue, 07 Jul 2009 00:00:39 +0100, <nacim_bravo [at] agilent> wrote:

> Dear Python gurus,
>
> If I'd like to set dielectric constant for the certain material, is it
> possible to do such in Python environment? If yes, how to do or what
> syntax can be used?
>
> Also, I'd like to get a simulation result, like voltage, is it possible
> to get this value in Python environment?

Quite possibly, however you're going to have to give us a *lot* more
information before the answers you get will be worth anything at all.
How is "the certain material" represented? What simulator are you
using? Which Python environment? Which Python version for that matter?

We may appear to be mind-readers, but we usually need a bit more
than this to work on.

--
Rhodri James *-* Wildebeest Herder to the Masses
--
http://mail.python.org/mailman/listinfo/python-list


steve at REMOVE-THIS-cybersource

Jul 6, 2009, 6:20 PM

Post #15 of 20 (533 views)
Permalink
Re: Newbie needs help [In reply to]

On Mon, 06 Jul 2009 17:00:39 -0600, nacim_bravo wrote:

> Dear Python gurus,
>
> If I'd like to set dielectric constant for the certain material, is it
> possible to do such in Python environment? If yes, how to do or what
> syntax can be used?

certain_material.dielectric_constant = 1.234


> Also, I'd like to get a simulation result, like voltage, is it possible
> to get this value in Python environment?

Yes.



--
Steven
--
http://mail.python.org/mailman/listinfo/python-list


gherron at islandtraining

Jul 6, 2009, 6:29 PM

Post #16 of 20 (541 views)
Permalink
Re: Newbie needs help [In reply to]

nacim_bravo [at] agilent wrote:
> Dear Python gurus,
>
> If I'd like to set dielectric constant for the certain material, is it possible to do such in Python environment? If yes, how to do or what syntax can be used?
>
> Also, I'd like to get a simulation result, like voltage, is it possible to get this value in Python environment?
>
> Please let me know,
> nacim
>
This would be a good place for you to start:
http://www.catb.org/~esr/faqs/smart-questions.html
--
http://mail.python.org/mailman/listinfo/python-list


sajmikins at gmail

Jul 7, 2009, 7:18 AM

Post #17 of 20 (526 views)
Permalink
Re: Newbie needs help [In reply to]

On Mon, Jul 6, 2009 at 7:00 PM, <nacim_bravo [at] agilent> wrote:
> Dear Python gurus,
>
> If I'd like to set dielectric constant for the certain material, is it possible to do such in Python environment? If yes, how to do or what syntax can be used?
>
> Also, I'd like to get a simulation result, like voltage, is it possible to get this value in Python environment?
>
> Please let me know,
> nacim
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

The answers to your first and third questions are, "yes" and "yes". :]
(Generally speaking if something can be done by a computer it can be
done with python.)

As for your second question check out the "magnitude" package:

http://pypi.python.org/pypi/magnitude/ and
http://juanreyero.com/magnitude/

(That second link also has links to three other packages that deal
with units of measurement.)

Ii has units for the SI measurements, including volts and coulombs, so
you should be able to accomplish your goals with it.

The tricky thing is, as far as I can tell from the wikipedia entry
(http://en.wikipedia.org/wiki/Relative_static_permittivity),
"dielectric constant" seems to be a dimensionless number, i.e. C/C...
I could be totally daft though.

HTH,
~Simon
--
http://mail.python.org/mailman/listinfo/python-list


nacim_bravo at agilent

Jul 7, 2009, 8:02 AM

Post #18 of 20 (525 views)
Permalink
RE: Newbie needs help [In reply to]

Hello Gurus,

Thank you for trying to help to my initial and not well written questions. I will compile more detailed information and ask again. Btw, I am giving a glimpse to: "How To Ask Questions The Smart Way".

nacim


-----Original Message-----
From: Simon Forman [mailto:sajmikins [at] gmail]
Sent: Tuesday, July 07, 2009 7:19 AM
To: BRAVO,NACIM (A-Sonoma,ex1)
Cc: python-list [at] python
Subject: Re: Newbie needs help

On Mon, Jul 6, 2009 at 7:00 PM, <nacim_bravo [at] agilent> wrote:
> Dear Python gurus,
>
> If I'd like to set dielectric constant for the certain material, is it possible to do such in Python environment? If yes, how to do or what syntax can be used?
>
> Also, I'd like to get a simulation result, like voltage, is it possible to get this value in Python environment?
>
> Please let me know,
> nacim
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>

The answers to your first and third questions are, "yes" and "yes". :]
(Generally speaking if something can be done by a computer it can be
done with python.)

As for your second question check out the "magnitude" package:

http://pypi.python.org/pypi/magnitude/ and
http://juanreyero.com/magnitude/

(That second link also has links to three other packages that deal
with units of measurement.)

Ii has units for the SI measurements, including volts and coulombs, so
you should be able to accomplish your goals with it.

The tricky thing is, as far as I can tell from the wikipedia entry
(http://en.wikipedia.org/wiki/Relative_static_permittivity),
"dielectric constant" seems to be a dimensionless number, i.e. C/C...
I could be totally daft though.

HTH,
~Simon


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


tn.pablo at gmail

Jul 7, 2009, 8:12 AM

Post #19 of 20 (526 views)
Permalink
Re: Newbie needs help [In reply to]

On Tue, Jul 7, 2009 at 10:02, <nacim_bravo [at] agilent> wrote:
> Hello Gurus,
>
> Thank you for trying to help to my initial and not well written questions.  I will compile more detailed information and ask again.  Btw, I am giving a glimpse to: "How To Ask Questions The Smart Way".
>
> nacim

Give this one a try too: http://www.mikeash.com/getting_answers.html
It doesn't talk down to you...as much :P


--
Pablo Torres N.
--
http://mail.python.org/mailman/listinfo/python-list


aahz at pythoncraft

Jul 8, 2009, 6:40 AM

Post #20 of 20 (500 views)
Permalink
Re: Newbie needs help [In reply to]

In article <mailman.2781.1246979580.8015.python-list [at] python>,
Pablo Torres N. <tn.pablo [at] gmail> wrote:
>
>Give this one a try too: http://www.mikeash.com/getting_answers.html
>It doesn't talk down to you...as much :P

Nice! I'll try remembering that one.
--
Aahz (aahz [at] pythoncraft) <*> http://www.pythoncraft.com/

"as long as we like the same operating system, things are cool." --piranha
--
http://mail.python.org/mailman/listinfo/python-list

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.