Google Python Style Guidefrom one module to an- other. Pros: The namespace management convention is simple. The source of each identifier is indicated in a consistent way; x.Obj says that object Obj is defined in module x. Cons: Cons: Module names can still collide. Some module names are inconveniently long. Decision: Use import x for importing packages and modules. Use from x import y where x is the package prefix and y is the the module name 3 with no prefix. Use from x import y as z if two modules named y are to be imported or if y is an inconveniently long name. For example the module sound.effects.echo may be imported as0 码力 | 30 页 | 94.81 KB | 1 年前3
KiCad PCB Editor 5.1language. Also see the doxygen documentation on Python Scripting Reference. You can see python module help by typing pydoc pcbnew on your terminal. Using scripting you can create: Plugins: this type BOARD section below. 15.2. Basic API Reference All the pcbnew API is provided from the "pcbnew" module in Python. GetBoard() method will return the current pcb open at editor, useful for commands written = LoadBoard(filename) for module in pcb.GetModules(): print "* Module: %s"%module.GetReference() module.Value().SetVisible(False) # set Value as Hidden module.Reference().SetVisible(True)0 码力 | 279 页 | 3.02 MB | 1 年前3
The Weblate Manual 3.6.12019 User docs 1 Features 3 2 Documentation 5 3 Installation 7 4 Bugs 9 5 License 11 Python Module Index 301 HTTP Routing Table 303 i ii Weblate Documentation, Release 3.6.1 Weblate is a copylefted com/project/docs.git master \ 'docs/locale/*/LC_MESSAGES/dir2/**.po' See also: The Odorik python module documentation is built using Sphinx, Read the Docs and translated using Weblate. Integrating with might occur. 5.12.1 Installation The Weblate Client is shipped separately and includes the Python module. You need to install wlc:, wlc to use these. pip3 install wlc 100 Chapter 5. License Weblate Documentation0 码力 | 317 页 | 2.63 MB | 1 年前3
The Weblate Manual 3.7.1ˇCihaˇr Jun 28, 2019 User docs 1 Documentation 3 2 Installation 5 3 Bugs 7 4 License 9 Python Module Index 307 HTTP Routing Table 309 Index 311 i ii Weblate Documentation, Release 3.7.1 Weblate com/project/docs.git master \ 'docs/locale/*/LC_MESSAGES/dir2/**.po' See also: The Odorik python module documentation is built using Sphinx, Read the Docs and translated using Weblate. Integrating with might occur. 4.12.1 Installation The Weblate Client is shipped separately and includes the Python module. You need to install wlc:, wlc to use these. pip3 install wlc 4.12.2 Synopsis wlc [parameter]0 码力 | 323 页 | 3.10 MB | 1 年前3
Weblate 3.7 Documentation2019 User docs 1 Features 3 2 Documentation 5 3 Installation 7 4 Bugs 9 5 License 11 Python Module Index 309 HTTP Routing Table 311 Index 313 i ii Weblate Documentation, Release 3.7 Weblate com/project/docs.git master \ 'docs/locale/*/LC_MESSAGES/dir2/**.po' See also: The Odorik python module documentation is built using Sphinx, Read the Docs and translated using Weblate. Integrating with might occur. 5.12.1 Installation The Weblate Client is shipped separately and includes the Python module. You need to install wlc:, wlc to use these. pip3 install wlc 5.12.2 Synopsis wlc [parameter]0 码力 | 325 页 | 3.11 MB | 1 年前3
The Weblate Manual 3.62019 User docs 1 Features 3 2 Documentation 5 3 Installation 7 4 Bugs 9 5 License 11 Python Module Index 301 HTTP Routing Table 303 i ii Weblate Documentation, Release 3.6 Weblate is a copylefted com/project/docs.git master \ 'docs/locale/*/LC_MESSAGES/dir2/**.po' See also: The Odorik python module documentation is built using Sphinx, Read the Docs and translated using Weblate. Integrating with might occur. 5.12.1 Installation The Weblate Client is shipped separately and includes the Python module. You need to install wlc:, wlc to use these. pip3 install wlc 100 Chapter 5. License Weblate Documentation0 码力 | 317 页 | 2.63 MB | 1 年前3
KiCad PCB Editor 4.0language. Also see the doxygen documentation on Python Scripting Reference. You can see python module help by typing pydoc pcbnew on your terminal. Using scripting you can create: Plugins: this type BOARD section below. 15.2. Basic API Reference All the pcbnew API is provided from the "pcbnew" module in Python. GetBoard() method will return the current pcb open at editor, useful for commands written = LoadBoard(filename) for module in pcb.GetModules(): print "* Module: %s"%module.GetReference() module.Value().SetVisible(False) # set Value as Hidden module.Reference().SetVisible(True)0 码力 | 268 页 | 2.81 MB | 1 年前3
The Weblate Manual 3.11.3series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323 Python Module Index 326 HTTP Routing Table 327 Index 329 ii CHAPTER 1 User docs 1.1 Weblate basics 1.1.1 com/project/docs.git master \ 'docs/locale/*/LC_MESSAGES/dir2/**.po' See also: The Odorik python module documentation is built using Sphinx, Read the Docs and translated using Weblate. Integrating with might occur. 1.13.1 Installation The Weblate Client is shipped separately and includes the Python module. You need to install wlc:, wlc to use these. pip3 install wlc 1.13.2 Synopsis wlc [parameter]0 码力 | 340 页 | 3.53 MB | 1 年前3
The Weblate Manual 3.10series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311 Python Module Index 315 HTTP Routing Table 316 Index 318 ii CHAPTER 1 User docs 1.1 Weblate basics 1.1.1 com/project/docs.git master \ 'docs/locale/*/LC_MESSAGES/dir2/**.po' See also: The Odorik python module documentation is built using Sphinx, Read the Docs and translated using Weblate. Integrating with Release 3.10 1.13.1 Installation The Weblate Client is shipped separately and includes the Python module. You need to install wlc:, wlc to use these. pip3 install wlc 1.13.2 Synopsis wlc [parameter]0 码力 | 329 页 | 3.09 MB | 1 年前3
The Weblate Manual 3.10.1series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312 Python Module Index 315 HTTP Routing Table 316 Index 318 ii CHAPTER 1 User docs 1.1 Weblate basics 1.1.1 com/project/docs.git master \ 'docs/locale/*/LC_MESSAGES/dir2/**.po' See also: The Odorik python module documentation is built using Sphinx, Read the Docs and translated using Weblate. Integrating with might occur. 1.13.1 Installation The Weblate Client is shipped separately and includes the Python module. You need to install wlc:, wlc to use these. pip3 install wlc 1.13.2 Synopsis wlc [parameter]0 码力 | 329 页 | 3.05 MB | 1 年前3
共 407 条
- 1
- 2
- 3
- 4
- 5
- 6
- 41













