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,257
» Latest member: Bamboo
» Forum threads: 38,782
» Forum posts: 175,837

Full Statistics

Online Users
There are currently 34 online users.
» 1 Member(s) | 31 Guest(s)
Google, Bing, kshahzad1985

Latest Threads
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
5 minutes ago
» Replies: 3
» Views: 95
[solved] re.split issue
Forum: General Coding Help
Last Post: DeaD_EyE
3 hours ago
» Replies: 9
» Views: 176
New to python and coding
Forum: Homework
Last Post: jefsummers
Yesterday, 07:58 PM
» Replies: 6
» Views: 192
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 367
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 122
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 250
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 401
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 152
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,646
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 255

 
  Can I minimize the code???
Posted by: shantanu97 - Mar-22-2021, 11:48 AM - Forum: General Coding Help - Replies (4)

Can i minimize the line of the code? or can I automate some of the steps in my python code???
[python]from pathlib import Path
import time
import p..... More

Print this item

  Installed Designer - Helpf Files for "assistant" are missing
Posted by: Valmont - Mar-22-2021, 11:09 AM - Forum: GUI - No Replies

Hiya

New to Python. Have C++ / C# experience.
Installed Python 3.9.2. Installed PyQt5, environment variables automatically set but checked anyway,..... More

Print this item

  code is not working , can anybody help?
Posted by: RandomPerson69 - Mar-22-2021, 11:08 AM - Forum: General Coding Help - Replies (4)

so, i was making a tic-tac toe program with tkinter . but when i open the program,and press a button;main window dont change.
here is the code:
[pytho..... More

Print this item

  Move file from one folder to another folder with timestamp added end of file
Posted by: shantanu97 - Mar-22-2021, 10:59 AM - Forum: General Coding Help - No Replies

Need to create a batch file to move a python file from one folder to another with adding timestamp at the end of the file in it.

[python]Move "U:\E..... More

Print this item

  OSError: Unable to load libjvm when connecting to hdfs with pyarrow 3.0.0
Posted by: aupres - Mar-22-2021, 10:25 AM - Forum: General Coding Help - No Replies

I try to develop hadoop file system client application with pyarrow 3 on windows 10. First, my development environment are like below,

OS : Windows..... More

Print this item

  Get the current file name in Python
Posted by: shantanu97 - Mar-22-2021, 10:10 AM - Forum: General Coding Help - Replies (1)

The problem is that when I scraping data from multiple .xlsm file,in ("DataSource": fn) it is taking the whole path of the file location "C:\Users\Sha..... More

Print this item

  Stranger in our midst
Posted by: tfak - Mar-22-2021, 09:16 AM - Forum: Homework - Replies (3)

Exercise is as following:
Find the outsider that is hidden in a list where one word is repeated over and over.
Input
[i]A list of n w..... More

Print this item

Exclamation error
Posted by: safiyyulloh - Mar-22-2021, 04:08 AM - Forum: General Coding Help - Replies (1)

error code is 2503
0x80070643
I need help!!!!...

Print this item

  I need help writing this code for string properties and methods
Posted by: hannah71605 - Mar-22-2021, 01:31 AM - Forum: Homework - Replies (4)

write a program in which a person enter their name in the following format: Mary May Rest. The program should then output the person's name and the in..... More

Print this item

  Help with Dictionaries problem
Posted by: alex_0 - Mar-21-2021, 10:05 PM - Forum: Homework - Replies (2)

I have a homework assignment that uses dictionaries and I could use some help on it.

Here is the question I have which uses Harry Potter character na..... More

Print this item

  Mass of a protein
Posted by: tfak - Mar-21-2021, 07:59 PM - Forum: Homework - Replies (2)

Hi

the exercise is the following:

[i]Write a program to determine the mass in dalton of a protein. You can use the given dictionary with the ma..... More

Print this item

  How to convert time to sec in boucle for
Posted by: cencen - Mar-21-2021, 06:06 PM - Forum: Data Science - Replies (1)

Hello i'm new in data science,and i find a good csv data about tv news duration by type.
i ave first to convert time to seconds:
[python]
>>> x =..... More

Print this item

  2 Dimensional Arrays
Posted by: Prithak - Mar-21-2021, 05:33 PM - Forum: General Coding Help - Replies (4)

Ok so here is the idea:
I have a grid that is 50 x 50. I want to store information of every single grid in an 2D Array. This would have been an easy ..... More

Print this item

  python 3 raspberry pi 4 dual control motor programming problem
Posted by: yome - Mar-21-2021, 05:17 PM - Forum: General Coding Help - No Replies

Hello,
I am developing a cablecam around a raspberry and I have bounce problems with the translation motor.
This camera and others, aim to record mu..... More

Print this item

  Support Python loop ECDSA Secp256k1
Posted by: MaxiMous - Mar-21-2021, 04:34 PM - Forum: General Coding Help - No Replies

Dear all,

I am pretty new to Python code, so please be nice with me: I have started to modify an existing code on ECDSA the secp256k1 to build on i..... More

Print this item

  Help with try, except, else finally
Posted by: Pytho13 - Mar-21-2021, 04:17 PM - Forum: General Coding Help - Replies (14)

Hi everyone,

Nice to meet you all! I'm building a calculator with python and I want to add try except else and finally. I have added the try excep..... More

Print this item

  Exporting a huge dataFrame
Posted by: stylingpat - Mar-21-2021, 02:34 PM - Forum: General Coding Help - Replies (5)

Hey guys I am trying to export a pretty big data frame. I am using this code

[python]df = pd.DataFrame(historicalData)
df.to_csv(r'dataframe.csv')..... More

Print this item

  HTTP Server
Posted by: JohnnyCoffee - Mar-21-2021, 01:57 PM - Forum: Networking - Replies (1)

I am thinking about programming an http server for study tasks. Researching about python modules I identified (socketserver) that establishes the clie..... More

Print this item

Photo I need help with a circle random color code and error
Posted by: Vxploit - Mar-21-2021, 05:42 AM - Forum: Homework - Replies (4)

So I got this assignment and I am completely lost and stumped, it is supposed to draw 20 random circles in random sizes and random locations, I have t..... More

Print this item

  Need help with saving output into an excel file
Posted by: Beyondfacts - Mar-21-2021, 03:08 AM - Forum: General Coding Help - Replies (4)

I have a python scraper for ranker.com. It scrapes the name and image url from the site.

[python]import requests
import pandas as pd
from pandas ..... More

Print this item

  Seemingly simple loop
Posted by: Weber585 - Mar-21-2021, 01:36 AM - Forum: General Coding Help - Replies (7)

So I literally just started learning python yesterday, I like to do projects to learn specific things cuz thats just how I learn. I know its probably ..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Please guide me to comple... 5 minutes ago pbkurd Larz60+ General Codin...
  [solved] re.split issue 3 hours ago paul18fr DeaD_EyE General Codin...
  New to python and coding Yesterday, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578947
  Tutorial Requ... 510380
  Web Scraping ... 441965
  Newbie with P... 385987
  New Users Int... 376971
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+ 12108
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Bamboo Today
TomTMH Yesterday
pbkurd Yesterday
Gichardaxora Yesterday
cc123 Yesterday

User Panel Messages

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