Y
Y
Yaroslav Gribanov2014-02-14 14:47:51
Python
Yaroslav Gribanov, 2014-02-14 14:47:51

How to execute a python script?

Can you please tell me how to execute the script from the article ?
Point by point, if possible. Interested in the example of a book .

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
alternativshik, 2014-02-14
@alternativshik

bit.ly/1gf8608

T
tsarevfs, 2014-02-14
@tsarevfs

Curve script.

if '<HTML>' in f1.read():
    f1.close() #закрыть файл перед удалением
    os.remove('pages/' + str(scn) + '_' + str(current_page) + '.pdf')

That's how everything works. Python version 2.7 (not 3, that's important)

V
Vladimir Sokolovsky, 2014-02-14
@inlanger

If you type your question into Google, the first link explains the process in detail.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question