Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,007
» Latest member: w4gns
» Forum threads: 14,692
» Forum posts: 72,115

Full Statistics

Online Users
There are currently 102 online users.
» 2 Member(s) | 100 Guest(s)
snippsat, erfanakbari1

Latest Threads
How to get python to down...
Forum: General Coding Help
Last Post: snippsat
2 minutes ago
» Replies: 10
» Views: 163
Methods that return the h...
Forum: Homework
Last Post: erfanakbari1
18 minutes ago
» Replies: 4
» Views: 44
[Pyqt5]Display name of ne...
Forum: GUI
Last Post: Atalanttore
1 hour ago
» Replies: 0
» Views: 22
Installing libraries
Forum: General Coding Help
Last Post: snippsat
2 hours ago
» Replies: 2
» Views: 60
Get specific key from mul...
Forum: General Coding Help
Last Post: pradeepkumarbe
2 hours ago
» Replies: 0
» Views: 17
Cryptodome - convert open...
Forum: General Coding Help
Last Post: twebber
3 hours ago
» Replies: 0
» Views: 14
programming of compositio...
Forum: General Coding Help
Last Post: obelix
3 hours ago
» Replies: 2
» Views: 41
[split] I need help makin...
Forum: General Coding Help
Last Post: micseydel
3 hours ago
» Replies: 1
» Views: 25
Replace changing string i...
Forum: General Coding Help
Last Post: silfer
4 hours ago
» Replies: 10
» Views: 131
Text Entry and Querying C...
Forum: General Coding Help
Last Post: Larz60+
5 hours ago
» Replies: 1
» Views: 44

 
  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: Completed Scripts/Snippets - 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