Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,400
» Latest member: zcharlesoogleto9533
» Forum threads: 38,826
» Forum posts: 176,030

Full Statistics

Online Users
There are currently 34 online users.
» 0 Member(s) | 25 Guest(s)
Bing, Google, Twitter, Applebot, Mojeek

Latest Threads
Womens From Your City - A...
Forum: General Coding Help
Last Post: Larry1888
1 hour ago
» Replies: 0
» Views: 22
What Happens At The End O...
Forum: General Coding Help
Last Post: asauellittle8716
2 hours ago
» Replies: 0
» Views: 23
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
2 hours ago
» Replies: 1
» Views: 43
Погрузитесь в ясность аза...
Forum: General Coding Help
Last Post: luisfrancesz3208
2 hours ago
» Replies: 0
» Views: 12
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Yesterday, 09:12 AM
» Replies: 1
» Views: 4,589
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 08:37 AM
» Replies: 4
» Views: 178
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 07:27 AM
» Replies: 7
» Views: 3,596
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 143
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 290
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,108

 
  Retrieving last 20 file paths from directory
Posted by: dyerlee91 - Sep-23-2021, 04:46 PM - Forum: Data Science - Replies (3)

Hello all,

I'm having a hard time getting this script across the finish line. I want to display only the last 20 file paths in the given directory..... More

Print this item

  Maptplotlib Animation
Posted by: peterjv26 - Sep-23-2021, 03:47 PM - Forum: General Coding Help - Replies (4)

Hi, I was trying to understand myplotlib animation. Watched few tutorial videos and prepared the below code which is pretty much a copy/paste from one..... More

Print this item

  df vs. array
Posted by: Mark17 - Sep-23-2021, 01:59 PM - Forum: General Coding Help - Replies (4)

I'm trying to code a time-series project where I have inventory that I need to update every day based on the latest conditions.

I'm a newbie so i..... More

Print this item

  Inheritance vs Instantiation for Python classes
Posted by: mr_byte31 - Sep-23-2021, 12:31 PM - Forum: General Coding Help - Replies (7)

I know the meaning of Instantiation and Inheritance.
I can inherit a class and use it methods and attributes.
I also can instantiate a class and sti..... More

Print this item

  imaginary number i
Posted by: mr_byte31 - Sep-23-2021, 12:08 PM - Forum: General Coding Help - Replies (8)

I was trying the following commands :

>>> -1 ** 0.5
-1.0
>>> (-1) ** 0.5
(6.123233995736766e-17+1j)
I was expecting "1j" , "..... More

Print this item

  web socket server handle onnection closed abnormally [internal])
Posted by: korenron - Sep-23-2021, 09:26 AM - Forum: General Coding Help - No Replies

Hello,
using web socket server to send data to user
now , when I shut down the client usinc CTRL+C I get this error on the server:
[python]code = ..... More

Print this item

  Help Sending Socket Data
Posted by: snippyro - Sep-23-2021, 01:52 AM - Forum: General Coding Help - No Replies

Hello, I'm trying to create a chat room with socket.

The messages from the other user only show up when the other user types in a message.

[pyth..... More

Print this item

  Help with basic kivy framework
Posted by: melle94 - Sep-23-2021, 01:50 AM - Forum: General Coding Help - No Replies

I'm new at this so please be patient with me. I'm studying a kivy intro tutorial and I'm trying to build a basic app. I keep getting an error message ..... More

Print this item

  how to parse data
Posted by: fakka - Sep-22-2021, 10:14 PM - Forum: General Coding Help - Replies (2)

Raw data



[{'accept_servers': True, 'addr': '10.64.1.41', 'architecture': 'x86_64', 'bigredis_storage_path': '/var/opt/redislabs/flash', 'bigsto..... More

Print this item

  How to acquire an imported file creation time
Posted by: thunderspeed - Sep-22-2021, 07:52 PM - Forum: General Coding Help - Replies (4)

Hello everyone,

I have a number of pickle files and I wonder how can I get the creation date and time in python for every imported file.

Thanks ..... More

Print this item

  How add button to certain TAB using TAB-index
Posted by: MacTommu - Sep-22-2021, 06:36 PM - Forum: GUI - Replies (3)

This is just a dummy-code, do not try it because it will probably not work. :)

Is´t possible to add 5 buttons to "tab1", next five to "tab2" and so..... More

Print this item

  Problems with JSONDecodeError
Posted by: arsouzaesilva - Sep-22-2021, 06:33 PM - Forum: General Coding Help - No Replies

Hello everyone, all good?

The attached code, files downloaded in csv through a NasaPower api, to run a first line of use:

NasaPower ("20150101",..... More


Attached Files

.py   Modulos - Original - Copy.py (Size: 113.39 KB / Downloads: 451)
Print this item

  PySimpleGUI Bugging out
Posted by: jamesaarr - Sep-22-2021, 03:02 PM - Forum: GUI - Replies (9)

Hello,

Please see complete code below. The issue is, when you load the program, you can go to the "Open Requests" tab and it works, however if you ..... More

Print this item

  Add http to a list on a text file
Posted by: Blue Dog - Sep-22-2021, 02:49 PM - Forum: General Coding Help - Replies (5)

I scraped a list of links of topo maps of mi.
The list is only half the link.
The first part of the link is "http://www.dnr.state.mi.us" is not on t..... More

Print this item

  I need help parsing through data and creating a database using beautiful soup
Posted by: username369 - Sep-22-2021, 01:44 PM - Forum: General Coding Help - Replies (1)

I am a new programmer and I am working on a project to scrape each product of a website and aggregate all the information into a database. This is the..... More

Print this item

  i need help with a small code
Posted by: Jacobthefirst - Sep-22-2021, 01:33 PM - Forum: General Coding Help - Replies (1)

[python]import random
l = 0
p = 3
o = 2
k = 1
x = input("enter a number 1, or 2: \t")

print("\n\n you chose " + x + " !")

if(x = k)
type..... More

Print this item

  How to pass variables from one class to another
Posted by: hobbyist - Sep-22-2021, 11:36 AM - Forum: General Coding Help - Replies (18)

How to pass values from one class to another when the class you want to get value from is after. What I mean: Suppose I have two classes:

[python]
cl..... More

Print this item

  Found buttonstate in tabs
Posted by: MacTommu - Sep-22-2021, 11:10 AM - Forum: GUI - Replies (4)

Is a total beginner when it comes to Python and Tkinter. I have programmed a lot of C # and VB over the years and thought of learning a litle Python f..... More

Print this item

  get data from 2 async functions
Posted by: korenron - Sep-22-2021, 08:39 AM - Forum: General Coding Help - No Replies

hello,
I'm running 2 simple async function (getTime and get random rumber)
the functions are working without any problems

I want to be able to r..... More

Print this item

  Equipment Portal
Posted by: jamesaarr - Sep-22-2021, 07:52 AM - Forum: Code Review - Replies (5)

Hello,

Please see my finished code below, I'm looking for suggestions of features to add and how to make it better :)

[python]
import PySimpleG..... More

Print this item

  Need some coding guidance for a task
Posted by: peny - Sep-22-2021, 07:18 AM - Forum: General Coding Help - Replies (5)

I am not that good in scripting (I have worked before in python) but I would like to give a try, since I need to create a script to automatize my proc..... More

Print this item

  Uninstall unused COM ports windows 10
Posted by: adbrooker - Sep-22-2021, 02:13 AM - Forum: General Coding Help - Replies (1)

I'm very new to python and I haven't gotten very far with my code but below is what I have so far

[python]import serial.tools.list_ports as port_li..... More

Print this item

  Simple Password Checker
Posted by: Dexty - Sep-21-2021, 09:29 PM - Forum: General Coding Help - Replies (8)

I've been trying to write a script that simply checks the strength of a password but the results aren't satisfactory. I know there are other ways to d..... More

Print this item

  How to do line continuation in Jupyter Notebook?
Posted by: Mark17 - Sep-21-2021, 07:04 PM - Forum: General Coding Help - Replies (4)

Hi all,

This:

[Python]
#print('Date is {}, DTE is {}, EXP is {}, STRIKE is {}, PRICE is {}, VOL is {}, \
OI is {}, and DELTA is {}'.format(DAT..... More

Print this item

  Coding for Python and Raspberry pi
Posted by: beast - Sep-21-2021, 03:37 PM - Forum: General Coding Help - Replies (3)

Dear Everyone
I want to know if there is a code for tracking GPS, i already have the GPS but

I want to work on Raspberry pi, I need a code for i..... More

Print this item

  numpy adding columns
Posted by: rwahdan - Sep-21-2021, 03:33 PM - Forum: Data Science - Replies (4)

Hi,

I am trying to add columns to a numpy array but i am getting an error

[python]
import numpy as np
numbers = np.array([
[2,4],
[8..... More

Print this item

Thumbs Up mpl_toolkits
Posted by: rf_kartal - Sep-21-2021, 12:10 PM - Forum: General Coding Help - No Replies

Hi,My Ubuntu version is 20.04 LTS and python version is 3.9
When I import as below and install the package in PyCharm, I get a "package install faile..... More

Print this item

  Pindom API
Posted by: mike_jones - Sep-21-2021, 08:14 AM - Forum: General Coding Help - Replies (1)

Does Anybody know what to include in a script if I want to extract data from pingdom to a google sheet with a token login please?

Print this item

  change csv file into adjency list
Posted by: ainisyarifaah - Sep-21-2021, 02:49 AM - Forum: General Coding Help - No Replies

Hello everyone. I have a csv file like this.
[Image: view?usp=sharing]

and I w..... More

Print this item

  Change a list to integer so I can use IF statement
Posted by: buckssg - Sep-21-2021, 12:38 AM - Forum: General Coding Help - Replies (3)

Greetings fellow pythoners, I got a huge favor to ask. I have tried everyway imaginable to turn psutil.cpu_percent() results into an integer so I can ..... More

Print this item

  How to invert scatter plot axis
Posted by: Mark17 - Sep-20-2021, 06:13 PM - Forum: General Coding Help - Replies (3)

Hi all,

Here's some code:

[Python]
import pandas as pd
import matplotlib.pyplot as plt
import time
import numpy as np

start_time = time.t..... More

Print this item

  is this Unicode printable?
Posted by: Skaperen - Sep-20-2021, 05:32 PM - Forum: General Coding Help - Replies (2)

given a Unicode character (a str of len() == 1 or maybe an int that can be used with chr()) how can the code determine if it is printable? how small ..... More

Print this item

  Reading CSV From another directory
Posted by: jamesaarr - Sep-20-2021, 04:18 PM - Forum: General Coding Help - Replies (1)

Hello,

I want to read a CSV using the CSV module from a file in another directory. Would you have any idea how I do that?

Thanks,
Jamie

Print this item

  ImportError: cannot import name 'get_config'
Posted by: russray2008 - Sep-20-2021, 02:18 PM - Forum: General Coding Help - No Replies

I am working through some backend testing.

My problem is I cannot identify the right combination of libraries that work. I am using a machine lear..... More

Print this item

  BeautifulSoup Showing none while extracting image url
Posted by: josephandrew - Sep-20-2021, 11:40 AM - Forum: Web Scraping & Web Development - No Replies

Hello Everyone!
I am trying to extract images url from gallery images on woocommerce website, but its showing none when I tried through csv file. Als..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Womens From Your City - A... 1 hour ago Larry1888 Larry1888 General Codin...
  What Happens At The End O... 2 hours ago asauellittle8716 asauellittle8716 General Codin...
  Opencv findContours Q 2 hours ago jogl Pedroski55 General Codin...
  Погрузитесь в ясность аза... 2 hours ago luisfrancesz3208 luisfrancesz3208 General Codin...
  Struggles I Faced While E... Yesterday, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Yesterday, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Yesterday, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
Most views
  The best Prog... 580410
  Tutorial Requ... 519533
  Web Scraping ... 442785
  Newbie with P... 386984
  New Users Int... 386532
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
zcharlesoogleto9533 Today
asauellittle8716 Today
luisfrancesz3208 Today
MaxTranslate Yesterday
pizofreude Yesterday

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020