port tag

21 questions


1 answers
484 views
0
When I create an executable file with pyinstaller, can I keep updating the imported self-made library?

There are some flexible parts when executing the file, so I made the code as below# private_lib.pyfilepath = r'C:\Users\Desktop\test'# main filefrom private_libimport filepath #import personal library...


1 answers
400 views
0
I put export and import to use variables in other js file, but there was an error on the web page

Hello, I'm Corinne who is making a simple lottery program.The principle of operation is that you get six random digits of the winning number in lotto.html, and if you press the lottery purchase button...

2 years ago

1 answers
91 views
0
Unable to import webdriver with selenium

If you run from selenium import webdriver after installing selenium, you will see the following error:Traceback (most recent call last): File <stdin>, line 1, in <module> File/opt/anaconda...


1 answers
90 views
0
Does the contents of the original file run as they are when importing in Python?

In Python 3 environment, when I tried to import a function of another file in the same folder, the import file was processed.(print statement displayed first in the import file.)I just want to take ou...

2 years ago

1 answers
73 views
0
Is it possible to set the screen size of the device as small, normal, and large by code?

Is it possible to set the screen size of the device as small, normal, large, and xlarge with the code? Not density, just screen size.


1 answers
145 views
0
Can I import the module again?

Without disrupting or restarting the Python serverThe module needs to be updated.If mymodule.py changes unimport mymoduleimport mymoduleOr If mymodule.py changes reimport mymoduleIs there a way to uni...


1 answers
106 views
0
Can the port be changed?

Using wireshark, we looked at the packets between the server and the client.The port was initially in the 8XXX series, then disconnected, reconnected, and captured the packet, and it was caught in the...

2 years ago

1 answers
139 views
0
Python module questions

For example, from math import factorialdef factorial(n): return factorial(n)There is a Python file called as above.from file1 import factorial a = input(n : )print (factorial(a))Suppose you have a fil...

2 years ago

1 answers
157 views
0
How to import two versions of one library from Java Gradle

Bringing dependency to GradleI need a library called A and B.However, both A and B need different versions of the library called C, resulting in library conflicts.I need to get C for A, and another ve...

2 years ago

1 answers
118 views
0
Create a text file in the desired path?

import glob import shutilimport osimport redirs = ['DataGathering']for dir in dirs: file_names = glob.glob(os.path.join(dir,'*')) file_names = [os.path.basename(name) for name in file_names] if not os...

2 years ago
- 1 - »

© 2024 OneMinuteCode. All rights reserved.