Metadata-Version: 2.4
Name: qimomo-py-linux
Version: 0.1.5
Summary: pythonlinux python中简单运行linux命令
Author-email: qimomo <qimomo.17@qq.com>
License: Copyright 2025 七魔陌
        
        Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
        
        1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
        2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
        3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
        
        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests>=2.25.1
Requires-Dist: tqdm
Dynamic: license-file

## Author
**七魔陌** 
- Email: qimomo.17@qq.com
- 0.1.4 ：使用0.1.3: from pythonlinux.pythonlinux import *
- 前面几个版本有重大问题请不要使用\n
本模块是在Python中执行简单Linux命令(实现方法)

主要是作者不会Windows上cmd命令而制作的一个模块
里面有一个su  :
      su qi  #登录用户qi
用之前使用命令
pythonlinux-file-path you_path_file
设置su与histort.txt的位置
比如在 /data/data/pythonlinux/里面有su与histort.txt
命令就是:
pythonlinux-file-path /data/data/pythonlinux/


import pythonlinux
a=linux()
a.run('pythonlinux-file-path /data/data/pythonlinux/')
#或者直接指定
linux_file_path='/data/data/pythonlinux/'
'''
'''python    
import pylinux
a=linux()
a.run('pylinux-file-path /data/data/pythonlinux/')
#或者直接指定
pylinux_file_path='/data/data/pythonlinux/'
'''
su文件：
用户名#*$权限路径#*$密码
比如:
     用户名： qi
     密码 ：  123
     访问路径： /data/data/pythonlinux/
就写成
qi#*$/data/data/pythonlinux/#*$123
没密码：
qi#*$/data/data/pythonlinux/#*$0
程序最高访问权限:
qi#*$0#*$123
多个：
qi#*$/data/data/pythonlinux/#*$123
ii#*$0#*$0

![使用例子1:模块版本0.1.3](./images/1.PNG)
![使用例子2:模块版本0.1.3](./images/2.PNG)
