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,303
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,906

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
2 hours ago
» Replies: 4
» Views: 119
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
10 hours ago
» Replies: 4
» Views: 151
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Today, 04:44 AM
» Replies: 8
» Views: 668
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,811
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 147
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 130
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 210
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,217
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 324
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 210

 
  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

  Reading json from webpage
Posted by: jmair - Jan-10-2019, 06:15 PM - Forum: General Coding Help - Replies (4)

For starters I'm just trying to learn how to pull some json data off a siriusxm page. (( Here's a link, but the time stamped page doesn't last very lo..... More

Print this item

  list without repetitions
Posted by: sokadin - Jan-10-2019, 04:36 PM - Forum: General Coding Help - Replies (1)

Good day dear people, i just need little help with my code. I have to make list without repetitions from the one that has repetitions. I don't know wh..... More

Print this item

  pyqt5 comobox insert into mysql
Posted by: Weballround - Jan-10-2019, 03:04 PM - Forum: GUI - Replies (2)

Hello All,

Can someone please lead me in the right direction as I've been search for a why to do this for months.
So far using textedit date edit..... More

Print this item

  Changing Python Versions in Ubuntu 16.04
Posted by: ErnestTBass - Jan-10-2019, 02:24 PM - Forum: General Coding Help - Replies (2)

I have three versions of Python on my laptop. They are Python 2.75, Python 3.5.2, and Python 3.6.2.

When I invoke the command

Python -V

I g..... More

Print this item

  for loop the difference
Posted by: 3Pinter - Jan-10-2019, 01:59 PM - Forum: General Coding Help - Replies (2)

Hey guys,

I was reading python learn-stuff at https://www.programiz.com/python-programming/for-loop
and I was wondering: is the suggested code log..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 2 hours ago Lou snippsat General Codin...
  Python is not working on ... 10 hours ago lary_p noisefloor General Codin...
  Help with Serial.write in... Today, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579460
  Tutorial Requ... 512625
  Web Scraping ... 442322
  Newbie with P... 386377
  New Users Int... 380663
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+ 12113
buran 8196
snippsat 7391
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday

User Panel Messages

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