id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
Python_Threading_Schedule/pythonjobscheduling_60_0.txt
# ┌───────────── minute (0 - 59) # │ ┌───────────── hour (0 - 23) # │ │ ┌───────────── day of the month (1 - 31) # │ │ │ ┌───────────── month (1 - 12) # │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday; # │ │ │ │ │ 7 is also Sunday on some systems) # │ │ │ │ │ # │ │ │ │ │ # * * * * * command to execut...
Python_Threading_Schedule/busdriverschedulings_1371_0.txt
[ 69 , "05:33" , "07:00" , 333 , 420 , 87 ],
Python_Threading_Schedule/busdriverschedulings_790_0.txt
822
Python_Threading_Schedule/busdriverschedulings_1592_0.txt
[ 290 , "07:55" , "08:53" , 475 , 533 , 58 ],
Python_Threading_Schedule/busdriverschedulings_756_0.txt
788
Python_Threading_Schedule/busdriverschedulings_99_0.txt
131
Python_Threading_Schedule/busdriverschedulings_914_0.txt
946
Python_Threading_Schedule/busdriverschedulings_1795_0.txt
[ 493 , "10:40" , "10:56" , 640 , 656 , 16 ],
Python_Threading_Schedule/busdriverschedulings_143_0.txt
175
Python_Threading_Schedule/workflowyschedulingi_32_0.txt
@classmethod def __wait_for_element_to_appear(cls, css_selector): WebDriverWait(cls.browser, 10).until( lambda driver: driver.find_element_by_css_selector(css_selector))
Python_Threading_Schedule/workflowyschedulingi_41_0.txt
Especially interesting is that you are sending keys rather than replacing the text in an element. This means I can send the “END” character code, ensuring I push the cursor to the end of the text, before adding the tag.
Python_Threading_Schedule/busdriverschedulings_912_0.txt
944
Python_Threading_Schedule/busdriverschedulings_447_0.txt
479
Python_Threading_Schedule/1722_64_0.txt
Copy link
Python_Threading_Schedule/busdriverschedulings_1189_0.txt
[ 89 , "12:38" , "13:25" , 758 , 805 , 47 ],
Python_Threading_Schedule/busdriverschedulings_1168_0.txt
[ 68 , "10:26" , "11:08" , 626 , 668 , 42 ],
Python_Threading_Schedule/busdriverschedulings_118_0.txt
150
Python_Threading_Schedule/busdriverschedulings_1760_0.txt
[ 458 , "10:04" , "10:15" , 604 , 615 , 11 ],
Python_Threading_Schedule/busdriverschedulings_1048_0.txt
[ 0 , "05:18" , "06:00" , 318 , 360 , 42 ],
Python_Threading_Schedule/busdriverschedulings_762_0.txt
794
Python_Threading_Schedule/busdriverschedulings_1370_0.txt
[ 68 , "05:32" , "06:53" , 332 , 413 , 81 ],
Python_Threading_Schedule/busdriverschedulings_841_0.txt
873
Python_Threading_Schedule/busdriverschedulings_1051_0.txt
[ 3 , "06:06" , "06:51" , 366 , 411 , 45 ],
Python_Threading_Schedule/busdriverschedulings_1332_0.txt
[ 30 , "04:57" , "05:38" , 297 , 338 , 41 ],
Python_Threading_Schedule/busdriverschedulings_147_0.txt
179
Python_Threading_Schedule/1722_109_0.txt
for d in range(num_drivers): start_times.append( model.NewIntVar(min_start_time - setup_time, max_end_time, 'start_%i' % d)) end_times.append( model.NewIntVar(min_start_time, max_end_time + cleanup_time, 'end_%i' % d)) driving_times.append( model.NewIntVar(0, max_driving_time, 'driving_%i' % d)) working_times.append( m...
Python_Threading_Schedule/pythonjobscheduling_86_0.txt
Workload Automation Leveling up jobs-as-code: Democratize your workload automation Jobs-as-code is an effective approach to workload automation, but it can require extensive IT investment. Using a workload automation platform that makes automation design and development accessible to non-technical users can be a better...
Python_Threading_Schedule/busdriverschedulings_1498_0.txt
[ 196 , "06:57" , "07:12" , 417 , 432 , 15 ],
Python_Threading_Schedule/1722_28_0.txt
We read every piece of feedback, and take your input very seriously.
Python_Threading_Schedule/busdriverschedulings_1258_0.txt
[ 158 , "17:58" , "18:45" , 1078 , 1125 , 47 ],
Python_Threading_Schedule/busdriverschedulings_1546_0.txt
[ 244 , "07:24" , "08:27" , 444 , 507 , 63 ],
Python_Threading_Schedule/busdriverschedulings_1318_0.txt
[ 16 , "04:44" , "05:45" , 284 , 345 , 61 ],
Python_Threading_Schedule/busdriverschedulings_1682_0.txt
[ 380 , "08:58" , "10:26" , 538 , 626 , 88 ],
Python_Threading_Schedule/busdriverschedulings_145_0.txt
177
Python_Threading_Schedule/Python_threading__10_0.txt
## Using locks, conditions, and semaphores in the ` with ` statement ¶ All of the objects provided by this module that have ` acquire ` and ` release ` methods can be used as context managers for a [ ` with ` ](../reference/compound_stmts.html#with) statement. The ` acquire ` method will be called when the blo...
Python_Threading_Schedule/busdriverschedulings_1867_0.txt
[ 565 , "11:46" , "11:58" , 706 , 718 , 12 ],
Python_Threading_Schedule/busdriverschedulings_471_0.txt
503
Python_Threading_Schedule/busdriverschedulings_1644_0.txt
[ 342 , "08:30" , "08:45" , 510 , 525 , 15 ],
Python_Threading_Schedule/busdriverschedulings_1145_0.txt
[ 45 , "08:06" , "08:51" , 486 , 531 , 45 ],
Python_Threading_Schedule/busdriverschedulings_1540_0.txt
[ 238 , "07:20" , "07:30" , 440 , 450 , 10 ],
Python_Threading_Schedule/1722_111_0.txt
# Create all the shift variables before iterating on the transitions # between these shifts. for s in range(num_shifts): total_driving[d, s] = model.NewIntVar(0, max_driving_time, 'dr_%i_%i' % (d, s)) no_break_driving[d, s] = model.NewIntVar( 0, max_driving_time_without_pauses, 'mdr_%i_%i' % (d, s)) performed[d, s] = m...
Python_Threading_Schedule/busdriverschedulings_1873_0.txt
[ 571 , "11:53" , "13:00" , 713 , 780 , 67 ],
Python_Threading_Schedule/busdriverschedulings_779_0.txt
811
Python_Threading_Schedule/busdriverschedulings_549_0.txt
581
Python_Threading_Schedule/1722_11_0.txt
* [ Enterprise ](https://github.com/enterprise) * [ Teams ](https://github.com/team) * [ Startups ](https://github.com/enterprise/startups) * [ Education ](https://education.github.com)
Python_Threading_Schedule/busdriverschedulings_1941_0.txt
[ 639 , "12:43" , "13:30" , 763 , 810 , 47 ],
Python_Threading_Schedule/busdriverschedulings_1315_0.txt
[ 13 , "04:41" , "05:13" , 281 , 313 , 32 ],
Python_Threading_Schedule/1722_107_0.txt
# Weighted objective delay_literals = [] delay_weights = []
Python_Threading_Schedule/busdriverschedulings_649_0.txt
681
Python_Threading_Schedule/busdriverschedulings_237_0.txt
269
Python_Threading_Schedule/busdriverschedulings_1293_0.txt
[ 193 , "23:46" , "00:01" , 1426 , 1441 , 15 ],
Python_Threading_Schedule/busdriverschedulings_1034_0.txt
[ 23 , "15:28" , "16:54" , 928 , 1014 , 86 ],
Python_Threading_Schedule/busdriverschedulings_642_0.txt
674
Python_Threading_Schedule/busdriverschedulings_1953_0.txt
[ ](https://github.com "GitHub") © 2024 GitHub, Inc.
Python_Threading_Schedule/busdriverschedulings_1264_0.txt
[ 164 , "18:19" , "19:13" , 1099 , 1153 , 54 ],
Python_Threading_Schedule/busdriverschedulings_643_0.txt
675
Python_Threading_Schedule/busdriverschedulings_1666_0.txt
[ 364 , "08:45" , "09:05" , 525 , 545 , 20 ],
Python_Threading_Schedule/busdriverschedulings_896_0.txt
928
Python_Threading_Schedule/busdriverschedulings_1570_0.txt
[ 268 , "07:40" , "08:45" , 460 , 525 , 65 ],
Python_Threading_Schedule/busdriverschedulings_1043_0.txt
# - shift start time as hh:mm string (for logging and readability purposes)
Python_Threading_Schedule/busdriverschedulings_580_0.txt
612
Python_Threading_Schedule/busdriverschedulings_1457_0.txt
[ 155 , "06:31" , "06:43" , 391 , 403 , 12 ],
Python_Threading_Schedule/busdriverschedulings_1286_0.txt
[ 186 , "21:39" , "21:55" , 1299 , 1315 , 16 ],
Python_Threading_Schedule/busdriverschedulings_995_0.txt
from ortools . sat . python import cp_model
Python_Threading_Schedule/busdriverschedulings_109_0.txt
141
Python_Threading_Schedule/busdriverschedulings_850_0.txt
882
Python_Threading_Schedule/busdriverschedulings_1851_0.txt
[ 549 , "11:31" , "11:43" , 691 , 703 , 12 ],
Python_Threading_Schedule/busdriverschedulings_468_0.txt
500
Python_Threading_Schedule/Python_threading__0_2.txt
xceptions.html#RuntimeError "RuntimeError") is raised. If the specified stack size is invalid, a [ ` ValueError ` ](exceptions.html#ValueError "ValueError") is raised and the stack size is unmodified. 32 KiB is currently the minimum supported stack size value to guarantee sufficient stack space for the interpreter its...
Python_Threading_Schedule/busdriverschedulings_416_0.txt
448
Python_Threading_Schedule/busdriverschedulings_1260_0.txt
[ 160 , "18:04" , "18:45" , 1084 , 1125 , 41 ],
Python_Threading_Schedule/workflowyschedulingi_45_0.txt
## Sign up for more like this.
Python_Threading_Schedule/1722_160_0.txt
## Footer
Python_Threading_Schedule/busdriverschedulings_648_0.txt
680
Python_Threading_Schedule/busdriverschedulings_282_0.txt
314
Python_Threading_Schedule/busdriverschedulings_1935_0.txt
[ 633 , "12:38" , "14:04" , 758 , 844 , 86 ],
Python_Threading_Schedule/workflowyschedulingi_15_0.txt
However let’s think about this, really all I need is something that does the scheduling on my behalf automatically. Now Workflowy don’t expose any API as such, so I can’t write a background script to use that, however we **can** turn to Selenium for automating the process for us.
Python_Threading_Schedule/busdriverschedulings_1869_0.txt
[ 567 , "11:49" , "12:43" , 709 , 763 , 54 ],
Python_Threading_Schedule/busdriverschedulings_757_0.txt
789
Python_Threading_Schedule/busdriverschedulings_1598_0.txt
[ 296 , "08:00" , "08:10" , 480 , 490 , 10 ],
Python_Threading_Schedule/busdriverschedulings_1698_0.txt
[ 396 , "09:10" , "09:20" , 550 , 560 , 10 ],
Python_Threading_Schedule/pythonjobscheduling_1_0.txt
The Redwood Story Leadership News & Press Events Careers Partners Contact Us Contact Support Knowledge Base Training Customer Log in Enterprise Workload Automation
Python_Threading_Schedule/busdriverschedulings_325_0.txt
357
Python_Threading_Schedule/1722_98_0.txt
If minimize_drivers == True, the objective will be to find the minimal number of drivers, independently of the working times of each drivers.
Python_Threading_Schedule/busdriverschedulings_603_0.txt
635
Python_Threading_Schedule/busdriverschedulings_1359_0.txt
[ 57 , "05:22" , "05:59" , 322 , 359 , 37 ],
Python_Threading_Schedule/busdriverschedulings_1638_0.txt
[ 336 , "08:27" , "09:07" , 507 , 547 , 40 ],
Python_Threading_Schedule/1722_8_0.txt
* [ All features ](https://github.com/features) * [ Documentation ](https://docs.github.com) * [ GitHub Skills ](https://skills.github.com) * [ Blog ](https://github.blog)
Python_Threading_Schedule/busdriverschedulings_151_0.txt
183
Python_Threading_Schedule/busdriverschedulings_991_0.txt
import math
Python_Threading_Schedule/busdriverschedulings_932_0.txt
964
Python_Threading_Schedule/busdriverschedulings_1183_0.txt
[ 83 , "12:04" , "13:04" , 724 , 784 , 60 ],
Python_Threading_Schedule/busdriverschedulings_427_0.txt
459
Python_Threading_Schedule/busdriverschedulings_484_0.txt
516
Python_Threading_Schedule/busdriverschedulings_711_0.txt
743
Python_Threading_Schedule/1722_52_0.txt
# bus_driver_scheduling_sat.py #1722
Python_Threading_Schedule/busdriverschedulings_1852_0.txt
[ 550 , "11:33" , "12:15" , 693 , 735 , 42 ],
Python_Threading_Schedule/busdriverschedulings_518_0.txt
550
Python_Threading_Schedule/busdriverschedulings_60_0.txt
1. [ or-tools ](/google/or-tools/tree/stable) 2. / [ examples ](/google/or-tools/tree/stable/examples) 3. / [ python ](/google/or-tools/tree/stable/examples/python)
Python_Threading_Schedule/busdriverschedulings_92_0.txt
124