I am using pyscript and typed in this code
<link rel="stylesheet" href="https://pyscript.net/latest/pyscript.css" />
<script defer src="https://pyscript.net/latest/pyscript.js"></script>
<title>Making transactions so much easier! Fruit Surf</title>...
Hello. I am making a money transferring software like Venmo or PayPal and I was wandering if anyone could help me get the code for the transactions. I am using SQLite and not flask. If anyone can help, please do.
Am running Python 3.8.10 in a 32-bit Windows 7 computer with only 2GB memory and no video card (not even an NVIDIA) - it's a two decade old netbook...
Tried running the following code:
import numpy as np
from scipy import ndimage
# Split the database into a...
I have the following code that writes out multiple files. I want this code to also write out an empty line at the end of each file produced, I've tried adding ('\n\') inside the loop however it adds an empty line to every line which is annoying
i = 0
f = open('innput.txt','r')
First things first, Im german (strings in german aswell) and a bloody beginner when it comes to coding, but its fun and I want to improve.
This code worked perfectly fine until a changed something that made this error appear: AttributeError: 'int' object has no attribute 'cget'
I want to kill / stop a thread at an event, within my websocket class, how can this be done? Will the same thread, that was opened when the connection was made, also be killed?
from threading import Thread
import signal, sys, json
I want to change my cursor style from default to cross while parsing through an image. To do that I came across Tkinter, So, how can I integrate the following code with Tkinter? I can change the cursor style in a Tkinter window. Any other solution is also acceptable for me.
Hello everyone, since I'm new here I beg you pardon if this post does not fully respect the guidelines but I have some problems in conducting an econometric analysis with R, but since it does not work I decided to run it with Python. I'm conducting an analysis on cumulate prices and quantities...
key = Fernet.generate_key()
with open('thekey.key','wb') as thekey:
for root, dirs, files in os.walk("c:/sqlserver/database/clients/"):
for file in files:
if file == 'driverget.py' or 'thekey.key':
Hello, we would like to open a marketplace and implement this with Magento, but you need a category structure tree and if it should better add example properties for products such as: size = S,L,M,XL
This would go beyond the work of creating it yourself.
While we are interested in the category...
Hi all, first post here.
Working on a project for corp, we take in lots of emails and need to process them accordingly, my role is to automate this process however possible..
What I've done so far:
- Grab the email, convert it out of .msg format and into a more friendly format.
- Developed the...
I work on sql server 2017 I run script depend on python language v 3.10 .
I need to export data to excel fileStudentExport.xlsx already exist, and keep header without change after export.
header of excel file StudentExport.xlsx before export data to it as below
I have made a really simple Python program that calculates values in Celcius, Fahrenheit and Kelvin degrees. Sadly, I have two problems with it:
1. There is a check if the value of degrees (string, C or K or F) is correct (if not, then there is an exception being raised). Sadly, the code...
I recently published an app that I built for google play,
I would like to reviews from you about the app and suggestions for improvements.
The app is made for python learning, practice, and competing against online players.
App name: Sigma- code wars
I am working on an app right now that is basically google calendar in your system tray, I'm running into the issue in the build_calendar_list() method. I'll post the code below, but everything works the way I would expect until I choose a calendar from my list of calendars. When I choose a...