create a virtual environment using the Python venv module:
python -m venv .env
You can jump in and out of your virtual environment with the activate and deactivate scripts:
# Activate the virtual environment
source .env/bin/activate
# Deactivate the virtual environment
source .env/bin/deactivate
In windows:
.env\Scripts\activate
You can make sure that the environment is activated by running the which python command: if it points to the virtual environment, then you have successfully activated it!
دور زدن تحریم های ظالمانه علیه مردم ایران عزیز با کمک مرورگر Tor :
ابتدا مرورگر همراه با هسته Tor رو از لینک زیر دانلود کنید (Tor Browser) (برای دانلود بهتر است از وب پروکسی های رایگان که با جستجو در اینترنت میتوان یافت استفاده و دانلود کنید):
The project files uvprojx and uvoptx have UNIX-style line endings (LF). In Windows systems, usually CRLF is used. Git automatically detects this and changes the line endings to CRLF on the server. But then the status of these two project files is always “changed”. You can get around this problem using the command
In this approach, we will use the ADB (Android Debug Bridge)tool available in Platform-Tools inside the Android SDK.
If you’re working on Windows, check that the environment variables path is set to the Platform-Tools (xxx/Users/Library/Android/sdk/platform-tools/). As you’ve configured the paths, just execute your commands type adb in the terminal or at the command prompt, which gives you the list of options.
Remember, we need to be connected over the same Wi-Fi network in the system and mobile. Let’s get started.
Step 1. Connect the device to the system via USB for initial setup
To check whether it’s properly connected, open the built-in terminal and run the command adb devices. This gives you the list of devices currently connected.
Step 2. Set the target device to listen for a TCP/IP connection on port 5555
adb tcpip 5555
Step 3. Find the IP address of the Android device
For example, on a Nexus device, you can find the IP address at Settings > About the tablet (or About phone) > Status > IP address.
Step 4. Connect to the device by its IP address
adb connect IP_Address
Step 5. Remove the USB cable and test your connection by typing the initial command
adb devices
That’s it, we’re done. We can run and debug wirelessly now.
If the adb connection is ever lost:
Make sure that your host is still connected to the same Wi-Fi network your Android device is.
Reconnect by executing the adb connect step again.