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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,926
» Latest member: DeadEyes
» Forum threads: 38,720
» Forum posts: 175,492

Full Statistics

Online Users
There are currently 46 online users.
» 0 Member(s) | 36 Guest(s)
Bing, AOL, Google, Twitter, AOL, Applebot

Latest Threads
Is There a Difference Bet...
Forum: General Coding Help
Last Post: adele12
1 hour ago
» Replies: 0
» Views: 8
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
9 hours ago
» Replies: 6
» Views: 790
data input while debuggin...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 03:32 PM
» Replies: 2
» Views: 489
New to Python and Pygame
Forum: Game Development
Last Post: JMcM
Yesterday, 11:25 AM
» Replies: 7
» Views: 1,771
Python Installation issue
Forum: News and Discussions
Last Post: Dev
Yesterday, 11:16 AM
» Replies: 4
» Views: 15,691
New to the field
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 08:15 AM
» Replies: 1
» Views: 395
Too much space between gr...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:34 AM
» Replies: 1
» Views: 458
I'm trying to make a piec...
Forum: General Coding Help
Last Post: MilesWeb
Sep-13-2025, 06:11 AM
» Replies: 5
» Views: 1,533
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Stowersw
Sep-12-2025, 03:23 PM
» Replies: 4
» Views: 2,482
Python and excel vba codi...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-12-2025, 11:09 AM
» Replies: 2
» Views: 1,215

 
  Syntax error
Posted by: rsidhu - Feb-27-2017, 12:12 AM - Forum: General Coding Help - Replies (2)

Hi. Trying to learn python using 3.6.0 and having an issue with the print function. 

Using this:
[python]i=1
while i<=5:
           print(i)
  ..... More

Print this item

  Python Hash list check
Posted by: here2learn - Feb-26-2017, 04:17 PM - Forum: General Coding Help - Replies (4)

Hi All, 

First post!

I'm Looking for a bit of help with a small task. 


I am pretty new to python and have a program which generates a list ..... More

Print this item

  Negative lookahead not working, help please
Posted by: MitchBuchanon - Feb-26-2017, 01:48 PM - Forum: General Coding Help - Replies (8)

Hi everyone,

So here is my problem. I have a bunch of tweets and various metadata that I want to analyze for sociolinguistic purposes. In order to ..... More

Print this item

  dxfgrabber-return lines start point
Posted by: elhetch - Feb-26-2017, 11:56 AM - Forum: General Coding Help - Replies (3)

Hi 
i wrote the below code to return the start point of the lines in drawing, but it return error:

[python]
import dxfgrabber
dwg = dxfgrabber.readfi..... More

Print this item

  Importing file in dataframe and populating missing column name
Posted by: vvv - Feb-26-2017, 10:21 AM - Forum: General Coding Help - Replies (1)

Hi All,

I am trying to import a survey data on hotel industry . First 2 columns have name and rest of the column doesn't have .I need to populate y..... More

Print this item

  seprating columns of an listbox item and putting them into different entry
Posted by: gray - Feb-26-2017, 07:21 AM - Forum: GUI - Replies (2)

i want to get a selected item from listbox created bu a sql database and seprate 'id1', 'firs1' & 'las1' (columns of a sql table) and then put every o..... More

Print this item

  Interesting observation on MySQL
Posted by: Larz60+ - Feb-26-2017, 03:38 AM - Forum: Bar - Replies (19)

I'm reading a book on PostGIS, and found this paragraph quite humorous, as it
fits my thoughts perfectly:


[quote]
MySQL h..... More

Print this item

  i would like to see an edit button to clear formatting.
Posted by: Skaperen - Feb-26-2017, 03:32 AM - Forum: Board - Replies (2)

i would like to see an edit button to clear formatting.

Print this item

  Pyximport
Posted by: tdow6478 - Feb-25-2017, 11:41 AM - Forum: General Coding Help - No Replies

Has anyone experimented with this module? It is supposed to substantially speed up code by compiling Python to C. I did not see much evidence of speed..... More

Print this item

  how to add smilar size python interpreter to my program.
Posted by: harun2525 - Feb-25-2017, 10:56 AM - Forum: General Coding Help - Replies (7)

hello guys, i want add python interpreter (small size) to my program because i dont want convert executable to my program. why dont ı want convert ? b..... More

Print this item

  simulating sum function on LIST
Posted by: vvv - Feb-25-2017, 06:41 AM - Forum: General Coding Help - Replies (2)

Hi All,

I am a newbie to python. Trying to simulate the sum function to add all the values in a LIST
[python]#list 
orig= [1,2,3,4,5]

#functio..... More

Print this item

  Integer Operator in If Statements
Posted by: warmth - Feb-25-2017, 03:55 AM - Forum: Homework - Replies (13)

[python]x=int(input("Enter 1st"))
y=int(input("Enter 2nd"))
a=0
if x>y and x<0:
        a=-x
if x>y and x>0:
        a=x
if y>x and y<0:
        a=-y
..... More

Print this item

  optical disk drive class action settlement
Posted by: metulburr - Feb-25-2017, 03:41 AM - Forum: Bar - Replies (6)

http://www.freebieshark.com/2017/02/opti...tates.html

Print this item

  Extracting data from tweets and saving it as CSV
Posted by: kiton - Feb-24-2017, 10:17 PM - Forum: General Coding Help - Replies (7)

Hello! I am new to the programming and learn everything in Python from scratch. 

My goal is to (1) import tweets from a JSON file, (2) pull out the..... More

Print this item

  Scapy Beacon Frames
Posted by: peterkl - Feb-24-2017, 09:03 PM - Forum: Networking - Replies (1)

I'm trying to build a scapy program that scans for Beacon Frames. Every router should send beacon frames to the air in an interval of X milliseconds s..... More

Print this item

  PyUSB Problem: Failed Commands and Timeout Without Data
Posted by: ssstreet - Feb-24-2017, 08:30 PM - Forum: General Coding Help - No Replies

Hi all,
 
[font=Cali..... More

Print this item

  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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Is There a Difference Bet... 1 hour ago adele12 adele12 General Codin...
  Select Python comment (#)... 9 hours ago SpongeB0B Pedroski55 General Codin...
  data input while debuggin... Yesterday, 15:32 fred1232 deanhystad General Codin...
  New to Python and Pygame Yesterday, 11:25 JMcM JMcM Game Developm...
  Python Installation issue Yesterday, 11:16 RFHill Dev News and Disc...
  New to the field Yesterday, 08:15 Polybunny Larz60+ News and Disc...
  [Tkinter] Too much space ... Yesterday, 02:34 RonR deanhystad GUI
  I'm trying to make a piec... 09-13, 06:11 Alislugacool MilesWeb General Codin...
  Seeking feedback: dynamic... 09-12, 15:23 Bona2000 Stowersw General Codin...
  Python and excel vba codi... 09-12, 11:09 odiez DeaD_EyE General Codin...
  Web Scrapper to find prov... 09-12, 08:36 physalis2099 Olivia General Codin...
Most views
  The best Prog... 575644
  Tutorial Requ... 496740
  Web Scraping ... 439703
  Newbie with P... 383336
  New Users Int... 364598
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12087
buran 8174
snippsat 7366
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
DeadEyes Today
adele12 Today
Fobertsmene Yesterday
jeremyn24503 Yesterday
homataheri Yesterday

User Panel Messages

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