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,616
» Latest member: Jatayu_12
» Forum threads: 38,637
» Forum posts: 175,054

Full Statistics

Online Users
There are currently 389 online users.
» 0 Member(s) | 384 Guest(s)
Applebot, Baidu, Google

Latest Threads
Setting AST node lineno c...
Forum: General Coding Help
Last Post: voidtrance
Jun-24-2025, 02:10 PM
» Replies: 5
» Views: 454
[SOLVED] Let user search ...
Forum: GUI
Last Post: deanhystad
Jun-24-2025, 02:04 PM
» Replies: 3
» Views: 176
color names
Forum: General Coding Help
Last Post: DeaD_EyE
Jun-24-2025, 08:10 AM
» Replies: 9
» Views: 199,369
Python Install Mager Help
Forum: News and Discussions
Last Post: DeaD_EyE
Jun-24-2025, 04:43 AM
» Replies: 1
» Views: 120
tracking version during r...
Forum: News and Discussions
Last Post: DeaD_EyE
Jun-24-2025, 04:15 AM
» Replies: 3
» Views: 624
Comparing two columns wit...
Forum: General Coding Help
Last Post: Pedroski55
Jun-24-2025, 03:41 AM
» Replies: 3
» Views: 1,526
Convert any Python expres...
Forum: General Coding Help
Last Post: DeaD_EyE
Jun-23-2025, 07:06 AM
» Replies: 2
» Views: 327
Using EventSource in Pyth...
Forum: Web Scraping & Web Development
Last Post: snippsat
Jun-22-2025, 08:45 AM
» Replies: 1
» Views: 179
need help with tracking a...
Forum: General Coding Help
Last Post: gqdeep01
Jun-22-2025, 02:14 AM
» Replies: 0
» Views: 164
A penny doubled every day...
Forum: Homework
Last Post: DeaD_EyE
Jun-21-2025, 05:26 PM
» Replies: 5
» Views: 308

 
  python3 does not understand: exit(0)
Posted by: sylas - Apr-13-2017, 05:58 AM - Forum: General Coding Help - Replies (9)

my question here Hi all. If I like to stop the program, what shall I use instead of :  exit(0) ??

My code here:
[python]
# file3.p
# import sys..... More

Print this item

  Insert values into a column in the same table based on a criteria
Posted by: klllmmm - Apr-13-2017, 05:54 AM - Forum: Data Science - Replies (3)

I need your help to insert vales into my table based on a criteria.
My dataframe is as follows
[python]df = pd.DataFrame([['2016-04-19',533247,19750..... More


Attached Files

Thumbnail(s)
   
Print this item

  program is related to leading zeros
Posted by: amrita - Apr-13-2017, 05:54 AM - Forum: General Coding Help - Replies (3)

according to me this program output should be [0 0 6 2],but output is [0 0 2],why
[python]
#request input from the user
num=eval(input("please ente..... More

Print this item

  Stupid question
Posted by: abradler - Apr-13-2017, 04:49 AM - Forum: General Coding Help - Replies (3)

Can someone tell me why my nothing happens when i execute my program. Here is my code and output:


[python]total_cash=0
total_owed=0
total_candy..... More

Print this item

  Problem pycharm +anaconda (numba)
Posted by: JAson - Apr-13-2017, 04:47 AM - Forum: Data Science - Replies (4)

I have install numba put pycharm still tell me its not.   Wall 

pycharm error:
[error]
Traceback (most recent call last):
  File "C:/Users/J..... More

Print this item

  Email - Send email using Windows Live Mail
Posted by: cyberzen - Apr-13-2017, 01:53 AM - Forum: General Coding Help - Replies (2)

Hi all, 

As above matters, i have some problem how to send email using my default email client (Windows live mail) using Python.

After some expl..... More

Print this item

  The LOL Translator
Posted by: SpeedyZapGaming - Apr-12-2017, 07:16 PM - Forum: Code sharing - Replies (7)

Hello everyone I'm an average python coder so I just coded a LOL Translator. Just wanted to ask for suggestions on how to improve it!
[python]""" Thi..... More

Print this item

  translate this into python plz
Posted by: abrew132 - Apr-12-2017, 07:08 PM - Forum: General Coding Help - Replies (3)

how do i make a bot that does this (just translate to python plz)



[python]

(while 1 loop here to keep this script running)


if (p) is pressed, pr..... More

Print this item

  'function' object has no attribute 'health'
Posted by: DavidQQ - Apr-12-2017, 05:21 PM - Forum: General Coding Help - Replies (2)

How do I fix this? (PY Latest version)
[python]class Character(object):
    def __init__(self):
        self.health = 100

class Blacksmith(Chara..... More

Print this item

  pytrends problem
Posted by: Karen - Apr-12-2017, 04:58 PM - Forum: General Coding Help - Replies (10)

I've referred to the pytrends, but I still can't understand that the system always shows invalid syntax in the 44th line. Can anyone help me? Thanks a..... More

Print this item

  web scraping forum
Posted by: metulburr - Apr-12-2017, 03:32 PM - Forum: Web Scraping & Web Development - Replies (9)

I often wonder if there should be a web scraping forum? (selenium, bs4, lxml uses and questions) Or if this is going into too much detail that should ..... More

Print this item

  help in getting deployed application versions
Posted by: dark5tar - Apr-12-2017, 02:38 PM - Forum: General Coding Help - Replies (5)

Can somebody help me how to get deployed application version from web logic server

As i need to deploy delta versions based on deployed ones.

Print this item

  multiplying diffrent variables.
Posted by: darktitan - Apr-12-2017, 02:18 PM - Forum: GUI - Replies (2)

Hi got a little problem with my code im trying to multiply 3 diffrent variables and show the resault in a messagebox but im getting an error. I know m..... More

Print this item

  files creation question, any help plz ?
Posted by: Qubayel - Apr-12-2017, 12:39 PM - Forum: General Coding Help - Replies (10)

I have a .txt file that contain tweets and its ID for example
[code]..... More

Print this item

  closing image automatically
Posted by: masoud - Apr-12-2017, 11:07 AM - Forum: Data Science - Replies (1)

Dear all

I have several *.sfd files which created by a simulation code. I wrote a program containing a for Loop which reads  each time one .sfd fil..... More

Print this item

  This talks a lot for the guys who're developing Atom
Posted by: wavic - Apr-12-2017, 09:49 AM - Forum: Bar - Replies (1)

I like it so much  Smile
click

Print this item

  acquire 20Hz electrical signal
Posted by: 2piF - Apr-12-2017, 09:15 AM - Forum: Data Science - Replies (1)

Hello, I expose my problem: I want to acquire a signal various frequency (alternating sinusoidal 0.2mV alternative with the help of a program in pytho..... More

Print this item

  how exactly do i get my question and answer to work in my program
Posted by: Rashi - Apr-12-2017, 07:26 AM - Forum: Homework - Replies (5)

ok so i need to create a program in tkinter with upto 50 question and 4 options respective to each question now for testing i have added loops but now..... More

Print this item

  I need help with pySerial
Posted by: oz1sej - Apr-12-2017, 05:56 AM - Forum: General Coding Help - Replies (9)

I'm trying to write a program that reads from a serial port and writes to a file. But I can't make pySerial work.

"import serial" at the start of t..... More

Print this item

  Check matrix...
Posted by: jkk30 - Apr-12-2017, 04:45 AM - Forum: Homework - Replies (6)

Hi 
I need a little help.  
How to check whether a matrix corresponding to the rules?

[python]
Matrix =  [[1, 30, 34, 55, 75], 
             [1..... More

Print this item

  Learning advanced lxml
Posted by: Larz60+ - Apr-12-2017, 04:34 AM - Forum: Web Scraping & Web Development - Replies (3)

I started (about two hours ago) digging into lxml, for no other reason than
I want to develop a better knowledge of what it's capable of.

Getting ..... More

Print this item

  looking for code to do ord()
Posted by: Skaperen - Apr-12-2017, 04:21 AM - Forum: General Coding Help - Replies (3)

i am looking for code that does what ord() does, given a character, returns the integer value of that character, ...except... the same exact code will..... More

Print this item

  Draft saved - Where is it now?
Posted by: Larz60+ - Apr-12-2017, 03:51 AM - Forum: Board - Replies (2)

I saved a draft earlier, but can't find it.

Print this item

  editor of site
Posted by: shahpy - Apr-12-2017, 02:00 AM - Forum: Web Scraping & Web Development - Replies (5)

hello

i have question:
what is the of the editor of this site?
can i have it with django?

i mean the environment that i'm typing it right now,..... More

Print this item

  Python Coding Homework Help "Grocery Store Receipt"
Posted by: cd3 - Apr-11-2017, 04:55 PM - Forum: Homework - Replies (3)

I was assigned to create a "receipt" type output for homework using 2 dictionaries, one for the quantity of items and the item, and the other for the ..... More

Print this item

  convert program .py into .exe
Posted by: mtpl - Apr-11-2017, 03:45 PM - Forum: News and Discussions - Replies (8)

i faced difficult: how to convert  my program .py into .exe.  i couldn't find answer in internet. my try was not  success. i word with python 2.7.
fo..... More

Print this item

  Doodle Jump themed game!
Posted by: georgecoopers - Apr-11-2017, 01:27 PM - Forum: Game Development - Replies (1)

Today i decided to -amidst lots of revision- create a Doodle Jump themed game.
I tried to use a different method than i normally do by comprising the..... More

Print this item

  If elif else alternative
Posted by: brocq_18 - Apr-11-2017, 11:35 AM - Forum: General Coding Help - Replies (13)

What is a more Pythonic way of doing this? I've seen some examples using tuples and dictionaries but they don't seem to return the same varialbe.

[..... More

Print this item

  Question window
Posted by: John_paul - Apr-11-2017, 11:11 AM - Forum: Homework - Replies (1)

Hello, i have python 3.4.3, is it normal when i run this module, nothing happens ?
It is not supposed to create a window ?


[python]
# -*- cod..... More

Print this item

  maybe you could tell me why my script stops
Posted by: komarek - Apr-11-2017, 10:59 AM - Forum: General Coding Help - Replies (6)

i have this script on raspbian
and  sometimes it fails and stops
could you help me to understand what's the problem?

here is the log of the scrip..... More

Print this item

  Text classification
Posted by: Casper - Apr-11-2017, 10:20 AM - Forum: General Coding Help - Replies (2)

Hi, I'm further exploring machine learning and would like to create a model classifier for sentiment analysis of'tweets' using supervised learning tex..... More

Print this item

  How to install my Python application as an Arch Linux Program
Posted by: BigMan - Apr-11-2017, 09:39 AM - Forum: General Coding Help - Replies (1)

Hi,

currently I start my self-written Python application on my Arch Linux Desktop from the terminal like this:
$ python <path to .py file>

But ..... More

Print this item

  matplotlib legend and x axis interval
Posted by: metalray - Apr-11-2017, 08:58 AM - Forum: Homework - Replies (5)

Dear Python Experts,

I got pretty far with my chart but I am stuck at showing every single day 1 to 365) on the x -axis rather than in steps of 50...... More

Print this item

  How do you get PyGame?
Posted by: SpeedyZapGaming - Apr-11-2017, 08:28 AM - Forum: Game Development - Replies (16)

How do you actually get PyGame
Please help me, I really want to use my experience in python to create games.

?  If you can,..... More

Print this item

  General questions
Posted by: PappaBear - Apr-11-2017, 05:57 AM - Forum: News and Discussions - Replies (9)

Prologue::: 
Old guy here... been doing I.T. (Networking) for over 25 years now... and for the most part had a "scripter" on the team, so I never HAD..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Setting AST node lineno c... 06-24, 14:10 voidtrance voidtrance General Codin...
  [WxPython] [SOLVED] Let u... 06-24, 14:04 Winfried deanhystad GUI
  color names 06-24, 08:10 jimrinaldo DeaD_EyE General Codin...
  Python Install Mager Help 06-24, 04:43 bowens1983 DeaD_EyE News and Disc...
  tracking version during r... 06-24, 04:15 Skaperen DeaD_EyE News and Disc...
  Comparing two columns wit... 06-24, 03:41 doug2019 Pedroski55 General Codin...
  Convert any Python expres... 06-23, 07:06 voidtrance DeaD_EyE General Codin...
  Using EventSource in Pyth... 06-22, 08:45 rbadis snippsat Web Scraping ...
  need help with tracking a... 06-22, 02:14 gqdeep01 gqdeep01 General Codin...
  A penny doubled every day... 06-21, 17:26 esoyboy DeaD_EyE Homework
  I have a question 06-21, 09:26 Clictithe noisefloor General Codin...
Most views
  The best Prog... 572340
  Tutorial Requ... 484940
  Web Scraping ... 436866
  Newbie with P... 379696
  Thread remain... 351237
Most reputation
buran 581
snippsat 507
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 450
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12067
buran 8173
snippsat 7340
deanhystad 6840
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
as1221 3
Newest members
Jatayu_12 Yesterday
Kupo Yesterday
usulek Yesterday
john_morgan Yesterday
Sreearvind Yesterday

User Panel Messages

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