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,954
» Latest member: Perry
» Forum threads: 38,727
» Forum posts: 175,525

Full Statistics

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

Latest Threads
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
3 hours ago
» Replies: 3
» Views: 139
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
5 hours ago
» Replies: 0
» Views: 334
extracting data from a us...
Forum: General Coding Help
Last Post: Perry
6 hours ago
» Replies: 0
» Views: 57
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,346
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,403
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 274
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 721
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 921
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,178
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,392

 
  Help with ConfigParser
Posted by: EricALionsFan - Jul-27-2018, 08:22 PM - Forum: General Coding Help - Replies (3)

All,

I need some assistance with my Python Code. While I consider myself a intermediate programmer, I tend to struggle with Python code coming from..... More

Print this item

  New to Python USING PWM
Posted by: iawia - Jul-27-2018, 07:18 PM - Forum: General Coding Help - Replies (5)

Hello All,

I have wracked my brain and the web attempting to solve this pwm problem. I am new to Python. I am trying to just run a PWM pin using:

my..... More

Print this item

  Multiple XML file covert to CSV output file
Posted by: krish143 - Jul-27-2018, 06:26 PM - Forum: Homework - Replies (1)

Hi Team,
I have a multiple XML file and I want to convert the Multiple XML data into CVS file with | separator it is used to stored into the databas..... More

Print this item

  Is bug or not?
Posted by: Cassie - Jul-27-2018, 05:15 PM - Forum: General Coding Help - Replies (3)

Hi, I'm having a trouble with new Python 3.7 when use next code, I have got next raise Exception StopIteration, but I have not it when use 2.7.

[py..... More

Print this item

  list problem
Posted by: pythonCrazy - Jul-27-2018, 05:01 PM - Forum: General Coding Help - Replies (1)

[python]а = [10,20,30,20,10,50,60,40,80,50,40]

dup_items = set()
uniq_items = []
for x in a:
if x not in dup_items:
uniq_items.appe..... More

Print this item

  My program won't close and variables won't load correctly
Posted by: EvanCahill - Jul-27-2018, 04:55 PM - Forum: Homework - Replies (1)

My current issues are that I'm unable to close out of the program on the def try_again function and that when I load a game def load_game, the variabl..... More

Print this item

Big Grin Excel/python issue
Posted by: khanghaxuan - Jul-27-2018, 03:59 PM - Forum: General Coding Help - Replies (3)

Hi everyone, I've just started to work with excel using python. I downloaded 'openpyxl' package and when i import openpyxl, there are some errors such..... More

Print this item

  Selenium xpath finding gif to click
Posted by: fyec - Jul-27-2018, 03:53 PM - Forum: Web Scraping & Web Development - Replies (1)

I am having trouble with clicking all buttons that are defined as animation format (.gif) in a website. I use 'xpath' in selenium to find these button..... More

Print this item

  problem with list
Posted by: darktitan - Jul-27-2018, 03:51 PM - Forum: General Coding Help - Replies (5)

hi
im trying to generat a list from some values but the list ends up kind of strange.

here how i want it to be when i print it

['test-1-1-1', ..... More

Print this item

  subprocess.call
Posted by: salmaankamil - Jul-27-2018, 03:25 PM - Forum: General Coding Help - Replies (1)

I am trying to run this command " netstat -a | findstr 443" through python library subprocess.call

But i am not successful

Can you help me to g..... More

Print this item

  Thanks to the mods
Posted by: metulburr - Jul-27-2018, 03:21 PM - Forum: Board - Replies (5)

I would like to give a shout-out of appreciation to all mods that make this place run day to day. This is so much better of a community than we..... More

Print this item

  Can I Control loop with Keyboad key (start/stop)
Posted by: Lyperion - Jul-27-2018, 02:32 PM - Forum: General Coding Help - Replies (2)

Hi,
I want to defining a loop (i.e if) that can start/stop when I press a key like 1,2 on keyboard. For instance, when i press the "1" key without en..... More

Print this item

  AttributeError: Can't get attribute 'Individual' on <module 'deap.creator'
Posted by: DomClout - Jul-27-2018, 02:12 PM - Forum: Data Science - Replies (4)

Hi everyone,

I'm quite new to Python, so excuse me if this question sounds basic, but here it is:

A colleague of mine is now on vacation and I h..... More

Print this item

  gdb breakpoint in python module
Posted by: Viesturs - Jul-27-2018, 02:02 PM - Forum: General Coding Help - No Replies

I import a custom made python library

from Jets.Analysis.Plot import *
I would like to set a gdb breakpoint in the module sourc..... More

Print this item

  Python Developer and Support Analyst, London, UK
Posted by: fincay123 - Jul-27-2018, 02:00 PM - Forum: Jobs - No Replies

Junior to mid-level Python developer required by a small dynamic prop trading firm to assist in workflow automation and creation of new trading system..... More

Print this item

  Sqlalchemy accepting ISO 8601
Posted by: KirkmanJ - Jul-27-2018, 01:52 PM - Forum: General Coding Help - No Replies

I have a csv im trying to upload to a database.

Database uses flask - sqlalchemy.

Collects row from csv.
[python]date_time_store = row['date..... More

Print this item

  dealing with big data of timestamp
Posted by: LMQ - Jul-27-2018, 01:23 PM - Forum: General Coding Help - No Replies

def function(time):
    return df.iloc[df.index.get_loc(time,method='nearest'),9]

series.apply(function)
hello every..... More

Print this item

  Pyinstaller, a problem with bundling py file
Posted by: Truman - Jul-27-2018, 12:54 PM - Forum: Web Scraping & Web Development - Replies (7)

I tried to bundle my py to exe file by following this simple instruction:
http://www.pyinstaller.org/

after the seco..... More

Print this item

  Sympy Import error: "unresolved referrence 'sympy' "
Posted by: BoaCoder3 - Jul-27-2018, 12:48 PM - Forum: General Coding Help - No Replies

I'm writing a program that needs to be able to perform arithmetic,for which I'm trying to use the sympy library. To make things easier I installed it ..... More

Print this item

  Tkinter bringing variables from 1 frame to another
Posted by: zukochew - Jul-27-2018, 11:27 AM - Forum: GUI - Replies (6)

Hello all,
How do you bring a variable from 1 class frame to another? I wish to bring the variables "name 1","name 2" and "name 3" from Class StartPag..... More

Print this item

  HTMLParser Reading even the Closing Tag
Posted by: soothsayerpg - Jul-27-2018, 10:21 AM - Forum: Web Scraping & Web Development - Replies (6)

Hi guys, since I didn't get any clear response to the scrapy thread. I shifted and trying my luck with HTMLparser.

Here's the problem. Whenever I c..... More

Print this item

  Exporting Python Output to Notepad
Posted by: Nirmal - Jul-27-2018, 07:01 AM - Forum: Networking - Replies (1)

I have a txt file created named "commands.txt" and it contains muliple commands ( multiple lines)

sh run vlan 504
sh run vlan 505
sh run vlan 700..... More

Print this item

  Sentiment Analysis using tkinter in pycharm
Posted by: pratyushkarna18 - Jul-27-2018, 06:11 AM - Forum: GUI - Replies (1)

Hello,
I am trying to create a simple UI using tkinter that performs sentiment analysis on an input text. I am quite new to it and implementing NLP ..... More

Print this item

  itertools
Posted by: jarrod0987 - Jul-27-2018, 05:51 AM - Forum: General Coding Help - Replies (1)

I know how to use itertools for permutations in the normal way.

permutations = (['a', 'b', 'c'], 2)
would give
[a, b]
[a, c]
[b,..... More

Print this item

  Windows - Get Handle to Pass as Parameter
Posted by: malonn - Jul-27-2018, 12:30 AM - Forum: General Coding Help - Replies (1)

I'm not sure about how to proceed when dealing with Windows (W10 1803, if that helps). Here's the code I'm trying to work with:
[python]token = ctyp..... More

Print this item

  SUBLIMEREPL Issue
Posted by: aditvaddi - Jul-26-2018, 11:56 PM - Forum: Homework - No Replies

try: 
	n = int(input("Enter an Integer: "))
except ValueError:
	print("That is not an integer")
So i wrote this code and th..... More

Print this item

  cannot type in textbox
Posted by: msteffes - Jul-26-2018, 11:51 PM - Forum: GUI - Replies (2)

Hello All,
I am new to Python and have found my first head scratcher. I expect to find a have stumbled into some rookie mistake.

The below code c..... More

Print this item

  Math Input
Posted by: wak_stephanie - Jul-26-2018, 10:29 PM - Forum: Homework - Replies (1)

Write a function area_of_circle® which returns the area of a circle of radius r

As a refresher, the area of any circle is equal to the radius squ..... More

Print this item

  Last.FM API Help!
Posted by: zaz102 - Jul-26-2018, 08:49 PM - Forum: Web Scraping & Web Development - Replies (8)

Hello,

I am looking to create and share a MusicBrainz Picard plugin that pulls information that automatically rates your music library using info f..... More

Print this item

  OverflowError: math range error
Posted by: Nick_helps - Jul-26-2018, 08:45 PM - Forum: Data Science - Replies (4)

Hi,
I am very new to Python, but have good php knowledge.
I need to save and print a big number. How can I do that?
Here is my code

[python]im..... More

Print this item

  Updating Python on Mac OS X (version 10.12.6)
Posted by: dl423 - Jul-26-2018, 08:31 PM - Forum: News and Discussions - Replies (2)

I went to Python's main website and I downloaded the correct Python 3.7.0 files for my system, and I just set up and updated pip, and imported certifi..... More

Print this item

  Searching a .txt file for a specific number and extracting the corresponding data
Posted by: nrozman - Jul-26-2018, 08:30 PM - Forum: Data Science - Replies (3)

Hi, I am a beginner at coding and am using anaconda/jupyter notebook to code in python.

I am hoping to create a graph from a large dataset. My dat..... More

Print this item

  Getting Python error: AttributeError: 'tuple' object has no attribute 'Text'
Posted by: dageci - Jul-26-2018, 08:05 PM - Forum: General Coding Help - Replies (2)

Hello guys,
I have a simple challenge for you.

I'm the author of a tool called Virtual Forms. It is an ActiveX server control.
For now, we have o..... More

Print this item

  anyone here use UTF-16?
Posted by: Skaperen - Jul-26-2018, 06:29 PM - Forum: Bar - Replies (3)

does anyone here use UTF-16? i'm wondering if we even need it anymore.

Print this item

  check imports
Posted by: Viesturs - Jul-26-2018, 04:45 PM - Forum: General Coding Help - Replies (6)

I have an import statement

from Jets.Analysis.Plot import *
I suspect the imports did not run well as when I call [python]Plot(..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] how to export a... 3 hours ago RonR Pedroski55 GUI
  Is the interpreter that c... 5 hours ago helendamdam helendamdam General Codin...
  extracting data from a us... 6 hours ago Perry Perry General Codin...
  pip install requests does... Yesterday, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
Most views
  The best Prog... 576843
  Tutorial Requ... 499317
  Web Scraping ... 440625
  Newbie with P... 384600
  New Users Int... 368524
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+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday
adamsmith12 Yesterday
Ronny Yesterday

User Panel Messages

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