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,310
» Latest member: QABOB
» Forum threads: 38,801
» Forum posts: 175,923

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 11
» Views: 299
Python compiler
Forum: General Coding Help
Last Post: noisefloor
2 hours ago
» Replies: 1
» Views: 67
Trading Risk management s...
Forum: Code sharing
Last Post: NeoQuant
Yesterday, 07:34 PM
» Replies: 5
» Views: 90
Standard template Data En...
Forum: Code Review
Last Post: Hosthubac
Yesterday, 05:51 PM
» Replies: 0
» Views: 50
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
Yesterday, 07:39 AM
» Replies: 3
» Views: 11,118
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Nov-28-2025, 10:44 AM
» Replies: 4
» Views: 203
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-28-2025, 04:44 AM
» Replies: 8
» Views: 730
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,837
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 205
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 165

 
  Can I/Should I Install Python 2 AND 3?
Posted by: abrogard - Jul-28-2018, 06:10 AM - Forum: News and Discussions - Replies (6)

I'm just starting. Installed 3. Now following an online tutorial where he says use 2 and he's pretty convincing about it.

Can I install 2 now al..... More

Print this item

  Unexpected Results for Selection Sort
Posted by: emerger - Jul-28-2018, 02:51 AM - Forum: General Coding Help - Replies (2)

My book, "Fundamentals of Python, Data Structures" gives me this code for selection sort. I tried the code and got unexpected results (below). I've ..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 2 hours ago Lou noisefloor General Codin...
  Python compiler 2 hours ago NeoQuant noisefloor General Codin...
  Trading Risk management s... Yesterday, 19:34 NeoQuant NeoQuant Code sharing
  Standard template Data En... Yesterday, 17:51 Hosthubac Hosthubac Code Review
  Python Online Compiler Yesterday, 07:39 alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... 11-28, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... 11-28, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 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...
Most views
  The best Prog... 579506
  Tutorial Requ... 512918
  Web Scraping ... 442373
  Newbie with P... 386398
  New Users Int... 381762
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 7394
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
QABOB Today
adityaN Today
NeoQuant Yesterday
Hosthubac Yesterday
ifdainstitute7 Yesterday

User Panel Messages

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