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,938
» Latest member: jamessnorman2
» Forum threads: 38,721
» Forum posts: 175,507

Full Statistics

Online Users
There are currently 51 online users.
» 1 Member(s) | 45 Guest(s)
Bing, Google, AOL, AOL, Facebook, jamessnorman2

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 04:28 PM
» Replies: 11
» Views: 4,210
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 669
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,571
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,001
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,512
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,348
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,547
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,501
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,652
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,215

 
  Cloning a directory and using a .CSV file as a reference to search and replace
Posted by: bg25lam - May-31-2021, 04:37 AM - Forum: General Coding Help - Replies (2)

Hello I am trying to clone a directory with text files (XML, L5X, txt, etc). I would like to build something that would reference a .CSV with what tex..... More

Print this item

  embedding data in a script
Posted by: Skaperen - May-31-2021, 04:04 AM - Forum: News and Discussions - Replies (1)

i have gotten AWS instances to run a Python script to do the instance initialization instead of bash. but this often needs to carry along chunks of d..... More

Print this item

  Conditional evaluation
Posted by: stsxbel - May-31-2021, 01:27 AM - Forum: General Coding Help - Replies (7)

Good day. Please tell me how to correctly compute with the condition? there is a code:
[python]
a1 = float(result1[0] * 0.1)
b1 = float(row[2])
c1 = b..... More

Print this item

  print out is producing same graph
Posted by: mbrown009 - May-30-2021, 11:29 PM - Forum: Data Science - Replies (2)

I have the following code. It is grahing the aggregate case rate but I also want to do only the past 60 days. It produces 2 graphs. They are the same...... More

Print this item

  Marks calculator
Posted by: michalmonday - May-30-2021, 04:40 PM - Forum: Code sharing - No Replies

Given a list of previously achieved marks it produces a graph showing what future marks you need to get in order to get specific total mark.
https://..... More

Print this item

  Why the save.txt part is not working
Posted by: Melcu54 - May-30-2021, 04:27 PM - Forum: General Coding Help - Replies (8)

hello. I have this py code. It translates some text into english (default lang).

But I don't know why the translation is not saved in save.txt fil..... More

Print this item

  [FIXED] User-defined module: ModuleNotFoundError error in VSCode but not in PyCharm
Posted by: epoxy - May-30-2021, 02:56 PM - Forum: GUI - Replies (5)

Dear all,

My apologies in advance for such a simple question, but I've spent hours browsing on the Net w/o obtaining a solution. I am newbie to Pyt..... More

Print this item

  Python script for excel sheet
Posted by: Nabil - May-30-2021, 01:30 PM - Forum: General Coding Help - Replies (4)

Hi all,
i'd like to make a script to read esch value in the first column and copy it to the empty cell of the corresponding line as follow:
A1 ..... More

Print this item

Question UnboundLocalError
Posted by: arpitmittal1221 - May-30-2021, 10:55 AM - Forum: Game Development - Replies (6)

Please tell me how to fix the UnboundLocalError
I am currently trying to make a car racing game which is still not completed.

I have linked my cod..... More


Attached Files

.py   Graphics.py (Size: 5.07 KB / Downloads: 467)
Print this item

  db migration(db version control) for python
Posted by: lubaz - May-30-2021, 08:41 AM - Forum: General Coding Help - Replies (2)

Hi,
I am looking for db migration(db version control) api which can be invoked from python code for SQL Server db (like Flyway in Java and dbUpdate ..... More

Print this item

  how to keep VSCode up to date in a Anaconda-environment?
Posted by: apollo - May-30-2021, 08:02 AM - Forum: Bar - No Replies

dear Python-enthusiasts, dear pythonists, dear community,


today - no coding question. Today no question regarding python itself.

the questio..... More

Print this item

  Matching two files based on a spited elements
Posted by: tester_V - May-29-2021, 10:00 PM - Forum: General Coding Help - Replies (5)

Greetings!
I'm trying to find lines from one file in another file.
I have to do that by matching timestamp.
Lines look like this:
File 1
[python]..... More

Print this item

  Missing ticks on X axis
Posted by: drunkenneo - May-29-2021, 04:16 PM - Forum: General Coding Help - No Replies

Hi All,

I have a label column in table which has integers in it. I want to plot negative, positive and neutral on x axis in graph.

Problem is if..... More

Print this item

Question (solved) open multiple libre office files in libre office
Posted by: lucky67 - May-29-2021, 12:00 PM - Forum: General Coding Help - Replies (5)

I'm a new Linux user, used to use autohotkey in windows to do this. Have installed autokey in linux and tried several ways of getting this to work usi..... More

Print this item

  threading help
Posted by: iamaghost - May-29-2021, 12:00 PM - Forum: General Coding Help - No Replies

hey community,

i am having some trouble understanding the threading module and would be glad if someone could help me out.

My Code does the foll..... More

Print this item

  Help me in extracting the datetime from netcdf file
Posted by: aimanumer444 - May-29-2021, 11:34 AM - Forum: Code sharing - No Replies

Hi everyone i am having netcd file and have the time in numeric one wanna convert it to Georgian one i am using these codes but its giving me error.Ki..... More

Print this item

  should not be getting this exception...confused
Posted by: MrP - May-29-2021, 10:21 AM - Forum: GUI - Replies (4)

Hello,

I am trying to learn python class programming and I have run into an exception when trying to run a small program I found on the internet. I..... More

Print this item

  Error message
Posted by: pybits - May-29-2021, 07:14 AM - Forum: General Coding Help - Replies (1)

I have giving someone some code and they are getting this error message when running the code. The error message does not come up when I run the code ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Blackjack (21) with Python
Posted by: BlazingWarlord - May-29-2021, 05:07 AM - Forum: Code sharing - No Replies

https://thepygrammer.blogspot.com/2020/0...kjack.html

Code to build Blackjack or 21 with Python. Code includes deck-creation, random card drawin..... More

Print this item

Exclamation Anyone know what happened to my button?
Posted by: IgnacioMora23 - May-28-2021, 11:06 PM - Forum: GUI - Replies (35)

Hello good afternoon I am making an interface that can show the data of the xbee connected via usb.

I followed several videos that I have seen on i..... More


Attached Files

Thumbnail(s)
   
Print this item

  post_save does not work
Posted by: moha - May-28-2021, 03:45 PM - Forum: Web Scraping & Web Development - Replies (1)

I want to generate a unique key so I created this function but post_save does not work correctly error EmailConfirm is not create
for more info do not..... More

Print this item

  Anagram Solver with Python
Posted by: BlazingWarlord - May-28-2021, 02:23 PM - Forum: Code sharing - Replies (2)

https://thepygrammer.blogspot.com/2021/0...olver.html

This Anagram Solver uses the itertools module to find all possible unscrambled..... More

Print this item

  How to show terminal output in GUI
Posted by: Rubberduck - May-28-2021, 12:46 PM - Forum: GUI - Replies (2)

Hi There,
I am looking for a easily way to show my terminal output directly in the created GUI. My code looks as follows:
[python]
import sys

fr..... More

Print this item

  Python BeautifulSoup IndexError: list index out of range
Posted by: rhat398 - May-28-2021, 11:30 AM - Forum: Web Scraping & Web Development - Replies (1)

[python]import requests
from bs4 import BeautifulSoup
import csv
import time

class LightupScraper:

results = []

def fetch(self, ur..... More

Print this item

  python error: bad character range \|-t at position 12
Posted by: faustineaiden - May-28-2021, 09:38 AM - Forum: General Coding Help - No Replies

i am new to emotion recogntion. When i run the model based on https://github.com/declare-lab/MELD. It is errors.

the command is python baseline.py ..... More

Print this item

Shocked Question about sending escape characters by using sendall function (python2.7).
Posted by: lzfneu - May-28-2021, 07:45 AM - Forum: Networking - Replies (1)

Hi all,

I intend to send function strings to my device, and use python 2.7 socket programming and sendall() function, at the end of the command '\r..... More


Attached Files

.py   test1.py (Size: 439 bytes / Downloads: 409)
Print this item

  How to web scrape this?
Posted by: Pedroski55 - May-27-2021, 10:24 PM - Forum: General Coding Help - Replies (7)

This is not really a Python question, sorry, but I don't know where to ask.

I was interested in recent posts here about web-scraping.

I often lo..... More

Print this item

  Newb Eric/Qt installation problem
Posted by: paulofelora - May-27-2021, 09:22 PM - Forum: GUI - Replies (5)

Hi folks, just getting started with Python, so I loaded Eric6. I'm running Python 3.9.5 on Windows 10. I'm trying to follow Jaime Seuma's LogParser ..... More

Print this item

  Using re to find only uppercase letters
Posted by: ranbarr - May-27-2021, 05:01 PM - Forum: Homework - Replies (6)

Hi,
Im trying to solve a problem using re module, and one of the requests is to find a string with the letters ATGC only in uppercase.
this is my co..... More

Print this item

  Importing Postgres Heroku from AWS S3
Posted by: Drone4four - May-27-2021, 11:55 AM - Forum: Web Scraping & Web Development - No Replies

I’m learning how to handle Postgres instances by backing them up and restoring them on Heroku for a Django project (a small rudimentary CMS). The amou..... More

Print this item

  Could help to develop Titkok auto uploader by python
Posted by: sinoshon - May-27-2021, 10:58 AM - Forum: Jobs - Replies (1)

Who can help to develop Titkok multi-account management and batch automatic upload, just like the following video function:

https://www.youtube.com..... More

Print this item

  Installing Python3 on MacOS using brew
Posted by: zazas321 - May-27-2021, 10:45 AM - Forum: General Coding Help - Replies (5)

Hello, I am trying to install python3
I have followed this guide: https://programwithus.com/learn/python/i...ython3-mac

After using the follo..... More

Print this item

  Simple Games with Python - A Compilation
Posted by: BlazingWarlord - May-27-2021, 10:33 AM - Forum: Code sharing - No Replies

Here is the link: A Compilation of Simple Games in Python

Here is a co..... More

Print this item

  Implementing number of guesses left in guessing game
Posted by: Alienator - May-27-2021, 10:23 AM - Forum: GUI - Replies (1)

I am building a guessing game where the user has to guess what the capital of a country is by looking at the image of the country's flag. For this I h..... More

Print this item

  Is being a Python Developer a good career choice?
Posted by: ankitdixit - May-27-2021, 10:22 AM - Forum: News and Discussions - Replies (1)

Hello All, I want to know what is the future of python programming and Is being a python developer a good career choice? my younger brother wants to b..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error Yesterday, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576455
  Tutorial Requ... 498279
  Web Scraping ... 440352
  Newbie with P... 384233
  New Users Int... 367301
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
jamessnorman2 Today
atylerfraces2254 Yesterday
AdrianCocian Yesterday
humanoidAI Yesterday
Baran12332 09-19

User Panel Messages

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