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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,437
» Latest member: AlexZolotov
» Forum threads: 38,550
» Forum posts: 174,694

Full Statistics

Online Users
There are currently 484 online users.
» 1 Member(s) | 480 Guest(s)
Google, Bing, Yandex, Gribouillis

Latest Threads
Python script not working...
Forum: Web Scraping & Web Development
Last Post: texwilson47
40 minutes ago
» Replies: 2
» Views: 88
PyVisa Query Command fail...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 1
» Views: 129
How to understand object-...
Forum: General Coding Help
Last Post: deanhystad
1 hour ago
» Replies: 1
» Views: 52
[SOLVED] [Beautiful Soup]...
Forum: General Coding Help
Last Post: Winfried
2 hours ago
» Replies: 2
» Views: 105
[SOLVED] [Beautiful Soup]...
Forum: General Coding Help
Last Post: Winfried
2 hours ago
» Replies: 2
» Views: 220
CSV reader with PyQt6
Forum: Code sharing
Last Post: Axel_Erfurt
7 hours ago
» Replies: 3
» Views: 122
Picamera2 commands betwee...
Forum: General Coding Help
Last Post: deanhystad
8 hours ago
» Replies: 1
» Views: 135
where should DEFAULT_CIPH...
Forum: General Coding Help
Last Post: snippsat
11 hours ago
» Replies: 8
» Views: 376
what name to give to a ne...
Forum: News and Discussions
Last Post: Skaperen
Yesterday, 09:39 PM
» Replies: 4
» Views: 150
function arguments
Forum: General Coding Help
Last Post: Curbie
Yesterday, 05:23 PM
» Replies: 2
» Views: 226

 
  video plays in the background only
Posted by: Gorashy - Jun-17-2024, 06:32 PM - Forum: GUI - Replies (3)

I am trying to play video, the video is playing on the background only and no window is shown. this the function that plays the video in a class.
[p..... More

Print this item

  (solved) Downnload images from a server and rename
Posted by: charled - Jun-17-2024, 02:43 PM - Forum: General Coding Help - Replies (13)

Hi everyone,

This is my first post here. I never used Python before.

I got 12 000 images to download from a server. Each image is named by an ID..... More

Print this item

  python coding to run file
Posted by: NSR115 - Jun-17-2024, 09:58 AM - Forum: General Coding Help - Replies (1)

Please help in the python command.

file location is below which has to be open and run command than save.
‪I:\new\ACR\FINAL AUTO ACER.xlsx

I wa..... More

Print this item

  How to to extract urls across multple webpages at once?
Posted by: ilovewacha - Jun-17-2024, 08:02 AM - Forum: General Coding Help - Replies (2)

I am trying to download videos from a site, which requires extracting 1 "download url" that resides on each "video url".

Example:

"video url": h..... More

Print this item

  checking username
Posted by: newbexx - Jun-17-2024, 05:10 AM - Forum: General Coding Help - Replies (3)

Hi, I'm reading Python Crashcourse (third edition), chapter 10 (about files).
The code is:

[python]
from pathlib import Path
import json

def..... More

Print this item

  interrupt (event)
Posted by: trix - Jun-16-2024, 03:28 PM - Forum: General Coding Help - No Replies

hello,

I have a stepper motor that I steer from left to the right.
1 cm = 100 pulses.
Now I want to send data with the UART to a scanner, every t..... More

Print this item

  positioning the laser
Posted by: flash77 - Jun-16-2024, 01:31 PM - Forum: Game Development - Replies (13)

Hello dear experts,

I have a last difficult problem to solve with my space invaders clone.
I need some help with this. It involves the boss's turr..... More

Print this item

  Printing the code line number
Posted by: arbiel - Jun-15-2024, 02:37 PM - Forum: General Coding Help - Replies (6)

Hi

I am looking for the code to return the line number of the call, so I could code

print(line_number())
Arbiel

Print this item

  Guidance for learning python
Posted by: rohithcoder123 - Jun-15-2024, 02:45 AM - Forum: News and Discussions - Replies (4)

Hey Guys, I am New here and i want to learn python coding.I basically know something about coding.But i dont know where to start learning python.I wis..... More

Print this item

  XML minidom "Pretty Print" Lost Data
Posted by: marksy95 - Jun-14-2024, 08:36 PM - Forum: General Coding Help - Replies (2)

I have code that successfully creates a desired XML file from a provided CSV file. However, I'm trying to format it to be easier to read. I want the l..... More


Attached Files

Thumbnail(s)
       

.csv   Test_Tags.CSV (Size: 1.18 KB / Downloads: 115)
.xml   Alarms_PRETTY.xml (Size: 5.27 KB / Downloads: 113)
.xml   Alarms_RAW.xml (Size: 7.25 KB / Downloads: 122)
Print this item

Sad Why isalnum() didn't output False when I use punctuations, spaces, etc in input?
Posted by: ardavegok - Jun-14-2024, 08:29 PM - Forum: Homework - Replies (2)

[python]def main():
plate = input("Plate: ")
if is_valid(plate):
print("Valid")
else:
print("Invalid")

#Much like ..... More


Attached Files

.py   problemset2.4.py (Size: 1.23 KB / Downloads: 128)
Print this item

  Memory leak due to pandas data frame
Posted by: AshwinY - Jun-14-2024, 04:48 PM - Forum: News and Discussions - No Replies

Hi,
I am facing memory leak issue while referring data frame

[python]import os
import sys
import time
import pandas as pd
sys.path.append("..... More

Print this item

  Create new column in dataframe
Posted by: Scott - Jun-14-2024, 07:04 AM - Forum: Data Science - Replies (10)

Hi everyone,

I have a dataframe I am trying to manipulate to create two new columns and drop 1 based on the sum function the does a conditional gro..... More

Print this item

  import vs inserting code
Posted by: Skaperen - Jun-14-2024, 01:18 AM - Forum: News and Discussions - Replies (10)

is there any circumstance in which inserting code, such as while editing, has a different result than doing an import of the same code when bot..... More

Print this item

  using dir_fd=None in some functions
Posted by: Skaperen - Jun-13-2024, 11:33 PM - Forum: General Coding Help - Replies (2)

in The Python Library Reference i see this:
[output]
You can check whether or not dir_fd is supported on your platform using os.supports_dir_fd.
If..... More

Print this item

  Can't figure out how to scrape grid
Posted by: templeowls - Jun-13-2024, 05:14 PM - Forum: Web Scraping & Web Development - Replies (3)

I have the below code to scrape this site (https://oig.hhs.gov/reports-and-publicat...lications/) and extract to a CSV.

It wor..... More

Print this item

  adding a calculated column
Posted by: charles986 - Jun-13-2024, 03:34 PM - Forum: General Coding Help - Replies (1)

I have noticed that when I have added a column to my data frame made up of 2 existing column divided by each other the NaN values in the data frame go..... More

Print this item

  Improving idle into something more like idlex?
Posted by: ushuy - Jun-13-2024, 01:24 PM - Forum: News and Discussions - Replies (1)

Why IDLE didn't integrate all the idlex features (line annotation, etc.) by default?

What could be the reason(s)?

Print this item

  adding a calculated column
Posted by: charles986 - Jun-13-2024, 11:21 AM - Forum: General Coding Help - Replies (1)

I have noticed that when I have added a column to my data frame made up of 2 existing column divided by each other the NaN values in the data frame go..... More

Print this item

  Circumvent the "access denied" page?
Posted by: Pedroski55 - Jun-13-2024, 10:53 AM - Forum: General Coding Help - Replies (7)

Is there a way to circumvent the access denied page?

I am trying to find importers of agricultural chemicals in various countries for my girlfriend..... More

Print this item

  How to type *_
Posted by: deanhystad - Jun-12-2024, 10:20 PM - Forum: General Coding Help - No Replies

I have two graphics widgets, say a check button and a combo box. When I change the values in these controls, I want to call a function. Even though ..... More

Print this item

  Python database Axidrawer
Posted by: Harterink - Jun-12-2024, 05:14 PM - Forum: General Coding Help - Replies (1)

Dear Python forum,

I am seeking help with a problem I have been struggling with for days. I have created a small website with the help of a teacher..... More

Print this item

  Replace values in Yaml file with value in dictionary
Posted by: PelleH - Jun-12-2024, 02:37 PM - Forum: General Coding Help - Replies (1)

Hi, I have a problem with one script. (Python3 ver 3.6.x)
I have a file "deployment_custom.txt" containing values to set in a Yaml file. One value pe..... More

Print this item

  TypeError: string indices must be integers, not 'str'
Posted by: LEMA - Jun-12-2024, 01:08 PM - Forum: General Coding Help - Replies (2)

Hi,
I'm learning python and tkinter and trying to create a multilingual project.
Everything works fine except the variable <a> which must fetch a l..... More

Print this item

  List with equal repeatable data
Posted by: Ataman - Jun-12-2024, 10:41 AM - Forum: General Coding Help - Replies (6)

Hi pythonists! This is my first post there... I faced with a question when I needed to create a list with a number of empty lists. I found two approac..... More

Print this item

  Game restart problem
Posted by: senka_25 - Jun-12-2024, 09:48 AM - Forum: Game Development - Replies (4)

Hi guys, me and my friends are making a 2d platformer and are in desperate need of help. This is the link to our github repository, the updated code i..... More

Print this item

  Installing mailjet_rest for Python 3 while Python 2 is installed
Posted by: gw1500se - Jun-12-2024, 06:23 AM - Forum: General Coding Help - Replies (1)

I'm trying to convert my python script from version 2 to 3. I need mailjet_rest but I cannot figure out how to install it for version 3. When I run pi..... More

Print this item

  SOLVED: Install mailer module in Python 3.11.2?
Posted by: Calab - Jun-11-2024, 10:08 PM - Forum: General Coding Help - Replies (3)

Is it possible to install the mailer module in Python 3.11.2?

We have a script currently running in Python 3.7 that we want to move to 3.11. One of..... More

Print this item

Question No disconnect method for snowflake.connector ?
Posted by: Calab - Jun-11-2024, 09:42 PM - Forum: General Coding Help - No Replies

I am using the snowflake module to connect to a Snowflake database using snowflake.connect(). The connection seems to work as expected, but after I'm ..... More

Print this item

  Cant contain variable in regex
Posted by: robertkwild - Jun-11-2024, 06:19 PM - Forum: General Coding Help - Replies (3)

hi all,

im going to add to my “np” variable cant contain there username ie “un”

ive tried Regexp(‘form.un.data’, message=‘cant contain your name..... More

Print this item

  using split in my flask wtf form
Posted by: robertkwild - Jun-11-2024, 04:05 PM - Forum: General Coding Help - Replies (1)

hi all,

im trying to put a split command in my code like so

[python]
class PasswordForm(FlaskForm):
un = StringField('Username', [InputReq..... More

Print this item

  Programming neural networks with Python
Posted by: Kwauka - Jun-11-2024, 12:43 PM - Forum: Data Science - Replies (2)

I'm just trying my hand at neural networks, I'm a beginner! And I have a problem with a Python statement. The Statement looks like
targets[int(zeileL..... More

Print this item

  robocopy question
Posted by: DPaul - Jun-11-2024, 07:11 AM - Forum: Bar - Replies (3)

Looking for somebody with hands-on experience in robocopy.
I want to do the simplest of things, copy and paste, but the number of switches is confusi..... More

Print this item

  Help with QR Code
Posted by: Miisato - Jun-11-2024, 02:10 AM - Forum: General Coding Help - Replies (4)

Dive into the dirtiest, rawest action on the web with our collection of free forced sex videos. Ready for brutal fucking that'll leave you gasping? We..... More

Print this item

  "[Errno 2] No such file or directory" (.py file)
Posted by: IbrahimBennani - Jun-10-2024, 07:06 PM - Forum: General Coding Help - Replies (13)

Hi to you all,

I am reaching out due to an issue while trying to run a ".py" file on Windows 11 Home Single Language.

After entering this on the..... More


Attached Files

Thumbnail(s)
   
Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Python script not working... 40 minutes ago texwilson47 texwilson47 Web Scraping ...
  PyVisa Query Command fail... 1 hour ago dazz deanhystad General Codin...
  How to understand object-... 1 hour ago snl_9527 deanhystad General Codin...
  [SOLVED] [Beautiful Soup]... 2 hours ago Winfried Winfried General Codin...
  [SOLVED] [Beautiful Soup]... 2 hours ago Winfried Winfried General Codin...
  CSV reader with PyQt6 7 hours ago suburbanprojects Axel_Erfurt Code sharing
  Picamera2 commands betwee... 8 hours ago GigiG deanhystad General Codin...
  where should DEFAULT_CIPH... 11 hours ago Skaperen snippsat General Codin...
  what name to give to a ne... Yesterday, 21:39 Skaperen Skaperen News and Disc...
  function arguments Yesterday, 17:23 Curbie Curbie General Codin...
  Eight Queens Problem, err... Yesterday, 16:22 snl_9527 Gribouillis General Codin...
Most views
  The best Prog... 557434
  Tutorial Requ... 424434
  Web Scraping ... 422928
  Newbie with P... 350985
  Thread remain... 324890
Most reputation
buran 580
snippsat 506
Larz60+ 452
Gribouillis 362
deanhystad 325
Most replies
  New Users Int... 449
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12036
buran 8165
snippsat 7324
deanhystad 6809
metulburr 5151
Top referrers
Googlepro 22
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
AlexZolotov Today
ekaintan1590 Today
juanadaniel096 Today
dar Today
preethi Today

User Panel Messages

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