Gulshan Negi
Profilo di
Nome | Gulshan Negi |
---|---|
Indirizzo email | negigulshan903@gmail.com |
Avatar | ![]() |
Messaggi | 18 |
-
- 2023-10-13 16:37:21
- How to find best UX design bootcamps
- Forum >> Principianti
- Well, I am a software developer, recently I have made a personal educational website in Python. For my website I am thinking to design UI/UX work myself therefore looking for best UI/UX design bootcamps over the internet and I found lots of results there but it became overwhelming to choose the best one for me. According to this post review and rating is not the parameter to find the best option. My concern is that what are the parameter to check which bootcamps is best to learn UI/UX design.
What do you think about it?
Thanks
-
- 2023-09-29 18:29:24
- Python list comprehension error
- Forum >> Principianti
- Well, your coding is looking good, you need to check for below things to troubleshoot the issues.
1. Check your python environment.
2. Code execution or code isolation.
3. Check used IDE
4. Check python version
Thanks
-
- 2023-09-21 14:06:20
- Re: Pycharm bot scritto da me non funziona più
- Forum >> Programmazione Python >> IDE ed Editor
- There are some logical isssues with your code, you can try below code to fix this error.
from selenium import webdriver
import undetected_chromedriver.v2 as uc
import time
from random_username.generate import generate_username
# Initialize the Chrome WebDriver with undetected_chromedriver
driver = uc.Chrome()
with drivers:
driver.get('https://yarevival.flarum.cloud/')
logo = '''
Author: @POPEYE EL POPE
Version: 1.0
######################################## DISCLAIMER ########## ################################
| Trolletto tool is a tool that allows you to use to bot some no sense accounts to the |
| DUCE's site. Please use this tool responsibly. |
| I am NOT responsible for any damages caused or any crimes committed by using this tool. |
###################################################### ############################################
'''
print(logo)
x = 0
while x < 1:
time.sleep(4)
driver.find_element_by_class_name('item-signUp').click()
time.sleep(1)
userName = driver.find_element_by_name('username')
name = generate_username(1)
userName.send_keys(str(name0)) # Use name0 to get the string
mailField = driver.find_element_by_name('email')
mailField.click()
mailField.send_keys(f"{name0}@ADMINBRUTTO.IT")
passWord = driver.find_element_by_name('password')
passWord.click()
passWord.send_keys('arandomshittypasword')
register = driver.find_element_by_xpath('//*[@id="modal"]/div/div/div/form/div2/div2/div5/button')
register.click()
time.sleep(3)
prifileOut = driver.find_element_by_xpath('//*[@id="header-secondary"]/ul/li3/div/button/span2')
prifileOut.click()
time.sleep(1)
eXXit = driver.find_element_by_xpath('//*[@id="header-secondary"]/ul/li3/div/ul/li5')
eXXit.click()
# FOR EDUCATIONAL ILLUSTRATIVE PURPOSES ONLY AND BLA BLA BLA!
Thanks
-
- 2023-09-13 18:28:59
- Re: AttributeError: partially initialized module 'pygame' has no attribute 'init' (most likely due to a circular import)
- Forum >> Programmazione Python >> Videogames
- Well, to fix these errors you can follow some steps such as clearing python chache or updating pygame and if it still does not work then check for typo error.
Thanks
-
- 2023-08-05 17:18:34
- Re: Problema Raspberry PI con NavigationToolbar2Tk
- Forum >> Programmazione Python >> GUI
- Well, you can solve this problem by updating Matplotlib, if still not work then I will recommebnd you to use different IDE or terminals.
Thanks
-
- 2023-07-26 19:01:29
- Re: comando SQL su tabell Access con PYODBC non funziona
- Forum >> Programmazione Python >> Database
- Well, you can try this code and you can get what you are looking for.
import pyodbc conn_str = (r'DRIVER={Microsoft Access Driver (*.mdb, *.accdb)};' r'DBQ=C:\Users\User\Desktop\AAA.accdb;') conn = pyodbc.connect(conn_str) cursor = conn.cursor() cursor.execute("UPDATE X SET A = 'test' WHERE A = 'b'") conn.commit() # Commit the changes cursor.close() conn.close()
Thanks
-
- 2023-07-12 14:00:53
- Re: La clausola "WITH" in MySQL
- Forum >> Principianti
- Hello this is Gulshan Negi
Well, In contrast to Oracle and other database systems, MySQL does not support the "WITH" clause for creating CTEs. However, you can achieve similar functionality by using subqueries or temporary tables. Subqueries can be used directly in the SELECT statement, while temporary tables can be created to store the result of a subquery and then selected from.
Thanks
-
- 2023-07-03 19:13:18
- Re: Qualcuno mi potrebbe aiutare?
- Forum >> Programmazione Python >> Scripting
- Hello this is Gulshan Negi
Well, you need to replace your code with below updated code.
while True:
user = float(input("Enter which figure you want to calculate: 1 for Square, 2 for rectangle, 3 for triangle, and 4 for circle: "))
if user == 1:
side_square = float(input("Enter the side of the square: "))
area = side_square * side_square
print("Area of the square:", area)
break
elif user == 2:
long_side = float(input("Enter the base of the rectangle: "))
short_side = float(input("Enter the height of the rectangle: "))
area = long_side * short_side
print("Area of the rectangle:", area)
break
elif user == 3:
height_triangle = float(input("Enter the base of the triangle: "))
base_triangle = float(input("Enter the height of the triangle: "))
area = height_triangle * base_triangle / 2
print("Area of the triangle:", area)
break
elif user == 4:
pi = 3.14
circle_radius = float(input("Enter circle radius: "))
area = circle_radius ** 2 * pi
print("Area of the circle:", area)
break
else:
print("Try again. Your input is incorrect.")
continue
Thanks
-
- 2023-06-26 12:03:38
- Re: What kind of Python application project structure is ideal?
- Forum >> Programmazione Python >> Web e Reti
- Hello this is Gulshan Negi
Well, creating a complex desktop application in Python, organizing the project's folder hierarchy is crucial for maintaining simplicity, IDE friendliness, source control branching/merging, and ease of creating install packages. Consider the following key points for each aspect:
Source CodeApplication Scripts: Separate scripts launch the application or perform specific tasks in a distinct directory.
IDE Project Clutter
Tests
Non-Python Data
Non-Python Source for Binary Extension Modules
Adapting the suggested folder hierarchy to your project's needs and following relevant conventions will contribute to a well-organized and maintainable Python desktop application.
Thanks
-
- 2023-05-04 10:32:40
- Re: Python Hangman Game Program Error
- Forum >> Programmazione Python >> Videogames
- Thanks a lot for your kind response, I will try it.
Thanks again.