mirror of
https://github.com/MartinThoma/LaTeX-examples.git
synced 2025-04-26 06:48:04 +02:00
Adjust Python code to follow PEP8
This commit is contained in:
parent
b36776fc27
commit
de1ad26035
14 changed files with 349 additions and 311 deletions
|
@ -1,10 +1,10 @@
|
|||
#!/usr/bin/env python
|
||||
import datetime
|
||||
|
||||
tmpDay = datetime.date.today() # von
|
||||
lastday = datetime.date(2014,2,10) # bis (Vorlesungsende?)
|
||||
tmp_day = datetime.date.today() # von
|
||||
lastday = datetime.date(2014, 2, 10) # bis (Vorlesungsende?)
|
||||
|
||||
while tmpDay < lastday:
|
||||
if tmpDay.weekday() == 0:
|
||||
print tmpDay.strftime('%d.%m.%Y')
|
||||
tmpDay += datetime.timedelta(days=1)
|
||||
while tmp_day < lastday:
|
||||
if tmp_day.weekday() == 0:
|
||||
print tmp_day.strftime('%d.%m.%Y')
|
||||
tmp_day += datetime.timedelta(days=1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue