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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,182
» Latest member: teflon
» Forum threads: 15,367
» Forum posts: 75,233

Full Statistics

Online Users
There are currently 85 online users.
» 0 Member(s) | 85 Guest(s)

Latest Threads
Python to iterate a numbe...
Forum: General Coding Help
Last Post: teflon
1 hour ago
» Replies: 0
» Views: 43
Output not following rule...
Forum: General Coding Help
Last Post: Escribblings
1 hour ago
» Replies: 0
» Views: 18
adapt management grid mod...
Forum: GUI
Last Post: wuf
2 hours ago
» Replies: 3
» Views: 59
Using function argument i...
Forum: General Coding Help
Last Post: snippsat
2 hours ago
» Replies: 5
» Views: 107
Control 2 stepper motor s...
Forum: General Coding Help
Last Post: jihene
2 hours ago
» Replies: 0
» Views: 26
smtplib mail without subj...
Forum: General Coding Help
Last Post: rlgoodman
3 hours ago
» Replies: 1
» Views: 35
Top Level Window - from t...
Forum: GUI
Last Post: francisco_neves2020
3 hours ago
» Replies: 6
» Views: 64
Using beautiful soup to g...
Forum: Web Scraping & Web Development
Last Post: graham23s
3 hours ago
» Replies: 2
» Views: 23
Resource or zip file?
Forum: Game Development
Last Post: microphone_head
5 hours ago
» Replies: 4
» Views: 39
Substring extraction
Forum: General Coding Help
Last Post: buran
5 hours ago
» Replies: 5
» Views: 103

 
  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

  Copy folders to newly created folder and append
Posted by: Filthy_McNasty - Feb-20-2017, 06:22 PM - Forum: General Coding Help - Replies (5)

This is the first part that works , basically created 3 new mandatory folders (1,2,3) in the main TEST directory and if user wants to add any new one ..... More

Print this item

  I'm Stuck
Posted by: 13owatts - Feb-20-2017, 05:55 PM - Forum: General Coding Help - Replies (14)

Hi, I was wondering if anyone could help me with this code. When I enter any word (Thing, in this example) it comes up with this error:


[output][..... More

Print this item

  Unexpected argument
Posted by: jstockton - Feb-20-2017, 05:53 PM - Forum: General Coding Help - Replies (10)

I'm trying to use a SQL class that I found and am having issues with getting it to work and am wondering if anyone has suggestions.  

Here is the c..... More

Print this item

  exclude hyphen
Posted by: baolevani - Feb-20-2017, 05:27 PM - Forum: News and Discussions - Replies (1)

Hi,

I need some help with formatting.

I am exporting data in cvs file and need to exclude hyphen and add zero in front, for example "5-" should ..... More

Print this item