On 2013-05-09, Dave Angel wrote:
> On 05/09/2013 05:22 PM, rlelis wrote:
>> On Thursday, May 9, 2013 7:19:38 PM UTC+1, Dave Angel wrote:
>>
>> Yes it's a list of string. I don't get the NameError: name 'file_content' is
>> not defined in my code.
>
> That's because you have the 3 lines below whic
On 05/09/2013 05:22 PM, rlelis wrote:
On Thursday, May 9, 2013 7:19:38 PM UTC+1, Dave Angel wrote:
Yes it's a list of string. I don't get the NameError: name 'file_content' is
not defined in my code.
That's because you have the 3 lines below which we hadn't seen yet.
After i appended the h
On Thursday, May 9, 2013 7:19:38 PM UTC+1, Dave Angel wrote:
Yes it's a list of string. I don't get the NameError: name 'file_content' is
not defined in my code.
After i appended the headers i wanted to cut the data list it little bit more
because there was some data (imagine some other collumn
On 05/09/2013 12:14 PM, rlelis wrote:
On Thursday, May 9, 2013 12:47:47 AM UTC+1, rlelis wrote:
@Dave Angel
this is how i mange to read and store the data in file.
data = []
# readdata
f = open(source_file, 'r')
for line in f:
header = (line.strip()).lower()
# conditions(if/else
On Thursday, May 9, 2013 12:47:47 AM UTC+1, rlelis wrote:
@Dave Angel
this is how i mange to read and store the data in file.
data = []
# readdata
f = open(source_file, 'r')
for line in f:
header = (line.strip()).lower()
# conditions(if/else clauses) on the header content to filter
On 05/09/2013 10:33 AM, rlelis wrote:
I apologize once again.
Is my first post here and i'm getting used to the group as long as i get the
feedback of my errors by you guys.
I'm using Python 2.7.3 with no dependencies, i'm simply using the standard
library.
Here is the "big picture" of the scena
I apologize once again.
Is my first post here and i'm getting used to the group as long as i get the
feedback of my errors by you guys.
I'm using Python 2.7.3 with no dependencies, i'm simply using the standard
library.
Here is the "big picture" of the scenario(i have added it in the pastebin lin
On 2013-05-09, rlelis wrote:
> This is what i have for now:
>
> highway_dict = {}
> aging_dict = {}
> queue_row = []
> for content in file_content:
> if 'aging' in content:
> # aging 0 100
> collumns = ''.join(map(str,
> content[:1])).replace('-','_').lower()
>
On 05/09/2013 05:57 AM, rlelis wrote:
On Thursday, May 9, 2013 12:47:47 AM UTC+1, rlelis wrote:
Hi guys,
I'm working on this long file, where i have to keep reading and
storing different excerpts of text (data) in different variables (list).
Once done that i want to store in dicts the dat
On Thursday, May 9, 2013 12:47:47 AM UTC+1, rlelis wrote:
> Hi guys,
>
>
>
> I'm working on this long file, where i have to keep reading and
>
> storing different excerpts of text (data) in different variables (list).
>
>
>
> Once done that i want to store in dicts the data i got from the li
On 09/05/2013 00:47, rlelis wrote:
Hi guys,
I'm working on this long file, where i have to keep reading and
storing different excerpts of text (data) in different variables (list).
Once done that i want to store in dicts the data i got from the lists mentioned
before. I want them on a list of
On 05/08/2013 07:47 PM, rlelis wrote:
Hi guys,
Please read this http://wiki.python.org/moin/GoogleGroupsPython.
I'm working on this long file, where i have to keep reading and
storing different excerpts of text (data) in different variables (list).
Once done that i want to store in dicts t
12 matches
Mail list logo