Tag:pycharm
-
How does pycharm automatically import third-party libraries?
Sometimes when we use Python to program in Python, we need to import a large number of third-party libraries. How can we set it to automatically import third-party libraries? We don’t need to use the command line to import manually. We can use shortcut keys to import quickly. Let’s take a look at the detailed […]
-
How to use pycharm debug? Tutorial for debugging pycharm
How does pycharm debug single step debugging? In the operation of developing the script of pycharm software tool, we need to do the operation of debug step-by-step debugging in the current. Debug is the most commonly used operation to find problems. Let’s take a look at the skills of pycharmdebug step-by-step debugging. JetBrains pycham Pro […]
-
How does pycharm set the background color of dark windows? Setting method of pycharm background color
Pycharm is a python IDE, which can improve the development efficiency of users when using Python language,Its default window color is white, but sometimes we want the window to be darker,This will help us study at night. So how to modify the background color of pycharm window? Let’s take a look at pycharm’s tutorial on […]
-
Install pymysql in pycharm
Enter the pycharm terminal and enter PIP install pymysql to install
-
Pycharm is fast to learn from installation to full armament. There are too many pictures because of excessive detail!
Article catalogue Recommended series of tutorials, recommended must be good! 0. Preface I Pycharm download and installation II Python download and installation III Configuring Python on pycharm IV Configure the image source to let you download swish fast I Pycharm internal configuration II Add mirror source manually III Permanently configure mirror source V Plug in […]
-
Object oriented programming I (concept, class, class attribute, class method)
Note: the _ in the code module of this chapter, Due to display problems in some scenes, double underscores are connected together, which is actually double underscores (display style in compilation environment: _) concept Object oriented programming: define class → instantiate → execute action Eg. put the honey peach into the refrigerator (hint: Honey Peach […]
-
Object oriented programming (class II method, constructor)
Note: the _ in the code module of this chapter, Due to display problems in some scenes, double underscores are connected together, which is actually double underscores (display style in compilation environment: _) Class method Directly belong to class Class methods cannot use instance variables (the parameter identifier is CLS, not self) Class methods cannot […]
-
Ubuntu20. Install tensorflow GPU 2.5.0 and pytorch (GPU) and Anaconda + pycharm on 04
Article catalogue preface 1、 Install Anaconda 2、 Installing the graphics card driver 3、 Install tensorflow for GPU 4、 Install CUDA 5、 Install cudnn 6、 Install pytoch 7、 Install pychar summary preface Tip: Here you can add the general contents to be recorded in this article: This article introduces Ubuntu 20 Tensorflow GPU 2.5.0, pytorch (GPU) […]
-
Remote connection to Linux server with pychar for alchemy
Article catalogue 1、 Foreword 2、 Pycharm remote connection server 1. Configure SSH in your project and run it on the server 2. Set the local change code and upload it to the server after saving 3. Open the terminal of the remote server in pycharm 3、 Some of pycharm use small tips Reference link 1、 […]
-
[Python] process control statement: break
Leading knowledge code #Enter the password from the keyboard for up to three times for item in range(3): PWD = input (‘Please enter password: ‘) if pwd == ‘666’: Print (‘password entered correctly ‘) break else: Print (‘password input error ‘) You can also use the while loop: a = 0 while a < 3: […]
-
[Python] nested loop (take the output of 99 multiplication table as an example)
Leading knowledge code Output a rectangle with three rows and four columns: For I in range (1, 4): # three lines For J in range (1, 5): # four columns print(“*”, end=’\t’) Print() # wrap Output a right triangle: #Output a right triangle For I in range (1, 11): \10 lines For J in range […]
-
Object oriented learning
Article catalogue object-oriented Class encapsulation 1. Definition of class 2. Creation of instance object 3. Packaging 4. Private property Characteristics of class 1. Succession 2. The subclass overrides the parent class 3. Cannot call private property private method 4. Subclass multi inheritance 5. Polymorphism 6. Class attribute and instance attribute 7. Class method and static […]