Cerca
Heus ací els resultats de la cerca.
Noms de pàgina coincidents:
- 1.1 Classes, Instances, Attributes, Methods — introduction
- 1.2 Working with class and instance data – instance variables
- 2.1 Python core syntax
- 2.2 Inheritance and polymorphism — Inheritance as a pillar of OOP
- 2.3 Extended function argument syntax
- 2.4 Decorators
- 2.5 Different faces of Python methods
- 2.6 Abstract classes
- 2.7 Encapsulation
- 2.8 Composition vs Inheritance - two ways to the same destination
- 2.9 Inheriting properties from built-in classes
- 3.1 Advanced techniques of creating and serving exceptions
- 4.1 Shallow and deep copy operations
- 4.2 Serialization of Python objects using the pickle module
- 4.3 Making Python objects persistent using the shelve module
- 5.1 Metaprogramming
- 1.1 What is PEP?
- 2.1 PEP 20 – The Zen of Python
- 3.1 PEP 8 – Introduction
- 4.1 PEP 257 – Docstring Conventions
- Python Professional Course Series: GUI Programming
- 1.2 Let TkInter speak!
- 1.3 Settling widgets in the window's interior
- 1.4 Coloring your widgets
- 1.5 A simple GUI application
- 1.6 Events and how to handle them
- 1.7 Visiting widgets’ properties
- 1.8 Interacting with widget methods
- 1.9 Looking at variables
- 2.1 A small lexicon of widgets - Part 1
- 2.2 A small lexicon of widgets - Part 2
- 2.3 A small lexicon of widgets - Part 3
- 2.4 Shaping the main window and conversing with the user
- 2.5 Working with the Canvas
- 1.1 Python Professional Course Series: RESTful APIs
- 1.2 How to use sockets in Python
- 1.3 JSON – our new friend
- 1.4 Talking to JSON in Python
- 1.5 What is XML and why do we prefer to use JSON?
- 1.6 Making life easier with the requests module
- 1.7 Four magic letters: CRUD
- 2.1 Python Professional Course Series: Lab & Assessment
- 1.1 SQLite
- 2.1 File processing - XML files
- 3.1 The CSV module in Python
- 4.1 Logging in Python
- 5.1 The configparser module
Resultats de text complet:
- 4.1 PEP 257 – Docstring Conventions @info:cursos:pue:python-pcpp1:m2
- ed with documenting Python code using docstrings. In short, it tries to answer the following two questions: - What should Python docstrings contain? - How should Python docstrings be used? == Wh... string literal that occurs as the first statement in a module, function, class, or method definition. ... _'' special attribute of that object." (PEP 257) In other words, docstrings are Python **documentatio
- 1.1 SQLite @info:cursos:pue:python-pcpp1:m5
- our account data, consisting of email address, login, and password, and when you add new posts you sen... visible to other users. Sent data should be saved in some place that can be easily accessed. This plac... e, which is a set of information stored on a disk in a computer system. Access to the database is poss... le Database, Microsoft SQL Server, IBM DB2 Later in this course, we'll focus mainly on the SQLite sys
- 3.1 PEP 8 – Introduction @info:cursos:pue:python-pcpp1:m2
- ng projects may adopt their own style guidelines (in which case such project-specific guidelines may b... the conventions provided for by PEP 8, especially in the case of any conflicts, or backwards-compatibi... nal conventions are being identified and included in it, and at the same time some old conventions are... d discouraged from being followed. == The Hobgoblin of Little Minds ”A foolish consistency is the hob
- 2.3 A small lexicon of widgets - Part 3 @info:cursos:pue:python-pcpp1:m3
- first one is just a widget, while the second is, in fact, a **set of cooperating widgets**. The ''En... :pasted:20231228-112626.png}} Our sample program in the editor shows you how to use an **observable v... submenu) * if you want to have such a menu within your Tkinter application, you have to: * **cr... ck which displays the About dialog; * line 9: main window creation (nothing special at all) * line
- 1.7 Four magic letters: CRUD @info:cursos:pue:python-pcpp1:m4
- xisting/malformed address We’ve reached the point in which we are ready to gather all new facts and to... store and publish fancy images and funny videos. In fact, a properly trained web server can be a very... , it may be a simple relational database residing in a single file, or on the contrary, a huge, distri... or. Thanks to it, very different programs written in very different technologies can utilize shared da
- 2.1 PEP 20 – The Zen of Python @info:cursos:pue:python-pcpp1:m2
- rote this 19-line poem on the Python mailing list in 1999, and it became entry #20 in the Python Enhancement Proposals in 2004. It’s one of the //Easter eggs// (i.e., hidden, secret messages or features) included in the Python interpreter. Now let’s see the magic.
- 2.1 File processing - XML files @info:cursos:pue:python-pcpp1:m5
- 2.1 File processing - XML files == XML processing in Python Python is commonly used to process various... rammer, you'll have to read or create a data file in the XML format. Soon, doing that will be a piece ... ferent, because it's parsed into a tree structure in which each node is an object. * **xml.sax** – S... nym for “Simple API for XML”. SAX is an interface in Python for event-driven XML document analysis. Un
- 4.1 Logging in Python @info:cursos:pue:python-pcpp1:m5
- = 4.1 Logging in Python == Logging in Python The Python Standard Library provides a useful module called ''logging'' to log events occurring in the application. Logs are most often used to find... something goes wrong, you'll be able to determine in which browsers the problem is occurring. In Pyth
- 2.4 Decorators @info:cursos:pue:python-pcpp1:m1
- thout directly modifying it. Decorators are used in: * the validation of arguments; * the modifi... st functions we could think of. We'll decorate it in a moment. <code python> def simple_hello(): ... he whole code should look like the code presented in the right pane. When you run the code, the resul... her lines? Where is the simplicity or convenience in this approach? Well … we could say … you should
- 3.1 Advanced techniques of creating and serving exceptions @info:cursos:pue:python-pcpp1:m1
- ced techniques of creating and serving exceptions In this module, we'll talk about Python exceptions –... ay vary across different Python versions.)) built-in exceptions, and they can be represented in the form of a tree-shaped hierarchy. The reason for this i... lock to surround the "problematic" piece of code. In effect, when the exception is raised, execution i
- 5.1 Metaprogramming @info:cursos:pue:python-pcpp1:m1
- lasses Metaprogramming is a programming technique in which computer programs have the ability to modif... tion story, but the idea was born and implemented in the early 1960s. For Python, code modifications ... tocol. It may look like syntactic sugar, because in many cases metaprogramming allows programmers to ... he number of lines of code to express a solution, in turn reducing development time. But the truth is
- 3.1 The CSV module in Python @info:cursos:pue:python-pcpp1:m5
- = 3.1 The CSV module in Python == The CSV module in Python The CSV (Comma Separated Values) format is one of the most popular... nd the popular Excel offer data import and export in this format. The CSV file is a plain text file with the .csv extension. A typical file contains comm
- 1.2 How to use sockets in Python @info:cursos:pue:python-pcpp1:m4
- = 1.2 How to use sockets in Python == How to fetch a document from a server using Python We are going ... function and **fetches the root document** (the main HTML document of the WWW site) of the specified s... - **receive the server's response** (it will contain the requested root document of the site) - **cl... 0108-104229.png }} === Importing a socket We are in need - we need a socket. How do we obtain a socke
- 1.3 JSON – our new friend @info:cursos:pue:python-pcpp1:m4
- dote says that computer technology development is in fact based on TLA. What is TLA? It's simple – it's a Three-Letter Acronym. Close your eyes, strain your mind and try to recall five acronyms commonly used in the IT world. We bet four of them will be TLA. ... ur letters long. What a nice change! Let us explain its meaning: * Java... * ...Script * Objec
- 4.2 Serialization of Python objects using the pickle module @info:cursos:pue:python-pcpp1:m1
- ization of Python objects using the pickle module In this section, you will learn how to persist Pytho... different types of objects or nested structures. In Python, object **serialization** is the process o... ucture into a stream of bytes to store the object in a file or database, or to transmit it via a netwo... e information necessary to reconstruct the object in another Python script. This reverse process is c