Spiceworks » Python
1,244 FOLLOWERS
Spiceworks offers a global community where technology decision-makers connect and discuss Python programming language, ask and answer questions, talk about the latest tools, and share their ideas and knowledge.
Spiceworks » Python
2M ago
Hey Python enthusiasts!
I wanted to share a project I've been working on - a VMware Honeypot .
You can find the code on GitHub here. Feel free to explore, contribute, and share your thoughts!
Looking forward to your feedback and discussions!
https://github.com/TheITApprentice/VMware-Honeypot---Cybersecurity-Defense-Tool Opens a new window
Check out the a more blog post if you wish to learn how I set up this honeypot using Python and Flask.
https://theitapprentice.com/it-security/vmware-honeypot/ Opens a new window ..read more
Spiceworks » Python
2M ago
This post is to find a way to check if data matches with specific regular expression
import pandas as pd
# Create first data frame
df1 = pd.DataFrame({
'key1': ['A', 'B', 'C', 'D', 'TST5 - 123'], 'key2': ['W', 'X', 'Y', 'Z' ,
'T2ST - 353'], 'value1': [1, 2, 3, 4, 'TST - 303'],
'value2': [5, 6, 7, 8, 'TST - 103']})
df2 = pd.DataFrame({
'key3': ['A', 'B', 'C', 'E', 'TST - 363'], 'key4': ['W', 'X', 'Z', 'Y' , 'TST - 373'],
'value4': [9, 10, 11, 'A', 'TST - 123 - TST - 456 - TST -999'],
'value5': [13, 14, 15, 16, 'TST - 109']})
df1=df1.join(df2)
df1
data validation needs to be done on the 5 colum ..read more
Spiceworks » Python
3M ago
Dear Team,
I'm not a programmer, so I don't know a single bit of code. Could you please tell me if I can learn Python development and what the best course of action is to take to get started? Given my background in history, I'd appreciate any advice on how to start learning online. I look forward to hearing from you as soon as possible!
Thanks and regards,
Pavan ..read more
Spiceworks » Python
4M ago
May be a bad question, but I will ask anyway.
I am working on a python program that grabs data from a database to but into a tree view I am making I have a dropdown menu and 3 radio buttons when ever you click on the buttons a function starts that grabs the data and all of that seems to work fine. I am the thing that I am struggling with is making a tree view with the data (with tkinter) the only thing I can think of is passing it into another function but if I do that every time a button is pressed a tree view is made.
Is there a way I can check to see if the table is already crea ..read more
Spiceworks » Python
4M ago
I am trying to pass a value into a combo box. The list is from a query in a database. When I try to pass the values in it is giving me an error. I did also try making a test list and pass the variable through that as well but it give the same error so I do not think it is the data that is getting passed into the combobox.
Another thing that I did try was using ttk.Combobox and the values work fine telling me even more that it is not the values.
Here is the code:
#combo for program choice ..read more
Spiceworks » Python
5M ago
As the name of this states, I am having an issue with my cursor size being about 3 to 4 times normal size in applications. in the WM environment itself it is working as normal.
The xrandr command to resolve the issue is as follows.
xrandr --output HDMI-A-1 --mode 3440x1440 --rate 75 --output DisplayPort-5 --below HDMI-A-1 --mode 3440x1440 --rate 144
This sets my second display on top of my primary display but in doing so my cursor size in applications (firefox, vscode, terminal emulators etc...) becomes about 3 times as large as it should be. It's rather annoying though it does not seem to im ..read more
Spiceworks » Python
6M ago
Hi,
Totally struggling to get these 2 packages for python3 matplotlib, bwidget on a CentOS 7.9
I tried this command but no luck
pip3 install matplotlib
Any help is appreciated ..read more
Spiceworks » Python
7M ago
Hello People,
I just need an advice for you.
I started learning Python, and i need you to tell me which of these courses is better. i bought both of them on Udemy.
https://www.udemy.com/share/103AtM3@ic1I01XO8rMVd7iu4uPRvcKZduZr7M7xsWBIuxCoRjSizHe4X8HoTEMbpXrWpitw... Opens a new window
https://www.udemy.com/share/103J8C3@VbZeOqusn7KFTV8u0nlz1jWKrIZK7OPK07g3I5VShLMMMzBT_SNwb84z_m3kyP7E... Opens a new window
I would like to choose the better one.
Thanks in advance ..read more
Spiceworks » Python
8M ago
Hello Dear all,
I just started the 100Dayscoding with python, so totally beginner, and i have a question.
Expected result:
Text
Day 1 - String Manipulation
Text
String Concatenation is done with the "+" sign.
Text
e.g. print("Hello " + "world")
Text
New lines can be created with a backslash and n.
My result
Text
Day 1 - String Manipulation
Text
String Concatenation is done with the '+' sign
Text
e.g print (Hello World)
Text
New lines can be created with a backslash and n.
My code
Text
print("Day 1 - String Manipulation") print("String Concatenation is done wi ..read more
Spiceworks » Python
8M ago
hi all,
so i have nearly got opencue to work with maya but the last hurdle is when i try to get opencue to render a maya job it fails as it cant open mayabatch, i get the below error
Mayabatch.exe - application error
The application was unable to start correctly 0xc0000142
Click ok to close the application
i have tried to run mayabatch via cmd and no it runs with no problems so i think i need to add environment variables?
what do you think
thanks,
rob ..read more