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,941
» Latest member: Littlefish
» Forum threads: 38,723
» Forum posts: 175,517

Full Statistics

Online Users
There are currently 51 online users.
» 0 Member(s) | 47 Guest(s)
Bing, AOL, AOL, Google

Latest Threads
A coding beginner needs h...
Forum: General Coding Help
Last Post: paul18fr
1 hour ago
» Replies: 1
» Views: 113
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
5 hours ago
» Replies: 8
» Views: 279
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,473
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 875
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,700
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,222
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,747
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,547
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,651
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,837

 
  tkinter frame camera opencv
Posted by: Nick_tkinter - Mar-21-2021, 12:00 AM - Forum: GUI - Replies (9)

Hello.I have a main window using tkinter.I call a function that has:

root.after(1 , camera_status , ....) and other things
So,in came..... More

Print this item

  Client server Multithreading
Posted by: Anan - Mar-20-2021, 10:08 PM - Forum: Networking - Replies (6)

Hello,

I have been working on creating a simple 3-client 1-server model to check and update the user-supplied text file. The server is doing this by ..... More

Print this item

  Writing a simple shell
Posted by: syno7878 - Mar-20-2021, 07:01 PM - Forum: General Coding Help - No Replies

Hi All

I'm new to Python and trying to write a shell I can execute on a remote machine which connects back to my host machine. My host machine is r..... More

Print this item

  Running latest Python version on the Terminal (MAC)
Posted by: Damian - Mar-20-2021, 06:41 PM - Forum: General Coding Help - Replies (4)

Hi all,

on my Terminal on Mac I've got Python 2.7.16.

(I had an issue: if I do 5 / 2 on Python 2.7.16 it returns 2 while Python on Repl returns 2.5)..... More

Print this item

  Django : OperationalError no such column: Utilisateurs_videos.user_id
Posted by: Adem - Mar-20-2021, 06:11 PM - Forum: Web Scraping & Web Development - No Replies

Hi, I'm struggling with a problem for a week now. I can't make a relation between the user and the uploaded video. When I get the user = models.Foreig..... More

Print this item

  Problem with print formatting using definitions
Posted by: Tberr86 - Mar-20-2021, 05:27 PM - Forum: Homework - Replies (2)

Here is my code:
[python]def encrypt(string, s):

cipher = ''
shift = s
for char in string:
if char == ' ':
cipher = cipher +..... More

Print this item

  GUIS
Posted by: Gibbse16 - Mar-20-2021, 05:10 PM - Forum: GUI - Replies (1)

Ive created this code for a dice game... it is a two player game with an authentication before it, its for a GCSE project.
I want all of the outputs ..... More

Print this item

Lightbulb Insert a new column for Key Value
Posted by: brunolelli - Mar-20-2021, 03:27 PM - Forum: General Coding Help - No Replies

hello guys,

I'm using the following code to save my list in a TXT file.
[python]import numpy as np
a = [s.strip() for s in contents.splitlines()..... More

Print this item

  Decoding a serial stream
Posted by: AKGentile1963 - Mar-20-2021, 03:04 PM - Forum: General Coding Help - Replies (7)

Hi,
I am trying to read a UART serial stream, and the data comes in as hex (I think). I’m not actually sure.

Below is a short snippet of what I am..... More

Print this item

  Advice about Python
Posted by: pythonman13 - Mar-20-2021, 01:26 PM - Forum: General Coding Help - Replies (4)

Hi everybody;

I'm new at Python and this Forum. I'm a great user of Excel but now time to be more quick. In Excel I analize
stock prices and get ..... More

Print this item

  countryinfo package error
Posted by: MarcusAurelius - Mar-20-2021, 12:19 PM - Forum: General Coding Help - Replies (4)

Hi, I get the following error while I'm using python 3.9
Package countryinfo succesfully installed with pip.
Why the module object isn't callable ? ..... More

Print this item

  Looking for a way to loop until user enters from a list?
Posted by: PythonW19 - Mar-20-2021, 12:11 PM - Forum: General Coding Help - Replies (7)

Hey guys,

I was wondering if someone could help me out....I'm looking to write a simple code where the user is asked to enter a colour, if they ent..... More

Print this item

  Select data between DW
Posted by: felmback - Mar-20-2021, 11:06 AM - Forum: General Coding Help - Replies (2)

Dear, I am trying to read a dw table (Teradata) and write to dw (Oracle), I made the connections, I am in doubt of how to do this process.

Print this item

  Help to Plot timeline for intreruption of one line production
Posted by: danut_horincas - Mar-20-2021, 08:27 AM - Forum: Data Science - Replies (2)

[output]
ShiftDate Shift StartDate Duration DetailCode
18-03-2021 0:00 1 18-03-2021 6:00 13.37 0.009284722
18-03-2021 0:00 1 18-03-2021 6:48 1.07 0..... More

Print this item

  Are there any techniques for improving logloss?
Posted by: AlekseyPython - Mar-20-2021, 04:37 AM - Forum: Data Science - No Replies

I use logloss as a quality criterion, but it has a number of disadvantages:
1. Has infinite errors with confident misclassification.
2. Has a slight..... More

Print this item

  Database with gui
Posted by: mark9 - Mar-19-2021, 08:26 PM - Forum: GUI - Replies (8)

Hello all, I am learning python language. I am trying this exercise I found on web in a course, and I would to improve it. This program shows a window..... More

Print this item

  Dataframe problem
Posted by: stylingpat - Mar-19-2021, 08:10 PM - Forum: General Coding Help - Replies (3)

Hello guys, so I am running into an issue I cant sort out.

I have 2 threads running.

Thread 1: is pulling stock info into a dataframe every 1 ..... More

Print this item

  Sockets interferring with USB ?
Posted by: epif18 - Mar-19-2021, 07:45 PM - Forum: Networking - No Replies

I've written a program to create a server socket to interface with an embedded client socket in a program (stellarium) running on the same PC. Works ..... More

Print this item

  while sentence
Posted by: kimyyya - Mar-19-2021, 07:34 PM - Forum: General Coding Help - Replies (3)

hi! I'm a beginner and I found here to help or solving my problems. could you please tell me what's wrong with WHILE code?


[python]import random..... More

Print this item

  Testing using selenium and mock
Posted by: nikita - Mar-19-2021, 06:09 PM - Forum: Web Scraping & Web Development - No Replies

Hello!
I have a problem when testing using mock

I need to go to the page and do some action. But at the same time, I want to mock the foo() func..... More

Print this item

  Problem with cx_freeze app only on one pc
Posted by: floatingshed - Mar-19-2021, 05:19 PM - Forum: General Coding Help - No Replies

I have made a python app and used cx_freeze to distrubute it to my colleagues as a windows exe.
It is currently working on 16 machines using windows ..... More

Print this item

Lightbulb 'str' object has no attribute 'to_csv'
Posted by: brunolelli - Mar-19-2021, 05:18 PM - Forum: General Coding Help - Replies (3)

Hello guys,

I'm trying to save some data that I collected from a website textform, on a csv file.
And for that I'm using the following code, but I..... More

Print this item

Lightbulb Paste data from a list to a webform
Posted by: brunolelli - Mar-19-2021, 01:21 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello guys,

I'm using the following code in order to collect some information from a website.
[python]import zapimoveis_scraper as zap
import pan..... More

Print this item

  Is there a "standard" IDE?
Posted by: CynthiaMoore - Mar-19-2021, 06:35 AM - Forum: News and Discussions - Replies (4)

I went to download and install Python, when I saw a link about selecting an IDE.

https://wiki.python.org/moin/IntegratedD...vironments

..... More

Print this item

  examples using os.walk()
Posted by: Skaperen - Mar-19-2021, 12:28 AM - Forum: News and Discussions - Replies (12)

does anyone have or know of (url) example code that uses os.walk() and produces a list of all file system objects in the order you'd get by goi..... More

Print this item

  Logitech PTZ help
Posted by: MikeRettig - Mar-18-2021, 09:57 PM - Forum: General Coding Help - Replies (2)

I have an old Logitech webcam with microphone and pan/tilt capability.
The camera and mic works but I don't know how to make it move in python.
It c..... More

Print this item

  managing SOCK.STREAM digit values
Posted by: Pillopollo - Mar-18-2021, 07:08 PM - Forum: Networking - No Replies

Hello Everybody.
Beginner and first post here.

i need some help because i can't manage the socket(SOCK.STREAM) object.

the script i'm using is ..... More

Print this item

  Tic tac toe win Condition
Posted by: Jacobthechosen - Mar-18-2021, 05:46 PM - Forum: Homework - Replies (3)

Hey I'd like to keep a majority of my code the same but my group is really having trouble making a win condition for my code can anybody help?

[pyt..... More

Print this item

  Solving equation on a given domain
Posted by: Scientifix - Mar-18-2021, 04:16 PM - Forum: Data Science - Replies (1)

Dear all,

I am trying to solve the following equation on [0,10] :

-0.523*sinh( 0.0597^2 * 0.247^2 *X) + 0.9*cosh( 0.0597^2 * 0.247^2 *X) = 0.1
..... More

Print this item

  Collisions in Arrays
Posted by: Prithak - Mar-18-2021, 03:36 PM - Forum: Game Development - Replies (2)

Forgive my incredibly good code buttttt......... The collision works for only one object? Why is that? Any solitions? Please help!

[python]
import..... More

Print this item

  Problem restricting user input in my rock paper scissors game
Posted by: ashergreen - Mar-18-2021, 11:28 AM - Forum: General Coding Help - Replies (6)

Okay, I am a new Python Programmer, I am a beginner, I started doing this a few months ago. I have been working through various Python challenges I f..... More

Print this item

  Python and MySQL
Posted by: Pedroski55 - Mar-18-2021, 09:47 AM - Forum: General Coding Help - Replies (5)

I have not yet tried to use Python to interact with MySQL.

I run a little homework webpage for my classes. They do the homework, PHP marks it and s..... More

Print this item

  how to suppress not to display the package contents from pydoc!
Posted by: maiya - Mar-18-2021, 07:46 AM - Forum: General Coding Help - Replies (3)

Hi All,

Below is my sample code, where I do not want to display the PACKAGE CONTENTS section (means I wanted to suppress this, as not to display it..... More

Print this item

Exclamation "System cannot find path specified"(Geany)
Posted by: kiwi99 - Mar-18-2021, 03:14 AM - Forum: General Coding Help - Replies (2)

I was happily using Geany to write Python 3.2 programs. I upgraded to Python 3.9 and Geany and now Geany doesn't run Python! Any help appreciated!
Th..... More

Print this item

  Order a list with successive permutations based on another list
Posted by: yvrob - Mar-17-2021, 11:13 PM - Forum: General Coding Help - Replies (3)

Hi everybody,

I am running into a problem that seems rather simple but here is what I need to do:
I have an initial list, say: L = [ 1, 2, 3, 4, 5, 6..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  A coding beginner needs h... 1 hour ago Littlefish paul18fr General Codin...
  Using a For Loop to subtr... 5 hours ago Anunderling deanhystad General Codin...
  403 Error 09-20, 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...
  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
Most views
  The best Prog... 576551
  Tutorial Requ... 498516
  Web Scraping ... 440426
  Newbie with P... 384328
  New Users Int... 367515
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 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Littlefish Today
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday

User Panel Messages

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