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,653
» Latest member: bestinstitute055
» Forum threads: 38,642
» Forum posts: 175,100

Full Statistics

Online Users
There are currently 364 online users.
» 0 Member(s) | 360 Guest(s)
Yandex, Baidu, Google, Bing

Latest Threads
Deploy Flask apps on Wind...
Forum: Web Scraping & Web Development
Last Post: DeaD_EyE
3 hours ago
» Replies: 3
» Views: 5,894
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Pedroski55
6 hours ago
» Replies: 3
» Views: 415
textbox compare command n...
Forum: GUI
Last Post: deanhystad
Yesterday, 09:58 PM
» Replies: 1
» Views: 161
Python Install Mager Help
Forum: News and Discussions
Last Post: bowens1983
Yesterday, 02:07 PM
» Replies: 2
» Views: 234
How to ask Smart Question...
Forum: Board
Last Post: Thatedge
Yesterday, 08:10 AM
» Replies: 3
» Views: 5,650
Exercise on reading a chu...
Forum: Homework
Last Post: polytrack
Yesterday, 06:49 AM
» Replies: 2
» Views: 1,039
New Users Introduce Yours...
Forum: Bar
Last Post: dmac6809
Jun-30-2025, 02:48 PM
» Replies: 451
» Views: 343,994
How to retain Annotation ...
Forum: Code Review
Last Post: holeioonline
Jun-30-2025, 08:43 AM
» Replies: 2
» Views: 918
Trading Bot written in Py...
Forum: News and Discussions
Last Post: LoriBrown
Jun-30-2025, 07:08 AM
» Replies: 4
» Views: 95,209
replace or remove text fr...
Forum: General Coding Help
Last Post: Curbie
Jun-29-2025, 06:53 PM
» Replies: 13
» Views: 659

 
  Nginx Uwsgi Django 111 Connection refused while connecting to upstream
Posted by: sandyman - Sep-18-2017, 07:05 AM - Forum: General Coding Help - No Replies

after struggling for almost a week on this I feel I need to reach out for assistance . Please Help
I am trying to deploy my project to a production e..... More

Print this item

  configuration formats / languages
Posted by: Skaperen - Sep-18-2017, 06:19 AM - Forum: News and Discussions - Replies (24)

when you create an application that needs or offers user and/or system-wide configuration stored in a file, what format / language do you usually choo..... More

Print this item

  The Python Book altered rock paper scissors
Posted by: Python_Noob - Sep-18-2017, 06:13 AM - Forum: Homework - No Replies

#!U:\Pycharm\Game.py
# Rock Paper

import random
import time

dragon = 1
spear = 2
human = 3
names = {dragon: "Dragon", spear: " Spear", huma..... More

Print this item

  question on my reading/exercise
Posted by: MattSS102 - Sep-18-2017, 02:55 AM - Forum: General Coding Help - Replies (1)

I followed the book (Learn Python the Hard Way) correctly and still my code gets an error. What am I doing wrong?

Error: Traceback (most recent cal..... More

Print this item

  Reload module
Posted by: CoolSchoolBoy - Sep-18-2017, 02:01 AM - Forum: General Coding Help - Replies (3)

Is there a reload a module for Python 3. I changed my module and need to reload it. Is there a way this can be done?

Thanks!

Print this item

  Bioinformatics homework
Posted by: licopenus - Sep-17-2017, 09:01 PM - Forum: Homework - Replies (3)

I have to write a python program that given a large 50 MB DNA sequence and a smaller one, of around 15 characters, returns a list of all sequences of ..... More

Print this item

  ImportError: DLL load failed: The specified procedure could not be found.
Posted by: chess - Sep-17-2017, 08:40 PM - Forum: Data Science - Replies (1)

I am having problem plotting very simple stuff in Python 2.7.
I am using Pycharm and installed successfully matplotlib Numpy sklearn. However when I ..... More

Print this item

  Google Financial Client
Posted by: ian - Sep-17-2017, 08:14 PM - Forum: Data Science - Replies (7)

It worked before but for some reason, when run below, I got error. Please advise. Thanks.

[python]
import googlefinance.client as gf
import panda..... More

Print this item

  Error is function call
Posted by: Oracle_Rahul - Sep-17-2017, 04:14 PM - Forum: Homework - Replies (2)

How to resolve the before error

[python]

students = {};


def add_student(name, student_id=332) :
student = {"name": name, "student_id":..... More

Print this item

  Word Generator
Posted by: WordGenerator - Sep-17-2017, 04:02 PM - Forum: General Coding Help - Replies (2)

It works like this:
1 Vowel, 1 Consonant, 1 Vowel, 1 Consonant.. (So It sounds like a word..) VCVCVC

Vowels: A, E, I, O, U
Consonants: B, C, D, F..... More

Print this item

  Regex Help
Posted by: mp3909 - Sep-17-2017, 03:19 PM - Forum: General Coding Help - Replies (1)

>>> name = re.compile(r'hello')
>>> mo = name.search('They shouted out hellop to the crowd')
>>> mo.group()
'hello'
how can I a..... More

Print this item

  pythonic way of coding
Posted by: aster - Sep-17-2017, 02:08 PM - Forum: General Coding Help - Replies (10)

hello
i "came" from C, i just started with python 3.6 and i wrote this:
it is a script that running on my pc emulate the inizialize sequence of an E..... More

Print this item

  speech_to_text command doesn't seem to work
Posted by: snakebyte - Sep-17-2017, 05:44 AM - Forum: General Coding Help - Replies (10)

Hi, I'm trying to use IBM Watson BlueMix Speech-To-Text to transcribe my spoken-word audio files.

I've already signed up for a BlueMix account.
I'..... More

Print this item

  Issue with Dictionaries
Posted by: dswan1 - Sep-17-2017, 03:43 AM - Forum: Homework - Replies (1)

Hey All, For my assignment I have to read a csv file of stock information (without using outside modules) into a dictionary and then set up a program ..... More

Print this item

  Help to activate the "USB Modem" with Python
Posted by: karlo123 - Sep-17-2017, 03:05 AM - Forum: General Coding Help - Replies (4)

Hi everyone,

I am trying to activate and deactivate the "usb modem" by Python code, but it does not work, do you know any way to do it?

U..... More

Print this item

  Need help ASAP
Posted by: ralfi - Sep-17-2017, 02:28 AM - Forum: General Coding Help - Replies (3)

Need help with this code, why does it have the error???????

gender =(input("What is your gender?"))
f= "female"
m="male"
Age = float(input("What..... More

Print this item

  need some help for install Python 3.6.2
Posted by: greed13 - Sep-16-2017, 10:32 PM - Forum: General Coding Help - Replies (4)

Hi,
I'm new with Python, i'm currently learning it and at the same time Linux, using for now Ubuntu, i checked my version of Python via the command l..... More

Print this item

  Confusion between find() and find_all()
Posted by: Prince_Bhatia - Sep-16-2017, 09:45 PM - Forum: Web Scraping & Web Development - Replies (3)

hi,

i am learning beautifulsoup to scrape data but whenever i run my code it gives atribute error that did you use find_all() when wanted to use fi..... More

Print this item

  Multiple File Downloader
Posted by: Josh_Python890 - Sep-16-2017, 09:31 PM - Forum: Web Scraping & Web Development - Replies (1)

I'm trying to create a program which downloads multiple files from the url below. To download each file you have to click on the link of the game, the..... More

Print this item

  Project cus im borred
Posted by: M4J0R1C47 - Sep-16-2017, 09:10 PM - Forum: Homework - Replies (6)

Any ideas how to get this thing better?
While looking at this, have on your mind that its not finished and that im 14 yrs old.
Also, i have OCD, tha..... More

Print this item

  Need some help here
Posted by: Framble - Sep-16-2017, 08:48 PM - Forum: Homework - Replies (3)

Create a program that gives you a character based on a number of points. The points should be taken from the user. If the number of points is not an i..... More

Print this item

  And the prize for the funniest headline goes to ElReg
Posted by: Ofnuts - Sep-16-2017, 08:15 PM - Forum: News and Discussions - Replies (1)

(legit URL masked y a tinyurl link)

http://tinyurl.com/ydxltkbh

Print this item

  Turtle
Posted by: jamesadrian - Sep-16-2017, 06:12 PM - Forum: General Coding Help - Replies (7)

There is a Python library package called Turtle which lets you draw lines. Is this package open source?

Thank you for your help.

Print this item

  Regex
Posted by: mp3909 - Sep-16-2017, 03:56 PM - Forum: General Coding Help - Replies (5)

Hi,

I am trying to achieve a non-greedy Regex match.

I am writing

[python]n = re.compile(r'(ha){3,5}?man')
mo = n.search('hahahahahaman')
..... More

Print this item

  python ocr
Posted by: moi - Sep-16-2017, 03:54 PM - Forum: Web Scraping & Web Development - Replies (3)

hallow i need a help am working with ocr in python i have encounter this two libraries pytesseract and pytesser for ocr in python can anybody tell me ..... More

Print this item

  unusual error message
Posted by: VISHU - Sep-16-2017, 01:42 PM - Forum: General Coding Help - Replies (1)

This is my code:

[python]
### population density
def population_density (population,land_area):
    population = int('10')
    land_area = 1
 ..... More

Print this item

  Ctypes module
Posted by: kingram - Sep-16-2017, 07:36 AM - Forum: GUI - Replies (1)

I want to use messagebox for database. And my question is how can i use parameter in messagebox icon.
for example:
when user click on OK button or Can..... More

Print this item

  PRIME NUMBERS
Posted by: iamnotabot - Sep-16-2017, 06:13 AM - Forum: Homework - Replies (6)

WE WERE ASKED TO PRINT THE PRIME NUMBERS USING WHILE, IF, ELSE, BREAK WITH TWO LOOPS.

MY CODE GOES LIKE THIS:

COUNTER = 2;
N = 2;

WHILE COUN..... More

Print this item

  list - list
Posted by: rdx - Sep-16-2017, 02:42 AM - Forum: Data Science - Replies (1)

fa is an array of floats, exact type unknown (since Python doesn't declare)

[python]pfa = fa
fa = np.concatenate( (np.zeros(2), fa ))
FAIs = np.m..... More

Print this item

  check if input is correct before proceeding
Posted by: Pedroski55 - Sep-16-2017, 01:53 AM - Forum: General Coding Help - Replies (1)

I need to enter the path to the files I want to manipulate, by name pathToExcel, pathToPhotos. A few times I got it wrong and the program did not run...... More

Print this item

  No module named numpy
Posted by: rdx - Sep-16-2017, 01:47 AM - Forum: Data Science - Replies (7)

import numpy as np
[error]Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named nu..... More

Print this item

  Do you really know what your freshly installed module from PyPi is doing?
Posted by: Ofnuts - Sep-15-2017, 10:51 PM - Forum: News and Discussions - Replies (4)

http://www.theregister.co.uk/2017/09/15/...or_typing/

Print this item

  What does this code fragment do?
Posted by: rdx - Sep-15-2017, 10:32 PM - Forum: Data Science - Replies (2)

Given: brain_live_features is an array of ints ...

[python] live_features = brain_live_features + 2
live_features = list(live_features)
..... More

Print this item

  pymysql on macos seirra
Posted by: tony1812 - Sep-15-2017, 10:19 PM - Forum: General Coding Help - Replies (5)

hello, I downloaded pymysql.tar.gz. I am wondering on macos seirra, which directory does it goes in? I try to stick with python3. Anbd also, do I need..... More

Print this item

  y syntax errors?
Posted by: Saxycool12345 - Sep-15-2017, 10:09 PM - Forum: General Coding Help - Replies (3)

this is my code but for some reason the colons and print always gives a syntax error, des anyone know why?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Deploy Flask apps on Wind... 3 hours ago SpongeB0B DeaD_EyE Web Scraping ...
  Venv - Python Virtual Env... 6 hours ago DanneA Pedroski55 General Codin...
  [Tkinter] textbox compare... Yesterday, 21:58 dmac6809 deanhystad GUI
  Python Install Mager Help Yesterday, 14:07 bowens1983 bowens1983 News and Disc...
  How to ask Smart Question... Yesterday, 08:10 metulburr Thatedge Board
  Exercise on reading a chu... Yesterday, 06:49 Nit_Picker polytrack Homework
  New Users Introduce Yours... 06-30, 14:48 Yoriz dmac6809 Bar
  How to retain Annotation ... 06-30, 08:43 srikrishnan holeioonline Code Review
  Trading Bot written in Py... 06-30, 07:08 Pizzlew LoriBrown News and Disc...
  replace or remove text fr... 06-29, 18:53 Curbie Curbie General Codin...
  [PyQt] locating a pushbut... 06-29, 18:47 arbiel deanhystad GUI
Most views
  The best Prog... 572381
  Tutorial Requ... 485172
  Web Scraping ... 436910
  Newbie with P... 379755
  Thread remain... 351245
Most reputation
buran 581
snippsat 507
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+ 12068
buran 8173
snippsat 7341
deanhystad 6845
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
as1221 3
Newest members
bestinstitute055 Today
manojdaivd Today
RaymondPAL Today
mirabelmason132 Yesterday
bhawani Yesterday

User Panel Messages

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