14,946 Topics

Member Avatar for
Member Avatar for Reverend Jim

## Introduction I have a pile of home movie videos created over more than seventy years. As with my many photos (all in digital form) they require some effort to find particular ones of interest. Typically, I name my videos (and photos) with tags. A file might look like 2013-10-29 …

Member Avatar for Reverend Jim
3
6K
Member Avatar for rproffitt

From https://www.reddit.com/r/ProgrammerHumor/comments/wupbvb/python_runtime/ ![image_2022-08-22_115014356.png](https://static.daniweb.com/attachments/1/23876285d9d923cc038ee98e099d4a8f.png) As time passed it looked to me that Python evolved past a C framework.

Member Avatar for Dani
3
407
Member Avatar for zahoual
Member Avatar for Yulen

.tar vulnerability https://github.com/dalmat501/https-github.com-dotnet-runtime/pull/1/commits/2c9ef4796667b3a2443c11ea24a96d40199b3606 https://github.com/advisories/GHSA-gw9q-c7gh-j9vm

Member Avatar for rproffitt
-1
74
Member Avatar for Fian_1

AttributeError Traceback (most recent call last) <ipython-input-9-4152b890358f> in <module> 20 t = [] 21 ---> 22 for tweet in tweepy.Cursor(api.search,q=search_key,count=1000,lang="id",since="2022-11-10",until="2022-11-20").items(): 23 print(tweet.created_at,tweet.id,tweet.user.name,tweet.text) 24 c.append(tweet.created_at)

Member Avatar for Reverend Jim
0
150
Member Avatar for Fian_1

AttributeError Traceback (most recent call last) <ipython-input-1-2b6855960796> in <module> 15 csvFile = open(search_key+".csv","a+",newline="",encoding="utf-8") ---> 16 csvWriter = csv.Writer(csvFile) 17 c = [] 18 i = [] AttributeError: module 'csv' has no attribute 'Writer' Help🙏🙏

Member Avatar for Reverend Jim
1
147
Member Avatar for Al_628

I have the following dataframe: d_test = { 'name' : ['South Beach', 'Dog', 'Bird', 'Ant', 'Big Dog', 'Beach', 'Dear', 'Cat', 'Fish', 'Dry Fish'], 'cluster_number' : [1, 2, 3, 3, 2, 1, 4, 2, 2, 2] } df_test = pd.DataFrame(d_test) I want to identify similar names in `name` column if those …

0
56
Member Avatar for ashishhhroe

I am really thankful to become a member of this community. I am a developer, learning new programming languages to push my professional growth. I have 2 years of experience as a Java developer. Now I am learning new technologies like Python and Ruby on Rails. I will help community …

Member Avatar for pritaeas
0
17
Member Avatar for Nazmus

will you kindly tell me how to make Instagram bots, Instagram bot followers? What is the step-by-step approach of it with programming? I want to make it by myself.

Member Avatar for jwenting
0
127
Member Avatar for KEERTHANA_8
Member Avatar for Gerica

Hello! I have a maze 4x6 [[False True False False True False] [False True True True True False] [False True False True False False] [False False False False False False]] where true is the entrance and exit. I want to assign to the right true the entrance, and to the …

Member Avatar for JamesCherrill
0
16
Member Avatar for mohamed_191
Member Avatar for Vandiun

How can I make a single dmg file out of many Python files in different folders? I know that's doable for a single file, but how can I do it for several? I can make a dmg for a 1.py file but not for numerous files in several directories.

Member Avatar for rproffitt
0
74
Member Avatar for vegaseat

The Tkinter module comes with the normal Python installation. It allows you to create Python GUI programs for Windows, Linux or Unix on the Mac. In this snippet we put a GIF image (.gif) onto a form's canvas with just a few lines of code. Most of the lines are …

Member Avatar for CodeWorked
1
22K
Member Avatar for Yaw_905

Hello, My name is Frank from Ghana in the west africa, Please I just started learning python today. Can i get a dedicated mentor i can ask question in case i run to errors. Thanks a lot i will be waiting please.

Member Avatar for CodeWorked
0
79
Member Avatar for xyzwd

**Write a python program to take 10 values from user. The values are given below: myValues = 3,6,7,9,3,6,8,3,5,10, 19,0,1,0,15** **1. Print the sum of those numbers which are at odd positions and the division of the even index numbers. 2. Remove the duplicate numbers and place some random number between …

Member Avatar for CodeWorked
0
64
Member Avatar for usmanmalik57

## Introduction ## In this tutorial, you will see how to convert the text in CSV file columns to other languages using the [DeepL API](https://www.deepl.com/translator) in the Python programing language. DeepL is one of the most popular and accurate text translation platforms. DeepL, as the name suggests, incorporates advanced deep …

0
546
Member Avatar for usmanmalik57

## Introduction ## I was working on a problem where I had to scrape tweets related to the T20 Cricket World Cup 2022, which is currently taking place in Australia. I wanted tweets containing location names (cities) and the keyword “T20”. In the response, I want the user names of …

0
124
Member Avatar for Sofia Ann
Member Avatar for rproffitt
0
48
Member Avatar for nickfuria

As an example: Merchandise Exporting Company: Input("Enter Company Name:") Input ("The Merchandise is Valued at a total of:") Input ("Transportation Expenses have been a Total of:") Input ("In the Customs we pay a Tax for a total of:") Print (80000-6560*8/100) Thanks.

0
13
Member Avatar for fschild22

**Numerologists claim to be able to determine a person's character traits based on the "numeric value" of a name. The value of a name is determined by summing up the values of the letters of the name. For example, the name *Zelle* would have the value 26 + 5 + …

Member Avatar for Reverend Jim
1
126
Member Avatar for Silly_2

Hello there, I am trying to calculate the shot, the value, and the score in my Archery Target Program. But I have no such luck. Would anyone be able to help me?

Member Avatar for Reverend Jim
0
69
Member Avatar for likithsai

How can I sample data from a database strata by date. Table a, partitioned by date. I need to do a sampling of the table with more latest record and less older record and move it into a panda dataframe.

Member Avatar for rproffitt
0
35
Member Avatar for xw1yana
Member Avatar for sankar2000

Hello everyone. I am building a websocket client app that receives all the data and inserts it into a MongoDB database. The program runs, but after a while, some exceptions are rising. import websocket import _thread import time import json import asyncio import os import pwd import socket import traceback …

Member Avatar for rproffitt
0
78
Member Avatar for Laptop*

I have a dataset with coordinates from all letterboxes in a certain area. I want to have all the letterboxes in a maximum of 500m away for everyone. So if there is a place without a letterbox nearby, I want to place there a letterbox (or more than one if …

Member Avatar for rproffitt
0
31
Member Avatar for olong tea

This questions contains probability and I dont know how to work with it in Java import numpy import random def cup_game(): cashprice = [0.5, 1.0 , 2.0 , 5.0] n_turn = numpy.random.randint(5,11) n_mult = numpy.random.randint(3,6) cups = list(range(0,15)) x = numpy.random.choice(cashprice, 15, p=[0.3, 0.4, 0.2, 0.1]) x = list(x) turn …

Member Avatar for JamesCherrill
0
90
Member Avatar for usmanmalik57

## Introduction ## I was recently working on a project that required me to extract location information from the [OpenStreetMap](https://www.openstreetmap.org/#map=15/51.5226/-0.1567), an open license map database of the world. The OpenStreetMap database allows you to extract location data along with the location meta information in the form of tags. My task …

2
327
Member Avatar for olong tea

Hi, I am new to Java but familiar with python, I need to convert my code from python to Java can anyone help me? Much appreciated! import random suits = ['C', 'S', 'H', 'D'] val = list(range(1,14)) class Card: def __init__(self, suits, val): self.suit = suits self.value = val def …

Member Avatar for JamesCherrill
0
192
Member Avatar for Java5

**Introduction** You know that being effective is the key to success in any business domain. However, you may be wondering how to improve employee performance. In order to do this, it’s important to have tools at hand that will help you measure and track employee performance in real-time and act …

Member Avatar for Duncan_5
1
157

The End.