CN109471617A - A kind of enterprise's working hour submission method based on Python - Google Patents

A kind of enterprise's working hour submission method based on Python Download PDF

Info

Publication number
CN109471617A
CN109471617A CN201811298800.0A CN201811298800A CN109471617A CN 109471617 A CN109471617 A CN 109471617A CN 201811298800 A CN201811298800 A CN 201811298800A CN 109471617 A CN109471617 A CN 109471617A
Authority
CN
China
Prior art keywords
working hour
python
enterprise
file
browser
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811298800.0A
Other languages
Chinese (zh)
Inventor
王浩生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811298800.0A priority Critical patent/CN109471617A/en
Publication of CN109471617A publication Critical patent/CN109471617A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of, and enterprise's working hour based on Python submits method, includes the following steps: 1) to call browser driving, analog subscriber logs in Work attendance management system on a web browser;2) make browser switch labels page, user's list will be inputted working hour;3) data verification is carried out to user's list, and controls browser submission form.The personnel in working hour are continuously put into identical action suitable for research staff and for a long time, enterprise's Technical Service Worklog System automatic input is realized, personnel is avoided to fail to fill in working hour, the problems such as working hour fills in time-out, effectively improve the accuracy of enterprise's working hour typing.

Description

A kind of enterprise's working hour submission method based on Python
Technical field:
The method for realizing the submission of enterprise's working hour based on Python that the present invention relates to a kind of.
Background technique:
In the prior art, well known technology is enterprise's Technical Service Worklog System, is that record enterprise work personnel throw in disparity items The system in the working hour entered.Due to requiring to mention report working hour daily manually, often fail to fill in, fill in working hour time-out the problems such as.
The full name of MD5 is Message-Digest Algorithm 5, is tested in the early 1990s by the computer science of MIT Room and RSA Data Security Inc invention, develop through MD2, MD3 and MD4.MD5 is by " byte serial " of random length It is transformed into the big integer of a 128bit, and it is an irreversible character string transformation algorithm.The typical case of MD5 is pair One section of Message (byte serial) generates fingerprint (fingerprint), to prevent " being distorted ".Python be a kind of object-oriented, Explanation type computer programming language, Python grammer is succinct and clear, has abundant and powerful class libraries.
Summary of the invention:
The purpose of the present invention is to deficiencies of the prior art, and provide a kind of enterprise's work based on Python When submit method, this method logged in by Python analog subscriber, and list is submitted, and control is clicked etc., and Technical Service Worklog System is realized in operations It submits, avoids failing to fill in, overtime situation.
This programme is achieved by the following technical measures: a kind of 1. enterprise's working hour submission methods based on Python, Include the following steps: 1) to call browser driving, analog subscriber logs in Work attendance management system on a web browser;2) cut browser Shipping Options Page is changed, user's list will be inputted working hour;3) data verification is carried out to user's list, and controls browser submission form.This Sample can according to need, and opens browser and carries out typing, save the time, convenient for operation.
It is first directed to browser driving calling module and time, Work attendance management system module in step 1), and defines work When time, working hour project and working hour content.It is called in this way convenient for browser, and sets time in working hour, working hour project, working hour Content can dock in this way with Work attendance management system, be also convenient for staff's input.
When submitting order, submitted according to the time that Work attendance management system is set.It will not be delayed in this way and submit.Step 3) When middle verifying, examine whether the time in working hour in list, working hour project are more than the threshold value of setting, if it does, then popping up modification It reminds, if be less than, submission form.There is preliminary verifying in this way, avoids error in data.
After calling browser driving, the file to the Work attendance management system module of place computer is needed to verify, school When testing, s1 builds python environment;S2 writes python file, creates python function;S3 by call python function into The batch verification of style of writing part.The python function of creation includes md5sum function, generate_md5 function, check_md5 letter Number.By calling generate_md5 function to generate md5list file;Md5list file includes that file path is corresponding Md5 value.Check_md5 function whether there is according to the file under md5list file checking current path and whether md5 matches; Check_md5 function exports unmatched file name and returns the result list.File can be verified in this way, avoid examining Diligent management system can not start.
It can be seen that compared with prior art, the present invention being suitable for research staff and continuous in identical action for a long time The problems such as personnel in investment working hour realize enterprise's Technical Service Worklog System automatic input, personnel are avoided to fail to fill in working hour, and working hour fills in time-out, The accuracy of enterprise's working hour typing is effectively improved, there is substantive distinguishing features outstanding and significant progress, the beneficial effect implemented Fruit is also obvious.
Detailed description of the invention:
Fig. 1 is the flow chart of the specific embodiment of the invention.
Specific embodiment:
In order to clarify the technical characteristics of the invention, below by a specific embodiment, and its attached drawing is combined, it is right This programme is illustrated.
By attached drawing as can be seen that a kind of 1. enterprise's working hours based on Python of this programme submit methods, including it is as follows Step: 1) browser driving is called, analog subscriber logs in Work attendance management system on a web browser;2) make browser switch labels Page, will input user's list working hour;3) data verification is carried out to user's list, and controls browser submission form.When verifying, inspection Whether time in working hour for testing in list, working hour project are more than the threshold value of setting, remind if it does, then popping up modification, if not It is more than, then submission form.
It is first directed to browser driving calling module and time, Work attendance management system module in step 1), and defines work When time, working hour project and working hour content.When submitting order, submitted according to the time that Work attendance management system is set.
After calling browser driving, the file to the Work attendance management system module of place computer is needed to verify, this Sample can guarantee that Work attendance management system module file is accurate, can remind staff if there is mistake, working hour is avoided to submit Unsuccessful, when verification, s1 builds python environment;S2 writes python file, creates python function;S3 passes through calling Python function carries out the batch verification of file.The python function of creation include md5sum function, generate_md5 function, Check_md5 function.By calling generate_md5 function to generate md5list file;, md5list file includes file road The corresponding md5 value of diameter.Check_md5 function according to the file under md5list file checking current path whether there is and Whether md5 matches;Check_md5 function exports unmatched file name and returns the result list.
The present invention is not limited in above-mentioned specific embodiment, and those of ordinary skill in the art are in essential scope of the invention The variations, modifications, additions or substitutions inside made, also should belong to protection scope of the present invention.

Claims (8)

1. a kind of enterprise's working hour based on Python submits method, it is characterized in that including the following steps:
1) browser driving is called, analog subscriber logs in Work attendance management system on a web browser;
2) make browser switch labels page, user's list will be inputted working hour;
3) data verification is carried out to user's list, and controls browser submission form.
2. enterprise's working hour according to claim 1 based on Python submits method, it is characterized in that: leading first in step 1) Enter browser driving calling module and time, Work attendance management system module, and defines time in working hour, working hour project and in working hour Hold.
3. enterprise's working hour according to claim 2 based on Python submits method, it is characterized in that: when submitting order, root It is submitted according to the time that Work attendance management system is set.
4. enterprise's working hour according to claim 2 based on Python submits method, it is characterized in that: browser is called to drive It after dynamic, needs to verify the Work attendance management system module file of place computer, when verification, s1 builds python environment ;S2 writes python file, creates python function;S3 is by calling python function to carry out the batch verification of file.
5. enterprise's working hour according to claim 4 based on Python submits method, it is characterized in that: the python letter of creation Number includes md5sum function, generate_md5 function, check_md5 function.
6. enterprise's working hour according to claim 5 based on Python submits method, it is characterized in that: passing through calling Generate_md5 function generates md5list file;Md5list file includes the corresponding md5 value of file path.
7. enterprise's working hour according to claim 6 based on Python submits method, it is characterized in that: check_md5 letter Number whether there is according to the file under md5list file checking current path and whether md5 matches;Check_md5 function It exports unmatched file name and returns the result list.
8. enterprise's working hour according to claim 2 based on Python submits method, it is characterized in that: verifying in step 3) When, it examines whether the time in working hour in list, working hour project are more than the threshold value of setting, is reminded if it does, then popping up modification, such as Fruit is less than, then submission form.
CN201811298800.0A 2018-11-02 2018-11-02 A kind of enterprise's working hour submission method based on Python Pending CN109471617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811298800.0A CN109471617A (en) 2018-11-02 2018-11-02 A kind of enterprise's working hour submission method based on Python

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811298800.0A CN109471617A (en) 2018-11-02 2018-11-02 A kind of enterprise's working hour submission method based on Python

Publications (1)

Publication Number Publication Date
CN109471617A true CN109471617A (en) 2019-03-15

Family

ID=65666849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811298800.0A Pending CN109471617A (en) 2018-11-02 2018-11-02 A kind of enterprise's working hour submission method based on Python

Country Status (1)

Country Link
CN (1) CN109471617A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104376098A (en) * 2014-11-25 2015-02-25 浪潮电子信息产业股份有限公司 File batch validation method based on python
CN106934686A (en) * 2017-02-16 2017-07-07 上海咿呀信息科技有限公司 A kind of self-service method and system for placing an order
CN108111929A (en) * 2017-11-17 2018-06-01 深圳市飞鸿光电子有限公司 A kind of method based on Python automatic tests, system and test terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104376098A (en) * 2014-11-25 2015-02-25 浪潮电子信息产业股份有限公司 File batch validation method based on python
CN106934686A (en) * 2017-02-16 2017-07-07 上海咿呀信息科技有限公司 A kind of self-service method and system for placing an order
CN108111929A (en) * 2017-11-17 2018-06-01 深圳市飞鸿光电子有限公司 A kind of method based on Python automatic tests, system and test terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WEIXIN_30822451: "python学习:(3)自动化表单提交", 《CSDN》 *
企鹅号-PYTHON热爱者: "用python做一个自动登录考勤***,这样就不要一堆麻烦的操作了,超简单", 《腾讯云》 *

Similar Documents

Publication Publication Date Title
CN106528418B (en) A kind of test method and device
CN109635564A (en) A kind of method, apparatus, medium and equipment detecting Brute Force behavior
CN109598228A (en) Paper document electronization is recorded to the method and system of filing
CN106411531A (en) Weak password screening method
US20190114246A1 (en) Method for replicating production behaviours in a development environment
CN103984633B (en) A kind of bank main passes down the automatization test system of operation
CN110515755A (en) Interface function verification method, device, equipment and computer readable storage medium
CN107247767A (en) A kind of method and device that database is imported by formatted data files
CN109711162A (en) Block chain-based security application method and system
CN109471617A (en) A kind of enterprise's working hour submission method based on Python
CN109977082A (en) A kind of method and computer readable storage medium of high-volume data automatic comparison
CN111400187B (en) Parameter dynamic verification system and method based on customized data source
CN117314662A (en) Intelligent account checking method, system, equipment and storage medium
CN112579434A (en) Automatic test platform for pedestrian information
CN110852904A (en) Signal checking system and method based on RCD and SCD checking
US11671344B1 (en) Assessing system effectiveness
CN114064486B (en) Automatic interface testing method
CN115987617A (en) Configuration checking method for equal-protection evaluation safety equipment
CN109165528A (en) A kind of block chain data-storage system and method
CN115509637A (en) Form-based intelligent filling method, system, equipment and medium
CN106126195B (en) A kind of information processing method and electronic equipment
WO2021129849A1 (en) Log processing method, apparatus and device, and storage medium
CN107122272A (en) A kind of automatic Verification method and device of CPU register informations
CN113723071A (en) Electronic file checking method, system, storage medium and equipment
CN112559012A (en) System upgrading and testing method and device, computer equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190315