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,796

Full Statistics

Online Users
There are currently 53 online users.
» 2 Member(s) | 40 Guest(s)
Applebot, Google, Bing, AOL, Facebook, AOL, Mojeek, kshahzad1985, lemonred

Latest Threads
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
1 hour ago
» Replies: 2
» Views: 113
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
10 hours ago
» Replies: 1
» Views: 51
Data Science
Forum: Data Science
Last Post: mamta25
10 hours ago
» Replies: 3
» Views: 2,579
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 154
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 139
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 136
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,405
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,385
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: 213

 
  Is there a something like "case" in Python 3.6?
Posted by: Raptor88 - Feb-24-2017, 08:20 PM - Forum: General Coding Help - Replies (18)

It's been too many years since I programed in C but I remember the "switch" method of comparing and doing things.  Something like this:

[python]
#..... More

Print this item

  Program to print: Last Name, ID, Mobile Number, All
Posted by: panick1992 - Feb-24-2017, 07:54 PM - Forum: Homework - Replies (14)

[size=large]Hello guys, I would appreciate if anybody could help me start this homework (im not asking for someone to solve it just to keep in mind)[/..... More

Print this item

  Is there a built-in function to replace multiple bytes?
Posted by: Raptor88 - Feb-24-2017, 07:50 PM - Forum: General Coding Help - Replies (4)

I'm learning Python 3.6.

I figured out how to use the find() function to find a multiple hex byte string in a byte variable as follows:

[python]..... More

Print this item

  How to program PyQt4 from python?
Posted by: medic_ward - Feb-24-2017, 07:07 PM - Forum: GUI - Replies (3)

I have this code to run in python.

[python]
# This program searches through Exchange logs

# to find the source of account lockouts
# ONLY WOR..... More

Print this item

  remove number from unanswered posts
Posted by: metulburr - Feb-24-2017, 03:02 PM - Forum: Board - Replies (5)

I think we should remove the number on unanswered posts. It was nice when it was like 15, but 100+ its not really informative anymore. I think at 500 ..... More

Print this item

  PyQt4 get text from line edit into label on button push
Posted by: iFunKtion - Feb-24-2017, 02:44 PM - Forum: GUI - Replies (2)

I am trying to design data input form that will add text to a label when the text is entered into a line edit widget when the ok button is pressed, bu..... More

Print this item

  input-external program-output
Posted by: baolevani - Feb-24-2017, 02:22 PM - Forum: General Coding Help - Replies (2)

Hi All,
How can I call an external program in python, feed .txt file and retrieve the output.
Thanks!

Print this item

  pandas convert to tuple & float to float64
Posted by: metalray - Feb-24-2017, 02:20 PM - Forum: Homework - Replies (6)

Dear Pandas Experts,
I got two question on my Introduction to Python homework.

The jupiter auto-grader expects in case 1 a float64 and in case 2 a..... More

Print this item

  From theory to practice
Posted by: bertibott - Feb-24-2017, 01:12 PM - Forum: Data Science - Replies (12)

Hi,

I am rather new to the whole python thing... that being said I have dabble in several areas of signal processing. I am an engineering student a..... More

Print this item

  Raspberry + RS485 shield | pySerial
Posted by: Coada - Feb-24-2017, 12:04 PM - Forum: General Coding Help - Replies (6)

Hello,

I am using a RS485 shield for Raspberry v3 together with the pySerial class provided by Python to communicate with a device through the seri..... More

Print this item

  I need someone to write an algorithm!!!!
Posted by: NassiThePythonPro - Feb-24-2017, 10:56 AM - Forum: General Coding Help - Replies (3)

Can someone give me the code for an algorithm to output a username for me itsrly important help pls

Print this item

  pandas dataframe.replace regex
Posted by: metalray - Feb-24-2017, 09:36 AM - Forum: Homework - Replies (3)

Dear Pandas Experts,
I am trying to replace occurences like "United Kingdom of Great Britain and Ireland" or "United Kingdom of Great Britain & Irela..... More

Print this item

  Help
Posted by: MartinEvtimov - Feb-24-2017, 07:50 AM - Forum: General Coding Help - Replies (1)

My first code is:

[python]def GetAge():
    print("How old are you? ")
    Years = float(input())
    return Years
    
def GetMonths(Years, M..... More

Print this item

  type farsi in the sql table tkinter
Posted by: gray - Feb-24-2017, 05:45 AM - Forum: GUI - Replies (1)

hello...
i want to type farsi in sql table tkinter...how shoud i do ?
i searched it but i didnt find anything
please help Undecided

Print this item

  Installing SCIP into Spyder (Python 3.6)
Posted by: Bob - Feb-24-2017, 01:35 AM - Forum: Web Scraping & Web Development - No Replies

Hey,

Can someone please tell me how to install SCIP module into Spyder (Python 3.6). This is linked to anaconda by the way. I have been trying to g..... More

Print this item

  sublimetext and python
Posted by: shahpy - Feb-24-2017, 12:52 AM - Forum: General Coding Help - Replies (2)

hi
 i want to  use sublimetext for python coding
 how can i integrate python and sublimetext3 together
 i want auto completing future of sublime ..... More

Print this item

  Simple Python Virus
Posted by: microwavedelf - Feb-24-2017, 12:06 AM - Forum: General Coding Help - Replies (4)

First time poster, long time lurker.
I have a background of c++/c# programming and just a started practicing with Python. While looking for tutorials..... More

Print this item

  logging.exception
Posted by: tkj80 - Feb-24-2017, 12:05 AM - Forum: General Coding Help - Replies (2)

Hi,

I have the following code to log the completion status of my script:

[python]
import logging

try:
    logging.basicConfig(filename="C:/..... More

Print this item

  First Active Online Python Linter
Posted by: ethanchewy - Feb-23-2017, 06:25 PM - Forum: News and Discussions - Replies (4)

Hi everyone! 

[color=#1d2129][font=Helvetica, Arial, sans-serif]I just wanted to s..... More

Print this item

  next step after learning
Posted by: ngj38uk - Feb-23-2017, 06:10 PM - Forum: News and Discussions - Replies (3)

what would be the next step when i feel i have got the hang of python. I want to do a basic chat bot or web scraper for my 1st project but how do i st..... More

Print this item

  py7h0n -> python
Posted by: albansamuel - Feb-23-2017, 02:07 PM - Forum: Homework - Replies (4)

Hi there,

I am looking for an easy way to recognize special characters in a word as normal characters (as in the description)!

another example w..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] I’m building a ... 1 hour ago tsgiannis tsgiannis GUI
  [split] print two differe... 10 hours ago Reema Gribouillis General Codin...
  Data Science 10 hours ago Oshadha mamta25 Data Science
  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... 578740
  Tutorial Requ... 509457
  Web Scraping ... 441874
  Newbie with P... 385839
  New Users Int... 375405
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