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,286
» Latest member: xdimbah
» Forum threads: 38,792
» Forum posts: 175,875

Full Statistics

Online Users
There are currently 37 online users.
» 1 Member(s) | 33 Guest(s)
Google, AOL, Bing, lovedeep

Latest Threads
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 12:05 PM
» Replies: 5
» Views: 121
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 52
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,483
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 143
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 64
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,071
Help with running PvZ Fus...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:46 AM
» Replies: 2
» Views: 4,300
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-19-2025, 08:34 PM
» Replies: 3
» Views: 369
link variable to exc bloc...
Forum: General Coding Help
Last Post: Gribouillis
Nov-19-2025, 05:03 AM
» Replies: 1
» Views: 207
PyQt6 QWidgets and system...
Forum: GUI
Last Post: Axel_Erfurt
Nov-18-2025, 06:47 PM
» Replies: 2
» Views: 269

 
  Help with Python&Pycharm BUG
Posted by: randomhorse - Dec-23-2019, 05:45 AM - Forum: General Coding Help - Replies (4)

I don't know what kind of bug this is. I've tried EVERYTHING, uninstall and removed all folders from both Python and Pycharm.
Still same issue when ..... More

Print this item

  Python convert multi line into single line formatted string
Posted by: karthidec - Dec-23-2019, 05:11 AM - Forum: General Coding Help - Replies (2)

Hi, Pls help me on the below issue. I have tried a lot, but not getting correct format.

I have a python flask application where I am getting inputs..... More

Print this item

  Oil Refinery
Posted by: refineryuser - Dec-22-2019, 07:39 PM - Forum: General Coding Help - Replies (1)

Dear all,

An oil refinery processes a total of 20 types of crude oil over 2 years. At any one time, the refinery runs a mixture of 3-5 types crude ..... More

Print this item

  I don't know what's wrong with this code [Python Console]
Posted by: H0M1C1D4L_P1G - Dec-22-2019, 06:37 PM - Forum: General Coding Help - Replies (6)

So I'm working through some school material for Higher Computer Science (I'm starting the subject late, with no prior knowledge, so please forgive any..... More

Print this item

  How to use pygame
Posted by: Aymaneee_ - Dec-22-2019, 06:30 PM - Forum: Tutorial Requests and Submissions - Replies (3)

I have been coding on anaconda using spyder for about 4 months. And I can say that I am quite confident with the basics of python. I would like to sta..... More

Print this item

  EduKit 1 problems
Posted by: birdwatcher - Dec-22-2019, 04:25 PM - Forum: General Coding Help - Replies (5)

Hi, I'm relatively new to Python but have some experience coding on the EduKit 1. I have been set a challenge of writing code so that when I press the..... More

Print this item

  Unexpected output
Posted by: palladium - Dec-22-2019, 12:21 PM - Forum: General Coding Help - Replies (4)

I'm trying to create a class to output a zipped list for other classes to use. This is the code:

[python]
class Epworthquestions():


print..... More

Print this item

  code for finding a cables crossed the bondary of the city
Posted by: spider_pytthon - Dec-22-2019, 10:55 AM - Forum: General Coding Help - Replies (8)

HI All ,

i have a map of a city and this map contains of lots of station that we are usind for distributing medium and low voltages cables for e..... More

Print this item

  how to compare a list to a list of lists
Posted by: kevthew - Dec-22-2019, 06:16 AM - Forum: General Coding Help - Replies (1)

Hi, I'm new to coding and trying to make a tic tac toe game. I'm almost finished but i cannot figure out how to create a win check mechanic... So far ..... More

Print this item

  Handling Large XML Files (>10GB) in Python
Posted by: onlydibs - Dec-22-2019, 04:17 AM - Forum: General Coding Help - Replies (1)

Parsing Big XML Files
Need help to parse very large xml files(>10GB). Could you please help how to avoid memory issues. We can't read the enti..... More

Print this item

  Pylint Statment Count
Posted by: Shangeetha - Dec-22-2019, 03:37 AM - Forum: General Coding Help - Replies (1)

Hi

I want to get number of statements processed by Pylint. As I have a large number of python files, printing the count (as a report out) in comman..... More

Print this item

  tkinter canvas help
Posted by: pythonprogrammer - Dec-22-2019, 03:17 AM - Forum: GUI - Replies (5)

Trying to get some help with Tkinter canvas. In the code below in the def chartones() method I am trying to figure out how to access the canvas I have..... More

Print this item

  how to insert # to multiple lines?
Posted by: hkfatasy - Dec-22-2019, 01:35 AM - Forum: General Coding Help - Replies (1)

I just start to learn Phython by watching video online.
i saw people can add "#" to lines with hotkey,

i want to know how to do that

thanks br..... More

Print this item

  Python 3.8 :=
Posted by: jgitlin - Dec-22-2019, 01:16 AM - Forum: General Coding Help - Replies (4)

Since Python 3.8 allows one to combine assignment with a condition like:
if (x:=f()) == 1:
print("function returned 1")
Is there any reason in Pyt..... More

Print this item

  Bringing My Game Code Into Class Format
Posted by: ZQ12 - Dec-22-2019, 12:55 AM - Forum: Game Development - Replies (1)

I'm in the very early stages of developing a duel-player tank game where there are two tanks, a map, and the objective is to shoot the other tank befo..... More

Print this item

  Image only moving upwards
Posted by: GalaxyCoyote - Dec-21-2019, 11:25 PM - Forum: GUI - Replies (1)

I am trying to create pong in canvas (so I can get used to it for potential applications), but I ran into 2 problems.
1. w and s keys move Player 1 u..... More

Print this item

  Player object wont recognize collision with other objects.
Posted by: Jan_97 - Dec-21-2019, 09:21 PM - Forum: General Coding Help - Replies (3)

I've been learning myself the turtle module lately, and as part of that I have been following a tutorial for how to make a little maze game. However, ..... More

Print this item

  Writing a function that changes its answer based on user input
Posted by: SirRavenclaw - Dec-21-2019, 07:58 PM - Forum: Homework - Replies (2)

The prompt: Write a function that takes three integer parameters: a starting integer, an ending integer, and the string "even" or the string "odd". If..... More

Print this item

  writing to file
Posted by: jenost - Dec-21-2019, 06:13 PM - Forum: General Coding Help - Replies (3)

Huh newbie to this!
Trying to write to a new text-file, formatted in a specific way:
The first, source, text-file is containing a list of nubmer..... More

Print this item

  Sublime text 3 and lxml
Posted by: DreamingInsanity - Dec-21-2019, 04:26 PM - Forum: General Coding Help - Replies (2)

I have been trying to get lxml working on sublime text 3.
I tried all the different standard import methods, and none worked, the main being:
[pytho..... More

Print this item

  Datas are not insert into database
Posted by: aravinth - Dec-21-2019, 02:36 PM - Forum: General Coding Help - Replies (1)

Hello,

I'm trying to make a User registration program for work.
I've got my form an created a database.I have written a program like when click th..... More

Print this item

  Need suggestion how to handle this error
Posted by: farrukh - Dec-21-2019, 02:29 PM - Forum: General Coding Help - Replies (1)

[error]multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "C:\Users\faziz\miniconda3\lib\multiprocessing\pool.py"..... More

Print this item

  How to execute Python code
Posted by: leemao - Dec-21-2019, 10:25 AM - Forum: General Coding Help - Replies (2)

Hi

How to execute the code in this link https://github.com/puetsua/pyRIP ? please

I tried but there is no output

Print this item

  Doesn't work function pyautogui.typewrite()
Posted by: aliyevmiras - Dec-21-2019, 08:55 AM - Forum: General Coding Help - Replies (1)

Hello, i'm learning pyautogui library and was faced with a problem with typewrite function. It doesn't type anything but the other functions of the li..... More

Print this item

  Error in configparser
Posted by: fullstop - Dec-21-2019, 07:45 AM - Forum: General Coding Help - Replies (12)

I have a configuration file (abc.ini)as below

[DEFAULTS]
plus = plus.jpg

[PATHS]
folderPath = None

[python]
import configparser
config = configpars..... More

Print this item

  how many do side by side windows for coding?
Posted by: Skaperen - Dec-21-2019, 03:25 AM - Forum: News and Discussions - Replies (4)

i'm curious how many coders do side-by-side windows for code comparing and other things like snipping code from examples (like how to build an email t..... More

Print this item

  How to use a variable as part of a filename
Posted by: handyguy - Dec-21-2019, 02:27 AM - Forum: General Coding Help - Replies (10)

I would like to simplify the following code, replacing the multiple if/elif's with a single line, but I have not been able to successfully figure it o..... More

Print this item

  Creating multiple instances in State Machine.
Posted by: michael1789 - Dec-21-2019, 12:50 AM - Forum: Game Development - No Replies

My Starcon2 clone is coming along, but I need to figure a way to create multiple instances of my "star_system" and "planetscreen" state classes.

I ..... More

Print this item

  string_2, cat,dog
Posted by: Dixon - Dec-20-2019, 10:25 PM - Forum: General Coding Help - Replies (3)

[python]
count_cat = 0
count_dog = 0
for i in range(len(str)-2):
if str[i:i+3] == 'dog':
count_dog += 1
if str[i:i+3] == 'cat'..... More

Print this item

  tqdm Progressbar for command line
Posted by: snippsat - Dec-20-2019, 09:57 PM - Forum: Tutorials - No Replies

(Dec-09-2019, 05:29 PM)Evil_Patrick Wrote: tqdm tutorials for CLI Progressbar
So can write a little about ..... More

Print this item

  Search Excel column values
Posted by: jonzee - Dec-20-2019, 06:17 PM - Forum: General Coding Help - Replies (1)

Hello,

I am using the xlrd library to open a workbook and read its data. I am a newbie and can't figure out how to do a search? For examples on the..... More

Print this item

  Shuntil.copyfile help
Posted by: mcesmcsc - Dec-20-2019, 05:14 PM - Forum: General Coding Help - Replies (6)

So when I run this, I get "TypeError: bad operand type for unary +: 'str'"

[python]
import os
import shutil

src = os.path.expanduser('~/Downlo..... More

Print this item

  Difference Between 2 files
Posted by: enigma619 - Dec-20-2019, 04:16 PM - Forum: General Coding Help - Replies (3)

Hi

I've a question to compare 2 files.

My first file 'file_new' contain:

Output:
1 2 3 5 6 7
My second file 'file_old' con..... More

Print this item

  How to find something in a list using its index
Posted by: rix - Dec-20-2019, 04:03 PM - Forum: General Coding Help - Replies (1)

Hello. How do you get an item in a list using its index? I am trying to remove a number of items from a list like this:[python]for i in range(len(cred..... More

Print this item

  Python function returns inconsistent results
Posted by: bluethundr - Dec-20-2019, 03:22 PM - Forum: General Coding Help - Replies (4)

I wrote a script that lists EC2 instances in Amazon Web Services. It writes the results to confluence. But it's behaving oddly.

I'm on windows 10. ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  data fetching for indian ... Yesterday, 12:05 drakhsin snippsat Web Scraping ...
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
  Graph Interpolate Difficu... 11-19, 20:34 Tuurbo46 deanhystad General Codin...
  link variable to exc bloc... 11-19, 05:03 Astrobert Gribouillis General Codin...
  PyQt6 QWidgets and system... 11-18, 18:47 stevecoh1 Axel_Erfurt GUI
  best way to learn python 11-18, 16:13 dutch mamta25 News and Disc...
Most views
  The best Prog... 579261
  Tutorial Requ... 512116
  Web Scraping ... 442190
  Newbie with P... 386296
  New Users Int... 379636
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+ 12109
buran 8196
snippsat 7390
deanhystad 6915
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
xdimbah Today
IsmaelSlalk Today
Stephenchers Today
alexferrina Yesterday
MattCarters 11-22

User Panel Messages

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