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,398
» Latest member: zasamueluniorz7349
» Forum threads: 38,826
» Forum posts: 176,035

Full Statistics

Online Users
There are currently 39 online users.
» 2 Member(s) | 31 Guest(s)
Google, Bing, Apple, AOL, Mojeek, Larz60+, zasamueluniorz7349

Latest Threads
Combien De Tomes La Femme...
Forum: General Coding Help
Last Post: zasamueluniorz7349
Less than 1 minute ago
» Replies: 0
» Views: 1
Sorry Help
Forum: General Coding Help
Last Post: Pedroski55
6 hours ago
» Replies: 1
» Views: 71
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Yesterday, 08:02 PM
» Replies: 6
» Views: 7,171
Check if running from she...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 07:53 PM
» Replies: 1
» Views: 76
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 07:58 AM
» Replies: 28
» Views: 15,626
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 181
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,613
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 259
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,631
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 232

 
  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

  Problem with csv
Posted by: giorgosmarga - Mar-17-2021, 09:52 PM - Forum: General Coding Help - Replies (4)

[python]def printGames():
with open("boardgames.csv", 'r') as csvfile:
reader = csv.DictReader(csvfile)
for row in reader:
..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Combien De Tomes La Femme... Less than 1 minute ago zasamueluniorz7349 zasamueluniorz7349 General Codin...
  Sorry Help 6 hours ago BioNanoTech Pedroski55 General Codin...
  IP address for users Yesterday, 20:02 Robots DeaD_EyE Networking
  Check if running from she... Yesterday, 19:53 rjdegraff42 DeaD_EyE General Codin...
  Merge video with subtitle... Yesterday, 07:58 Pavel_47 OtiliaGen General Codin...
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 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...
Most views
  The best Prog... 580465
  Tutorial Requ... 519988
  Web Scraping ... 442797
  Newbie with P... 387013
  New Users Int... 386773
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
zasamueluniorz7349 Today
BioNanoTech Today
CarlApome Yesterday
cruisesfares 12-30
azam 12-30

User Panel Messages

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