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,959
» Latest member: lawwriters
» Forum threads: 38,729
» Forum posts: 175,530

Full Statistics

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

Latest Threads
Law Assignment Help
Forum: News and Discussions
Last Post: lawwriters
28 minutes ago
» Replies: 0
» Views: 9
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
3 hours ago
» Replies: 1
» Views: 2,449
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
6 hours ago
» Replies: 0
» Views: 125
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 01:49 PM
» Replies: 2
» Views: 288
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Yesterday, 03:45 AM
» Replies: 3
» Views: 348
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 01:04 AM
» Replies: 0
» Views: 469
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,623
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,546
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 416
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 887

 
  Getting Error : User Input
Posted by: aankrose - Sep-06-2018, 04:36 PM - Forum: General Coding Help - Replies (1)

I am not able to identify what will be the error could be, please help

[python]print "How old are you?",
age = raw_input()
print "How tall are yo..... More

Print this item

  How many variables/values are limited to single assignment operator?
Posted by: Prabakaran141 - Sep-06-2018, 02:42 PM - Forum: General Coding Help - Replies (1)

How many variables/values are limited to single assignment operator?

Example:

1) a = 10
2) a,b = 10,20
Similar to above e..... More

Print this item

  A quick question
Posted by: teczone - Sep-06-2018, 01:43 PM - Forum: General Coding Help - Replies (4)

Hello, I would like to know how to make a loop that allows you to repeat yourself only when the player has input an answer:
[python]
import random
..... More

Print this item

  Python script runs on startup but does not register keystrokes.
Posted by: mericanpi - Sep-06-2018, 01:30 PM - Forum: General Coding Help - Replies (3)

I am using a raspberry pi zero to control a servo, using a wireless keyboard for a remote. I have an Adafruit 16 channel servo control, using Raspbian..... More

Print this item

  Possible to run Python scripts from oracle?
Posted by: dglass - Sep-06-2018, 11:34 AM - Forum: General Coding Help - Replies (8)

So I'm using oracle's dbms_scheduler, which is able to execute cmd.exe to run command line scripts (.bat, .cmd), but I can't seem to do the same for ...... More

Print this item

  format strings syntax error
Posted by: VikramSuh - Sep-06-2018, 11:03 AM - Forum: General Coding Help - Replies (2)

I'm a noob doing an introductory lesson on format strings. The example given in the lesson keeps giving an error, even when I directly copy/paste. Her..... More

Print this item

  makin hardlinks with pathlib.Path
Posted by: Skaperen - Sep-06-2018, 06:42 AM - Forum: General Coding Help - Replies (2)

i see that pathlib.Path.symlink_to exists and is documented. so, i can create a symlink. but i see no means to do a hardlink. ..... More

Print this item

  Avoid hard-coded folderPath in the code (let users provide it)
Posted by: SunOffice024 - Sep-06-2018, 04:54 AM - Forum: General Coding Help - Replies (6)

I am using Python 3.7, and would like to know if is there method/function to ask the user to provide a folderPath (then print or work further)?

Ple..... More

Print this item

  Unable to send text via sendkeys
Posted by: SamLearnsPython - Sep-06-2018, 04:13 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi. This is a script to add image and text to wordpress. The adding images part works alright but I am unable to send the text via document.send_keys(..... More

Print this item

  was Python your 1st or 2nd language?
Posted by: Skaperen - Sep-06-2018, 03:06 AM - Forum: Bar - Replies (11)

what ordinal language number was Python for you? it was probably around 20th or 30th for me, i would only want to count languages i have written usab..... More

Print this item

  strange python3 issue
Posted by: tony1812 - Sep-06-2018, 12:07 AM - Forum: General Coding Help - Replies (1)

Hello, I am learning tkinter, in the process, I run into a strange problem. I have two python3 simple scripts, one is named window_class.py the other ..... More

Print this item

  regex octal replace
Posted by: chaz_sliger - Sep-06-2018, 12:05 AM - Forum: General Coding Help - Replies (1)

Octal Dump Of Text Read From File. (od -cbx filename)

[font=Courier New, Courier, monospace]. . . ..... More

Print this item

  Basic Syntax/HTML Scrape Questions
Posted by: sungar78 - Sep-05-2018, 11:58 PM - Forum: Web Scraping & Web Development - Replies (5)

Hello,

I imagine this has been answered somewhere else; however I've searched and watched numerous tutorials and still haven't found an answer, so..... More

Print this item

  Importing created module for web scraping with bs4
Posted by: Truman - Sep-05-2018, 11:49 PM - Forum: Web Scraping & Web Development - Replies (5)

module that I made:
[python]<!DOCTYPE html>
<html><head><title>The Dormouse's story</title></head>
<body>
<p class="title"><b>The Dormouse's story..... More

Print this item

  Curiosity about lower levels in programming
Posted by: glidecode - Sep-05-2018, 10:36 PM - Forum: News and Discussions - Replies (10)

Hi everyone

Ever since I started learning and doing some programming I have had an extreme curiosity about the lower levels of programming. While p..... More

Print this item

  Rounding without using Python embedded functions
Posted by: NewCoder - Sep-05-2018, 09:55 PM - Forum: Homework - Replies (3)

Good day,

So I am working on an assignment that calculates the position and velocity of an object at any given time. I get float(input) from the us..... More

Print this item

  The graphic/simulator is not loading in OOP version
Posted by: Caturix99 - Sep-05-2018, 06:07 PM - Forum: General Coding Help - Replies (5)

I transformed my existing code to an OOP version. Now I have the problem that the plantes of my solar system are not loaded anymore. Nothing is loaded..... More

Print this item

  Python, sending E-mails
Posted by: Daxanius - Sep-05-2018, 03:05 PM - Forum: General Coding Help - Replies (1)

So im trying to make a fun little application thingy, wich sends an email (with my gmail to my gmail for testing) (using python 3.7.0) and i tried put..... More

Print this item

  Matplotlib 1.43 to 1.5.2
Posted by: Gebbo - Sep-05-2018, 02:49 PM - Forum: General Coding Help - No Replies

I have the following code which does not give me an error with Matplotlib 1.4.* but it does with Matplotlib 1.5 upwards:

[python] def set_line_..... More

Print this item

  How to import dats from one sheet to another sheet based on Substring using python
Posted by: Vigneshkumarsakthivel - Sep-05-2018, 01:49 PM - Forum: Data Science - No Replies

My goal here is to import the data stored as DataFrame df in sheet1 based on the substring.

My DataFrame looks like below:
[output]df:[2 x 8]

..... More

Print this item

  Python 3 default location
Posted by: huehue - Sep-05-2018, 01:07 PM - Forum: News and Discussions - Replies (4)

If anyone want to know what the default location of Python 3 is, here you go

[icode]C:\Users\(your name)\AppData\Local\Programs\Python\Python37-32[/i..... More

Print this item

  Aggregation json by nested elements
Posted by: Omri - Sep-05-2018, 12:18 PM - Forum: General Coding Help - Replies (1)

I have the following structure:
[output]
[
{
"Name": "a-1",
"Tags": [
{
"Value": "a",
..... More

Print this item

  Confused by this modulo equation
Posted by: VikramSuh - Sep-05-2018, 10:56 AM - Forum: General Coding Help - Replies (3)

This is probably a simple question for experienced users...I'm just starting with Python and I'm working with modulo equations. The tutorial I'm using..... More

Print this item

  ModuleNotFoundError: No module named '__main__.vtt'; '__main__' is not a package
Posted by: MM2018 - Sep-05-2018, 09:41 AM - Forum: General Coding Help - Replies (26)

https://github.com/antiboredom/videogrep
I am using 64bit Win10, python 32bit 3.70, everything installed fine, but I got this, problem.
already .srt..... More

Print this item

  Connecting python script into HTML with flask
Posted by: Piqurs - Sep-05-2018, 09:32 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

I'm currently working on a project and I need some help with flask since I'm a bit new to flask I dont know how to connect my python script ..... More

Print this item

  pymysql ifnull
Posted by: aland - Sep-05-2018, 08:33 AM - Forum: General Coding Help - Replies (4)

I am using IFNULL in a select statement with a group by & rollup . In the mysql work bench it works perfectly but when I use it in python-pymysql in s..... More

Print this item

  call a function from other functions ...
Posted by: evilcode1 - Sep-05-2018, 08:14 AM - Forum: General Coding Help - Replies (2)

hello all ...

im writing a code to check the system if it linux or windows and do so if expressions after checking the system ....

this is my c..... More

Print this item

  python indentation errror and output error
Posted by: jazzy - Sep-05-2018, 06:14 AM - Forum: Data Science - Replies (4)

[python]

def backtest(parameters, price1,init_capital, max_capital_deploy, buy_margin, sell_margin):
longwindow = int(parameters[0])
..... More

Print this item

  Unexpected simpy simulation output
Posted by: bakas - Sep-05-2018, 06:00 AM - Forum: General Coding Help - Replies (1)

I have just started with Simpy and python in general and I am trying to build a simulation code, which runs simulation for multiple stores in the same..... More

Print this item

  Unexpected character after line continuation character
Posted by: joshyb123 - Sep-05-2018, 05:14 AM - Forum: Homework - Replies (5)

I have a simple assignment to basically get name and address information and display it neatly with a single print statement. I'm getting an error "Un..... More

Print this item

  function wanted: resolve relative path
Posted by: Skaperen - Sep-05-2018, 04:40 AM - Forum: General Coding Help - Replies (4)

i would like a function, that given paths to 2 directories, in either absolute or relative form, determines the path to reference directory 1 from dir..... More

Print this item

  [split] Is there any issue related to path defined somewhere
Posted by: purnima1 - Sep-05-2018, 04:22 AM - Forum: General Coding Help - Replies (2)

Hi Team,

Is there any issue related to path defined somewhere

Print this item

  a neat picture based on recursive number
Posted by: phillip1882 - Sep-05-2018, 01:55 AM - Forum: GUI - Replies (1)

i need to save an image created by turtle module
here's my code
[python]import turtle

recurse = [""]*1000000
recurse[2] = "<>"
n = 2
p = 1
wh..... More

Print this item

  Cannot update or install anything with pip, SSL error
Posted by: nickystixx45 - Sep-04-2018, 08:41 PM - Forum: General Coding Help - Replies (6)

Hi everyone, this is my first time posting on here and I really need help with this problem. I've had Python and pip on my PC since I got it about a y..... More

Print this item

  Nested loop
Posted by: Tryhard20 - Sep-04-2018, 08:04 PM - Forum: Homework - Replies (3)

lyrics = ["I wanna be your endgame", "I wanna be your first string",
"I wanna be your A-Team", "I wanna be your endgame, endgame"]
lines_o..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Law Assignment Help 28 minutes ago lawwriters lawwriters News and Disc...
  Using Python to SSH and R... 3 hours ago justaguy SprunkiRetake Networking
  My goal to be hired worki... 6 hours ago GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... Yesterday, 13:49 Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Yesterday, 03:45 RonR Pedroski55 GUI
  Is the interpreter that c... Yesterday, 01:04 helendamdam helendamdam General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
Most views
  The best Prog... 576939
  Tutorial Requ... 499580
  Web Scraping ... 440710
  Newbie with P... 384686
  New Users Int... 368691
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+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
lawwriters Today
SprunkiRetake Today
GnomeSweetGnome Yesterday
alxpetrovo2272 Yesterday
Jamirul Yesterday

User Panel Messages

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