please help me

This is the place for queries that don't fit in any of the other categories.

please help me

Postby Gimpunk » Fri May 09, 2014 3:22 pm

like where running the way it files. irc? (Subtitle) the time that
has been specified in his file.irc I created an example in her
file.irc with Subtitle and time
Code: Select all
[00:00.98]Are We All We Are - P!nk
[00:22.95]Are we all we are
[00:24.01]Are we all we are
[00:26.33]Cut to now, holy wow
[00:27.63]When did everything become such a hell of a mess
[00:32.38]Maybe now maybe now can somebody come and take this off my chest
[00:38.63]I know you think it's not your problem
[00:41.63]I know you think that god will solve them
[00:44.79]But if your sh-t is not together
[00:47.04]It'll never be you and me, plant the seed
[00:49.48]Open up and let it be
[00:51.54]We are the people that you'll never get the best of
[00:54.35]Not forget the rest of, rest of
[00:57.42]We've got our fill, we've had enough, we've had it up here
[01:00.17]Are we all we are
[01:01.85]Are we all we are
[01:03.73]We are the people that you'll never get the best of
[01:06.59]Not forget the rest of, rest of
[01:10.15]Just sing it loud, until the kids will sing it right back
[01:13.29]Are we all we are
[01:14.49]Are we all we are
[01:26.17]Are we all we are
[01:27.24]Are we all we are
[01:29.30]Seven seconds, seven seconds
[01:30.86]That is all the time you got to make your point
[01:35.48]My attention, my attention's like an infant trying to crawl around this joint
[01:41.80]I know we're better than the masses
[01:44.80]But we're all following with our asses
[01:48.05]And if our sh-t is not together
[01:49.99]It'll never be you and me, plant the seed
[01:52.49]Open and let it be
[01:54.74]We are the people that you'll never get the best of
[01:57.49]Not forget the rest of, rest of
[02:00.61]We've got our fill, we've had enough, we've had it up here
[02:03.86]Are we all we are
[02:05.05]Are we all we are
[02:06.86]We are the people that you'll never get the best of
[02:09.99]Not forget the rest of, rest of
[02:13.36]Just sing it loud, until the kids will sing it right back
[02:16.42]Are we all we are
[02:17.74]Are we all we are
[02:19.55]Four, that's how many years it took me to get through the lesson
[02:22.74]That I had to do it all on my own
[02:25.86]Three, that's how many hail mary's they would pray for me
[02:28.73]Thinking I was gonna end up all alone
[02:31.55]Two for the second changes that you've given me, can it be?
[02:35.23]Lucky me lucky me, now let's go
[02:38.36]One is what we are, is what we are
[02:41.92]Are we all we are
[02:42.99]Are we all we are
[02:44.80]We are the people that you'll never get the best of
[02:47.99]Not forget the rest of, rest of
[02:51.11]We've got our fill, we've had enough, we've had it up here
[02:54.36]Are we all we are
[02:55.54]Are we all we are
[02:57.35]We are the people that you'll never get the best of
[03:00.61]Not forget the rest of, rest of
[03:03.73]Just sing it loud, until the kids will sing it right back
[03:06.86]Are we all we are
[03:08.17]Are we all we are
[03:10.05]We are the people that you'll never get the best of
[03:13.30]Not forget the rest of, rest of
[03:16.36]We've got our fill, we've had enough, we've had it up here
[03:19.48]Are we all we are
[03:20.73]Are we all we are
[03:22.61]We are the people that you'll never get the best of
[03:25.79]Not forget the rest of, rest of
[03:29.11]Cu the future, sing it out, and take the power back
[03:32.42]Are we all we are
[03:33.55]Are we all we are
[03:35.04]Splendidyang


we can read it with file.irc
Code: Select all
a=open('!:\\file.lrc')
b=a.read()
print b

but I want to read file.irc earlier time that has been specified
in the file.irc

there who can help me?
Code: Select all
a=0

plus=11.5

minus=7

import time,re

file=file_sub_asal
result=file_sub_hasil
t=open(file).read()
res_file=open(result,'w')

for i in d:
>>a=a plus
>>a=a-minus
>>res_file.write('{%d}{%d}%s\r\n'%(int(i[0])-int(a),int(i[1])
-int(a),i[2]))

res_file.close()
print 'ok'
Last edited by Yoriz on Fri May 09, 2014 5:10 pm, edited 3 times in total.
Reason: First post lock, Added code tags.
Gimpunk
 
Posts: 1
Joined: Fri May 09, 2014 2:49 pm

Re: please help me

Postby Yoriz » Fri May 09, 2014 5:11 pm

Hi welcome to the forum.
Please read the new users read this link in my signature.
New Users, Read This
Join the #python-forum IRC channel on irc.freenode.net!
Spam topic disapproval technician
Windows7, Python 2.7.4., WxPython 2.9.5.0., some Python 3.3
User avatar
Yoriz
 
Posts: 871
Joined: Fri Feb 08, 2013 1:35 am
Location: UK


Return to General Coding Help

Who is online

Users browsing this forum: Google [Bot] and 5 guests