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,970
» Latest member: Seu12Jorge
» Forum threads: 38,731
» Forum posts: 175,552

Full Statistics

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

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
3 hours ago
» Replies: 6
» Views: 325
LOST BITCOIN OR USDT?WE H...
Forum: Networking
Last Post: leewang
3 hours ago
» Replies: 0
» Views: 15
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
7 hours ago
» Replies: 7
» Views: 2,783
looking for help
Forum: Bar
Last Post: PhamMaria
8 hours ago
» Replies: 1
» Views: 1,905
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
Sep-27-2025, 11:58 PM
» Replies: 1
» Views: 648
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,180
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 8,746
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Sep-27-2025, 03:54 AM
» Replies: 3
» Views: 638
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,133
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 1,108

 
  Remove Rows based on condition
Posted by: abc123 - Jan-12-2019, 08:04 PM - Forum: General Coding Help - Replies (1)

Hello,
I am totally new to python and not sure this is the correct place to ask a question.
I want to remove receipts which have opposite values (Y ..... More

Print this item

  from 50 random numbers printing only the sqrt(...)==0
Posted by: AFKManager - Jan-12-2019, 08:03 PM - Forum: General Coding Help - Replies (1)

Hey i need to write a program to school and im new to python so im trying different things.
I need to choose 50 random numbers from interval f.e. from..... More

Print this item

  Help Understanding Portion of Code
Posted by: caroline_d_124 - Jan-12-2019, 07:52 PM - Forum: General Coding Help - Replies (3)

Hi everyone,

I'm very new to python and have been given some code to work with for a study I'll be conducting. There's just one section that I'm no..... More

Print this item

  Pygame Error
Posted by: Ditrate40 - Jan-12-2019, 06:42 PM - Forum: GUI - Replies (1)

Hi, here is my code :
[python]
import pygame
pygame.init()

screen = pygame.display.set_mode((1000,750))

vie = True
clock = pygame.time.Clock..... More

Print this item

  Not Working
Posted by: gcryall - Jan-12-2019, 04:47 PM - Forum: General Coding Help - Replies (6)

I'm a New Be and need help. I have a routine and it exasperates me....

I've executed a connection in a previous def and passed it . Why does this..... More

Print this item

  Chess on Tkinter Snapping Issues
Posted by: Trinx - Jan-12-2019, 04:34 PM - Forum: Game Development - Replies (6)

I'm working on a python chess game on tkinter, but I'm having trouble with moving the pieces. I've created the board, I placed a letter/number combina..... More

Print this item

  unexpected EOF
Posted by: wowo - Jan-12-2019, 02:45 PM - Forum: General Coding Help - Replies (3)

def double_word(a):

SyntaxError: unexpected EOF while parsing

    return a*2
double_word("fun")
I am a total beginner.I use Jupy..... More

Print this item

  TCP/IP client script help
Posted by: Rehan11 - Jan-12-2019, 12:52 PM - Forum: Networking - Replies (2)

Client script
Here's simple code to send and receive data by TCP in Python:
[python]#!/usr/bin/env python

import socket

TCP_IP = '192.168.0.1..... More

Print this item

  "if" beginner question
Posted by: Naito - Jan-12-2019, 06:58 AM - Forum: General Coding Help - Replies (13)

Hello, I am a total beginner so can you help me please?
[python]x="milk","Milk"
y="sugar","Sugar"
z="tea","Tea"
t="Coffee","Coffee"
print("please choo..... More

Print this item

  Question about exporting Python
Posted by: Nwb - Jan-12-2019, 06:35 AM - Forum: News and Discussions - Replies (6)

Python can be saved as a .py file which can be run by Python. This .py is a file that is interpreted.

But you cannot distribute .py files because ..... More

Print this item

  Tkinter error for a scheduled event
Posted by: Ceegen - Jan-12-2019, 04:43 AM - Forum: GUI - Replies (5)

Scheduled a variable to be updated with the current time for display in a label.

[python]...

def update_clock():
tab1_labeltxt = StringVar(..... More

Print this item

  Python pointers?
Posted by: Nwb - Jan-12-2019, 04:29 AM - Forum: General Coding Help - Replies (2)

I haven't used Python in forever so forgive me for my lack of knowledge.

However recently I have been learning about C/C++ and I was wondering.. Ho..... More

Print this item

  unusual box appears
Posted by: DavidinKorea - Jan-12-2019, 04:13 AM - Forum: General Coding Help - Replies (1)

I get a photo of a friend from Indonesia. Upon clicking this photos a dialong box popped up and several entries were "automatically written" in a mili..... More

Print this item

  About the random number generating
Posted by: shang2019 - Jan-12-2019, 03:54 AM - Forum: Homework - Replies (2)

My intention is to generate specific number of random integers between the lowest limit and the highest limit. I know I need to use random to generate..... More

Print this item

  How to parse the data in python
Posted by: sandy - Jan-12-2019, 12:35 AM - Forum: General Coding Help - Replies (10)

Hi ,
I have very subjected data in one column . here goes the sample data
[output]PURCHASE AUTHORIZED ON 09/28 UA ..... More

Print this item

  bcrypt passwords failed [SOLVED]
Posted by: IMuriel - Jan-11-2019, 08:27 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello, im new at python so im folowing a course wich is a little bit outdated, so i already have a database with an "author" table, and im encoding th..... More

Print this item

  "add to list" function
Posted by: P13N - Jan-11-2019, 08:26 PM - Forum: General Coding Help - Replies (2)

The following function should generate a list from my class - right?

[python]def to_list(self):
return [self.customer_id, self.firstname, ..... More

Print this item

  Calling a list troubles
Posted by: giveen - Jan-11-2019, 07:09 PM - Forum: Homework - Replies (7)

I'm struggling to get this list from a json file to call correctly, and I was hoping for help. I'm still really new to learning python. I always end u..... More

Print this item

  Python assisstance for a beginner please
Posted by: Rick - Jan-11-2019, 05:42 PM - Forum: Web Scraping & Web Development - Replies (6)

Hello everyone,

Please don't be too harsh on me, I am a total noob to python. I'm sure my code is pretty bad but I am still learning. I’ve done a ..... More

Print this item

  Python Finding Prime Factors
Posted by: foxman322 - Jan-11-2019, 04:13 PM - Forum: Homework - Replies (1)

code must read number from txt.file
[python]
a=104

i = 2
while i < a:
if a % i == 0:
print(i)
a /= i
else:
i += 1
pri..... More

Print this item

  populate list with images and be able to select them
Posted by: ricardons - Jan-11-2019, 03:45 PM - Forum: GUI - No Replies

Ricardos 11 minutes ago
Hi

I'm relatively new to pypt5 and some help in the direction to take is appreciated.

I want to do something like that ..... More

Print this item

  Python convert csv to json with nested array without pandas
Posted by: terrydidi - Jan-11-2019, 03:39 PM - Forum: General Coding Help - Replies (2)

I'm trying to insert new array inside the array but I'm not sure where can I append the data.

Csv table

date, id, description, n..... More

Print this item

  Need help with threads in for loop
Posted by: yestoprince - Jan-11-2019, 12:35 PM - Forum: General Coding Help - Replies (1)

Hello Friends,

I am using a nested loop first loop iterate for 50,000 times and second loop iterate for 500 times if i use normal approach
i.e.
[pyth..... More

Print this item

  Replacing all letters in a string apart from the first letter in each word
Posted by: Carbonix - Jan-11-2019, 12:10 PM - Forum: General Coding Help - Replies (9)

Hey,
I am coding a song guessing game and at the moment i have succeeded. But i have a problem. When the code starts and allows the user to guess the ..... More

Print this item

  Mechanize and BeautifulSoup read not correct hours
Posted by: vaeVictis - Jan-11-2019, 09:38 AM - Forum: Web Scraping & Web Development - Replies (5)

Hi all.
I'm experiencing a problem while scraping information from this URL.

The probl..... More

Print this item

  Data not being set by x.Set() - Revit
Posted by: raswart - Jan-11-2019, 07:16 AM - Forum: General Coding Help - Replies (5)

Hi Guys

im trying to write a script for Dynamo where i compare two values, from two 'elements' and if a==b AND c==d then copy the value from x to y..... More

Print this item

  How to define Missing value on some certain conditions?
Posted by: FreddieTheCat - Jan-11-2019, 12:58 AM - Forum: General Coding Help - Replies (3)

Hello everyone.
I am working on a project that consist in finding missing data in a table generated from SQL server.
I am showing a simplified model..... More

Print this item

  PyPDF2 encrypt
Posted by: Truman - Jan-11-2019, 12:39 AM - Forum: General Coding Help - Replies (3)

I'm trying to encrypt a pdf file but it gives syntax error
[python]
import PyPDF2
pdfFile = open('meetingminutes.pdf', 'rb')
pdfReader = PyPDF2.PdfFil..... More

Print this item

  encrypting PyPi passwords in pypirc
Posted by: dale2k9 - Jan-10-2019, 10:34 PM - Forum: General Coding Help - Replies (1)

How can I encrypt a password for use in the pypirc file for authentication to my PyPi repository? I understand that I can omit the password and get p..... More

Print this item

  Function not returning correct value
Posted by: ActualNoob - Jan-10-2019, 10:00 PM - Forum: General Coding Help - Replies (3)

So I am an absolute beginner.
And I can't unserstand why a=letter_value(message) makes a a zero.
[icode]def letter_value(letter):
letter=str(lette..... More

Print this item

  Process finished with exit code
Posted by: gehrenfeld - Jan-10-2019, 09:03 PM - Forum: GUI - Replies (3)

Not sure what is wrong. I am using PyCharm and it shows no errors. But when I run it I get: Process finished with exit code -1073741571 (0xC00000FD)
..... More

Print this item

  Closing a window but not the whole program
Posted by: Wiggy1 - Jan-10-2019, 08:59 PM - Forum: GUI - Replies (2)

I want to close a window that I created by pressing a button. However if I put exit then it shuts the whole program down. Can anyone help me fix this?..... More

Print this item

  Get the info from 2 different rows in the same column using a one key
Posted by: derwinduran - Jan-10-2019, 08:53 PM - Forum: General Coding Help - No Replies

Hi all,
Again I need your support!
I have the following excel file info:

Using the key “Site ID” I want to find the VLAN XXX about the key1 but ..... More

Print this item

  Triangle: max path sum
Posted by: Mateoo - Jan-10-2019, 07:39 PM - Forum: General Coding Help - Replies (1)

In my task I have to find the maximum path sum in a triangle of numbers - .txt file (maximum total from top to bottom).
For example in a triangle:
..... More

Print this item

  numpynot associted with correct python version
Posted by: ErnestTBass - Jan-10-2019, 07:30 PM - Forum: General Coding Help - Replies (17)

When I tried to run a program using python3, I got an error that there is no package associated
with python named numpy.I remember putting one on.But..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 3 hours ago tester_V snippsat General Codin...
  LOST BITCOIN OR USDT?WE H... 3 hours ago leewang leewang Networking
  Select Python comment (#)... 7 hours ago SpongeB0B tester_V General Codin...
  looking for help 8 hours ago Azdaghost PhamMaria Bar
  My goal to be hired worki... 09-27, 23:58 GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... 09-27, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
Most views
  The best Prog... 577279
  Tutorial Requ... 500381
  Web Scraping ... 440960
  Newbie with P... 384985
  New Users Int... 369356
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+ 12089
buran 8176
snippsat 7369
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Seu12Jorge Yesterday
leewang Yesterday
seomelbourneaustralia Yesterday
Jacobjoift Yesterday
PhamMaria Yesterday

User Panel Messages

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