Re: [Tutor] customizing dark_harvest problems

2016-04-07 Thread Ben Finney
Jason Willis writes: > I am a complete noob when it comes to python and programming in > general. Welcome! Congratulations on choosing to learn Python. > What i understand from the code so far Please set your mail client to send plain text messages, and to not automatically wrap lines of text

Re: [Tutor] customizing dark_harvest problems

2016-04-07 Thread Alan Gauld
On 08/04/16 01:51, Jason Willis wrote: > Though, I do know some things and can figure a little bit out when looking > at source code I'm usually at a loss when understanding the entire workings > of a program. And thats the problem here. The code is very specific to the page it is parsing. Simpl

Re: [Tutor] Declaring variables

2016-04-07 Thread Mark Lawrence via Tutor
On 07/04/2016 18:49, Dimitar Ivanov wrote: Hello everyone, I have a (hopefully) quick and easy to explain question. I'm currently using MySQLdb module to retrieve some information from a database. In my case, the result that's being yield back is a single line. As far as my understanding goes,

[Tutor] customizing dark_harvest problems

2016-04-07 Thread Jason Willis
Hi , I am a complete noob when it comes to python and programming in general. Though, I do know some things and can figure a little bit out when looking at source code I'm usually at a loss when understanding the entire workings of a program. Any and all help provided here would be greatly appreci

Re: [Tutor] Declaring variables

2016-04-07 Thread Alan Gauld
On 07/04/16 18:49, Dimitar Ivanov wrote: > As far as my understanding goes, MySQLdb function called 'fetchone()' > returns the result as a tuple. Problem is, the tuple has some unnecessary > characters, such as an additional comma being returned. In my case: The comma is what makes it a tuple, it

Re: [Tutor] Declaring variables

2016-04-07 Thread Ben Finney
Dimitar Ivanov writes: > I have a (hopefully) quick and easy to explain question. I'm currently > using MySQLdb module to retrieve some information from a database. In > my case, the result that's being yield back is a single line. Just a note: The term is a “record” or “tuple”. It may be presen

[Tutor] Declaring variables

2016-04-07 Thread Dimitar Ivanov
Hello everyone, I have a (hopefully) quick and easy to explain question. I'm currently using MySQLdb module to retrieve some information from a database. In my case, the result that's being yield back is a single line. As far as my understanding goes, MySQLdb function called 'fetchone()' returns