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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 7,394
» Latest member: Donald
» Forum threads: 13,405
» Forum posts: 66,925

Full Statistics

Online Users
There are currently 133 online users.
» 2 Member(s) | 131 Guest(s)
buran, chrismc

Latest Threads
Log WSGI directly to stdo...
Forum: Web Development
Last Post: ThomasT
7 minutes ago
» Replies: 4
» Views: 49
Genetic Algorithm
Forum: General Coding Help
Last Post: rajeev1729
17 minutes ago
» Replies: 3
» Views: 488
Cookies
Forum: General Coding Help
Last Post: buran
37 minutes ago
» Replies: 1
» Views: 18
API -> pandas -> database
Forum: Data Science
Last Post: chrismc
1 hour ago
» Replies: 0
» Views: 7
unexpected sub result aft...
Forum: General Coding Help
Last Post: buran
2 hours ago
» Replies: 1
» Views: 39
Compare words Python
Forum: General Coding Help
Last Post: xSphere
2 hours ago
» Replies: 2
» Views: 30
TypeError: __str__ return...
Forum: General Coding Help
Last Post: jolinchewjb
2 hours ago
» Replies: 5
» Views: 75
I need help with loop one...
Forum: General Coding Help
Last Post: buran
2 hours ago
» Replies: 3
» Views: 111
TypeError: __init__() mis...
Forum: Homework
Last Post: Pythonhelp82
5 hours ago
» Replies: 6
» Views: 156
Repair function for a nes...
Forum: General Coding Help
Last Post: Alfalfa
6 hours ago
» Replies: 0
» Views: 84

 
  basic question????????
Posted by: cemdede - Jan-17-2019, 09:37 PM - Forum: General Coding Help - Replies (2)

Hi everyone, I just could not figure out why this one does not work under jupyter notebook.
I tried to take the *.sam files, use the tool on the files..... More

Print this item

  how to test if a value is or is like a dictionary
Posted by: Skaperen - Jan-17-2019, 09:10 PM - Forum: General Coding Help - Replies (1)

i have a function that needs to test if a value given to it in an argument is a dictionary or not. doing isinstance(thevalue,dict) is ..... More

Print this item

  Does Python sqlite3 detect connection errors
Posted by: zatlas1 - Jan-17-2019, 08:54 PM - Forum: General Coding Help - Replies (6)

Hi all
[python]
try:
dbconn = sqlite3.connect('a_real_sqlite3_file')
return dbconn
except (sqlite3.Error,..... More

Print this item

  highlighting maximum value dataframe
Posted by: PolskaYBZ - Jan-17-2019, 08:49 PM - Forum: Homework - No Replies

Hello,

I am reading through a book about data analysis where I got stuck with an excercice in which I need to highlight the maximum value of each c..... More

Print this item

  Find ? in string
Posted by: MuntyScruntfundle - Jan-17-2019, 07:16 PM - Forum: General Coding Help - Replies (5)

I've been looking for a while and can't find a simple way to do this.

So, what is the quickest, simplest way to check if a string contains a ?
..... More

Print this item

  Converting text data into numeric to use SVM
Posted by: mukhan169 - Jan-17-2019, 06:33 PM - Forum: Data Science - Replies (6)

Hello,
I am very new to Python, so I apologize if this is silly question and answer is very easy. I have recently assigned a task to get the text inp..... More

Print this item

  Question concerning function of a a socket
Posted by: pkm - Jan-17-2019, 06:25 PM - Forum: Networking - Replies (1)

My reverse engineering of torchat has led me to a question which I am unable to answer. When I look at the torchat source code, there is a file named ..... More

Print this item

  Scraping into dictionary
Posted by: digitalassetjunkie - Jan-17-2019, 06:24 PM - Forum: General Coding Help - No Replies

[python]
mv = {}
def woohoo():
for i in json_data['result']:
if i['MarketName'] not in mv:
mv[i['MarketName']] = i['Volume']
..... More

Print this item

  How to compare string
Posted by: Rehan11 - Jan-17-2019, 06:03 PM - Forum: General Coding Help - Replies (3)

I need help to compare string

Let's say I am getting string continousely from input
input message may be following

string = ";Day1=13/10/18;..... More

Print this item

  Functions
Posted by: kbranch3791 - Jan-17-2019, 05:59 PM - Forum: General Coding Help - Replies (1)

Not understanding the question. Improve the function ask_number() so that the function can be called with a step value. Make the default value of st..... More

Print this item

  PERMISSION DENIDED ERRNO 13
Posted by: ambush - Jan-17-2019, 05:56 PM - Forum: General Coding Help - Replies (2)

HI

I am trying to install flake8 on virtualenv but i was unable to do so due to following error

Exception:
[error]
Traceback (most recent call..... More

Print this item

  Bytes from hex
Posted by: FredericoFagundes - Jan-17-2019, 03:03 PM - Forum: General Coding Help - Replies (2)

I need to obtain bytes from hexadecimal digits, and it worked sometimes, I am using:
data=bytes.fromhex('018c5b') #this is just an example
Which giv..... More

Print this item

  convert a string into an int in Python
Posted by: anjita - Jan-17-2019, 10:35 AM - Forum: General Coding Help - Replies (2)

How would I convert a string into an int in Python?

Print this item

Photo How to Extract Specific Words from PDFs with Python
Posted by: danvsv - Jan-17-2019, 10:13 AM - Forum: General Coding Help - Replies (1)

I have to copy specific strings from a pdf file and paste it into a specific tag in xml file. So, in the picture attached, number 3 from pdf goes to l..... More

Print this item

  string name is not defined
Posted by: listingpython - Jan-17-2019, 09:29 AM - Forum: General Coding Help - Replies (2)

print("Enter your name:")
x = input()
print("Hello, " + x)
after compiling the program i get this following error

[pytho..... More

Print this item

  pyinstaller used 3.7 to build instead 2.7
Posted by: jacklee26 - Jan-17-2019, 09:03 AM - Forum: General Coding Help - Replies (4)

Do anyone know how to used PyInstaller to build script to exe file.
Due to I have two python version 2.7 and 3.7.
When I convert it used 2.7 to bui..... More

Print this item

  can same time have installed Python 3.7.2 64-bit ???
Posted by: lsepolis123 - Jan-17-2019, 08:45 AM - Forum: General Coding Help - Replies (5)

I installed Python 3.7.1 32-bit
can same time have installed Python 3.7.2 64-bit ???

System PC: Windows 10 Pro 64-bit

Print this item

  Print 2D Array
Posted by: dragu_stelian - Jan-17-2019, 08:23 AM - Forum: General Coding Help - Replies (2)

Hello!
I am new in Python and I have a question.
In the next code I want to print a 2D array in "C++ style"

[python]
tab = [[]]
rows = int(inpu..... More

Print this item

  Python Assignment 5.2
Posted by: amos76823 - Jan-17-2019, 07:00 AM - Forum: Homework - Replies (3)

Anyone can assist me on what's my error since I can't figure out for hours...thanks so much!!!



[error]
ParseError: bad input on line 5
[/erro..... More

Print this item

  Number Series
Posted by: MrGoat - Jan-17-2019, 05:53 AM - Forum: General Coding Help - Replies (11)

This was the given question :

Write a Python program that prints all the numbers from 0 to 6 except 3 and 6.
Note : Use 'continue' statement.
Ex..... More

Print this item

  Program debugging (python)
Posted by: abdullahali - Jan-17-2019, 03:36 AM - Forum: Homework - Replies (5)

Hello, I am trying to create a program that asks user for sequence of 9 numbers and then verifies if they . make a magic square or not. Magic square r..... More

Print this item

  ZeroDivisionError
Posted by: CIVILmath - Jan-17-2019, 12:58 AM - Forum: General Coding Help - Replies (2)

Hey all, I just started coding a few days ago and I'm trying to make a calculator to solve Cramer's rule. I wrote a code that takes values from a user..... More

Print this item

  sample GUI programs/scripts
Posted by: Skaperen - Jan-16-2019, 11:57 PM - Forum: GUI - Replies (5)

i am looking for sample GUI programs/scripts that a coded only in Python (as are any modules or libraries it uses beyond core graphical components). ..... More

Print this item

  What is the best IDE
Posted by: Trinx - Jan-16-2019, 11:26 PM - Forum: News and Discussions - Replies (29)

What IDE is the best one to use and why?

Print this item

  Pizza Ordering Program
Posted by: Trinx - Jan-16-2019, 11:14 PM - Forum: Completed Scripts/Snippets - Replies (5)

I finally finished this program today! Tell me what you think of it and how I could make it better. Thanks!

[python]
""" Scripted by Trinx """
#F..... More

Print this item

  Problem installing numpy and matplotlib
Posted by: achondrite - Jan-16-2019, 10:41 PM - Forum: General Coding Help - Replies (1)

Hi!
I´m new to Python and I want to learn to plot charts in Python. But I have difficulties to install numpy and matplotlib. I use Pycharm and I have..... More

Print this item

  IndexError: list index out of range
Posted by: abdullahali - Jan-16-2019, 10:24 PM - Forum: Homework - Replies (4)

[python]
N = 3

# Returns true if square is magic
# square, else returns false.
def is_magic(square):
# calculate the sum of
# the prim..... More

Print this item

  Rounding/Truncating Numbers
Posted by: Trinx - Jan-16-2019, 09:20 PM - Forum: General Coding Help - Replies (3)

How do I format a variable to a standard money format? This is what I am currently doing:

[python]
total = 214.5467
print('Your total is: $' + st..... More

Print this item

  non-coder asking for coder input on domain dropcatching
Posted by: randomguy - Jan-16-2019, 08:43 PM - Forum: General Coding Help - No Replies

Hello everyone.

I am not a coder, but I sometimes pay programmers to do work for me. I need all the info I can gather from any generous strangers. ..... More

Print this item

  Extracting a portion of a text document
Posted by: alarcon032002 - Jan-16-2019, 08:39 PM - Forum: General Coding Help - Replies (8)

I am working in a small project where I need to extract a nucleotide portion from a bacterial genome. The bacterial genome has 30000000 characters and..... More

Print this item

  Issue with plotting
Posted by: Dmorgan24 - Jan-16-2019, 07:57 PM - Forum: Homework - Replies (3)

Hello, I am making a plot to contrast Planks law with Weins and Rayleigh-Jeans` versions. I am currently having an issue with the Rayleigh-Jeans plo..... More

Print this item

  Packt sale python books $5.00
Posted by: Larz60+ - Jan-16-2019, 07:13 PM - Forum: News and Discussions - No Replies

For those who are unaware, the packt sale continues: https://search.packtpub.com/?query=pytho...=Available
Non pyth..... More

Print this item

  Django Developer at Straits Interactive
Posted by: djangojobs.net - Jan-16-2019, 06:59 PM - Forum: Jobs - Replies (1)

Django Developer at Straits Interactive

About Us:
Straits Interactive delivers end to end governance, risk and compliance solutions that enable bu..... More

Print this item

  GPA Calculator
Posted by: Aldmonjoy - Jan-16-2019, 06:43 PM - Forum: General Coding Help - Replies (1)

Hello! I am new to Python and am trying to make a GPA calculator. I have what it should look like in my head but don't know how to actually do it. I w..... More

Print this item

  whatsapp messages using python
Posted by: anubhav51 - Jan-16-2019, 06:24 PM - Forum: General Coding Help - Replies (1)

Hi

I am a beginner to the python world, I need to write a program that can send automated
whatsapp messages(both text & jpeg) using python but I ..... More

Print this item