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,397
» Latest member: atlerpitto4955
» Forum threads: 38,824
» Forum posts: 176,028

Full Statistics

Online Users
There are currently 50 online users.
» 1 Member(s) | 44 Guest(s)
Bing, Google, Mojeek, AOL, AOL, Biks

Latest Threads
Merge video with subtitle...
Forum: General Coding Help
Last Post: Biks
1 minute ago
» Replies: 27
» Views: 15,493
Shield Of Sparrows Epub D...
Forum: General Coding Help
Last Post: atlerpitto4955
5 minutes ago
» Replies: 0
» Views: 5
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 121
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,602
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 199
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,614
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 170
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 324
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,126
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,984

 
  pandas dataframe substracting columns: key error
Posted by: metalray - Feb-23-2017, 12:56 PM - Forum: Homework - Replies (2)

Hi Pandas Experts,

I got a dataframe that has a country and its GDP for the year 2015 up to 2006

[python]    newfour = newtwo[(newtwo['2015']-ne..... More

Print this item

  AMD - Ryzen CPUs
Posted by: j.crater - Feb-23-2017, 12:06 PM - Forum: Bar - Replies (6)

There is a great disturbance in the Force recently due to AMDs release of Ryzen processors. Just a few of many articles about the subject:

http://www..... More

Print this item

  dxfgrabber
Posted by: elhetch - Feb-23-2017, 11:13 AM - Forum: General Coding Help - Replies (2)

hi ,
would like to know why this code is not working, i would like to get the start point of a line in a drawing;

import dxfgrabber
dwg = dxfgrab..... More

Print this item

  Insert JSON into dict
Posted by: shanz1999 - Feb-23-2017, 11:03 AM - Forum: General Coding Help - Replies (2)

I want to add a string from a passed-in argument and insert it into a dict as a key-value.
The passed-in string is a piece of JSON, eg:
[python]writ..... More

Print this item

  How to import 3D into Python and draw it?
Posted by: hsunteik - Feb-23-2017, 09:01 AM - Forum: General Coding Help - No Replies

I have created a 3D model for my game,but how do I bring it into Python with OpenGL for drawing?
Note:my model is created in blender.
I heard that I..... More

Print this item

  Solutions to this questions
Posted by: jerrykatoh - Feb-23-2017, 08:41 AM - Forum: Homework - Replies (8)

QUESTION 1.

please help me

I have two solutions to the task and they are all passing the visible tests but when it is time to submit, I keep get..... More

Print this item

  Can a player play game created with Python without installing Python?
Posted by: hsunteik - Feb-23-2017, 08:17 AM - Forum: Game Development - Replies (3)

After I finished my game(around the end of this year),I plan to publish it.will the player that doesn't have Python and the some library installed on ..... More

Print this item

  Getting Import error in Python program
Posted by: atinesh922 - Feb-23-2017, 04:30 AM - Forum: General Coding Help - Replies (5)

On running main.py. I'm getting the following error

Quote:ModuleNotFoundError: No module named 'dir2'

Python files

[b]mai..... More

Print this item

  self vs some other name
Posted by: Skaperen - Feb-23-2017, 03:22 AM - Forum: General Coding Help - Replies (7)

is there anyone that regularly uses other names or one other name, in place of self, when coding methods of a class?

Print this item

  Python 3 mysql export to csv
Posted by: elliott0184 - Feb-22-2017, 11:01 PM - Forum: General Coding Help - Replies (3)

Hi there,
I have been creating an attendance system (Clocking in and out machine) for the company i work for. I have been storing all the data in a m..... More

Print this item

  Simple tictactoe with error
Posted by: mut4ntch1ck - Feb-22-2017, 10:44 PM - Forum: General Coding Help - Replies (2)

Hi. Kind of a novice at this. Trying to finish up a tictactoe program. I know there were better ways to go about some things, but I was trying to just..... More

Print this item

  Script has stopped working
Posted by: NickBurrett - Feb-22-2017, 05:57 PM - Forum: General Coding Help - Replies (2)

Hello

Can anyone tell me why my script has stopped working?
[error]Last login: Wed Feb 22 17:10:02 on console

Nicks-Mac-Mini:~ nickburrett$ py..... More

Print this item

  selenium screenshot
Posted by: hai001 - Feb-22-2017, 12:56 PM - Forum: Web Scraping & Web Development - Replies (18)

Hello Everyone,

Can you share code for auto opening 6 websites and take screen shots of each website at particular area. Screen shot of the area an..... More

Print this item

  Multi line strings and Ascii art
Posted by: YevesDraco - Feb-22-2017, 12:25 PM - Forum: General Coding Help - No Replies

Hi!
I am programing an RPG at the moment and at several points I use Ascii art.

There is a simple way to print several lines of Ascii art by using..... More

Print this item

  Correct way to change bytes in a file?
Posted by: Raptor88 - Feb-22-2017, 10:49 AM - Forum: General Coding Help - Replies (16)

I'm a beginner working on my first Python program.  Using Python 3.6.

I don't understand what is actually stored in memory for the following two sc..... More

Print this item

  [ANN] New Slack Group Dedicated to learning Python
Posted by: joe_anonimist - Feb-22-2017, 07:20 AM - Forum: News and Discussions - Replies (4)

Hello all!

Me and a few other Python enthusiasts started a Slack group dedicated to learning Python. All of us know the basics of Python and our g..... More

Print this item

  Help... python decorator
Posted by: alfredocabrera - Feb-22-2017, 07:16 AM - Forum: General Coding Help - No Replies

I have a python function and a decorator that works just fine and it looks like this:
[python]
def fun_cache(function):
   memo = {}
   def wrap..... More

Print this item

  python decorator
Posted by: alfredocabrera - Feb-22-2017, 07:04 AM - Forum: Homework - No Replies

[color=#222222][size=small][font=Arial, Helvetica, sans-serif]I have a python function and a decorator that works just fine and it looks like this:[/f..... More

Print this item

  PEMDAS Violation
Posted by: Amitoj25 - Feb-22-2017, 06:58 AM - Forum: General Coding Help - Replies (2)

Sir can u help me with this code

print 500/11*2%8
print 500%11*2/8
Here the output is 2 & 1 respectively

it is violating PE..... More

Print this item

  Help with my first program
Posted by: CadWizard - Feb-21-2017, 09:10 PM - Forum: General Coding Help - Replies (3)

Hi everybody, I have just started learning Python and have just jumped straight in and given it a go as thats what most people recommend.

At work (..... More

Print this item

  Code help
Posted by: YevesDraco - Feb-21-2017, 08:47 PM - Forum: General Coding Help - Replies (7)

Hi.
I am programing an RPG and I have run into a simple yet strange problem (At least to me)

When the user is asked to wake up or not, I used this..... More

Print this item

  pandas.read_excel and skiprows
Posted by: metalray - Feb-21-2017, 04:24 PM - Forum: Homework - Replies (3)

Hi Pandas Experts,
I used the pandas (pd) skiprow attribute to set the first 18 rows to be skipped.
Those are just headings and descriptions.
Howev..... More

Print this item

  I don't even know problem
Posted by: cptyozgat - Feb-21-2017, 04:24 PM - Forum: General Coding Help - Replies (3)

Hey guys;
I just want to click on on-screen board with mouse manupilation. I tried PyAutoGui and PyMouse couln't get any ruselt also Java too but it ..... More

Print this item

  Regex: Remove all match plus one char before all
Posted by: Alfalfa - Feb-21-2017, 03:35 PM - Forum: General Coding Help - Replies (34)

Hello,
I made this script to find all "|BS|" blocks in a string, and simulate a backspace, as if the string would be typed in a linetext input field. ..... More

Print this item

  penjee . com and non-pythonic code
Posted by: buran - Feb-21-2017, 02:27 PM - Forum: News and Discussions - Replies (15)

Today I saw a post in Facebook showing visualisation from https://panjee.com on separating odd and even numbers from a list. The code goes like this:..... More

Print this item

  Combining 2 scripts
Posted by: wpothers - Feb-21-2017, 11:22 AM - Forum: Web Scraping & Web Development - Replies (5)

I am creating a display with my friend to display some information on a screen. He is coding the information (like a clock, and newsfeed and stuff lik..... More

Print this item

  Music Notation
Posted by: Larz60+ - Feb-21-2017, 11:22 AM - Forum: Code sharing - Replies (14)

Just curious if anyone used music notation (such as lilypond) software.
I have an application that takes any scale from around the world, categorized..... More


Attached Files

Thumbnail(s)
   
Print this item

  pandas series to list
Posted by: metalray - Feb-21-2017, 10:24 AM - Forum: Homework - Replies (5)

Dear Pandas Experts,
I signed up for an online training for python and one of the problems I have is that I got a series but should make a list out o..... More

Print this item

  gotcha
Posted by: Skaperen - Feb-21-2017, 09:14 AM - Forum: General Coding Help - Replies (9)

Python Gotchas is closed, so i can't add this there ...

[icode]isinstance(False,int)..... More

Print this item

  printing patterns and stars?
Posted by: msa969 - Feb-21-2017, 08:04 AM - Forum: News and Discussions - Replies (5)

I am a newbie to python and using python 3.
I wish to learn patterns and printing e.g stars etc. I want to start basic patterns first
eg.
*
**
**..... More

Print this item

  Python v COBOL
Posted by: Skaperen - Feb-21-2017, 06:34 AM - Forum: News and Discussions - Replies (21)

what would we need to do to python to make a suitable basis for tossing out COBOL besides cleaning the sticky sugar out of their shift keys and making..... More

Print this item

  caching attribute reference
Posted by: Skaperen - Feb-21-2017, 06:24 AM - Forum: General Coding Help - Replies (23)

in a class method, i need to access an instance attribute, such as self.foo and use that value many times.  is there any expected perfo..... More

Print this item

  pygtk3, how to change application theme ?
Posted by: harun2525 - Feb-21-2017, 03:55 AM - Forum: GUI - Replies (7)

hello, i sarched on net but i couldn't  find any useful info, how can i do this ?

Print this item

  Trying to convert a script from "2to3"
Posted by: JohnathanMonkey - Feb-21-2017, 01:24 AM - Forum: General Coding Help - Replies (15)

I cannot for the life of me get 2to3 work for me and I was wondering if anyone would be gracious enough to help me out with it. I would sincerely appr..... More

Print this item

  Creating a colored Contour Plot
Posted by: Metwx87 - Feb-21-2017, 12:30 AM - Forum: Homework - Replies (3)

This is a homework problem
[size=medium]1.[font=crocodoc-a4WIo1-inv-f10] WCT is a function of two variables (T an..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Merge video with subtitle... 1 minute ago Pavel_47 Biks General Codin...
  Shield Of Sparrows Epub D... 5 minutes ago atlerpitto4955 atlerpitto4955 General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
Most views
  The best Prog... 580442
  Tutorial Requ... 519753
  Web Scraping ... 442789
  Newbie with P... 386996
  New Users Int... 386652
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
atlerpitto4955 Today
aellatsz9602 Yesterday
cruisesfares Yesterday
azam Yesterday
zcharlesoogleto9533 Yesterday

User Panel Messages

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