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,993
» Latest member: lauren557
» Forum threads: 38,736
» Forum posts: 175,582

Full Statistics

Online Users
There are currently 53 online users.
» 1 Member(s) | 47 Guest(s)
Applebot, Bing, Google, AOL, snippsat

Latest Threads
print does not open conso...
Forum: General Coding Help
Last Post: Axel_Erfurt
40 minutes ago
» Replies: 4
» Views: 115
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
7 hours ago
» Replies: 1
» Views: 75
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Yesterday, 03:05 PM
» Replies: 3
» Views: 2,539
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:58 PM
» Replies: 2
» Views: 103
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:56 PM
» Replies: 6
» Views: 225
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,053
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 466
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,096
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,173
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 854

 
  Merge CSV Column using Pandas Data Frames
Posted by: davidlang - Oct-29-2019, 07:03 PM - Forum: General Coding Help - Replies (1)

I'm new to python so there's plenty of things which I likely could improve upon with my code but the main focus is, "How to merge columns of data from..... More

Print this item

  Changing Title
Posted by: Niv_Neos - Oct-29-2019, 03:59 PM - Forum: Board - Replies (2)

Hey, I just have a simple question, how do you change the title under your name and address? Thank you.

Print this item

  How to change a dataframe column to lower case
Posted by: zhujp98 - Oct-29-2019, 03:42 PM - Forum: General Coding Help - Replies (5)

[code]
# Import pandas library
import pandas as pd

# initialize list of lists
data = [['tom', 10], ['nick', 15], ['juli', 14]]

# Crea..... More

Print this item

  Trying to do an interface for our Turtlebot robot
Posted by: antoninovara - Oct-29-2019, 03:25 PM - Forum: GUI - Replies (3)

Hello every one!

My name is Antonino Vara and I work as a teacher in a Secondary School in Badajoz (SPain)

I have made an interface for the robo..... More

Print this item

  Coding Help
Posted by: k2d2 - Oct-29-2019, 03:08 PM - Forum: General Coding Help - Replies (8)

Hello, I am trying to solve a puzzle that is written in python. The solution is a set of gps coordinates like "N 38 32.321 W 90 31.312" The statement ..... More

Print this item

  Copy a File & Increment File Count
Posted by: xingfang - Oct-29-2019, 02:55 PM - Forum: General Coding Help - Replies (1)

Hi guys,

I try to create a script with the following code but getting errors. Can some one help? Why the main() can't be used with the import?
..... More

Print this item

  Consumers and the Data Science Trend
Posted by: Niv_Neos - Oct-29-2019, 12:59 PM - Forum: News and Discussions - Replies (9)

At the current posting of this thread, Data science is really hot in the consumer sphere around the world, with the entrepreneur culture being the bas..... More

Print this item

  misunderstanding of format in print function
Posted by: Harvey - Oct-29-2019, 12:38 PM - Forum: General Coding Help - Replies (2)

Hello,
I'm using Python 3.7.0 32-bit and wanted to print some variables with the format syntax
The variables are :
[python]client_address: ('192.16..... More

Print this item

  Jython macro which uses PythonInterpreter and Redis script gives an error
Posted by: rkanumola - Oct-29-2019, 12:05 PM - Forum: General Coding Help - Replies (2)

Hi,

We are trying to use Jython with Redis script within confluence using a Jython macro.
We are able to execute the action using Jython from the ..... More

Print this item

  Understand for range concept
Posted by: RavCOder - Oct-29-2019, 11:53 AM - Forum: General Coding Help - Replies (4)

Hi everyoine,

I had a doubt about for range in Python when I also use string length or array, for example:
[python]
def name(s):

l = s.sp..... More

Print this item

  print Vietnamese str in python 3
Posted by: hadoan - Oct-29-2019, 09:43 AM - Forum: General Coding Help - Replies (6)

Hi everyone.

I want to print and type Vietnamese string on terminal window.. but I could not printed it.

sample text : print("Tôi là người việt..... More

Print this item

  Ignore Folder
Posted by: Evil_Patrick - Oct-29-2019, 07:07 AM - Forum: General Coding Help - Replies (3)

How to ignore folder in the dir.
It's not a big problem but still, I don't want to rename folder also.

[python]
import os

location = input("En..... More

Print this item

  JSON vs PYON
Posted by: Skaperen - Oct-29-2019, 04:03 AM - Forum: News and Discussions - Replies (18)

JSON (JavaScript Object Notation) is really just data in JavaScript syntax. you could insert it at the front of JavaScript source code with an assign..... More

Print this item

  How can i judge 1st string position is correct number
Posted by: christing - Oct-29-2019, 04:00 AM - Forum: General Coding Help - Replies (3)

May i ask. what function i can use to make me confirm my string position number one number if i get 1, i will get ok else i will get fail.

below is..... More

Print this item

  Problems w/ controller
Posted by: Zman350x - Oct-29-2019, 02:01 AM - Forum: Game Development - Replies (5)

I'm creating a simple code that allows me to take input from a controller:

[python]import pygame
pygame.init()
pygame.joystick.init()
try:
..... More

Print this item

  Phantom Errors
Posted by: prospero - Oct-29-2019, 12:59 AM - Forum: General Coding Help - Replies (20)

Can anyone see anything wrong with the syntax in this code?

[python]
def CheckClearInv(self, EntityName):
me=Bladex.GetEntity(EntityName)
..... More

Print this item

  Arcade Collision Problem
Posted by: randor - Oct-28-2019, 11:17 PM - Forum: Game Development - No Replies

Hello all,
Ok, I found Python Arcade and wanted to play and see what I could come up with. I have been following some tutorials and videos but most o..... More

Print this item

  Shutil attempts to copy directories that don't exist
Posted by: ConsoleGeek - Oct-28-2019, 10:57 PM - Forum: General Coding Help - Replies (5)

I'm attempting to copy the Documents folder under the Windows userprofile, the shutil.copytree(documents, destination) works partiall..... More

Print this item

  Backtester project in python
Posted by: Megalinux - Oct-28-2019, 10:42 PM - Forum: Code sharing - No Replies

Hello,
I would like to know what you think of the python code present at the following link Lin[url=https://python-forum.io/thread-22081.html]..... More

Print this item

  Run School Bell by Google Calendar
Posted by: darkmx6 - Oct-28-2019, 10:06 PM - Forum: General Coding Help - Replies (1)

Hello all,

I have a Raspberry Pi running a simple python code controlling a relay that rings a bell. It currently works great but I would like to m..... More

Print this item

  multiprocessing: when does fork really happen?
Posted by: Skaperen - Oct-28-2019, 10:03 PM - Forum: News and Discussions - No Replies

i am using the multiprocessing module on a Unix-like platform to run a bunch of worker processes. i am using a system level pipe (os.pipe() is called..... More

Print this item

  Boomerang implementing logic
Posted by: Piethon - Oct-28-2019, 07:09 PM - Forum: Game Development - Replies (24)

Hello everybody.

I am making a game with pygame and till know there are different weapons such as a shurikan and a blowpipe.
But now I wanted to i..... More

Print this item

  How can I create a multiline input in ipython?
Posted by: DataMower - Oct-28-2019, 07:00 PM - Forum: General Coding Help - Replies (3)

Dear all

I am working with the book Python Data Science Handbook by Jake VanderPlas. The author uses ipython in the book.

There are some code ex..... More

Print this item

  Load and format a CSV file
Posted by: fioranosnake - Oct-28-2019, 05:35 PM - Forum: General Coding Help - Replies (11)

HI,

I have a csv file with a single 'column'

Code
ABC
DEF
GHI
JKL
MNO


Is it possible to read and format this into a single stri..... More

Print this item

  Sending 4 bytes Hex data over serial in PyQt
Posted by: gratna - Oct-28-2019, 01:52 PM - Forum: GUI - Replies (4)

Hi,

I would like to send 4 Bytes of Hex data over serial to a microcontroller which are being received from GUI in PyQt5.
For example, consider t..... More

Print this item

  Pip not looking in venv
Posted by: Wavecycle - Oct-28-2019, 01:21 PM - Forum: Bar - Replies (2)

Hi having trouble with pip not looking inside my activated virtual environment. This was working before and I don't know what changed it but would rea..... More

Print this item

  Calculator math.sqrt
Posted by: GFreenD - Oct-28-2019, 12:58 PM - Forum: Homework - Replies (4)

So the main problem is im unsure how to implement math.sqrt into my code.
what i want is that i could take squareroot from answer i get. ive tried ad..... More

Print this item

  Retrieving dictionary keys within with another dictionay
Posted by: bazcurtis - Oct-28-2019, 12:58 PM - Forum: General Coding Help - Replies (8)

I have a list of dictionaries, each dictionary contains keys relating to its health.

I am creating the list via the following as I don't want ever..... More

Print this item

  (New to Python) Shopping List Code
Posted by: Farzan1 - Oct-28-2019, 12:52 PM - Forum: General Coding Help - Replies (3)

How can I stop this code when -1 is typed or at a maximum item count of ten.
At the moment the code seems to be in a infinite loop meaning it keeps o..... More

Print this item

  Python Beginner
Posted by: Python2019 - Oct-28-2019, 12:22 PM - Forum: Homework - Replies (1)

Hi All,

I am new to programming and python. I am currently taking a course and I have a data analysis assignment where I am analysing property pric..... More

Print this item

  Loop through folder of Excel Files and extract single column
Posted by: fioranosnake - Oct-28-2019, 12:18 PM - Forum: General Coding Help - Replies (2)

Hi,

I have a folder contain multiple folders. Each of these subfolders contains an excel file. Is it possible to loop through each subfolder and..... More

Print this item

  Tried a flashcard app written in Python
Posted by: Gribouillis - Oct-28-2019, 10:45 AM - Forum: Bar - No Replies

Looking for a flashcards app to improve my english vocabulary, I came across the Mnemosyne project. It is writt..... More

Print this item

  sum of number's caracters
Posted by: foli - Oct-28-2019, 09:44 AM - Forum: Homework - Replies (7)

hi i have problems solving this homework :
write a program in python that inputs a number and prints the summation of its characters till the sum is ..... More

Print this item

  countdown script not working..plz help what is mistake
Posted by: randyjack - Oct-28-2019, 05:40 AM - Forum: General Coding Help - Replies (1)

countdown script not working..plz help what is mistake



[python]import time

def countdown(t):
while t:
mins, secs = divmod(t, ..... More

Print this item

  Scaling random numbers within specific range
Posted by: schniefen - Oct-28-2019, 01:59 AM - Forum: Homework - Replies (4)

How would one scale some random numbers within a specific range in Python, say [0,pi]? Would simply fmod(random_number/pi) do it?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  print does not open conso... 40 minutes ago Tycho_2025 Axel_Erfurt General Codin...
  Weird failure in Selenium 7 hours ago glestwid Larz60+ General Codin...
  Fred Economic Data API Yesterday, 15:05 warrior42 Trickety Web Scraping ...
  create ocr to detect lice... Yesterday, 13:58 bimosora noisefloor General Codin...
  Parse Markdown / get the ... Yesterday, 13:56 SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
Most views
  The best Prog... 577484
  Tutorial Requ... 501376
  Web Scraping ... 441107
  Newbie with P... 385164
  New Users Int... 369936
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
lauren557 Today
maribita Today
AnalystRobert Today
Safariscampoea Today
DataAnalytics021 Today

User Panel Messages

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