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,242
» Latest member: johnsonlucas83
» Forum threads: 38,777
» Forum posts: 175,795

Full Statistics

Online Users
There are currently 47 online users.
» 0 Member(s) | 42 Guest(s)
Apple, Bing, Google, AOL

Latest Threads
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
8 hours ago
» Replies: 1
» Views: 50
Data Science
Forum: Data Science
Last Post: mamta25
9 hours ago
» Replies: 3
» Views: 2,577
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
Yesterday, 10:15 PM
» Replies: 1
» Views: 105
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 153
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 136
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 134
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,379
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,383
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,584
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 212

 
  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

  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

  dxfgrabber
Posted by: elhetch - Feb-20-2017, 12:29 PM - Forum: General Coding Help - Replies (7)

Hello,
 i am not sure why the below code doesnot return the layers as expected.

[python]
import dxfgrabber

test = dxfgrabber.readfile("test.dx..... More

Print this item

  Fast method of searching a string in a multi-dimension array?
Posted by: draems - Feb-20-2017, 11:49 AM - Forum: General Coding Help - Replies (6)

Good day. Anyone, please suggest a quicker method to search a string in a multi-dimension array. Given the example below, I want to check if the word ..... More

Print this item

  Issue about conversion
Posted by: akshay_jain - Feb-20-2017, 07:47 AM - Forum: General Coding Help - Replies (1)

Hi,
How does rounding off happens in python if i am converting from very large string to double??

Print this item

  typing farsi (persian) in python
Posted by: gray - Feb-20-2017, 07:23 AM - Forum: GUI - Replies (33)

how can i type farsi text in python? i don't have any source and i don't know how i start?
i want to write farsi text in SQL table?
please help
i n..... More

Print this item

  Park-Miller Algorithm
Posted by: hughng92 - Feb-20-2017, 05:45 AM - Forum: Homework - Replies (12)

Hello,

I am trying to pick up some projects online to practice coding and so far I have faced a challenge.



If we take a look at the US keypa..... More

Print this item

  Silly Sockets
Posted by: Jarvis - Feb-20-2017, 02:55 AM - Forum: Networking - Replies (2)

I feel like a heel making my first post a question but I really need help.  I'm new to python and sockets.

The purpose of this program is to read t..... More

Print this item

  Minigame Collection with Menu
Posted by: textmonster404 - Feb-20-2017, 12:52 AM - Forum: Code sharing - Replies (1)

I have made a three day project that is a game hub.
It has 5 different games at the moment but will be updated sometime.
This is my first game hub I..... More

Print this item

  Would it be useful to have a forum for problems not related to code?
Posted by: Ofnuts - Feb-19-2017, 11:48 PM - Forum: Board - Replies (6)

Would it be useful to have a forum for problems not related to code? For instance:

  • Python installation
  • Python execution (calling fro..... More

Print this item

  Sklearn Agglomerative Hierarchical Clustering - help with array set up
Posted by: pstarrett - Feb-19-2017, 11:43 PM - Forum: Data Science - Replies (4)

I am working with sklearn's Agglomerative Hierarchical Clustering and I have a simple issue with how to set up the input array. I am following the exa..... More

Print this item

  pygtk2, how to disconnect all callback of widget or window event ?
Posted by: harun2525 - Feb-19-2017, 09:52 PM - Forum: GUI - Replies (1)

hello, i want disconnect all event callbacks, for exemple button.alldisconnect("clicked") method.
this method disconnects all callback of clicked eve..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [split] print two differe... 8 hours ago Reema Gribouillis General Codin...
  Data Science 9 hours ago Oshadha mamta25 Data Science
  [Tkinter] I’m building a ... Yesterday, 22:15 tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
Most views
  The best Prog... 578736
  Tutorial Requ... 509446
  Web Scraping ... 441870
  Newbie with P... 385835
  New Users Int... 375379
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
johnsonlucas83 Today
ColorTig Today
AcoolPurpleOne1863 Today
racingsubby Today
Reema Today

User Panel Messages

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