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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,600
» Latest member: masonsbore
» Forum threads: 37,372
» Forum posts: 169,835

Full Statistics

Online Users
There are currently 390 online users.
» 0 Member(s) | 383 Guest(s)
Yandex, Baidu, Google, Bing, Facebook, Applebot

Latest Threads
qpython package error
Forum: General Coding Help
Last Post: masonsbore
8 minutes ago
» Replies: 5
» Views: 1,008
Equivalent Python code fr...
Forum: General Coding Help
Last Post: masonsbore
11 minutes ago
» Replies: 2
» Views: 680
Converting py to exe
Forum: General Coding Help
Last Post: WiPi
1 hour ago
» Replies: 4
» Views: 372
yield from
Forum: General Coding Help
Last Post: Larz60+
1 hour ago
» Replies: 1
» Views: 50
questions about dict.get
Forum: General Coding Help
Last Post: Larz60+
2 hours ago
» Replies: 1
» Views: 70
The *Best Python Cheat Sh...
Forum: Tutorial Requests and Submissions
Last Post: Annaat20
2 hours ago
» Replies: 1
» Views: 182
convert to bin problem
Forum: General Coding Help
Last Post: kucingkembar
4 hours ago
» Replies: 2
» Views: 100
Waiting screen until user...
Forum: Game Development
Last Post: attractalderman
7 hours ago
» Replies: 2
» Views: 914
Help with writing monitor...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 09:55 PM
» Replies: 3
» Views: 179
Cloud computing advice ne...
Forum: Data Science
Last Post: sawtooth500
Yesterday, 09:23 PM
» Replies: 3
» Views: 155

 
  write code that resides in parent directory
Posted by: franklin97355 - Mar-29-2024, 12:03 AM - Forum: General Coding Help - Replies (3)

New to Python and have a question on usage. I am using Linux. I have a Python 3.11 program that reads, parses, and writes an ics file that works if it..... More

Print this item

  encrypt data in json file help
Posted by: jacksfrustration - Mar-28-2024, 05:05 PM - Forum: General Coding Help - Replies (1)

Hello
I am trying to perfect my password manager app and one of the features i want to add is encrypting the json file so that only the user of the p..... More

Print this item

Question Variable not defined even though it is
Posted by: CoderMerv - Mar-28-2024, 07:03 AM - Forum: General Coding Help - Replies (3)

Hi! Just started my coding journey and I am immediately running into an error. I am currently reading the book "Python Crash Course: A Hands-on, Proje..... More

Print this item

  m3u8 using build-in browser downloader?
Posted by: kucingkembar - Mar-27-2024, 10:50 PM - Forum: Web Scraping & Web Development - Replies (3)

My PC is blocked from a video streamer site,
previously I could do this:
using selenium to extract the m3u8 file, Then using FFmpeg to download and ..... More

Print this item

  Numeric Enigma Machine
Posted by: idev - Mar-27-2024, 09:43 PM - Forum: General Coding Help - Replies (9)

I have come across Lockheed Martin's problem from the 2018 CodeQuest, a numeric Enigma machine:

   


I am wondering what the best way ..... More

Print this item

Bug argparse io issue
Posted by: pyDream - Mar-27-2024, 02:41 PM - Forum: General Coding Help - Replies (8)

Hi all, I'm quite new to Python, so please forgive me if this issue can be fixed with the debugger. I don't know how to debug packages installed from ..... More

Print this item

  How to parse and group hierarchical list items from an unindented string in Python?
Posted by: ann23fr - Mar-27-2024, 01:16 PM - Forum: General Coding Help - No Replies

Problem Statement

  1. Given an unindented string as input, perform these steps:

    - Identify the list items at the hi..... More

Print this item

  Django "Unexpected Keyword Argument 'min_value'"
Posted by: AstralWeeks - Mar-27-2024, 04:56 AM - Forum: General Coding Help - No Replies

Hi All,

I'm currently learning the basic methods of DjangoRESTFramework. It's the first time I've learned how to make and use an API. I'm just play..... More

Print this item

  Not getting forum emails
Posted by: sawtooth500 - Mar-27-2024, 02:45 AM - Forum: Board - Replies (2)

So for each new thread I post, I choose 'Subscribe and receive email notification of new replies' - however I never get an email on reply. I checked m..... More

Print this item

  Elegant way to apply each element of an array to a dataframe?
Posted by: sawtooth500 - Mar-27-2024, 02:42 AM - Forum: General Coding Help - Replies (7)

So Dean was previously kind enough to tell me about vector operations on dataframes instead of iterating through each row using loops and has made my ..... More

Print this item

  I don't know what is wrong (Python and SQL connection)
Posted by: shereen - Mar-27-2024, 01:15 AM - Forum: General Coding Help - Replies (3)

every time i get that error : Exception in Tkinter callback
[error]Traceback (most recent call last):
File "C:\Users\Lenovo\AppData\Local\Programs..... More


Attached Files

.py   P1.py (Size: 15.99 KB / Downloads: 16)
Print this item

  tkinter logo
Posted by: menator01 - Mar-26-2024, 09:59 PM - Forum: Bar - Replies (3)

Does tkinter have a logo? I've searched and not found anything. Is it the word tkinter itself?

Print this item

  Stock clustering and portfolio diversification. Suitable features.
Posted by: timurkanaz - Mar-26-2024, 08:42 PM - Forum: Data Science - Replies (1)

Hi. I want to conduct a research. I want to cluster stocks and then make a safe diversified portfolio. I want to work with annual data. From price dat..... More

Print this item

Thumbs Up Sorting Steps
Posted by: MoreMoney - Mar-26-2024, 02:09 PM - Forum: General Coding Help - Replies (19)

I'm trying to make the output on the code
[python]input_str = input("Enter Frogs: ") # User types 5 1 3 4 2 <enter>. Do not type the zero.
frog_list..... More

Print this item

  Error (Errno 2), File upload with the Flask framework and a public IP
Posted by: Username_Python1 - Mar-26-2024, 11:48 AM - Forum: General Coding Help - No Replies

Hello everyone,

I would like to use the Flask framework to make a file upload over the internet. Locally over my home network and the localhost, th..... More

Print this item

  Compare current date on calendar with date format file name
Posted by: Fioravanti - Mar-25-2024, 08:40 PM - Forum: General Coding Help - Replies (1)

Good afternoon.

I'm new to the world of Python, I don't have any knowledge, but I have a challenge.

I have some images in a folder, where the na..... More

Print this item

  Help needed with img scraping script
Posted by: daajax - Mar-25-2024, 08:07 PM - Forum: Web Scraping & Web Development - Replies (1)

I am attempting to put together a lightweight script that will simply scrape a url for 1x1 images or transparent images and store the results and img ..... More

Print this item

  Can't load plugin: sqlalchemy.dialects:postgresql
Posted by: magomes - Mar-25-2024, 07:29 PM - Forum: Homework - Replies (2)

Can't load plugin: sqlalchemy.dialects:postgresql .......
This my code:

[python]import sqlalchemy as s
import psycopg2 as p

eng = s.engine.c..... More

Print this item

  Is CTkDesigner worth the price?
Posted by: Edward_ - Mar-25-2024, 04:41 PM - Forum: GUI - Replies (5)

Is anyone using the CTkDesigner GUI designer app?

Is it worth the $20 minimum price? No trial period.
..... More

Print this item

  Short-term rental housing management
Posted by: jacombo - Mar-25-2024, 11:23 AM - Forum: News and Discussions - No Replies

As you conduct your research to find the best way to manage your short-term rentals, I'd be curious to know what software tools or services you've alr..... More

Print this item

  If a set element has digits in the element
Posted by: tester_V - Mar-25-2024, 04:34 AM - Forum: General Coding Help - Replies (3)

Good evening!
I'm trying to find if an element of a set has a digit/digits as a part of an element.
I'm using ".isdigit" but it does not work...
I ..... More

Print this item

  MemoryError in pywinauto.findwindows.find_windows – Need Help!
Posted by: ktw3857 - Mar-25-2024, 02:23 AM - Forum: General Coding Help - Replies (1)

Hello everyone,

I've developed a Python application and distributed it to users.
Most of them are not experiencing any issues, but on some users' ..... More

Print this item

  How to find contents of file?
Posted by: sawtooth500 - Mar-25-2024, 02:17 AM - Forum: Bar - No Replies

So take a look at:

https://www.youtube.com/watch?v=jcTmFfTx2DU

This is a screen recording of a day trading software platform called DAS Trader o..... More

Print this item

  Dataframe copy warning
Posted by: sawtooth500 - Mar-25-2024, 01:06 AM - Forum: General Coding Help - Replies (4)

So I get a dataframe, which I call 'df' into python by loading it from an excel file -

Next I create a new df, which I call 'tempdf', but using bo..... More

Print this item

  Python sympy problem for symbolic equation definition
Posted by: joellapointe_engineering - Mar-24-2024, 11:09 PM - Forum: Data Science - No Replies

I have a problem forming a symbolic equation with the sympy command "sp.Eq()".I have an Excel sheet with equations formed by concatenation of cells as..... More

Print this item

  How to add multi-line comment section?
Posted by: Winfried - Mar-24-2024, 01:27 PM - Forum: General Coding Help - Replies (1)

Edit (since this forum doesn't support deleting a thread): My mistake. After using the (shift+)TAB keys, the script runs. Guess there were useless TAB..... More

Print this item

  Problem with "from pynput"
Posted by: LFreitas - Mar-24-2024, 01:16 AM - Forum: General Coding Help - Replies (1)

Hi everyone.

I found a website with some basic projects from Cybersecurity. The first one is a keylogger. I'm using the following code:


[pytho..... More

Print this item

  Forcing matplotlib to NOT use scientific notation when graphing
Posted by: sawtooth500 - Mar-23-2024, 10:55 PM - Forum: General Coding Help - Replies (4)

I have a dataset that I'm importing from a CSV into a dataframe in python. I need to make a simple line graph out of it.

Here is my code:

[pyth..... More

Print this item

  I'm getting a NameError: ...not defined.
Posted by: vonArre - Mar-23-2024, 09:33 PM - Forum: General Coding Help - Replies (2)

Hi, I'm getting a "NameError: name 'name' is not defined" error when running my new test code. It's my first day of using Visual Studio Code with Pyth..... More

Print this item

  [Numpy] How to store different data type in one numpy array?
Posted by: water - Mar-23-2024, 08:40 PM - Forum: Data Science - Replies (7)

I want to store different data type in on numpy array,

b = np.array([['2024-03-22', 71.0, 'ceh'], ['2024-03-23', 63.0, 'abc']])
..... More

Print this item

  OSError occurs in Linux.
Posted by: anna17 - Mar-23-2024, 08:25 PM - Forum: General Coding Help - Replies (2)

Hello.
OSError occurs in Linux.

In Linux, OSError occurs.
What bug occurs in Linux in the code below?
Please Help me.

import subprocess
impo..... More

Print this item

  In Console,Python
Posted by: anna17 - Mar-23-2024, 08:22 PM - Forum: General Coding Help - No Replies

Hello.
In Console, Python.
Please check the attached image file.

İmage


import subprocess
import os
import ..... More


Attached Files

Thumbnail(s)
   
Print this item

Photo image error
Posted by: pyc0de - Mar-23-2024, 03:19 PM - Forum: General Coding Help - Replies (2)

hi im new to python and I'm having trouble getting this code to run. Instead I get this error, in tkinter . I'm using visual studio 2022 and I'm tryin..... More

Print this item

  Tkinter & Canvas
Posted by: Peter_Emp1 - Mar-23-2024, 12:12 PM - Forum: General Coding Help - Replies (5)

Hello, everyone!

I'm trying to create several tk.Canvas() for each ttk.Frame() to display different figures and images on my TabWidget (ttk.Notebook)..... More

Print this item

  delivery exe without source code py
Posted by: loky62 - Mar-23-2024, 11:59 AM - Forum: General Coding Help - Replies (2)

Hi everyone, I'm new to Python but I program using visual studio c#.

How do I deliver to my customer an exe of a python/streamlit script with every..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  qpython package error 8 minutes ago Creepy masonsbore General Codin...
  Equivalent Python code fr... 11 minutes ago Mishal0488 masonsbore General Codin...
  Converting py to exe 1 hour ago WiPi WiPi General Codin...
  yield from 1 hour ago akbarza Larz60+ General Codin...
  questions about dict.get 2 hours ago akbarza Larz60+ General Codin...
  The *Best Python Cheat Sh... 2 hours ago kmh Annaat20 Tutorial Requ...
  convert to bin problem 4 hours ago kucingkembar kucingkembar General Codin...
  [PyGame] Waiting screen u... 7 hours ago world90 attractalderman Game Developm...
  Help with writing monitor... Yesterday, 21:55 donottrackmymetadata deanhystad General Codin...
  Cloud computing advice ne... Yesterday, 21:23 sawtooth500 sawtooth500 Data Science
  MemoryError in pywinauto.... Yesterday, 16:28 ktw3857 itegumo General Codin...
Most views
  The best Prog... 399582
  Web Scraping ... 291696
  Tutorial Requ... 284801
  Newbie with P... 244339
  New Users Int... 228760
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11872
buran 8088
snippsat 7080
deanhystad 6196
metulburr 5150
Top referrers
Googlepro 20
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
masonsbore Today
suvechha Today
nebeolisa Today
ganeshbraj Yesterday
Jaime Yesterday

User Panel Messages

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